public void StringToLines(CompTargetable_Tent t, Rot4 rot)
        {
            CompProperties_Tent props = this.Props;

            if (line_n == null || line_e == null || line_s == null || line_w == null)
            {
                BuildRots(t);
            }

            if (rot == Rot4.South)
            {
                lines = line_s;
            }
            else if (rot == Rot4.West)
            {
                lines = line_w;
            }
            else if (rot == Rot4.North)
            {
                lines = line_n;
            }
            else if (rot == Rot4.East)
            {
                lines = line_e;
            }

            this.lastRot = rot;
        }
        public void StringToLines(CompTargetable_Tent t, Rot4 rot)
        {
            CompProperties_Tent props = this.Props;

            string[] sline1;
            string[] sline2;
            string[] sline3;
            string[] sline4;
            string[] sline5;
            string[] sline6;
            string[] sline7;
            if (rot == Rot4.South)
            {
                sline1 = t.Props.line1_s.Split(',');
                sline2 = t.Props.line2_s.Split(',');
                sline3 = t.Props.line3_s.Split(',');
                sline4 = t.Props.line4_s.Split(',');
                sline5 = t.Props.line5_s.Split(',');
                sline6 = t.Props.line6_s.Split(',');
                sline7 = t.Props.line7_s.Split(',');
            }
            else if (rot == Rot4.West)
            {
                sline1 = t.Props.line1_w.Split(',');
                sline2 = t.Props.line2_w.Split(',');
                sline3 = t.Props.line3_w.Split(',');
                sline4 = t.Props.line4_w.Split(',');
                sline5 = t.Props.line5_w.Split(',');
                sline6 = t.Props.line6_w.Split(',');
                sline7 = t.Props.line7_w.Split(',');
            }
            else if (rot == Rot4.North)
            {
                sline1 = t.Props.line1_n.Split(',');
                sline2 = t.Props.line2_n.Split(',');
                sline3 = t.Props.line3_n.Split(',');
                sline4 = t.Props.line4_n.Split(',');
                sline5 = t.Props.line5_n.Split(',');
                sline6 = t.Props.line6_n.Split(',');
                sline7 = t.Props.line7_n.Split(',');
            }
            else
            {
                sline1 = t.Props.line1_e.Split(',');
                sline2 = t.Props.line2_e.Split(',');
                sline3 = t.Props.line3_e.Split(',');
                sline4 = t.Props.line4_e.Split(',');
                sline5 = t.Props.line5_e.Split(',');
                sline6 = t.Props.line6_e.Split(',');
                sline7 = t.Props.line7_e.Split(',');
            }
            t.line1.Clear();
            t.line2.Clear();
            t.line3.Clear();
            t.line4.Clear();
            t.line5.Clear();
            t.line6.Clear();
            t.line7.Clear();
            foreach (String l in sline1)
            {
                t.line1.Add(Int32.Parse(l));
            }
            foreach (String l in sline2)
            {
                t.line2.Add(Int32.Parse(l));
            }
            foreach (String l in sline3)
            {
                t.line3.Add(Int32.Parse(l));
            }
            foreach (String l in sline4)
            {
                t.line4.Add(Int32.Parse(l));
            }
            foreach (String l in sline5)
            {
                t.line5.Add(Int32.Parse(l));
            }
            foreach (String l in sline6)
            {
                t.line6.Add(Int32.Parse(l));
            }
            foreach (String l in sline7)
            {
                t.line7.Add(Int32.Parse(l));
            }
            this.lastRot = rot;
        }