diff --git a/2DGAMELIB/_2DGAMELIB/But.cs b/2DGAMELIB/_2DGAMELIB/But.cs index 5ef40cb..481e37a 100644 --- a/2DGAMELIB/_2DGAMELIB/But.cs +++ b/2DGAMELIB/_2DGAMELIB/But.cs @@ -121,11 +121,11 @@ namespace _2DGAMELIB { foreach (Par item in pars.EnumAllPar()) { - if (item.HitColor != Color.Transparent) + if (item.GetHitColor() != Color.Transparent) { - Med.RemUniqueColor(item.HitColor); + Med.RemUniqueColor(item.GetHitColor()); } - item.HitColor = Med.GetUniqueColor(); + item.SetHitColor(Med.GetUniqueColor()); } } diff --git a/2DGAMELIB/_2DGAMELIB/But1.cs b/2DGAMELIB/_2DGAMELIB/But1.cs index 8f46626..61df205 100644 --- a/2DGAMELIB/_2DGAMELIB/But1.cs +++ b/2DGAMELIB/_2DGAMELIB/But1.cs @@ -25,7 +25,7 @@ namespace _2DGAMELIB { foreach (Par item in pars.EnumAllPar()) { - BaseColors.Add(item.BrushColor); + BaseColors.Add(item.GetBrushColor()); OverColors.Add(BaseColors.Last().FuncHSV(delegate(Hsv hsv) { hsv.Hue += 30; @@ -40,17 +40,17 @@ namespace _2DGAMELIB hsv.Val += 100; return hsv; })); - TextColors.Add(item.IsParT() ? item.ToParT().TextColor : Color.Empty); + TextColors.Add(item.IsParT() ? item.ToParT().GetTextColor() : Color.Empty); } Over = delegate { int num4 = 0; foreach (Par item2 in pars.EnumAllPar()) { - item2.BrushColor = OverColors[num4]; + item2.SetBrushColor(OverColors[num4]); if (item2.IsParT()) { - item2.ToParT().TextColor = TextColors[num4].Reverse(); + item2.ToParT().SetTextColor(TextColors[num4].Reverse()); } num4++; } @@ -60,10 +60,10 @@ namespace _2DGAMELIB int num3 = 0; foreach (Par item3 in pars.EnumAllPar()) { - item3.BrushColor = PushColors[num3]; + item3.SetBrushColor(PushColors[num3]); if (item3.IsParT()) { - item3.ToParT().TextColor = TextColors[num3].Reverse(); + item3.ToParT().SetTextColor(TextColors[num3].Reverse()); } num3++; } @@ -73,10 +73,10 @@ namespace _2DGAMELIB int num2 = 0; foreach (Par item4 in pars.EnumAllPar()) { - item4.BrushColor = OverColors[num2]; + item4.SetBrushColor(OverColors[num2]); if (item4.IsParT()) { - item4.ToParT().TextColor = TextColors[num2].Reverse(); + item4.ToParT().SetTextColor(TextColors[num2].Reverse()); } num2++; } @@ -86,10 +86,10 @@ namespace _2DGAMELIB int num = 0; foreach (Par item5 in pars.EnumAllPar()) { - item5.BrushColor = BaseColors[num]; + item5.SetBrushColor(BaseColors[num]); if (item5.IsParT()) { - item5.ToParT().TextColor = TextColors[num]; + item5.ToParT().SetTextColor(TextColors[num]); } num++; } diff --git a/2DGAMELIB/_2DGAMELIB/Dif.cs b/2DGAMELIB/_2DGAMELIB/Dif.cs index a2bf5bd..a0829be 100644 --- a/2DGAMELIB/_2DGAMELIB/Dif.cs +++ b/2DGAMELIB/_2DGAMELIB/Dif.cs @@ -27,139 +27,31 @@ namespace _2DGAMELIB } } - public double PositionSize - { - set - { - foreach (Pars item in parss) - { - item.PositionSize = value; - } - } - } + public void SetAngleBase(double value) + { + foreach (Pars item in parss) + { + item.SetAngleBase(value); + } + } - public Vector2D PositionVector - { - set - { - foreach (Pars item in parss) - { - item.PositionVector = value; - } - } - } + public void SetSizeBase(double value) + { + foreach (Pars item in parss) + { + item.SetSizeBase(value); + } + } - public double AngleBase - { - set - { - foreach (Pars item in parss) - { - item.AngleBase = value; - } - } - } + public void SetSizeYCont(double value) + { + foreach (Pars item in parss) + { + item.SetSizeYCont(value); + } + } - public double AngleCont - { - set - { - foreach (Pars item in parss) - { - item.AngleCont = value; - } - } - } - - public double SizeBase - { - set - { - foreach (Pars item in parss) - { - item.SizeBase = value; - } - } - } - - public double SizeCont - { - set - { - foreach (Pars item in parss) - { - item.SizeCont = value; - } - } - } - - public double SizeXBase - { - set - { - foreach (Pars item in parss) - { - item.SizeXBase = value; - } - } - } - - public double SizeXCont - { - set - { - foreach (Pars item in parss) - { - item.SizeXCont = value; - } - } - } - - public double SizeYBase - { - set - { - foreach (Pars item in parss) - { - item.SizeYBase = value; - } - } - } - - public double SizeYCont - { - set - { - foreach (Pars item in parss) - { - item.SizeYCont = value; - } - } - } - - public bool Dra - { - set - { - foreach (Pars item in parss) - { - item.Dra = value; - } - } - } - - public bool Hit - { - set - { - foreach (Pars item in parss) - { - item.Hit = value; - } - } - } - - public IEnumerable EnumAllPar() + public IEnumerable EnumAllPar() { foreach (Pars item in parss) { @@ -201,26 +93,6 @@ namespace _2DGAMELIB parss.Add(Pars); } - public List GetHitTags(ref Color HitColor) - { - List list = new List(); - foreach (Pars item in parss) - { - list.AddRange(item.GetHitTags(ref HitColor)); - } - return list; - } - - public List GetHitPars(ref Color HitColor) - { - List list = new List(); - foreach (Pars item in parss) - { - list.AddRange(item.GetHitPars(ref HitColor)); - } - return list; - } - public bool IsHit(ref Color HitColor) { foreach (Pars item in parss) diff --git a/2DGAMELIB/_2DGAMELIB/Difs.cs b/2DGAMELIB/_2DGAMELIB/Difs.cs index 7da8acf..cee71d9 100644 --- a/2DGAMELIB/_2DGAMELIB/Difs.cs +++ b/2DGAMELIB/_2DGAMELIB/Difs.cs @@ -21,53 +21,49 @@ namespace _2DGAMELIB public Dictionary pr; - public int CountX => difs.Count; + public int GetCountX() + { + return difs.Count; + } - public int CountY - { - get - { - if (difs.Count > 0) - { - return difs[IndexX].Count; - } - return 0; - } - } + public int GetCountY() + { + if (difs.Count > 0) + { + return difs[GetIndexX()].Count; + } + return 0; + } - public int IndexX - { - get - { - if (!(ValueX >= 1.0)) - { - return (int)((double)CountX * ValueX); - } - return CountX - 1; - } - set - { - ValueX = (double)value / (double)CountX; - } - } + public int GetIndexX() + { + if (!(ValueX >= 1.0)) + { + return (int)((double)GetCountX() * ValueX); + } + return GetCountX() - 1; + } - public int IndexY - { - get - { - if (!(ValueY >= 1.0)) - { - return (int)((double)CountY * ValueY); - } - return CountY - 1; - } - set - { - ValueY = (double)value / (double)CountY; - } - } + public void SetIndexX(int value) + { + ValueX = (double)value / (double)GetCountX(); + } - public Dif this[int Index] + public int GetIndexY() + { + if (!(ValueY >= 1.0)) + { + return (int)((double)GetCountY() * ValueY); + } + return GetCountY() - 1; + } + + public void SetIndexY(int value) + { + ValueY = (double)value / (double)GetCountY(); + } + + public Dif this[int Index] { get { @@ -79,155 +75,46 @@ namespace _2DGAMELIB } } - public Pars Current => difs[IndexX][IndexY]; + public Pars GetCurrent() + { + return difs[GetIndexX()][GetIndexY()]; + } - public double PositionSize - { - set - { - foreach (Dif dif in difs) - { - dif.PositionSize = value; - } - } - } + public void SetAngleBase(double value) + { + foreach (Dif dif in difs) + { + dif.SetAngleBase(value); + } + } - public Vector2D PositionVector - { - set - { - foreach (Dif dif in difs) - { - dif.PositionVector = value; - } - } - } + public void SetSizeBase(double value) + { + foreach (Dif dif in difs) + { + dif.SetSizeBase(value); + } + } - public double AngleBase - { - set - { - foreach (Dif dif in difs) - { - dif.AngleBase = value; - } - } - } + public void SetSizeYCont(double value) + { + foreach (Dif dif in difs) + { + dif.SetSizeYCont(value); + } + } - public double AngleCont - { - set - { - foreach (Dif dif in difs) - { - dif.AngleCont = value; - } - } - } + public Par GetCurJoinRoot() + { + Pars current = GetCurrent(); + if (pr.ContainsKey(current)) + { + return pr[current]; + } + return null; + } - public double SizeBase - { - set - { - foreach (Dif dif in difs) - { - dif.SizeBase = value; - } - } - } - - public double SizeCont - { - set - { - foreach (Dif dif in difs) - { - dif.SizeCont = value; - } - } - } - - public double SizeXBase - { - set - { - foreach (Dif dif in difs) - { - dif.SizeXBase = value; - } - } - } - - public double SizeXCont - { - set - { - foreach (Dif dif in difs) - { - dif.SizeXCont = value; - } - } - } - - public double SizeYBase - { - set - { - foreach (Dif dif in difs) - { - dif.SizeYBase = value; - } - } - } - - public double SizeYCont - { - set - { - foreach (Dif dif in difs) - { - dif.SizeYCont = value; - } - } - } - - public bool Dra - { - set - { - foreach (Dif dif in difs) - { - dif.Dra = value; - } - } - } - - public bool Hit - { - set - { - foreach (Dif dif in difs) - { - dif.Hit = value; - } - } - } - - [JsonIgnore] - public Par CurJoinRoot - { - get - { - Pars current = Current; - if (pr.ContainsKey(current)) - { - return pr[current]; - } - return null; - } - } - - [JsonIgnore] + [JsonIgnore] public IEnumerable EnumJoinRoot => pr.Values; public IEnumerable EnumAllPar() { @@ -287,11 +174,11 @@ namespace _2DGAMELIB public void Draw(RenderArea Are) { - Are.Draw(Current); + Are.Draw(GetCurrent()); } public void Draw(AreM AreM) { - AreM.Draw(Current); + AreM.Draw(GetCurrent()); } private Par GetJoinRoot(Pars ps) @@ -304,13 +191,13 @@ namespace _2DGAMELIB Par[] array2 = array; foreach (Par p0 in array2) { - Vector2D p = p0.Position; - if (array.All((Par p1) => p0 == p1 || p1.JP.All((Joi j) => !(p1.ToGlobal(j.Joint).DistanceSquared(p) <= Join.IdentityDistance)))) + Vector2D p = p0.GetPosition(); + if (array.All((Par p1) => p0 == p1 || p1.GetJP().All((Joi j) => !(p1.ToGlobal(j.Joint).DistanceSquared(p) <= Join.IdentityDistance)))) { return p0; } } - Par par = array.FirstOrDefault((Par e) => e.JP.Count > 0); + Par par = array.FirstOrDefault((Par e) => e.GetJP().Count > 0); if (par != null) { return par; @@ -335,12 +222,12 @@ namespace _2DGAMELIB public void JoinP() { - pj[Current].JoinP(); + pj[GetCurrent()].JoinP(); } public void JoinPA() { - pj[Current].JoinPA(); + pj[GetCurrent()].JoinPA(); } public void JoinPAall() @@ -351,17 +238,9 @@ namespace _2DGAMELIB } } - public void JoinPA(Pars ps) - { - if (pj.ContainsKey(ps)) - { - pj[ps].JoinPA(); - } - } - public Par GetHitPar_(Color HitColor) { - return difs.FirstOrDefault((Dif d) => d.IsHit(ref HitColor)).Parss.FirstOrDefault((Pars ps) => ps.IsHit(ref HitColor)).EnumAllPar().FirstOrDefault((Par e) => e.HitColor == HitColor); + return difs.FirstOrDefault((Dif d) => d.IsHit(ref HitColor)).Parss.FirstOrDefault((Pars ps) => ps.IsHit(ref HitColor)).EnumAllPar().FirstOrDefault((Par e) => e.GetHitColor() == HitColor); } public bool IsHit(ref Color HitColor) diff --git a/2DGAMELIB/_2DGAMELIB/Gau.cs b/2DGAMELIB/_2DGAMELIB/Gau.cs index e23a8a0..c26eb72 100644 --- a/2DGAMELIB/_2DGAMELIB/Gau.cs +++ b/2DGAMELIB/_2DGAMELIB/Gau.cs @@ -81,29 +81,29 @@ namespace _2DGAMELIB } } - private Vector2D TL1 => frame1.OP[0].ps[0]; + private Vector2D TL1 => frame1.GetOP()[0].ps[0]; - private Vector2D TR1 => frame1.OP[0].ps[1]; + private Vector2D TR1 => frame1.GetOP()[0].ps[1]; - private Vector2D BR1 => frame1.OP[0].ps[2]; + private Vector2D BR1 => frame1.GetOP()[0].ps[2]; - private Vector2D BL1 => frame1.OP[0].ps[3]; + private Vector2D BL1 => frame1.GetOP()[0].ps[3]; - private Vector2D TL2 => frame2.OP[0].ps[0]; + private Vector2D TL2 => frame2.GetOP()[0].ps[0]; - private Vector2D TR2 => frame2.OP[0].ps[1]; + private Vector2D TR2 => frame2.GetOP()[0].ps[1]; - private Vector2D BR2 => frame2.OP[0].ps[2]; + private Vector2D BR2 => frame2.GetOP()[0].ps[2]; - private Vector2D BL2 => frame2.OP[0].ps[3]; + private Vector2D BL2 => frame2.GetOP()[0].ps[3]; - private Vector2D TLG => gauge.OP[0].ps[0]; + private Vector2D TLG => gauge.GetOP()[0].ps[0]; - private Vector2D TRG => gauge.OP[0].ps[1]; + private Vector2D TRG => gauge.GetOP()[0].ps[1]; - private Vector2D BRG => gauge.OP[0].ps[2]; + private Vector2D BRG => gauge.GetOP()[0].ps[2]; - private Vector2D BLG => gauge.OP[0].ps[3]; + private Vector2D BLG => gauge.GetOP()[0].ps[3]; private void SetLimit() { @@ -133,15 +133,15 @@ namespace _2DGAMELIB { if (Open == Open.Top || Open == Open.Bot) { - gauge.SizeYCont = val; + gauge.SetSizeYCont(val); } else if (Open == Open.Lef || Open == Open.Rig) { - gauge.SizeXCont = val; + gauge.SetSizeXCont(val); } if (knob != null) { - knob.PositionBase = GetKnobPosition(); + knob.SetPositionBase(GetKnobPosition()); } } @@ -161,7 +161,7 @@ namespace _2DGAMELIB return (TR1 + BR1) * 0.5; } } - return frame1.OP.GetCenter(); + return frame1.GetOP().GetCenter(); } private Vector2D GetBasePoint2() @@ -180,7 +180,7 @@ namespace _2DGAMELIB return (TL2 + BL2) * 0.5; } } - return frame2.OP.GetCenter(); + return frame2.GetOP().GetCenter(); } private Vector2D GetBasePoint() @@ -199,7 +199,7 @@ namespace _2DGAMELIB return (TRG + BRG) * 0.5; } } - return frame1.BasePoint; + return frame1.GetBasePoint(); } private double GetWidthMag() @@ -286,71 +286,82 @@ namespace _2DGAMELIB base_ = new Par { Tag = Name + "_ベース", - InitializeOP = new Out[1] { Shas.GetSquare() }, - PositionBase = Position, - SizeBase = Size, - SizeXBase = Width, - SizeYBase = Height, - Closed = true, - Pen = null, - BrushColor = BackColor }; - base_.BasePointBase = base_.OP.GetCenter(); + + base_.SetInitializeOP(new Out[1] { Shas.GetSquare() }); + base_.SetPositionBase(Position); + base_.SetSizeBase(Size); + base_.SetSizeXBase(Width); + base_.SetSizeYBase(Height); + base_.SetClosed(true); + base_.SetPen(null); + base_.SetBrushColor(BackColor); + + + base_.SetBasePointBase(base_.GetOP().GetCenter()); pars.Add(base_.Tag, base_); frame1 = new Par { Tag = Name + "_フレーム1", - InitializeOP = new Out[1] { Shas.GetSquare() }, - PositionBase = Position, - SizeBase = Size, - SizeXBase = Width * GetWidthMag(), - SizeYBase = Height * GetHeightMag(), - Closed = true, - Brush = null }; - frame1.BasePointBase = GetBasePoint1(); + + frame1.SetInitializeOP(new Out[1] { Shas.GetSquare() }); + frame1.SetPositionBase(Position); + frame1.SetSizeBase(Size); + frame1.SetSizeXBase(Width * GetWidthMag()); + frame1.SetSizeYBase(Height * GetHeightMag()); + frame1.SetClosed(true); + frame1.SetBrush(null); + + + + frame1.SetBasePointBase(GetBasePoint1()); pars.Add(frame1.Tag, frame1); if (Range == Range.MinusPlus) { frame2 = new Par { Tag = Name + "_フレーム2", - InitializeOP = new Out[1] { Shas.GetSquare() }, - PositionBase = Position, - SizeBase = Size, - SizeXBase = Width * GetWidthMag(), - SizeYBase = Height * GetHeightMag(), - Closed = true, - Brush = null }; - frame2.BasePointBase = GetBasePoint2(); + + frame2.SetInitializeOP(new Out[1] { Shas.GetSquare() }); + frame2.SetPositionBase(Position); + frame2.SetSizeBase(Size); + frame2.SetSizeXBase(Width * GetWidthMag()); + frame2.SetSizeYBase(Height * GetHeightMag()); + frame2.SetClosed(true); + frame2.SetBrush(null); + frame2.SetBasePointBase(GetBasePoint2()); pars.Add(frame2.Tag, frame2); } gauge = new Par { Tag = Name + "_ゲージ", - InitializeOP = new Out[1] { Shas.GetSquare() }, - PositionBase = GetGaugePosition(), - SizeBase = Size, - SizeXBase = Width * GetWidthMag() * GetGaugeWidthMag(Margin), - SizeYBase = Height * GetHeightMag() * GetGaugeHeightMag(Margin), - Closed = true }; - gauge.BasePointBase = GetBasePoint(); + gauge.SetInitializeOP(new Out[1] { Shas.GetSquare() }); + gauge.SetPositionBase(GetGaugePosition()); + gauge.SetSizeBase(Size); + gauge.SetSizeXBase(Width * GetWidthMag() * GetGaugeWidthMag(Margin)); + gauge.SetSizeYBase(Height * GetHeightMag() * GetGaugeHeightMag(Margin)); + gauge.SetClosed(true); + + + gauge.SetBasePointBase(GetBasePoint()); pars.Add(gauge.Tag, gauge); if (knob) { this.knob = new Par { Tag = Name + "_ノブ", - InitializeOP = new Out[1] { Shas.GetSquare() }, - SizeBase = Size, - SizeXBase = GetKnobWidthMag(Width), - SizeYBase = GetKnobHeightMag(Height), - Closed = true, - BrushColor = Color.FromArgb(128, Color.White) }; - this.knob.BasePointBase = this.knob.OP.GetCenter(); + + this.knob.SetInitializeOP(new Out[1] { Shas.GetSquare() }); + this.knob.SetSizeBase(Size); + this.knob.SetSizeXBase(GetKnobWidthMag(Width)); + this.knob.SetSizeYBase(GetKnobHeightMag(Height)); + this.knob.SetClosed(true); + this.knob.SetBrushColor(Color.FromArgb(128, Color.White)); + this.knob.SetBasePointBase(this.knob.GetOP().GetCenter()); pars.Add(this.knob.Tag, this.knob); } } @@ -474,10 +485,10 @@ namespace _2DGAMELIB { return Open switch { - Open.Top => (0.0 - gauge.SizeY) * gauge.Size, - Open.Bot => gauge.SizeY * gauge.Size, - Open.Rig => gauge.SizeX * gauge.Size, - Open.Lef => (0.0 - gauge.SizeX) * gauge.Size, + Open.Top => (0.0 - gauge.GetSizeY()) * gauge.GetSize(), + Open.Bot => gauge.GetSizeY() * gauge.GetSize(), + Open.Rig => gauge.GetSizeX() * gauge.GetSize(), + Open.Lef => (0.0 - gauge.GetSizeX()) * gauge.GetSize(), _ => 0.0, }; } @@ -507,7 +518,7 @@ namespace _2DGAMELIB public bool Down(ref Color HitColor, ref Vector2D CursorPosition) { - if (knob != null && knob.HitColor == HitColor) + if (knob != null && knob.GetHitColor() == HitColor) { Grip = true; op = CursorPosition; diff --git a/2DGAMELIB/_2DGAMELIB/Join.cs b/2DGAMELIB/_2DGAMELIB/Join.cs index 9bc4d89..f5f6d76 100644 --- a/2DGAMELIB/_2DGAMELIB/Join.cs +++ b/2DGAMELIB/_2DGAMELIB/Join.cs @@ -14,7 +14,7 @@ namespace _2DGAMELIB int num = 0; List list = new List(); List list2 = EnumPar.ToList(); - foreach (Joi item in JoinRoot.JP) + foreach (Joi item in JoinRoot.GetJP()) { Vector2D v = JoinRoot.ToGlobal(item.Joint); int num2 = 0; @@ -23,7 +23,7 @@ namespace _2DGAMELIB { if (JoinRoot != item2) { - if (v.DistanceSquared(item2.Position) <= IdentityDistance) + if (v.DistanceSquared(item2.GetPosition()) <= IdentityDistance) { joints.Joins.Add(new Joint(JoinRoot, num, item2)); if (!list.Contains(num2)) @@ -59,7 +59,7 @@ namespace _2DGAMELIB { Par par = js.Joins[i].Par1; int num3 = 0; - foreach (Joi item in par.JP) + foreach (Joi item in par.GetJP()) { Vector2D v = par.ToGlobal(item.Joint); int num4 = 0; @@ -68,7 +68,7 @@ namespace _2DGAMELIB { if (par != item2) { - if (v.DistanceSquared(item2.Position) <= IdentityDistance) + if (v.DistanceSquared(item2.GetPosition()) <= IdentityDistance) { js.Joins.Add(new Joint(par, num3, item2)); if (!del.Contains(num4)) @@ -108,12 +108,12 @@ namespace _2DGAMELIB if (JoinRoot != item2) { int num2 = 0; - foreach (Joi item3 in item.JP) + foreach (Joi item3 in item.GetJP()) { Vector2D v = item.ToGlobal(item3.Joint); foreach (Par item4 in item2.EnumJoinRoot) { - if (v.DistanceSquared(item4.Position) <= IdentityDistance) + if (v.DistanceSquared(item4.GetPosition()) <= IdentityDistance) { jointsD.Joins.Add(new JointD(JoinRoot, item, num2, item2)); if (!list.Contains(num)) @@ -160,12 +160,12 @@ namespace _2DGAMELIB if (difs != item2) { int num4 = 0; - foreach (Joi item3 in item.JP) + foreach (Joi item3 in item.GetJP()) { Vector2D v = item.ToGlobal(item3.Joint); foreach (Par item4 in item2.EnumJoinRoot) { - if (v.DistanceSquared(item4.Position) <= IdentityDistance) + if (v.DistanceSquared(item4.GetPosition()) <= IdentityDistance) { jsd.Joins.Add(new JointD(difs, item, num4, item2)); if (!del.Contains(num3)) diff --git a/2DGAMELIB/_2DGAMELIB/JointD.cs b/2DGAMELIB/_2DGAMELIB/JointD.cs index 9ba88e5..da43c50 100644 --- a/2DGAMELIB/_2DGAMELIB/JointD.cs +++ b/2DGAMELIB/_2DGAMELIB/JointD.cs @@ -29,13 +29,13 @@ namespace _2DGAMELIB public void JoinP() { - Difs0.Current.GetPar(Path0).SetJointP(Index, Difs1.CurJoinRoot); + Difs0.GetCurrent().GetPar(Path0).SetJointP(Index, Difs1.GetCurJoinRoot()); Difs1.JoinPA(); } public void JoinPA() { - Difs0.Current.GetPar(Path0).SetJointPA(Index, Difs1.CurJoinRoot); + Difs0.GetCurrent().GetPar(Path0).SetJointPA(Index, Difs1.GetCurJoinRoot()); Difs1.JoinPA(); } diff --git a/2DGAMELIB/_2DGAMELIB/Lab.cs b/2DGAMELIB/_2DGAMELIB/Lab.cs index 0171961..188af02 100644 --- a/2DGAMELIB/_2DGAMELIB/Lab.cs +++ b/2DGAMELIB/_2DGAMELIB/Lab.cs @@ -57,62 +57,61 @@ namespace _2DGAMELIB parT = new ParT { - InitializeOP = array, - BasePointBase = array[0].ps[0], - PositionBase = Position, - SizeBase = Size, - Closed = true, - - Tag = Name, - BrushColor = BackColor, - PenColor = FramColor, - Font = Font, - FontSize = TextSize, - TextColor = TextColor, Text = "A" }; + parT.SetFont(Font); + parT.SetFontSize(TextSize); + parT.SetTextColor(TextColor); + parT.SetInitializeOP(array); + parT.SetBasePointBase(array[0].ps[0]); + parT.SetPositionBase(Position); + parT.SetSizeBase(Size); + parT.SetClosed(true); + parT.SetBrushColor(BackColor); + parT.SetPenColor(FramColor); + if (ShadColor != Color.Empty) { - parT.ShadBrush = new SolidBrush(ShadColor); + parT.SetShadBrush(new SolidBrush(ShadColor)); } SetRect(); - Min = parT.RectSize.Y; + Min = parT.GetRectSize().Y; SetText(Text); } public void SetHitColor(ModeEventDispatcher Med) { - if (parT.HitColor != Color.Transparent) + if (parT.GetHitColor() != Color.Transparent) { - Med.RemUniqueColor(parT.HitColor); + Med.RemUniqueColor(parT.GetHitColor()); } - parT.HitColor = Med.GetUniqueColor(); + parT.SetHitColor(Med.GetUniqueColor()); } private void SetRect() { if (!string.IsNullOrEmpty(parT.Text)) { - parT.RectSize = new Vector2D(Width, 10.0); + parT.SetRectSize(new Vector2D(Width, 10.0)); Vector2D_2 stringRect = parT.GetStringRect(Are.DisplayUnitScale, Are.DisplayGraphics); double x = ((stringRect.v2.X > Min) ? stringRect.v2.X : Min) + 0.07; - parT.RectSize = new Vector2D(x, stringRect.v2.Y); + parT.SetRectSize(new Vector2D(x, stringRect.v2.Y)); } else { double x2 = Min + 0.07; - parT.RectSize = new Vector2D(x2, Min); + parT.SetRectSize(new Vector2D(x2, Min)); } - parT.OP[0].ps[0] = new Vector2D(0.0, 0.0); - parT.OP[0].ps[1] = new Vector2D(parT.RectSize.X, 0.0); - parT.OP[0].ps[2] = new Vector2D(parT.RectSize.X, parT.RectSize.Y); - parT.OP[0].ps[3] = new Vector2D(0.0, parT.RectSize.Y); + parT.GetOP()[0].ps[0] = new Vector2D(0.0, 0.0); + parT.GetOP()[0].ps[1] = new Vector2D(parT.GetRectSize().X, 0.0); + parT.GetOP()[0].ps[2] = new Vector2D(parT.GetRectSize().X, parT.GetRectSize().Y); + parT.GetOP()[0].ps[3] = new Vector2D(0.0, parT.GetRectSize().Y); } public void Dispose() diff --git a/2DGAMELIB/_2DGAMELIB/MatrixD.cs b/2DGAMELIB/_2DGAMELIB/MatrixD.cs index 1805f5b..647b924 100644 --- a/2DGAMELIB/_2DGAMELIB/MatrixD.cs +++ b/2DGAMELIB/_2DGAMELIB/MatrixD.cs @@ -57,5 +57,6 @@ namespace _2DGAMELIB this.M43 = M43; this.M44 = M44; } + } } diff --git a/2DGAMELIB/_2DGAMELIB/ModeEventDispatcher.cs b/2DGAMELIB/_2DGAMELIB/ModeEventDispatcher.cs index 2f13b24..1239bd6 100644 --- a/2DGAMELIB/_2DGAMELIB/ModeEventDispatcher.cs +++ b/2DGAMELIB/_2DGAMELIB/ModeEventDispatcher.cs @@ -370,7 +370,7 @@ namespace _2DGAMELIB { foreach (Par p in ps) { - p.HitColor = GetUniqueColor(); + p.SetHitColor(GetUniqueColor()); } } @@ -383,7 +383,7 @@ namespace _2DGAMELIB { foreach (Par p in ps) { - HitColors.Remove(p.HitColor); + HitColors.Remove(p.GetHitColor()); } } diff --git a/2DGAMELIB/_2DGAMELIB/Obj.cs b/2DGAMELIB/_2DGAMELIB/Obj.cs index 621e275..e72c632 100644 --- a/2DGAMELIB/_2DGAMELIB/Obj.cs +++ b/2DGAMELIB/_2DGAMELIB/Obj.cs @@ -9,8 +9,6 @@ namespace _2DGAMELIB [Serializable] public class Obj { - public string Tag = ""; - public OrderedDictionary Difss = new OrderedDictionary(); private Difs r; @@ -19,8 +17,6 @@ namespace _2DGAMELIB public IEnumerable Keys => Difss.Keys; - public IEnumerable Values => Difss.Values; - public Difs this[string Name] { get @@ -33,58 +29,13 @@ namespace _2DGAMELIB } } - public Difs this[int Index] - { - get - { - return Difss[Index]; - } - set - { - Difss[Index] = value; - } - } - - public double PositionSize - { - set - { - foreach (Difs value2 in Difss.Values) - { - value2.PositionSize = value; - } - } - } - - public Vector2D PositionVector - { - set - { - foreach (Difs value2 in Difss.Values) - { - value2.PositionVector = value; - } - } - } - public double AngleBase { set { foreach (Difs value2 in Difss.Values) { - value2.AngleBase = value; - } - } - } - - public double AngleCont - { - set - { - foreach (Difs value2 in Difss.Values) - { - value2.AngleCont = value; + value2.SetAngleBase(value); } } } @@ -95,84 +46,7 @@ namespace _2DGAMELIB { foreach (Difs value2 in Difss.Values) { - value2.SizeBase = value; - } - } - } - - public double SizeCont - { - set - { - foreach (Difs value2 in Difss.Values) - { - value2.SizeCont = value; - } - } - } - - public double SizeXBase - { - set - { - foreach (Difs value2 in Difss.Values) - { - value2.SizeXBase = value; - } - } - } - - public double SizeXCont - { - set - { - foreach (Difs value2 in Difss.Values) - { - value2.SizeXCont = value; - } - } - } - - public double SizeYBase - { - set - { - foreach (Difs value2 in Difss.Values) - { - value2.SizeYBase = value; - } - } - } - - public double SizeYCont - { - set - { - foreach (Difs value2 in Difss.Values) - { - value2.SizeYCont = value; - } - } - } - - public bool Dra - { - set - { - foreach (Difs value2 in Difss.Values) - { - value2.Dra = value; - } - } - } - - public bool Hit - { - set - { - foreach (Difs value2 in Difss.Values) - { - value2.Hit = value; + value2.SetSizeBase(value); } } } @@ -227,8 +101,8 @@ namespace _2DGAMELIB { if (difs.EnumJoinRoot.All(delegate(Par p0) { - p = p0.Position; - return pa.All((Par p1) => p0 == p1 || p1.JP.All((Joi j) => !(p1.ToGlobal(j.Joint).DistanceSquared(p) <= Join.IdentityDistance))); + p = p0.GetPosition(); + return pa.All((Par p1) => p0 == p1 || p1.GetJP().All((Joi j) => !(p1.ToGlobal(j.Joint).DistanceSquared(p) <= Join.IdentityDistance))); })) { return difs; diff --git a/2DGAMELIB/_2DGAMELIB/Oth.cs b/2DGAMELIB/_2DGAMELIB/Oth.cs index 107a664..aa9fd8c 100644 --- a/2DGAMELIB/_2DGAMELIB/Oth.cs +++ b/2DGAMELIB/_2DGAMELIB/Oth.cs @@ -9,10 +9,6 @@ namespace _2DGAMELIB { public static class Oth { - private static double s1; - - private static double s0; - public static Color Reverse(this Color c) { return Color.FromArgb(c.A, 255 - c.R, 255 - c.G, 255 - c.B); @@ -50,7 +46,7 @@ namespace _2DGAMELIB public static LinearGradientBrush GetLGB(double Unit, Vector2D[] MM, Color Color1, Color Color2) { - return new LinearGradientBrush((MM[0] * Unit * s0).ToPointF(), (MM[1] * Unit * s1).ToPointF(), Color1, Color2) + return new LinearGradientBrush((MM[0] * Unit * 1.01.Reciprocal()).ToPointF(), (MM[1] * Unit * 1.01).ToPointF(), Color1, Color2) { GammaCorrection = true }; @@ -58,7 +54,7 @@ namespace _2DGAMELIB public static LinearGradientBrush GetLGB(double Unit, Vector2D[] MM, ref Color Color1, ref Color Color2) { - return new LinearGradientBrush((MM[0] * Unit * s0).ToPointF(), (MM[1] * Unit * s1).ToPointF(), Color1, Color2) + return new LinearGradientBrush((MM[0] * Unit * 1.01.Reciprocal()).ToPointF(), (MM[1] * Unit * 1.01).ToPointF(), Color1, Color2) { GammaCorrection = true }; @@ -66,7 +62,7 @@ namespace _2DGAMELIB private static void GetMinMaxX(Par Par, ref double MinX, ref double MaxX) { - foreach (Out item in Par.OP) + foreach (Out item in Par.GetOP()) { foreach (Vector2D p in item.ps) { @@ -85,7 +81,7 @@ namespace _2DGAMELIB private static void GetMinMaxY(Par Par, ref double MinY, ref double MaxY) { - foreach (Out item in Par.OP) + foreach (Out item in Par.GetOP()) { foreach (Vector2D p in item.ps) { @@ -112,7 +108,7 @@ namespace _2DGAMELIB public static void GetMiX_MaX(this Par Par, out Vector2D[] MM) { - Vector2D vector2D = Par.ToGlobal(Par.OP.First().ps.First()); + Vector2D vector2D = Par.ToGlobal(Par.GetOP().First().ps.First()); MM = new Vector2D[2]; MM[0].X = vector2D.X; MM[1].X = vector2D.X; @@ -121,7 +117,7 @@ namespace _2DGAMELIB public static void GetMaX_MiX(this Par Par, out Vector2D[] MM) { - Vector2D vector2D = Par.ToGlobal(Par.OP.First().ps.First()); + Vector2D vector2D = Par.ToGlobal(Par.GetOP().First().ps.First()); MM = new Vector2D[2]; MM[0].X = vector2D.X; MM[1].X = vector2D.X; @@ -130,7 +126,7 @@ namespace _2DGAMELIB public static void GetMiY_MaY(this Par Par, out Vector2D[] MM) { - Vector2D vector2D = Par.ToGlobal(Par.OP.First().ps.First()); + Vector2D vector2D = Par.ToGlobal(Par.GetOP().First().ps.First()); MM = new Vector2D[2]; MM[0].Y = vector2D.Y; MM[1].Y = vector2D.Y; @@ -140,7 +136,7 @@ namespace _2DGAMELIB public static void GetMiY_MaY(this Par[] Pars, out Vector2D[] MM) { Par par = Pars.First(); - Vector2D vector2D = par.ToGlobal(par.OP.First().ps.First()); + Vector2D vector2D = par.ToGlobal(par.GetOP().First().ps.First()); MM = new Vector2D[2]; MM[0].Y = vector2D.Y; MM[1].Y = vector2D.Y; @@ -149,7 +145,7 @@ namespace _2DGAMELIB public static void GetMaY_MiY(this Par Par, out Vector2D[] MM) { - Vector2D vector2D = Par.ToGlobal(Par.OP.First().ps.First()); + Vector2D vector2D = Par.ToGlobal(Par.GetOP().First().ps.First()); MM = new Vector2D[2]; MM[0].Y = vector2D.Y; MM[1].Y = vector2D.Y; @@ -186,7 +182,7 @@ namespace _2DGAMELIB public static Encoding GetEncoding(this byte[] Bytes) { - byte[] array = null; + byte[] array; if (Bytes.Length > 4000) { array = new byte[4000]; @@ -339,8 +335,6 @@ namespace _2DGAMELIB static Oth() { - s1 = 1.01; - s0 = s1.Reciprocal(); } public static void SaveExMod(this T Obj, string Path) diff --git a/2DGAMELIB/_2DGAMELIB/Par.cs b/2DGAMELIB/_2DGAMELIB/Par.cs index b4b7739..1f6393e 100644 --- a/2DGAMELIB/_2DGAMELIB/Par.cs +++ b/2DGAMELIB/_2DGAMELIB/Par.cs @@ -5,6 +5,7 @@ using System.Drawing; using System.Drawing.Drawing2D; using System.Linq; using System.Diagnostics; +using System.Numerics; namespace _2DGAMELIB { @@ -12,19 +13,6 @@ namespace _2DGAMELIB [Serializable] public class Par { - //FOR TESTS - public static long TCalc; - public static long TCalcH; - public static long TFill; - public static long TOutline; - public static long THitFill; - - public static int NCalc; - public static int NCalcH; - public static int NFill; - public static int NOutline; - public static int NHitFill; - private Pars parent; public string Tag = ""; @@ -35,19 +23,12 @@ namespace _2DGAMELIB protected Vector2D basePointBase = Dat.Vec2DZero; - //cont short for contract? protected Vector2D basePointCont = Dat.Vec2DZero; protected Vector2D positionBase = Dat.Vec2DZero; - protected Vector2D positionContO = Dat.Vec2DZero; - protected Vector2D positionCont = Dat.Vec2DZero; - protected double positionSize = 1.0; - - protected Vector2D positionVector = Dat.Vec2DZero; - protected double anglePare; protected double angleBase; @@ -66,487 +47,294 @@ namespace _2DGAMELIB protected double ySizeCont = 1.0; - public bool Dra = true; - - private bool closed; - - [NonSerialized, JsonIgnore] - protected Pen pen = new Pen(Color.Black, 1f); + protected double positionSize = 1.0; protected double penWidth; - private bool EditP = true; + + [NonSerialized, JsonIgnore] + protected Pen pen = new Pen(Color.Black, 1f); [NonSerialized, JsonIgnore] protected Brush brush = new SolidBrush(Color.LightGray); - public bool Hit = true; - [NonSerialized, JsonIgnore] protected SolidBrush HitBrush = new SolidBrush(Color.Transparent); - private double us; - - private double usx; - - private double usy; - - private Vector2D bp; - - private Vector2D mv; - - private double angle; - - private double M11; - - private double M12; - - [NonSerialized, JsonIgnore] private GraphicsPath Path = new GraphicsPath(); [NonSerialized, JsonIgnore] private GraphicsPath OutlinePath = new GraphicsPath(); - private Vector2D p; - - private Vector2D v; - - private PointF[] points; - - protected bool Edit = true; - - protected bool EditS = true; - - protected bool EditPS = true; - - private double ush; - - private double usxh; - - private double usyh; - - private Vector2D bph; - - private Vector2D mvh; - - private double ah; - - private double M11h; - - private double M12h; - [NonSerialized, JsonIgnore] private GraphicsPath gph = new GraphicsPath(); - private Vector2D ph; - private Vector2D vh; + public bool Dra = true; + public bool Hit = true; + private bool closed; - private PointF[] psh; + public Pars GetParent() + { + return parent; + } - private bool EditH = true; + public List GetOP() + { + return op; + } - public Pars Parent => parent; + public void SetInitializeOP(IEnumerable value) + { + op.Clear(); + op.AddRange(value); + } - public List OP - { - get - { - Edit = true; - EditH = true; - return op; - } - set - { - op = value; - Edit = true; - EditH = true; - } - } + public List GetJP() + { + return jp; + } - public IEnumerable InitializeOP - { - set - { - op.Clear(); - op.AddRange(value); - Edit = true; - EditH = true; - } - } + public Vector2D GetBasePointBase() + { + return basePointBase; + } - public List JP - { - get - { - return jp; - } - set - { - jp = value; - } - } + public void SetBasePointBase(Vector2D value) + { + basePointBase = value; + } - public IEnumerable InitializeJP - { - set - { - jp.Clear(); - jp.AddRange(value); - } - } + public Vector2D GetBasePointCont() + { + return basePointCont; + } - public Vector2D BasePointBase - { - get - { - return basePointBase; - } - set - { - basePointBase = value; - Edit = true; - EditH = true; - } - } + public void SetBasePointCont(Vector2D value) + { + basePointCont = value; + } - public Vector2D BasePointCont - { - get - { - return basePointCont; - } - set - { - basePointCont = value; - Edit = true; - EditH = true; - } - } + public Vector2D GetBasePoint() + { + return basePointBase + basePointCont; + } - public Vector2D BasePoint => basePointBase + basePointCont; + public Vector2D GetPositionBase() + { + return positionBase; + } - public Vector2D PositionBase - { - get - { - return positionBase; - } - set - { - positionBase = value; - Edit = true; - EditH = true; - } - } + public void SetPositionBase(Vector2D value) + { + positionBase = value; + } - public Vector2D PositionCont - { - get - { - return positionContO; - } - set - { - positionContO = value; - Edit = true; - EditH = true; - } - } + public Vector2D GetPositionCont() + { + return positionCont; + } - public Vector2D Position - { - get - { - double d = System.Math.PI * AngleParent / 180.0; - double num = System.Math.Cos(d); - double num2 = System.Math.Sin(d); - positionCont.X = positionContO.X * num + positionContO.Y * (0.0 - num2); - positionCont.Y = positionContO.X * num2 + positionContO.Y * num; - return (positionBase + positionCont) * positionSize + positionVector; - } - } + public void SetPositionCont(Vector2D value) + { + positionCont = value; + } - public Vector2D Position_nc - { - get - { - double d = System.Math.PI * AngleParent / 180.0; - System.Math.Cos(d); - System.Math.Sin(d); - return positionBase * positionSize + positionVector; - } - } + public Vector2D GetPosition() + { + double d = System.Math.PI * anglePare / 180.0; + double num = System.Math.Cos(d); + double num2 = System.Math.Sin(d); + Vector2D positionCont; + positionCont.X = this.positionCont.X * num - this.positionCont.Y * num2; + positionCont.Y = this.positionCont.X * num2 + this.positionCont.Y * num; + return (positionBase + positionCont) * positionSize; + } - public double PositionSize - { - get - { - return positionSize; - } - set - { - positionSize = value; - Edit = true; - EditH = true; - EditPS = true; - } - } + public void SetAngleParent(double value) + { + anglePare = value; + } - public Vector2D PositionVector - { - get - { - return positionVector; - } - set - { - positionVector = value; - Edit = true; - EditH = true; - } - } + public double GetAngleBase() + { + return angleBase; + } - public double AngleParent - { - get - { - return anglePare; - } - set - { - anglePare = value; - Edit = true; - EditH = true; - } - } + public void SetAngleBase(double value) + { + angleBase = value; + } - public double AngleBase - { - get - { - return angleBase; - } - set - { - angleBase = value; - Edit = true; - EditH = true; - } - } + public double GetAngleCont() + { + return angleCont; + } - public double AngleCont - { - get - { - return angleCont; - } - set - { - angleCont = value; - Edit = true; - EditH = true; - } - } + public void SetAngleCont(double value) + { + angleCont = value; + } - public double Angle => anglePare + angleBase + angleCont; + public double GetAngle() + { + return anglePare + angleBase + angleCont; + } - public double SizeBase - { - get - { - return sizeBase; - } - set - { - sizeBase = value; - Edit = true; - EditH = true; - EditS = true; - } - } + public double GetSizeBase() + { + return sizeBase; + } - public double SizeCont - { - get - { - return sizeCont; - } - set - { - sizeCont = value; - Edit = true; - EditH = true; - EditS = true; - } - } + public void SetSizeBase(double value) + { + sizeBase = value; + } - public double Size => sizeBase * sizeCont * positionSize; + public double GetSizeCont() + { + return sizeCont; + } - public double SizeXBase - { - get - { - return xSizeBase; - } - set - { - xSizeBase = value; - Edit = true; - EditH = true; - } - } + public void SetSizeCont(double value) + { + sizeCont = value; + } - public double SizeXCont - { - get - { - return xSizeCont; - } - set - { - xSizeCont = value; - Edit = true; - EditH = true; - } - } + public double GetSize() + { + return sizeBase * sizeCont * positionSize; + } - public double SizeX => xSizeBase * xSizeCont; + public double GetSizeXBase() + { + return xSizeBase; + } - public double SizeYBase - { - get - { - return ySizeBase; - } - set - { - ySizeBase = value; - Edit = true; - EditH = true; - } - } + public void SetSizeXBase(double value) + { + xSizeBase = value; + } - public double SizeYCont - { - get - { - return ySizeCont; - } - set - { - ySizeCont = value; - Edit = true; - EditH = true; - } - } + public double GetSizeXCont() + { + return xSizeCont; + } - public double SizeY => ySizeBase * ySizeCont; + public void SetSizeXCont(double value) + { + xSizeCont = value; + } - public bool Closed - { - get - { - return closed; - } - set - { - closed = value; - Edit = true; - EditH = true; - } - } + public double GetSizeX() + { + return xSizeBase * xSizeCont; + } - [JsonIgnore] - public Pen Pen - { - get - { - return pen; - } - set - { - if (pen != value && pen != null) - { - pen.Dispose(); - } - pen = value; - if (pen != null) - { - pen.StartCap = LineCap.Round; - pen.EndCap = LineCap.Round; - } - EditP = true; - } - } + public double GetSizeYBase() + { + return ySizeBase; + } - public double PenWidth - { - get - { - return penWidth; - } - set - { - penWidth = value; - EditP = true; - } - } + public void SetSizeYBase(double value) + { + ySizeBase = value; + } - public Color PenColor - { - get - { - return pen.Color; - } - set - { - pen.Color = value; - } - } + public double GetSizeYCont() + { + return ySizeCont; + } - [JsonIgnore] - public Brush Brush - { - get - { - return brush; - } - set - { - if (brush != value && brush != null) - { - brush.Dispose(); - } - brush = value; - } - } + public void SetSizeYCont(double value) + { + ySizeCont = value; + } - public Color BrushColor - { - get - { - return ((SolidBrush)brush).Color; - } - set - { - ((SolidBrush)brush).Color = value; - } - } + public double GetSizeY() + { + return ySizeBase * ySizeCont; + } - public Color HitColor - { - get - { - return HitBrush.Color; - } - set - { - HitBrush.Color = value; - } - } - public void SetParent(Pars Parent) + public void SetClosed(bool value) + { + closed = value; + } + + public Pen GetPen() + { + return pen; + } + + public void SetPen(Pen value) + { + if (pen != value && pen != null) + { + pen.Dispose(); + } + pen = value; + if (pen != null) + { + pen.StartCap = LineCap.Round; + pen.EndCap = LineCap.Round; + } + } + + public double GetPenWidth() + { + return penWidth; + } + + public void SetPenWidth(double value) + { + penWidth = value; + } + + public Color GetPenColor() + { + return pen.Color; + } + + public void SetPenColor(Color value) + { + pen.Color = value; + } + + public Brush GetBrush1() + { + return brush; + } + + public void SetBrush1(Brush value) + { + if (brush != value && brush != null) + { + brush.Dispose(); + } + brush = value; + } + + public Color GetBrushColor() + { + return ((SolidBrush)brush).Color; + } + + public void SetBrushColor(Color value) + { + ((SolidBrush)brush).Color = value; + } + + public Color GetHitColor() + { + return HitBrush.Color; + } + + public void SetHitColor(Color value) + { + HitBrush.Color = value; + } + public void SetParent(Pars Parent) { parent = Parent; } @@ -596,10 +384,8 @@ namespace _2DGAMELIB basePointBase = Par.basePointBase; basePointCont = Par.basePointCont; positionBase = Par.positionBase; - positionContO = Par.positionContO; positionCont = Par.positionCont; positionSize = Par.positionSize; - positionVector = Par.positionVector; anglePare = Par.anglePare; angleBase = Par.angleBase; angleCont = Par.angleCont; @@ -614,11 +400,11 @@ namespace _2DGAMELIB closed = Par.closed; if (Par.pen != null) { - Pen = Par.pen.Copy(); + SetPen(Par.pen.Copy()); } if (Par.brush != null) { - Brush = Par.brush.Copy(); + SetBrush1(Par.brush.Copy()); } Hit = Par.Hit; if (Par.HitBrush != null) @@ -629,56 +415,35 @@ namespace _2DGAMELIB private void Calculation(double Unit) { + double us = Unit * (sizeBase * sizeCont * positionSize); + double usx = us * (xSizeBase * xSizeCont); + double usy = us * (ySizeBase * ySizeCont); - /* - things that affect where this part is drawn - - Size, SizeX, SizeY, BasePoint, Position, Angle, Unit - - Size = sizeBase * sizeCont * positionSize - SizeX = xSizeBase * xSizeCont - SizeY = ySizeBase * ySizeCont - BasePoint = basePointBase + basePointCont - Position (AnglePare, positionContO, positionBase, positionCont, positionSize, positionVector) - Angle = anglePare + angleBase + angleCont - AnglePare = anglePare - - sizeBase, sizeCont, positionSize, xSizeBase, xSizeCont, ySizeBase, ySizeCont, - basePointBase, basePointCont, positionContO, positionBase, positionCont, - positionVector, anglePare, angleBase, angleCont - - */ - - us = Unit * Size; - usx = us * SizeX; - usy = us * SizeY; - - bp = BasePoint; + Vector2D bp = basePointBase + basePointCont; bp.X *= usx; bp.Y *= usy; - mv = Position * Unit - bp; + Vector2D mv = GetPosition() * Unit - bp; - double a = System.Math.PI * Angle / 180.0; - M11 = System.Math.Cos(a); - M12 = System.Math.Sin(a); + double a = System.Math.PI * (anglePare + angleBase + angleCont) / 180.0; Path.Reset(); OutlinePath.Reset(); foreach (Out item in op) { - points = new PointF[item.ps.Count]; + PointF[] points = new PointF[item.ps.Count]; for (int i = 0; i < item.ps.Count; i++) { + Vector2D p; p.X = item.ps[i].X * usx; p.Y = item.ps[i].Y * usy; - p = Rotate(ref p) + mv; + p = Rotate(ref p, bp, a) + mv; points[i].X = (float)p.X; points[i].Y = (float)p.Y; } - if (Closed) + if (closed) Path.AddClosedCurve(points, item.Tension); else Path.AddCurve(points, item.Tension); @@ -687,7 +452,7 @@ namespace _2DGAMELIB { OutlinePath.StartFigure(); - if (Closed) + if (closed) OutlinePath.AddClosedCurve(points, item.Tension); else OutlinePath.AddCurve(points, item.Tension); @@ -695,11 +460,15 @@ namespace _2DGAMELIB } } - private Vector2D Rotate(ref Vector2D p) + private Vector2D Rotate(ref Vector2D p, Vector2D bp, double a) { + double M11 = System.Math.Cos(a); + double M12 = System.Math.Sin(a); + p.X -= bp.X; p.Y -= bp.Y; + Vector2D v; v.X = p.X * M11 + p.Y * (0.0 - M12); v.Y = p.X * M12 + p.Y * M11; @@ -713,67 +482,46 @@ namespace _2DGAMELIB { if (Dra) { - if (Edit) - { - long t0 = Stopwatch.GetTimestamp(); - Calculation(Unit); - TCalc += Stopwatch.GetTimestamp() - t0; - NCalc++; - Edit = false; - } - - if (pen != null && (EditP || EditPS)) - { - pen.Width = (float)(Unit * penWidth * positionSize); - EditP = false; - EditPS = false; - } - + Calculation(Unit); if (brush != null) { - long t0 = Stopwatch.GetTimestamp(); Graphics.FillPath(brush, Path); - TFill += Stopwatch.GetTimestamp() - t0; - NFill++; } if (pen != null) { - long t0 = Stopwatch.GetTimestamp(); + pen.Width = (float)(Unit * penWidth * positionSize); Graphics.DrawPath(pen, OutlinePath); - TOutline += Stopwatch.GetTimestamp() - t0; - NOutline++; } } } private void CalculationH(double Unit) { - ush = Unit * Size; - usxh = ush * SizeX; - usyh = ush * SizeY; + double ush = Unit * (sizeBase * sizeCont * positionSize); + double usxh = ush * (xSizeBase * xSizeCont); + double usyh = ush * (ySizeBase * ySizeCont); - bph = BasePoint; + Vector2D bph = basePointBase + basePointCont; bph.X *= usxh; bph.Y *= usyh; - mvh = Position; + Vector2D mvh = GetPosition(); mvh.X = mvh.X * Unit - bph.X; mvh.Y = mvh.Y * Unit - bph.Y; - ah = System.Math.PI * Angle / 180.0; - M11h = System.Math.Cos(ah); - M12h = System.Math.Sin(ah); + double ah = System.Math.PI * GetAngle() / 180.0; gph.Reset(); - if (Closed) + if (closed) { foreach (Out item in op) { - psh = new PointF[item.ps.Count]; + PointF[] psh = new PointF[item.ps.Count]; for (int i = 0; i < item.ps.Count; i++) { - ph.X = item.ps[i].X * usxh; + Vector2D ph; + ph.X = item.ps[i].X * usxh; ph.Y = item.ps[i].Y * usyh; - RotateH(ref ph); + RotateH(ref ph, bph, ah); ph.X += mvh.X; ph.Y += mvh.Y; psh[i].X = (float)ph.X; @@ -786,12 +534,13 @@ namespace _2DGAMELIB foreach (Out item2 in op) { - psh = new PointF[item2.ps.Count]; + PointF[] psh = new PointF[item2.ps.Count]; for (int j = 0; j < item2.ps.Count; j++) { - ph.X = item2.ps[j].X * usxh; + Vector2D ph; + ph.X = item2.ps[j].X * usxh; ph.Y = item2.ps[j].Y * usyh; - RotateH(ref ph); + RotateH(ref ph, bph, ah); ph.X += mvh.X; ph.Y += mvh.Y; psh[j].X = (float)ph.X; @@ -801,11 +550,15 @@ namespace _2DGAMELIB } } - private void RotateH(ref Vector2D ph) + private void RotateH(ref Vector2D ph, Vector2D bph, double ah) { + double M11h = System.Math.Cos(ah); + double M12h = System.Math.Sin(ah); + ph.X -= bph.X; ph.Y -= bph.Y; + Vector2D vh; vh.X = ph.X * M11h + ph.Y * (0.0 - M12h); vh.Y = ph.X * M12h + ph.Y * M11h; @@ -817,19 +570,8 @@ namespace _2DGAMELIB { if (Hit) { - if (EditH) - { - long t0 = Stopwatch.GetTimestamp(); - CalculationH(Unit); - TCalcH += Stopwatch.GetTimestamp() - t0; - NCalcH++; - EditH = false; - } - - long t1 = Stopwatch.GetTimestamp(); + CalculationH(Unit); Graphics.FillPath(HitBrush, gph); - THitFill += Stopwatch.GetTimestamp() - t1; - NHitFill++; } } @@ -837,35 +579,31 @@ namespace _2DGAMELIB { if (Index < jp.Count) { - Par.PositionBase = ToGlobal(jp[Index].Joint); + Par.SetPositionBase(ToGlobal(jp[Index].Joint)); } - Par.Edit = true; - Par.EditH = true; } public void SetJointPA(int Index, Par Par) { if (Index < jp.Count) { - Par.PositionBase = ToGlobal(jp[Index].Joint); + Par.SetPositionBase(ToGlobal(jp[Index].Joint)); } - Par.AngleParent = Angle; - Par.Edit = true; - Par.EditH = true; + Par.SetAngleParent(anglePare + angleBase + angleCont); } public Vector2D ToGlobal(Vector2D Local) { - double size = Size; - double xsz = size * SizeX; - double ysz = size * SizeY; - Vector2D basePoint = BasePoint; + double size = sizeBase * sizeCont * positionSize; + double xsz = size * (xSizeBase * xSizeCont); + double ysz = size * (ySizeBase * ySizeCont); + Vector2D basePoint = basePointBase + basePointCont; basePoint.X *= xsz; basePoint.Y *= ysz; - Vector2D position = Position; + Vector2D position = GetPosition(); position.X -= basePoint.X; position.Y -= basePoint.Y; - double d = System.Math.PI * Angle / 180.0; + double d = System.Math.PI * GetAngle() / 180.0; double num3 = System.Math.Cos(d); double num4 = System.Math.Sin(d); double num5 = 0.0 - num4; @@ -888,16 +626,16 @@ namespace _2DGAMELIB public Vector2D ToGlobal_nc(Vector2D Local) { - double size = Size; - double num = size * SizeX; - double num2 = size * SizeY; - Vector2D basePoint = BasePoint; + double size = sizeBase * sizeCont * positionSize; + double num = size * (xSizeBase * xSizeCont); + double num2 = size * (ySizeBase * ySizeCont); + Vector2D basePoint = basePointBase + basePointCont; basePoint.X *= num; basePoint.Y *= num2; - Vector2D position_nc = Position_nc; + Vector2D position_nc = positionBase * positionSize; position_nc.X -= basePoint.X; position_nc.Y -= basePoint.Y; - double d = System.Math.PI * Angle / 180.0; + double d = System.Math.PI * (anglePare + angleBase + angleCont) / 180.0; double num3 = System.Math.Cos(d); double num4 = System.Math.Sin(d); double num5 = 0.0 - num4; @@ -920,18 +658,18 @@ namespace _2DGAMELIB public Vector2D ToLocal(Vector2D Global) { - double size = Size; - double num = size * SizeX; - double num2 = size * SizeY; - Vector2D basePoint = BasePoint; + double size = sizeBase * sizeCont * positionSize; + double num = size * (xSizeBase * xSizeCont); + double num2 = size * (ySizeBase * ySizeCont); + Vector2D basePoint = basePointBase + basePointCont; basePoint.X *= num; basePoint.Y *= num2; - Vector2D position = Position; + Vector2D position = GetPosition(); position.X = basePoint.X - position.X; position.Y = basePoint.Y - position.Y; num = num.Reciprocal(); num2 = num2.Reciprocal(); - double d = System.Math.PI * (0.0 - Angle) / 180.0; + double d = System.Math.PI * (0.0 - (anglePare + angleBase + angleCont)) / 180.0; double num3 = System.Math.Cos(d); double num4 = System.Math.Sin(d); double num5 = 0.0 - num4; @@ -1011,42 +749,6 @@ namespace _2DGAMELIB return System.Math.Abs(num * 0.5); } - public void ScalingXY(double Scale) - { - op.ScalingXY(ref basePointBase, Scale); - jp.ScalingXY(ref basePointBase, Scale); - } - - public void ScalingX(double Scale) - { - op.ScalingX(ref basePointBase, Scale); - jp.ScalingX(ref basePointBase, Scale); - } - - public void ScalingY(double Scale) - { - op.ScalingY(ref basePointBase, Scale); - jp.ScalingY(ref basePointBase, Scale); - } - - public void ExpansionXY(double Rate) - { - op.ExpansionXY(ref basePointBase, Rate); - jp.ExpansionXY(ref basePointBase, Rate); - } - - public void ExpansionX(double Rate) - { - op.ExpansionX(ref basePointBase, Rate); - jp.ExpansionX(ref basePointBase, Rate); - } - - public void ExpansionY(double Rate) - { - op.ExpansionY(ref basePointBase, Rate); - jp.ExpansionY(ref basePointBase, Rate); - } - public void Dispose() { if (pen != null) diff --git a/2DGAMELIB/_2DGAMELIB/ParT.cs b/2DGAMELIB/_2DGAMELIB/ParT.cs index e3e4464..a9fc221 100644 --- a/2DGAMELIB/_2DGAMELIB/ParT.cs +++ b/2DGAMELIB/_2DGAMELIB/ParT.cs @@ -9,19 +9,15 @@ namespace _2DGAMELIB [Serializable] public class ParT : Par { - [NonSerialized, JsonIgnore] - private Font font = new Font("", 1f); private double fontSize = 1.0; - private bool EditF = true; + [NonSerialized, JsonIgnore] + private Font font = new Font("", 1f); [NonSerialized, JsonIgnore] private Brush brusht = new SolidBrush(Color.Black); - //unused - private const double Shift = 1.0; - [NonSerialized, JsonIgnore] private Brush brushs; @@ -32,127 +28,89 @@ namespace _2DGAMELIB private Vector2D rectSize = Dat.Vec2DOne; + public string Text = ""; - private RectangleF rect; - private double us; - - private double usx; - - private double usy; private Vector2D bp; - private Vector2D p; - private Vector2D v; - - private double a0; - - private double a1; - - private double M11; - - private double M12; - - private float af; - - private float xf; - - private float yf; - - private bool EditT = true; private bool EditTS = true; + private bool EditF = true; - private CharacterRange[] crr = new CharacterRange[1]; - public Font Font - { - get { return font; } - set - { - if (font != value && font != null) - { - font.Dispose(); - } - font = value; - EditF = true; - } - } - public double FontSize - { - get { return fontSize; } - set - { - fontSize = value; - EditF = true; - } - } + public void SetFont(Font value) + { + if (font != value && font != null) + { + font.Dispose(); + } + font = value; + EditF = true; + } - public Brush TextBrush - { - get { return brusht; } - set - { - if (brusht != value && brusht != null) - { - brusht.Dispose(); - } - brusht = value; - } - } + public double GetFontSize() + { return fontSize; } - public Color TextColor - { - get { return ((SolidBrush)brusht).Color; } - set { ((SolidBrush)brusht).Color = value; } - } + public void SetFontSize(double value) + { + fontSize = value; + EditF = true; + } - public Brush ShadBrush - { - get { return brushs; } - set - { - if (brushs != value && brushs != null) - brushs.Dispose(); + public void SetTextBrush(Brush value) + { + if (brusht != value && brusht != null) + { + brusht.Dispose(); + } + brusht = value; + } - brushs = value; - } - } + public Color GetTextColor() + { return ((SolidBrush)brusht).Color; } - public Color ShadColor - { - get { return ((SolidBrush)brushs).Color; } - set { ((SolidBrush)brushs).Color = value; } - } + public void SetTextColor(Color value) + { ((SolidBrush)brusht).Color = value; } - public StringFormat StringFormat - { - get { return stringformat; } - set - { - if (stringformat != value && stringformat != null) - { - stringformat.Dispose(); - } - stringformat = value; - } - } + public void SetShadBrush(Brush value) + { + if (brushs != value && brushs != null) + brushs.Dispose(); - public Vector2D RectSize - { - get { return rectSize; } - set - { - rectSize = value; - EditT = true; - } - } + brushs = value; + } - public new void SetDefault() + public Color GetShadColor() + { return ((SolidBrush)brushs).Color; } + + public void SetShadColor(Color value) + { ((SolidBrush)brushs).Color = value; } + + public StringFormat GetStringFormat() + { return stringformat; } + + public void SetStringFormat(StringFormat value) + { + if (stringformat != value && stringformat != null) + { + stringformat.Dispose(); + } + stringformat = value; + } + + public Vector2D GetRectSize() + { return rectSize; } + + public void SetRectSize(Vector2D value) + { + rectSize = value; + } + + public new void SetDefault() { base.SetDefault(); @@ -174,7 +132,6 @@ namespace _2DGAMELIB stringformat = new StringFormat(); EditF = true; - EditT = true; EditTS = true; } @@ -194,16 +151,16 @@ namespace _2DGAMELIB fontSize = ParT.fontSize; if (ParT.font != null) - Font = ParT.font.Copy(); + SetFont(ParT.font.Copy()); if (ParT.brusht != null) - TextBrush = ParT.brusht.Copy(); + SetTextBrush(ParT.brusht.Copy()); if (ParT.brushs != null) - ShadBrush = ParT.brushs.Copy(); + SetShadBrush(ParT.brushs.Copy()); if (ParT.stringformat != null) - StringFormat = ParT.stringformat.Copy(); + SetStringFormat(ParT.stringformat.Copy()); positionT = ParT.positionT; rectSize = ParT.rectSize; @@ -212,11 +169,14 @@ namespace _2DGAMELIB public new void Draw(double Unit, Graphics Graphics) { - if (Edit) - EditT = true; + Calculation(Unit); - if (EditS || EditPS) - EditTS = true; + if (EditF || EditTS) + { + RebuildFont((float)(Unit * base.GetSize() * fontSize)); + EditF = false; + EditTS = false; + } base.Draw(Unit, Graphics); DrawString(Unit, Graphics); @@ -224,30 +184,25 @@ namespace _2DGAMELIB private void Calculation(double Unit) { - us = Unit * base.Size; - usx = us * base.SizeX; - usy = us * base.SizeY; + double us = Unit * base.GetSize(); + double usx = us * base.GetSizeX(); + double usy = us * base.GetSizeY(); - bp = base.BasePoint; + bp = base.GetBasePoint(); bp.X *= usx; bp.Y *= usy; - a0 = base.Angle; - a1 = System.Math.PI * a0 / 180.0; - M11 = System.Math.Cos(a1); - M12 = System.Math.Sin(a1); + double a1 = System.Math.PI * base.GetAngle() / 180.0; + double M11 = System.Math.Cos(a1); + double M12 = System.Math.Sin(a1); + Vector2D v; v.X = bp.X * M11 + bp.Y * (0.0 - M12); v.Y = bp.X * M12 + bp.Y * M11; - p = base.Position; + Vector2D p = base.GetPosition(); bp.X = p.X * Unit - v.X; bp.Y = p.Y * Unit - v.Y; - - rect.X = (float)(positionT.X * us); - rect.Y = (float)(positionT.Y * us); - rect.Width = (float)(rectSize.X * us); - rect.Height = (float)(rectSize.Y * us); } private void RebuildFont(double scaledSize) @@ -273,60 +228,47 @@ namespace _2DGAMELIB private void DrawString(double Unit, Graphics Graphics) { - if (EditT) - { - Calculation(Unit); - EditT = false; - } - - if (EditF || EditTS) - { - RebuildFont((float)(us * fontSize)); - EditF = false; - EditTS = false; - } - - af = (float)a0; - xf = (float)base.SizeX; - yf = (float)base.SizeY; - + RectangleF rect = default(RectangleF); + rect.X = (float)(positionT.X * Unit * base.GetSize()); + rect.Y = (float)(positionT.Y * Unit * base.GetSize()); + rect.Width = (float)(rectSize.X * Unit * base.GetSize()); + rect.Height = (float)(rectSize.Y * Unit * base.GetSize()); if (brushs != null) { GraphicsState state = Graphics.Save(); - - Graphics.TranslateTransform((float)(bp.X + Shift), (float)(bp.Y + Shift)); - Graphics.RotateTransform(af); - Graphics.ScaleTransform(xf, yf); + Graphics.TranslateTransform((float)(bp.X + 1.0), (float)(bp.Y + 1.0)); + Graphics.RotateTransform((float)base.GetAngle()); + Graphics.ScaleTransform((float)base.GetSizeX(), (float)base.GetSizeY()); Graphics.DrawString(Text, font, brushs, rect, stringformat); - Graphics.Restore(state); } { GraphicsState state = Graphics.Save(); - Graphics.TranslateTransform((float)bp.X, (float)bp.Y); - Graphics.RotateTransform(af); - Graphics.ScaleTransform(xf, yf); + Graphics.RotateTransform((float)base.GetAngle()); + Graphics.ScaleTransform((float)base.GetSizeX(), (float)base.GetSizeY()); Graphics.DrawString(Text, font, brusht, rect, stringformat); - Graphics.Restore(state); } } public Vector2D_2 GetStringRect(double Unit, Graphics Graphics) { - double num = Unit * base.Size; + double num = Unit * base.GetSize(); - if (EditF || EditS || EditPS || EditTS) + if (EditF || EditTS) { RebuildFont((float)(num * fontSize)); EditF = false; EditTS = false; } - crr[0] = new CharacterRange(0, Text.Length); + CharacterRange[] crr = new CharacterRange[]{ + new CharacterRange(0, Text.Length) + }; + stringformat.SetMeasurableCharacterRanges(crr); RectangleF layoutRect = new RectangleF( @@ -376,8 +318,9 @@ namespace _2DGAMELIB @out.ps.Add(stringRectPoints[2].AddXY(x, num) + vector2D); @out.ps.Add(stringRectPoints[3].AddY(num) + vector2D); - base.OP.Add(@out); + base.GetOP().Add(@out); } + public new void Dispose() { base.Dispose(); diff --git a/2DGAMELIB/_2DGAMELIB/Pars.cs b/2DGAMELIB/_2DGAMELIB/Pars.cs index 4a67e22..c683285 100644 --- a/2DGAMELIB/_2DGAMELIB/Pars.cs +++ b/2DGAMELIB/_2DGAMELIB/Pars.cs @@ -16,227 +16,54 @@ namespace _2DGAMELIB public Pars Parent => parent; - public IEnumerable Keys => pars.Keys; - public IEnumerable Values => pars.Values; - public double PositionSize - { - set - { - foreach (object value2 in pars.Values) - { - if (value2 is Pars) - { - ((Pars)value2).PositionSize = value; - } - else if (value2 is Par) - { - ((Par)value2).PositionSize = value; - } - } - } - } + public void SetAngleBase(double value) + { + foreach (object value2 in pars.Values) + { + if (value2 is Pars) + { + ((Pars)value2).SetAngleBase(value); + } + else if (value2 is Par) + { + ((Par)value2).SetAngleBase(value); + } + } + } - public Vector2D PositionVector - { - set - { - foreach (object value2 in pars.Values) - { - if (value2 is Pars) - { - ((Pars)value2).PositionVector = value; - } - else if (value2 is Par) - { - ((Par)value2).PositionVector = value; - } - } - } - } + public void SetSizeBase(double value) + { + foreach (object value2 in pars.Values) + { + if (value2 is Pars) + { + ((Pars)value2).SetSizeBase(value); + } + else if (value2 is Par) + { + ((Par)value2).SetSizeBase(value); + } + } + } - public double AngleBase - { - set - { - foreach (object value2 in pars.Values) - { - if (value2 is Pars) - { - ((Pars)value2).AngleBase = value; - } - else if (value2 is Par) - { - ((Par)value2).AngleBase = value; - } - } - } - } + public void SetSizeYCont(double value) + { + foreach (object value2 in pars.Values) + { + if (value2 is Pars) + { + ((Pars)value2).SetSizeYCont(value); + } + else if (value2 is Par) + { + ((Par)value2).SetSizeYCont(value); + } + } + } - public double AngleCont - { - set - { - foreach (object value2 in pars.Values) - { - if (value2 is Pars) - { - ((Pars)value2).AngleCont = value; - } - else if (value2 is Par) - { - ((Par)value2).AngleCont = value; - } - } - } - } - - public double SizeBase - { - set - { - foreach (object value2 in pars.Values) - { - if (value2 is Pars) - { - ((Pars)value2).SizeBase = value; - } - else if (value2 is Par) - { - ((Par)value2).SizeBase = value; - } - } - } - } - - public double SizeCont - { - set - { - foreach (object value2 in pars.Values) - { - if (value2 is Pars) - { - ((Pars)value2).SizeCont = value; - } - else if (value2 is Par) - { - ((Par)value2).SizeCont = value; - } - } - } - } - - public double SizeXBase - { - set - { - foreach (object value2 in pars.Values) - { - if (value2 is Pars) - { - ((Pars)value2).SizeXBase = value; - } - else if (value2 is Par) - { - ((Par)value2).SizeXBase = value; - } - } - } - } - - public double SizeXCont - { - set - { - foreach (object value2 in pars.Values) - { - if (value2 is Pars) - { - ((Pars)value2).SizeXCont = value; - } - else if (value2 is Par) - { - ((Par)value2).SizeXCont = value; - } - } - } - } - - public double SizeYBase - { - set - { - foreach (object value2 in pars.Values) - { - if (value2 is Pars) - { - ((Pars)value2).SizeYBase = value; - } - else if (value2 is Par) - { - ((Par)value2).SizeYBase = value; - } - } - } - } - - public double SizeYCont - { - set - { - foreach (object value2 in pars.Values) - { - if (value2 is Pars) - { - ((Pars)value2).SizeYCont = value; - } - else if (value2 is Par) - { - ((Par)value2).SizeYCont = value; - } - } - } - } - - public bool Dra - { - set - { - foreach (object value2 in pars.Values) - { - if (value2 is Pars) - { - ((Pars)value2).Dra = value; - } - else if (value2 is Par) - { - ((Par)value2).Dra = value; - } - } - } - } - - public bool Hit - { - set - { - foreach (object value2 in pars.Values) - { - if (value2 is Pars) - { - ((Pars)value2).Hit = value; - } - else if (value2 is Par) - { - ((Par)value2).Hit = value; - } - } - } - } - - public object this[string Name] + public object this[string Name] { get { @@ -248,18 +75,6 @@ namespace _2DGAMELIB } } - public object this[int Index] - { - get - { - return pars[Index]; - } - set - { - pars[Index] = value; - } - } - public void SetParent(Pars Parent) { parent = Parent; @@ -353,12 +168,6 @@ namespace _2DGAMELIB { } - public Pars(Par Par) - { - Tag = Par.Tag; - Add(Par.Tag, Par); - } - public Pars(ParT ParT) { Tag = ParT.Tag; @@ -448,42 +257,6 @@ namespace _2DGAMELIB } } - public List GetHitTags(ref Color HitColor) - { - List list = new List(); - foreach (object value in pars.Values) - { - Par par; - if (value is Pars) - { - list.AddRange(((Pars)value).GetHitTags(ref HitColor)); - } - else if (value is Par && (par = (Par)value).HitColor == HitColor) - { - list.Add(par.Tag); - } - } - return list; - } - - public List GetHitPars(ref Color HitColor) - { - List list = new List(); - foreach (object value in pars.Values) - { - Par item; - if (value is Pars) - { - list.AddRange(((Pars)value).GetHitPars(ref HitColor)); - } - else if (value is Par && (item = (Par)value).HitColor == HitColor) - { - list.Add(item); - } - } - return list; - } - public bool IsHit(ref Color HitColor) { foreach (object value in pars.Values) @@ -492,7 +265,7 @@ namespace _2DGAMELIB { return true; } - if (value is Par && ((Par)value).HitColor == HitColor) + if (value is Par && ((Par)value).GetHitColor() == HitColor) { return true; } @@ -564,91 +337,4 @@ namespace _2DGAMELIB } } } - public static class pars - { - public static Pars ToPars(this object obj) - { - return (Pars)obj; - } - - public static ParT ToParT(this object obj) - { - return (ParT)obj; - } - - public static Par ToPar(this object obj) - { - return (Par)obj; - } - - public static Pen Copy(this Pen Pen) - { - return new Pen(Pen.Color, Pen.Width) - { - EndCap = Pen.EndCap, - StartCap = Pen.StartCap - }; - } - - public static Brush Copy(this Brush Brush) - { - if (Brush is SolidBrush) - { - return new SolidBrush(((SolidBrush)Brush).Color); - } - if (Brush is LinearGradientBrush) - { - LinearGradientBrush linearGradientBrush = (LinearGradientBrush)Brush; - LinearGradientBrush linearGradientBrush2 = new LinearGradientBrush(linearGradientBrush.Rectangle, Color.Black, Color.White, 0f); - linearGradientBrush2.Blend = linearGradientBrush.Blend; - linearGradientBrush2.GammaCorrection = linearGradientBrush.GammaCorrection; - linearGradientBrush2.InterpolationColors = linearGradientBrush.InterpolationColors; - linearGradientBrush2.LinearColors = new Color[linearGradientBrush.LinearColors.Length]; - linearGradientBrush.LinearColors.CopyTo(linearGradientBrush2.LinearColors, 0); - linearGradientBrush2.Transform = linearGradientBrush.Transform; - linearGradientBrush2.WrapMode = linearGradientBrush.WrapMode; - return linearGradientBrush2; - } - if (Brush is PathGradientBrush) - { - PathGradientBrush pathGradientBrush = (PathGradientBrush)Brush; - PathGradientBrush pathGradientBrush2 = new PathGradientBrush(new GraphicsPath()); - pathGradientBrush2.Blend = pathGradientBrush.Blend; - pathGradientBrush2.CenterColor = pathGradientBrush.CenterColor; - pathGradientBrush2.CenterPoint = pathGradientBrush.CenterPoint; - pathGradientBrush2.FocusScales = pathGradientBrush.FocusScales; - pathGradientBrush2.InterpolationColors = pathGradientBrush.InterpolationColors; - pathGradientBrush2.SurroundColors = new Color[pathGradientBrush.SurroundColors.Length]; - pathGradientBrush.SurroundColors.CopyTo(pathGradientBrush2.SurroundColors, 0); - pathGradientBrush2.Transform = pathGradientBrush.Transform; - pathGradientBrush2.WrapMode = pathGradientBrush.WrapMode; - return pathGradientBrush2; - } - if (Brush is TextureBrush) - { - TextureBrush textureBrush = (TextureBrush)Brush; - return new TextureBrush(textureBrush.Image) - { - Transform = textureBrush.Transform, - WrapMode = textureBrush.WrapMode - }; - } - if (Brush is HatchBrush) - { - HatchBrush hatchBrush = (HatchBrush)Brush; - return new HatchBrush(hatchBrush.HatchStyle, hatchBrush.ForegroundColor, hatchBrush.BackgroundColor); - } - return null; - } - - public static Font Copy(this Font Font) - { - return new Font(Font.FontFamily, Font.Size, Font.Style, Font.Unit, Font.GdiCharSet, Font.GdiVerticalFont); - } - - public static StringFormat Copy(this StringFormat StringFormat) - { - return new StringFormat(StringFormat); - } - } } diff --git a/2DGAMELIB/_2DGAMELIB/Swi.cs b/2DGAMELIB/_2DGAMELIB/Swi.cs index 1c27244..2d138c0 100644 --- a/2DGAMELIB/_2DGAMELIB/Swi.cs +++ b/2DGAMELIB/_2DGAMELIB/Swi.cs @@ -51,7 +51,7 @@ namespace _2DGAMELIB { foreach (Par item in but.Pars.EnumAllPar()) { - item.BrushColor = but.OverColors[i]; + item.SetBrushColor(but.OverColors[i]); i++; } return; @@ -84,7 +84,7 @@ namespace _2DGAMELIB j = 0; foreach (Par item2 in but.Pars.EnumAllPar()) { - item2.BrushColor = but.OverColors[j]; + item2.SetBrushColor(but.OverColors[j]); j++; } } @@ -122,7 +122,7 @@ namespace _2DGAMELIB { foreach (Par item in but.Pars.EnumAllPar()) { - item.BrushColor = but.BaseColors[i]; + item.SetBrushColor(but.BaseColors[i]); i++; } return; @@ -155,7 +155,7 @@ namespace _2DGAMELIB j = 0; foreach (Par item2 in but.Pars.EnumAllPar()) { - item2.BrushColor = but.BaseColors[j]; + item2.SetBrushColor(but.BaseColors[j]); j++; } } diff --git a/2DGAMELIB/_2DGAMELIB/Tex.cs b/2DGAMELIB/_2DGAMELIB/Tex.cs index b7b63b9..0359373 100644 --- a/2DGAMELIB/_2DGAMELIB/Tex.cs +++ b/2DGAMELIB/_2DGAMELIB/Tex.cs @@ -59,10 +59,10 @@ namespace _2DGAMELIB { if (feed != null) { - a0 = feed.BrushColor.A; - a1 = feed.PenColor.A; - feed.BrushColor = Color.FromArgb(0, feed.BrushColor); - feed.PenColor = Color.FromArgb(0, feed.PenColor); + a0 = feed.GetBrushColor().A; + a1 = feed.GetPenColor().A; + feed.SetBrushColor(Color.FromArgb(0, feed.GetBrushColor())); + feed.SetPenColor(Color.FromArgb(0, feed.GetPenColor())); } text = new string(' ', Space) + value; Max = text.Length; @@ -85,10 +85,10 @@ namespace _2DGAMELIB { if (feed != null) { - a0 = feed.BrushColor.A; - a1 = feed.PenColor.A; - feed.BrushColor = Color.FromArgb(0, feed.BrushColor); - feed.PenColor = Color.FromArgb(0, feed.PenColor); + a0 = feed.GetBrushColor().A; + a1 = feed.GetPenColor().A; + feed.SetBrushColor(Color.FromArgb(0, feed.GetBrushColor())); + feed.SetPenColor(Color.FromArgb(0, feed.GetPenColor())); } text = new string(' ', Space) + value; Max = text.Length; @@ -113,14 +113,14 @@ namespace _2DGAMELIB { get { - return parT.PositionBase; + return parT.GetPositionBase(); } set { - parT.PositionBase = value; + parT.SetPositionBase(value); if (feed != null) { - feed.PositionBase = parT.ToGlobal(parT.OP[0].ps[2] * 0.95); + feed.SetPositionBase(parT.ToGlobal(parT.GetOP()[0].ps[2] * 0.95)); } } } @@ -209,22 +209,23 @@ namespace _2DGAMELIB parT = new ParT { Tag = Name, - InitializeOP = array, - PositionBase = Position, - SizeBase = Size, - Closed = true, - BrushColor = BackColor, - Font = Font, - FontSize = TextSize, - TextColor = TextColor, - RectSize = new Vector2D(Width, Height), Text = Text }; - ParT.OP.ScalingX(ParT.BasePointBase, Width); - ParT.OP.ScalingY(ParT.BasePointBase, Height); + + parT.SetFont(Font); + parT.SetFontSize(TextSize); + parT.SetTextColor(TextColor); + parT.SetRectSize(new Vector2D(Width, Height)); + parT.SetInitializeOP(array); + parT.SetPositionBase(Position); + parT.SetSizeBase(Size); + parT.SetClosed(true); + parT.SetBrushColor(BackColor); + ParT.GetOP().ScalingX(ParT.GetBasePointBase(), Width); + ParT.GetOP().ScalingY(ParT.GetBasePointBase(), Height); if (ShadColor != Color.Empty) { - parT.ShadBrush = new SolidBrush(ShadColor); + parT.SetShadBrush(new SolidBrush(ShadColor)); } pars.Add(parT.Tag, parT); } @@ -235,27 +236,28 @@ namespace _2DGAMELIB feed = new Par { Tag = Name + "_Feed", - InitializeOP = array, - BasePointBase = array.GetCenter(), - PositionBase = parT.ToGlobal(parT.OP[0].ps[2] * 0.96), - SizeBase = Size * 0.07, - SizeYBase = 0.9, - Closed = true, - PenColor = Color.FromArgb(0, Color.Black), - BrushColor = Color.FromArgb(0, FeedColor), Hit = false }; - feed.OP.ReverseY(feed.BasePointBase); + feed.SetInitializeOP(array); + feed.SetBasePointBase(array.GetCenter()); + feed.SetPositionBase(parT.ToGlobal(parT.GetOP()[0].ps[2] * 0.96)); + feed.SetSizeBase(Size * 0.07); + feed.SetSizeYBase(0.9); + feed.SetClosed(true); + feed.SetPenColor(Color.FromArgb(0, Color.Black)); + feed.SetBrushColor(Color.FromArgb(0, FeedColor)); + + feed.GetOP().ReverseY(feed.GetBasePointBase()); pars.Add(feed.Tag, feed); } public void SetHitColor(ModeEventDispatcher Med) { - if (parT.HitColor != Color.Transparent) + if (parT.GetHitColor() != Color.Transparent) { - Med.RemUniqueColor(parT.HitColor); + Med.RemUniqueColor(parT.GetHitColor()); } - parT.HitColor = Med.GetUniqueColor(); + parT.SetHitColor(Med.GetUniqueColor()); } public void Progression(FPS FPS) @@ -273,8 +275,8 @@ namespace _2DGAMELIB f1 = true; if (feed != null) { - feed.BrushColor = Color.FromArgb(a0, feed.BrushColor); - feed.PenColor = Color.FromArgb(a1, feed.PenColor); + feed.SetBrushColor(Color.FromArgb(a0, feed.GetBrushColor())); + feed.SetPenColor(Color.FromArgb(a1, feed.GetPenColor())); } if (Done != null) { @@ -285,14 +287,14 @@ namespace _2DGAMELIB else if (feed != null && feed.Dra) { mv.GetValue(FPS); - feed.BrushColor = Color.FromArgb((int)mv.Value, feed.BrushColor); - feed.PenColor = Color.FromArgb(feed.BrushColor.A, feed.PenColor); + feed.SetBrushColor(Color.FromArgb((int)mv.Value, feed.GetBrushColor())); + feed.SetPenColor(Color.FromArgb(feed.GetBrushColor().A, feed.GetPenColor())); } } public bool Down(ref Color HitColor) { - if (parT.HitColor == HitColor) + if (parT.GetHitColor() == HitColor) { f2 = true; if (!f1 && Speed == speed) @@ -306,14 +308,14 @@ namespace _2DGAMELIB public bool Up(ref Color HitColor) { - if (f1 && f2 && parT.HitColor == HitColor && Speed == speed) + if (f1 && f2 && parT.GetHitColor() == HitColor && Speed == speed) { f1 = false; f2 = false; if (feed != null) { - feed.BrushColor = Color.FromArgb(0, feed.BrushColor); - feed.PenColor = Color.FromArgb(feed.BrushColor.A, feed.PenColor); + feed.SetBrushColor(Color.FromArgb(0, feed.GetBrushColor())); + feed.SetPenColor(Color.FromArgb(feed.GetBrushColor().A, feed.GetPenColor())); mv.ResetValue(); } Action(this); diff --git a/2DGAMELIB/_2DGAMELIB/rewrite/Common.cs b/2DGAMELIB/_2DGAMELIB/rewrite/Common.cs index 0bfaad2..5de425b 100644 --- a/2DGAMELIB/_2DGAMELIB/rewrite/Common.cs +++ b/2DGAMELIB/_2DGAMELIB/rewrite/Common.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using System.Drawing; +using System.Drawing.Drawing2D; using System.IO; using System.Text; @@ -208,5 +209,95 @@ namespace _2DGAMELIB Vec.Add(ref result, ref BasePoint, out result); return result; } + + + + + + + public static Pars ToPars(this object obj) + { + return (Pars)obj; + } + + public static ParT ToParT(this object obj) + { + return (ParT)obj; + } + + public static Par ToPar(this object obj) + { + return (Par)obj; + } + + public static Pen Copy(this Pen Pen) + { + return new Pen(Pen.Color, Pen.Width) + { + EndCap = Pen.EndCap, + StartCap = Pen.StartCap + }; + } + + public static Brush Copy(this Brush Brush) + { + if (Brush is SolidBrush) + { + return new SolidBrush(((SolidBrush)Brush).Color); + } + if (Brush is LinearGradientBrush) + { + LinearGradientBrush linearGradientBrush = (LinearGradientBrush)Brush; + LinearGradientBrush linearGradientBrush2 = new LinearGradientBrush(linearGradientBrush.Rectangle, Color.Black, Color.White, 0f); + linearGradientBrush2.Blend = linearGradientBrush.Blend; + linearGradientBrush2.GammaCorrection = linearGradientBrush.GammaCorrection; + linearGradientBrush2.InterpolationColors = linearGradientBrush.InterpolationColors; + linearGradientBrush2.LinearColors = new Color[linearGradientBrush.LinearColors.Length]; + linearGradientBrush.LinearColors.CopyTo(linearGradientBrush2.LinearColors, 0); + linearGradientBrush2.Transform = linearGradientBrush.Transform; + linearGradientBrush2.WrapMode = linearGradientBrush.WrapMode; + return linearGradientBrush2; + } + if (Brush is PathGradientBrush) + { + PathGradientBrush pathGradientBrush = (PathGradientBrush)Brush; + PathGradientBrush pathGradientBrush2 = new PathGradientBrush(new GraphicsPath()); + pathGradientBrush2.Blend = pathGradientBrush.Blend; + pathGradientBrush2.CenterColor = pathGradientBrush.CenterColor; + pathGradientBrush2.CenterPoint = pathGradientBrush.CenterPoint; + pathGradientBrush2.FocusScales = pathGradientBrush.FocusScales; + pathGradientBrush2.InterpolationColors = pathGradientBrush.InterpolationColors; + pathGradientBrush2.SurroundColors = new Color[pathGradientBrush.SurroundColors.Length]; + pathGradientBrush.SurroundColors.CopyTo(pathGradientBrush2.SurroundColors, 0); + pathGradientBrush2.Transform = pathGradientBrush.Transform; + pathGradientBrush2.WrapMode = pathGradientBrush.WrapMode; + return pathGradientBrush2; + } + if (Brush is TextureBrush) + { + TextureBrush textureBrush = (TextureBrush)Brush; + return new TextureBrush(textureBrush.Image) + { + Transform = textureBrush.Transform, + WrapMode = textureBrush.WrapMode + }; + } + if (Brush is HatchBrush) + { + HatchBrush hatchBrush = (HatchBrush)Brush; + return new HatchBrush(hatchBrush.HatchStyle, hatchBrush.ForegroundColor, hatchBrush.BackgroundColor); + } + return null; + } + + public static Font Copy(this Font Font) + { + return new Font(Font.FontFamily, Font.Size, Font.Style, Font.Unit, Font.GdiCharSet, Font.GdiVerticalFont); + } + + public static StringFormat Copy(this StringFormat StringFormat) + { + return new StringFormat(StringFormat); + } } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0.cs index f3f5059..4948c4e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class BackHair0 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_カル.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_カル.cs index 36ef82d..e39c2ee 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_カル.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_カル.cs @@ -319,7 +319,7 @@ namespace SlaveMatrix set { double num = 0.7 + 0.3 * value; - X0Y0_髪基.SizeYBase *= num; + X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num); } } @@ -328,17 +328,17 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_髪中.SizeYBase *= num; - X0Y0_髪左1.SizeYBase *= num; - X0Y0_髪左2.SizeYBase *= num; - X0Y0_髪左3.SizeYBase *= num; - X0Y0_髪左4.SizeYBase *= num; - X0Y0_髪左5.SizeYBase *= num; - X0Y0_髪右1.SizeYBase *= num; - X0Y0_髪右2.SizeYBase *= num; - X0Y0_髪右3.SizeYBase *= num; - X0Y0_髪右4.SizeYBase *= num; - X0Y0_髪右5.SizeYBase *= num; + X0Y0_髪中.SetSizeYBase(X0Y0_髪中.GetSizeYBase() * num); + X0Y0_髪左1.SetSizeYBase(X0Y0_髪左1.GetSizeYBase() * num); + X0Y0_髪左2.SetSizeYBase(X0Y0_髪左2.GetSizeYBase() * num); + X0Y0_髪左3.SetSizeYBase(X0Y0_髪左3.GetSizeYBase() * num); + X0Y0_髪左4.SetSizeYBase(X0Y0_髪左4.GetSizeYBase() * num); + X0Y0_髪左5.SetSizeYBase(X0Y0_髪左5.GetSizeYBase() * num); + X0Y0_髪右1.SetSizeYBase(X0Y0_髪右1.GetSizeYBase() * num); + X0Y0_髪右2.SetSizeYBase(X0Y0_髪右2.GetSizeYBase() * num); + X0Y0_髪右3.SetSizeYBase(X0Y0_髪右3.GetSizeYBase() * num); + X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num); + X0Y0_髪右5.SetSizeYBase(X0Y0_髪右5.GetSizeYBase() * num); } } @@ -347,17 +347,17 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_髪中.SizeXBase *= num; - X0Y0_髪左1.SizeXBase *= num; - X0Y0_髪左2.SizeXBase *= num; - X0Y0_髪左3.SizeXBase *= num; - X0Y0_髪左4.SizeXBase *= num; - X0Y0_髪左5.SizeXBase *= num; - X0Y0_髪右1.SizeXBase *= num; - X0Y0_髪右2.SizeXBase *= num; - X0Y0_髪右3.SizeXBase *= num; - X0Y0_髪右4.SizeXBase *= num; - X0Y0_髪右5.SizeXBase *= num; + X0Y0_髪中.SetSizeXBase(X0Y0_髪中.GetSizeXBase() * num); + X0Y0_髪左1.SetSizeXBase(X0Y0_髪左1.GetSizeXBase() * num); + X0Y0_髪左2.SetSizeXBase(X0Y0_髪左2.GetSizeXBase() * num); + X0Y0_髪左3.SetSizeXBase(X0Y0_髪左3.GetSizeXBase() * num); + X0Y0_髪左4.SetSizeXBase(X0Y0_髪左4.GetSizeXBase() * num); + X0Y0_髪左5.SetSizeXBase(X0Y0_髪左5.GetSizeXBase() * num); + X0Y0_髪右1.SetSizeXBase(X0Y0_髪右1.GetSizeXBase() * num); + X0Y0_髪右2.SetSizeXBase(X0Y0_髪右2.GetSizeXBase() * num); + X0Y0_髪右3.SetSizeXBase(X0Y0_髪右3.GetSizeXBase() * num); + X0Y0_髪右4.SetSizeXBase(X0Y0_髪右4.GetSizeXBase() * num); + X0Y0_髪右5.SetSizeXBase(X0Y0_髪右5.GetSizeXBase() * num); } } @@ -365,16 +365,16 @@ namespace SlaveMatrix { set { - X0Y0_髪左1.AngleBase = 1.0 * value; - X0Y0_髪左2.AngleBase = 2.0 * value; - X0Y0_髪左3.AngleBase = 3.0 * value; - X0Y0_髪左4.AngleBase = 4.0 * value; - X0Y0_髪左5.AngleBase = 5.0 * value; - X0Y0_髪右1.AngleBase = -1.0 * value; - X0Y0_髪右2.AngleBase = -2.0 * value; - X0Y0_髪右3.AngleBase = -3.0 * value; - X0Y0_髪右4.AngleBase = -4.0 * value; - X0Y0_髪右5.AngleBase = -5.0 * value; + X0Y0_髪左1.SetAngleBase(1.0 * value); + X0Y0_髪左2.SetAngleBase(2.0 * value); + X0Y0_髪左3.SetAngleBase(3.0 * value); + X0Y0_髪左4.SetAngleBase(4.0 * value); + X0Y0_髪左5.SetAngleBase(5.0 * value); + X0Y0_髪右1.SetAngleBase(-1.0 * value); + X0Y0_髪右2.SetAngleBase(-2.0 * value); + X0Y0_髪右3.SetAngleBase(-3.0 * value); + X0Y0_髪右4.SetAngleBase(-4.0 * value); + X0Y0_髪右5.SetAngleBase(-5.0 * value); } } @@ -476,150 +476,150 @@ namespace SlaveMatrix public void スライム() { - X0Y0_髪基.OP[右 ? 1 : 0].Outline = false; - X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false; - X0Y0_髪中.OP[右 ? 3 : 0].Outline = false; - X0Y0_髪中.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_髪中.OP[右 ? 1 : 2].Outline = false; - X0Y0_髪中.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_髪左1.OP[右 ? 12 : 0].Outline = false; - X0Y0_髪左1.OP[(!右) ? 1 : 11].Outline = false; - X0Y0_髪左1.OP[右 ? 10 : 2].Outline = false; - X0Y0_髪左1.OP[右 ? 9 : 3].Outline = false; - X0Y0_髪左1.OP[右 ? 8 : 4].Outline = false; - X0Y0_髪左1.OP[右 ? 7 : 5].Outline = false; - X0Y0_髪左1.OP[右 ? 6 : 6].Outline = false; - X0Y0_髪左1.OP[右 ? 5 : 7].Outline = false; - X0Y0_髪左1.OP[右 ? 4 : 8].Outline = false; - X0Y0_髪左1.OP[右 ? 3 : 9].Outline = false; - X0Y0_髪左1.OP[右 ? 2 : 10].Outline = false; - X0Y0_髪左1.OP[右 ? 1 : 11].Outline = false; - X0Y0_髪左1.OP[(!右) ? 12 : 0].Outline = false; - X0Y0_髪左2.OP[右 ? 13 : 0].Outline = false; - X0Y0_髪左2.OP[(!右) ? 1 : 12].Outline = false; - X0Y0_髪左2.OP[右 ? 11 : 2].Outline = false; - X0Y0_髪左2.OP[右 ? 10 : 3].Outline = false; - X0Y0_髪左2.OP[右 ? 9 : 4].Outline = false; - X0Y0_髪左2.OP[右 ? 8 : 5].Outline = false; - X0Y0_髪左2.OP[右 ? 7 : 6].Outline = false; - X0Y0_髪左2.OP[右 ? 6 : 7].Outline = false; - X0Y0_髪左2.OP[右 ? 5 : 8].Outline = false; - X0Y0_髪左2.OP[右 ? 4 : 9].Outline = false; - X0Y0_髪左2.OP[右 ? 3 : 10].Outline = false; - X0Y0_髪左2.OP[右 ? 2 : 11].Outline = false; - X0Y0_髪左2.OP[右 ? 1 : 12].Outline = false; - X0Y0_髪左2.OP[(!右) ? 13 : 0].Outline = false; - X0Y0_髪左3.OP[右 ? 13 : 0].Outline = false; - X0Y0_髪左3.OP[(!右) ? 1 : 12].Outline = false; - X0Y0_髪左3.OP[右 ? 11 : 2].Outline = false; - X0Y0_髪左3.OP[右 ? 10 : 3].Outline = false; - X0Y0_髪左3.OP[右 ? 9 : 4].Outline = false; - X0Y0_髪左3.OP[右 ? 8 : 5].Outline = false; - X0Y0_髪左3.OP[右 ? 7 : 6].Outline = false; - X0Y0_髪左3.OP[右 ? 6 : 7].Outline = false; - X0Y0_髪左3.OP[右 ? 5 : 8].Outline = false; - X0Y0_髪左3.OP[右 ? 4 : 9].Outline = false; - X0Y0_髪左3.OP[右 ? 3 : 10].Outline = false; - X0Y0_髪左3.OP[右 ? 2 : 11].Outline = false; - X0Y0_髪左3.OP[右 ? 1 : 12].Outline = false; - X0Y0_髪左3.OP[(!右) ? 13 : 0].Outline = false; - X0Y0_髪左4.OP[右 ? 13 : 0].Outline = false; - X0Y0_髪左4.OP[(!右) ? 1 : 12].Outline = false; - X0Y0_髪左4.OP[右 ? 11 : 2].Outline = false; - X0Y0_髪左4.OP[右 ? 10 : 3].Outline = false; - X0Y0_髪左4.OP[右 ? 9 : 4].Outline = false; - X0Y0_髪左4.OP[右 ? 8 : 5].Outline = false; - X0Y0_髪左4.OP[右 ? 7 : 6].Outline = false; - X0Y0_髪左4.OP[右 ? 6 : 7].Outline = false; - X0Y0_髪左4.OP[右 ? 5 : 8].Outline = false; - X0Y0_髪左4.OP[右 ? 4 : 9].Outline = false; - X0Y0_髪左4.OP[右 ? 3 : 10].Outline = false; - X0Y0_髪左4.OP[右 ? 2 : 11].Outline = false; - X0Y0_髪左4.OP[右 ? 1 : 12].Outline = false; - X0Y0_髪左4.OP[(!右) ? 13 : 0].Outline = false; - X0Y0_髪左5.OP[右 ? 13 : 0].Outline = false; - X0Y0_髪左5.OP[(!右) ? 1 : 12].Outline = false; - X0Y0_髪左5.OP[右 ? 11 : 2].Outline = false; - X0Y0_髪左5.OP[右 ? 10 : 3].Outline = false; - X0Y0_髪左5.OP[右 ? 9 : 4].Outline = false; - X0Y0_髪左5.OP[右 ? 8 : 5].Outline = false; - X0Y0_髪左5.OP[右 ? 7 : 6].Outline = false; - X0Y0_髪左5.OP[右 ? 6 : 7].Outline = false; - X0Y0_髪左5.OP[右 ? 5 : 8].Outline = false; - X0Y0_髪左5.OP[右 ? 4 : 9].Outline = false; - X0Y0_髪左5.OP[右 ? 3 : 10].Outline = false; - X0Y0_髪左5.OP[右 ? 2 : 11].Outline = false; - X0Y0_髪左5.OP[右 ? 1 : 12].Outline = false; - X0Y0_髪左5.OP[(!右) ? 13 : 0].Outline = false; - X0Y0_髪右1.OP[右 ? 12 : 0].Outline = false; - X0Y0_髪右1.OP[(!右) ? 1 : 11].Outline = false; - X0Y0_髪右1.OP[右 ? 10 : 2].Outline = false; - X0Y0_髪右1.OP[右 ? 9 : 3].Outline = false; - X0Y0_髪右1.OP[右 ? 8 : 4].Outline = false; - X0Y0_髪右1.OP[右 ? 7 : 5].Outline = false; - X0Y0_髪右1.OP[右 ? 6 : 6].Outline = false; - X0Y0_髪右1.OP[右 ? 5 : 7].Outline = false; - X0Y0_髪右1.OP[右 ? 4 : 8].Outline = false; - X0Y0_髪右1.OP[右 ? 3 : 9].Outline = false; - X0Y0_髪右1.OP[右 ? 2 : 10].Outline = false; - X0Y0_髪右1.OP[右 ? 1 : 11].Outline = false; - X0Y0_髪右1.OP[(!右) ? 12 : 0].Outline = false; - X0Y0_髪右2.OP[右 ? 13 : 0].Outline = false; - X0Y0_髪右2.OP[(!右) ? 1 : 12].Outline = false; - X0Y0_髪右2.OP[右 ? 11 : 2].Outline = false; - X0Y0_髪右2.OP[右 ? 10 : 3].Outline = false; - X0Y0_髪右2.OP[右 ? 9 : 4].Outline = false; - X0Y0_髪右2.OP[右 ? 8 : 5].Outline = false; - X0Y0_髪右2.OP[右 ? 7 : 6].Outline = false; - X0Y0_髪右2.OP[右 ? 6 : 7].Outline = false; - X0Y0_髪右2.OP[右 ? 5 : 8].Outline = false; - X0Y0_髪右2.OP[右 ? 4 : 9].Outline = false; - X0Y0_髪右2.OP[右 ? 3 : 10].Outline = false; - X0Y0_髪右2.OP[右 ? 2 : 11].Outline = false; - X0Y0_髪右2.OP[右 ? 1 : 12].Outline = false; - X0Y0_髪右2.OP[(!右) ? 13 : 0].Outline = false; - X0Y0_髪右3.OP[右 ? 13 : 0].Outline = false; - X0Y0_髪右3.OP[(!右) ? 1 : 12].Outline = false; - X0Y0_髪右3.OP[右 ? 11 : 2].Outline = false; - X0Y0_髪右3.OP[右 ? 10 : 3].Outline = false; - X0Y0_髪右3.OP[右 ? 9 : 4].Outline = false; - X0Y0_髪右3.OP[右 ? 8 : 5].Outline = false; - X0Y0_髪右3.OP[右 ? 7 : 6].Outline = false; - X0Y0_髪右3.OP[右 ? 6 : 7].Outline = false; - X0Y0_髪右3.OP[右 ? 5 : 8].Outline = false; - X0Y0_髪右3.OP[右 ? 4 : 9].Outline = false; - X0Y0_髪右3.OP[右 ? 3 : 10].Outline = false; - X0Y0_髪右3.OP[右 ? 2 : 11].Outline = false; - X0Y0_髪右3.OP[右 ? 1 : 12].Outline = false; - X0Y0_髪右3.OP[(!右) ? 13 : 0].Outline = false; - X0Y0_髪右4.OP[右 ? 13 : 0].Outline = false; - X0Y0_髪右4.OP[(!右) ? 1 : 12].Outline = false; - X0Y0_髪右4.OP[右 ? 11 : 2].Outline = false; - X0Y0_髪右4.OP[右 ? 10 : 3].Outline = false; - X0Y0_髪右4.OP[右 ? 9 : 4].Outline = false; - X0Y0_髪右4.OP[右 ? 8 : 5].Outline = false; - X0Y0_髪右4.OP[右 ? 7 : 6].Outline = false; - X0Y0_髪右4.OP[右 ? 6 : 7].Outline = false; - X0Y0_髪右4.OP[右 ? 5 : 8].Outline = false; - X0Y0_髪右4.OP[右 ? 4 : 9].Outline = false; - X0Y0_髪右4.OP[右 ? 3 : 10].Outline = false; - X0Y0_髪右4.OP[右 ? 2 : 11].Outline = false; - X0Y0_髪右4.OP[右 ? 1 : 12].Outline = false; - X0Y0_髪右4.OP[(!右) ? 13 : 0].Outline = false; - X0Y0_髪右5.OP[右 ? 13 : 0].Outline = false; - X0Y0_髪右5.OP[(!右) ? 1 : 12].Outline = false; - X0Y0_髪右5.OP[右 ? 11 : 2].Outline = false; - X0Y0_髪右5.OP[右 ? 10 : 3].Outline = false; - X0Y0_髪右5.OP[右 ? 9 : 4].Outline = false; - X0Y0_髪右5.OP[右 ? 8 : 5].Outline = false; - X0Y0_髪右5.OP[右 ? 7 : 6].Outline = false; - X0Y0_髪右5.OP[右 ? 6 : 7].Outline = false; - X0Y0_髪右5.OP[右 ? 5 : 8].Outline = false; - X0Y0_髪右5.OP[右 ? 4 : 9].Outline = false; - X0Y0_髪右5.OP[右 ? 3 : 10].Outline = false; - X0Y0_髪右5.OP[右 ? 2 : 11].Outline = false; - X0Y0_髪右5.OP[右 ? 1 : 12].Outline = false; - X0Y0_髪右5.OP[(!右) ? 13 : 0].Outline = false; + X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false; + X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false; + X0Y0_髪中.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_髪中.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_髪中.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_髪中.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_髪左1.GetOP()[右 ? 12 : 0].Outline = false; + X0Y0_髪左1.GetOP()[(!右) ? 1 : 11].Outline = false; + X0Y0_髪左1.GetOP()[右 ? 10 : 2].Outline = false; + X0Y0_髪左1.GetOP()[右 ? 9 : 3].Outline = false; + X0Y0_髪左1.GetOP()[右 ? 8 : 4].Outline = false; + X0Y0_髪左1.GetOP()[右 ? 7 : 5].Outline = false; + X0Y0_髪左1.GetOP()[右 ? 6 : 6].Outline = false; + X0Y0_髪左1.GetOP()[右 ? 5 : 7].Outline = false; + X0Y0_髪左1.GetOP()[右 ? 4 : 8].Outline = false; + X0Y0_髪左1.GetOP()[右 ? 3 : 9].Outline = false; + X0Y0_髪左1.GetOP()[右 ? 2 : 10].Outline = false; + X0Y0_髪左1.GetOP()[右 ? 1 : 11].Outline = false; + X0Y0_髪左1.GetOP()[(!右) ? 12 : 0].Outline = false; + X0Y0_髪左2.GetOP()[右 ? 13 : 0].Outline = false; + X0Y0_髪左2.GetOP()[(!右) ? 1 : 12].Outline = false; + X0Y0_髪左2.GetOP()[右 ? 11 : 2].Outline = false; + X0Y0_髪左2.GetOP()[右 ? 10 : 3].Outline = false; + X0Y0_髪左2.GetOP()[右 ? 9 : 4].Outline = false; + X0Y0_髪左2.GetOP()[右 ? 8 : 5].Outline = false; + X0Y0_髪左2.GetOP()[右 ? 7 : 6].Outline = false; + X0Y0_髪左2.GetOP()[右 ? 6 : 7].Outline = false; + X0Y0_髪左2.GetOP()[右 ? 5 : 8].Outline = false; + X0Y0_髪左2.GetOP()[右 ? 4 : 9].Outline = false; + X0Y0_髪左2.GetOP()[右 ? 3 : 10].Outline = false; + X0Y0_髪左2.GetOP()[右 ? 2 : 11].Outline = false; + X0Y0_髪左2.GetOP()[右 ? 1 : 12].Outline = false; + X0Y0_髪左2.GetOP()[(!右) ? 13 : 0].Outline = false; + X0Y0_髪左3.GetOP()[右 ? 13 : 0].Outline = false; + X0Y0_髪左3.GetOP()[(!右) ? 1 : 12].Outline = false; + X0Y0_髪左3.GetOP()[右 ? 11 : 2].Outline = false; + X0Y0_髪左3.GetOP()[右 ? 10 : 3].Outline = false; + X0Y0_髪左3.GetOP()[右 ? 9 : 4].Outline = false; + X0Y0_髪左3.GetOP()[右 ? 8 : 5].Outline = false; + X0Y0_髪左3.GetOP()[右 ? 7 : 6].Outline = false; + X0Y0_髪左3.GetOP()[右 ? 6 : 7].Outline = false; + X0Y0_髪左3.GetOP()[右 ? 5 : 8].Outline = false; + X0Y0_髪左3.GetOP()[右 ? 4 : 9].Outline = false; + X0Y0_髪左3.GetOP()[右 ? 3 : 10].Outline = false; + X0Y0_髪左3.GetOP()[右 ? 2 : 11].Outline = false; + X0Y0_髪左3.GetOP()[右 ? 1 : 12].Outline = false; + X0Y0_髪左3.GetOP()[(!右) ? 13 : 0].Outline = false; + X0Y0_髪左4.GetOP()[右 ? 13 : 0].Outline = false; + X0Y0_髪左4.GetOP()[(!右) ? 1 : 12].Outline = false; + X0Y0_髪左4.GetOP()[右 ? 11 : 2].Outline = false; + X0Y0_髪左4.GetOP()[右 ? 10 : 3].Outline = false; + X0Y0_髪左4.GetOP()[右 ? 9 : 4].Outline = false; + X0Y0_髪左4.GetOP()[右 ? 8 : 5].Outline = false; + X0Y0_髪左4.GetOP()[右 ? 7 : 6].Outline = false; + X0Y0_髪左4.GetOP()[右 ? 6 : 7].Outline = false; + X0Y0_髪左4.GetOP()[右 ? 5 : 8].Outline = false; + X0Y0_髪左4.GetOP()[右 ? 4 : 9].Outline = false; + X0Y0_髪左4.GetOP()[右 ? 3 : 10].Outline = false; + X0Y0_髪左4.GetOP()[右 ? 2 : 11].Outline = false; + X0Y0_髪左4.GetOP()[右 ? 1 : 12].Outline = false; + X0Y0_髪左4.GetOP()[(!右) ? 13 : 0].Outline = false; + X0Y0_髪左5.GetOP()[右 ? 13 : 0].Outline = false; + X0Y0_髪左5.GetOP()[(!右) ? 1 : 12].Outline = false; + X0Y0_髪左5.GetOP()[右 ? 11 : 2].Outline = false; + X0Y0_髪左5.GetOP()[右 ? 10 : 3].Outline = false; + X0Y0_髪左5.GetOP()[右 ? 9 : 4].Outline = false; + X0Y0_髪左5.GetOP()[右 ? 8 : 5].Outline = false; + X0Y0_髪左5.GetOP()[右 ? 7 : 6].Outline = false; + X0Y0_髪左5.GetOP()[右 ? 6 : 7].Outline = false; + X0Y0_髪左5.GetOP()[右 ? 5 : 8].Outline = false; + X0Y0_髪左5.GetOP()[右 ? 4 : 9].Outline = false; + X0Y0_髪左5.GetOP()[右 ? 3 : 10].Outline = false; + X0Y0_髪左5.GetOP()[右 ? 2 : 11].Outline = false; + X0Y0_髪左5.GetOP()[右 ? 1 : 12].Outline = false; + X0Y0_髪左5.GetOP()[(!右) ? 13 : 0].Outline = false; + X0Y0_髪右1.GetOP()[右 ? 12 : 0].Outline = false; + X0Y0_髪右1.GetOP()[(!右) ? 1 : 11].Outline = false; + X0Y0_髪右1.GetOP()[右 ? 10 : 2].Outline = false; + X0Y0_髪右1.GetOP()[右 ? 9 : 3].Outline = false; + X0Y0_髪右1.GetOP()[右 ? 8 : 4].Outline = false; + X0Y0_髪右1.GetOP()[右 ? 7 : 5].Outline = false; + X0Y0_髪右1.GetOP()[右 ? 6 : 6].Outline = false; + X0Y0_髪右1.GetOP()[右 ? 5 : 7].Outline = false; + X0Y0_髪右1.GetOP()[右 ? 4 : 8].Outline = false; + X0Y0_髪右1.GetOP()[右 ? 3 : 9].Outline = false; + X0Y0_髪右1.GetOP()[右 ? 2 : 10].Outline = false; + X0Y0_髪右1.GetOP()[右 ? 1 : 11].Outline = false; + X0Y0_髪右1.GetOP()[(!右) ? 12 : 0].Outline = false; + X0Y0_髪右2.GetOP()[右 ? 13 : 0].Outline = false; + X0Y0_髪右2.GetOP()[(!右) ? 1 : 12].Outline = false; + X0Y0_髪右2.GetOP()[右 ? 11 : 2].Outline = false; + X0Y0_髪右2.GetOP()[右 ? 10 : 3].Outline = false; + X0Y0_髪右2.GetOP()[右 ? 9 : 4].Outline = false; + X0Y0_髪右2.GetOP()[右 ? 8 : 5].Outline = false; + X0Y0_髪右2.GetOP()[右 ? 7 : 6].Outline = false; + X0Y0_髪右2.GetOP()[右 ? 6 : 7].Outline = false; + X0Y0_髪右2.GetOP()[右 ? 5 : 8].Outline = false; + X0Y0_髪右2.GetOP()[右 ? 4 : 9].Outline = false; + X0Y0_髪右2.GetOP()[右 ? 3 : 10].Outline = false; + X0Y0_髪右2.GetOP()[右 ? 2 : 11].Outline = false; + X0Y0_髪右2.GetOP()[右 ? 1 : 12].Outline = false; + X0Y0_髪右2.GetOP()[(!右) ? 13 : 0].Outline = false; + X0Y0_髪右3.GetOP()[右 ? 13 : 0].Outline = false; + X0Y0_髪右3.GetOP()[(!右) ? 1 : 12].Outline = false; + X0Y0_髪右3.GetOP()[右 ? 11 : 2].Outline = false; + X0Y0_髪右3.GetOP()[右 ? 10 : 3].Outline = false; + X0Y0_髪右3.GetOP()[右 ? 9 : 4].Outline = false; + X0Y0_髪右3.GetOP()[右 ? 8 : 5].Outline = false; + X0Y0_髪右3.GetOP()[右 ? 7 : 6].Outline = false; + X0Y0_髪右3.GetOP()[右 ? 6 : 7].Outline = false; + X0Y0_髪右3.GetOP()[右 ? 5 : 8].Outline = false; + X0Y0_髪右3.GetOP()[右 ? 4 : 9].Outline = false; + X0Y0_髪右3.GetOP()[右 ? 3 : 10].Outline = false; + X0Y0_髪右3.GetOP()[右 ? 2 : 11].Outline = false; + X0Y0_髪右3.GetOP()[右 ? 1 : 12].Outline = false; + X0Y0_髪右3.GetOP()[(!右) ? 13 : 0].Outline = false; + X0Y0_髪右4.GetOP()[右 ? 13 : 0].Outline = false; + X0Y0_髪右4.GetOP()[(!右) ? 1 : 12].Outline = false; + X0Y0_髪右4.GetOP()[右 ? 11 : 2].Outline = false; + X0Y0_髪右4.GetOP()[右 ? 10 : 3].Outline = false; + X0Y0_髪右4.GetOP()[右 ? 9 : 4].Outline = false; + X0Y0_髪右4.GetOP()[右 ? 8 : 5].Outline = false; + X0Y0_髪右4.GetOP()[右 ? 7 : 6].Outline = false; + X0Y0_髪右4.GetOP()[右 ? 6 : 7].Outline = false; + X0Y0_髪右4.GetOP()[右 ? 5 : 8].Outline = false; + X0Y0_髪右4.GetOP()[右 ? 4 : 9].Outline = false; + X0Y0_髪右4.GetOP()[右 ? 3 : 10].Outline = false; + X0Y0_髪右4.GetOP()[右 ? 2 : 11].Outline = false; + X0Y0_髪右4.GetOP()[右 ? 1 : 12].Outline = false; + X0Y0_髪右4.GetOP()[(!右) ? 13 : 0].Outline = false; + X0Y0_髪右5.GetOP()[右 ? 13 : 0].Outline = false; + X0Y0_髪右5.GetOP()[(!右) ? 1 : 12].Outline = false; + X0Y0_髪右5.GetOP()[右 ? 11 : 2].Outline = false; + X0Y0_髪右5.GetOP()[右 ? 10 : 3].Outline = false; + X0Y0_髪右5.GetOP()[右 ? 9 : 4].Outline = false; + X0Y0_髪右5.GetOP()[右 ? 8 : 5].Outline = false; + X0Y0_髪右5.GetOP()[右 ? 7 : 6].Outline = false; + X0Y0_髪右5.GetOP()[右 ? 6 : 7].Outline = false; + X0Y0_髪右5.GetOP()[右 ? 5 : 8].Outline = false; + X0Y0_髪右5.GetOP()[右 ? 4 : 9].Outline = false; + X0Y0_髪右5.GetOP()[右 ? 3 : 10].Outline = false; + X0Y0_髪右5.GetOP()[右 ? 2 : 11].Outline = false; + X0Y0_髪右5.GetOP()[右 ? 1 : 12].Outline = false; + X0Y0_髪右5.GetOP()[(!右) ? 13 : 0].Outline = false; } public override void 色更新() diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_カルD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_カルD.cs index 5841c52..96dbe59 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_カルD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_カルD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_ジグ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_ジグ.cs index b029762..68c47f6 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_ジグ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_ジグ.cs @@ -319,7 +319,7 @@ namespace SlaveMatrix set { double num = 0.7 + 0.3 * value; - X0Y0_髪基.SizeYBase *= num; + X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num); } } @@ -328,17 +328,17 @@ namespace SlaveMatrix set { double num = 0.4 + 0.91 * value; - X0Y0_髪中.SizeYBase *= num; - X0Y0_髪左1.SizeYBase *= num; - X0Y0_髪左2.SizeYBase *= num; - X0Y0_髪左3.SizeYBase *= num; - X0Y0_髪左4.SizeYBase *= num; - X0Y0_髪左5.SizeYBase *= num; - X0Y0_髪右1.SizeYBase *= num; - X0Y0_髪右2.SizeYBase *= num; - X0Y0_髪右3.SizeYBase *= num; - X0Y0_髪右4.SizeYBase *= num; - X0Y0_髪右5.SizeYBase *= num; + X0Y0_髪中.SetSizeYBase(X0Y0_髪中.GetSizeYBase() * num); + X0Y0_髪左1.SetSizeYBase(X0Y0_髪左1.GetSizeYBase() * num); + X0Y0_髪左2.SetSizeYBase(X0Y0_髪左2.GetSizeYBase() * num); + X0Y0_髪左3.SetSizeYBase(X0Y0_髪左3.GetSizeYBase() * num); + X0Y0_髪左4.SetSizeYBase(X0Y0_髪左4.GetSizeYBase() * num); + X0Y0_髪左5.SetSizeYBase(X0Y0_髪左5.GetSizeYBase() * num); + X0Y0_髪右1.SetSizeYBase(X0Y0_髪右1.GetSizeYBase() * num); + X0Y0_髪右2.SetSizeYBase(X0Y0_髪右2.GetSizeYBase() * num); + X0Y0_髪右3.SetSizeYBase(X0Y0_髪右3.GetSizeYBase() * num); + X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num); + X0Y0_髪右5.SetSizeYBase(X0Y0_髪右5.GetSizeYBase() * num); } } @@ -347,17 +347,17 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_髪中.SizeXBase *= num; - X0Y0_髪左1.SizeXBase *= num; - X0Y0_髪左2.SizeXBase *= num; - X0Y0_髪左3.SizeXBase *= num; - X0Y0_髪左4.SizeXBase *= num; - X0Y0_髪左5.SizeXBase *= num; - X0Y0_髪右1.SizeXBase *= num; - X0Y0_髪右2.SizeXBase *= num; - X0Y0_髪右3.SizeXBase *= num; - X0Y0_髪右4.SizeXBase *= num; - X0Y0_髪右5.SizeXBase *= num; + X0Y0_髪中.SetSizeXBase(X0Y0_髪中.GetSizeXBase() * num); + X0Y0_髪左1.SetSizeXBase(X0Y0_髪左1.GetSizeXBase() * num); + X0Y0_髪左2.SetSizeXBase(X0Y0_髪左2.GetSizeXBase() * num); + X0Y0_髪左3.SetSizeXBase(X0Y0_髪左3.GetSizeXBase() * num); + X0Y0_髪左4.SetSizeXBase(X0Y0_髪左4.GetSizeXBase() * num); + X0Y0_髪左5.SetSizeXBase(X0Y0_髪左5.GetSizeXBase() * num); + X0Y0_髪右1.SetSizeXBase(X0Y0_髪右1.GetSizeXBase() * num); + X0Y0_髪右2.SetSizeXBase(X0Y0_髪右2.GetSizeXBase() * num); + X0Y0_髪右3.SetSizeXBase(X0Y0_髪右3.GetSizeXBase() * num); + X0Y0_髪右4.SetSizeXBase(X0Y0_髪右4.GetSizeXBase() * num); + X0Y0_髪右5.SetSizeXBase(X0Y0_髪右5.GetSizeXBase() * num); } } @@ -365,16 +365,16 @@ namespace SlaveMatrix { set { - X0Y0_髪左1.AngleBase = 1.5 * value; - X0Y0_髪左2.AngleBase = 3.0 * value; - X0Y0_髪左3.AngleBase = 4.5 * value; - X0Y0_髪左4.AngleBase = 6.0 * value; - X0Y0_髪左5.AngleBase = 7.5 * value; - X0Y0_髪右1.AngleBase = -1.5 * value; - X0Y0_髪右2.AngleBase = -3.0 * value; - X0Y0_髪右3.AngleBase = -4.5 * value; - X0Y0_髪右4.AngleBase = -6.0 * value; - X0Y0_髪右5.AngleBase = -7.5 * value; + X0Y0_髪左1.SetAngleBase(1.5 * value); + X0Y0_髪左2.SetAngleBase(3.0 * value); + X0Y0_髪左3.SetAngleBase(4.5 * value); + X0Y0_髪左4.SetAngleBase(6.0 * value); + X0Y0_髪左5.SetAngleBase(7.5 * value); + X0Y0_髪右1.SetAngleBase(-1.5 * value); + X0Y0_髪右2.SetAngleBase(-3.0 * value); + X0Y0_髪右3.SetAngleBase(-4.5 * value); + X0Y0_髪右4.SetAngleBase(-6.0 * value); + X0Y0_髪右5.SetAngleBase(-7.5 * value); } } @@ -476,52 +476,52 @@ namespace SlaveMatrix public void スライム() { - X0Y0_髪基.OP[右 ? 1 : 0].Outline = false; - X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false; - X0Y0_髪中.OP[右 ? 3 : 0].Outline = false; - X0Y0_髪中.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_髪中.OP[右 ? 1 : 2].Outline = false; - X0Y0_髪中.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_髪左1.OP[右 ? 3 : 0].Outline = false; - X0Y0_髪左1.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_髪左1.OP[右 ? 1 : 2].Outline = false; - X0Y0_髪左1.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_髪左2.OP[右 ? 3 : 0].Outline = false; - X0Y0_髪左2.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_髪左2.OP[右 ? 1 : 2].Outline = false; - X0Y0_髪左2.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_髪左3.OP[右 ? 3 : 0].Outline = false; - X0Y0_髪左3.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_髪左3.OP[右 ? 1 : 2].Outline = false; - X0Y0_髪左3.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_髪左4.OP[右 ? 3 : 0].Outline = false; - X0Y0_髪左4.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_髪左4.OP[右 ? 1 : 2].Outline = false; - X0Y0_髪左4.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_髪左5.OP[右 ? 3 : 0].Outline = false; - X0Y0_髪左5.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_髪左5.OP[右 ? 1 : 2].Outline = false; - X0Y0_髪左5.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_髪右1.OP[右 ? 3 : 0].Outline = false; - X0Y0_髪右1.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_髪右1.OP[右 ? 1 : 2].Outline = false; - X0Y0_髪右1.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_髪右2.OP[右 ? 3 : 0].Outline = false; - X0Y0_髪右2.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_髪右2.OP[右 ? 1 : 2].Outline = false; - X0Y0_髪右2.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_髪右3.OP[右 ? 3 : 0].Outline = false; - X0Y0_髪右3.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_髪右3.OP[右 ? 1 : 2].Outline = false; - X0Y0_髪右3.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_髪右4.OP[右 ? 3 : 0].Outline = false; - X0Y0_髪右4.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_髪右4.OP[右 ? 1 : 2].Outline = false; - X0Y0_髪右4.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_髪右5.OP[右 ? 3 : 0].Outline = false; - X0Y0_髪右5.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_髪右5.OP[右 ? 1 : 2].Outline = false; - X0Y0_髪右5.OP[(!右) ? 3 : 0].Outline = false; + X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false; + X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false; + X0Y0_髪中.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_髪中.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_髪中.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_髪中.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_髪左1.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_髪左1.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_髪左1.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_髪左1.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_髪左2.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_髪左2.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_髪左2.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_髪左2.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_髪左3.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_髪左3.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_髪左3.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_髪左3.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_髪左4.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_髪左4.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_髪左4.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_髪左4.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_髪左5.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_髪左5.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_髪左5.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_髪左5.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_髪右1.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_髪右1.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_髪右1.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_髪右1.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_髪右2.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_髪右2.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_髪右2.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_髪右2.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_髪右3.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_髪右3.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_髪右3.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_髪右3.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_髪右4.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_髪右4.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_髪右4.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_髪右4.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_髪右5.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_髪右5.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_髪右5.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_髪右5.GetOP()[(!右) ? 3 : 0].Outline = false; } public override void 色更新() diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_ジグD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_ジグD.cs index 7824f1d..e8a30dd 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_ジグD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_ジグD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_ハネ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_ハネ.cs index 527597f..e7ba2ad 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_ハネ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_ハネ.cs @@ -319,7 +319,7 @@ namespace SlaveMatrix set { double num = 0.7 + 0.3 * value; - X0Y0_髪基.SizeYBase *= num; + X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num); } } @@ -328,17 +328,17 @@ namespace SlaveMatrix set { double num = 0.4 + 0.91 * value; - X0Y0_髪中.SizeYBase *= num; - X0Y0_髪左1.SizeYBase *= num; - X0Y0_髪左2.SizeYBase *= num; - X0Y0_髪左3.SizeYBase *= num; - X0Y0_髪左4.SizeYBase *= num; - X0Y0_髪左5.SizeYBase *= num; - X0Y0_髪右1.SizeYBase *= num; - X0Y0_髪右2.SizeYBase *= num; - X0Y0_髪右3.SizeYBase *= num; - X0Y0_髪右4.SizeYBase *= num; - X0Y0_髪右5.SizeYBase *= num; + X0Y0_髪中.SetSizeYBase(X0Y0_髪中.GetSizeYBase() * num); + X0Y0_髪左1.SetSizeYBase(X0Y0_髪左1.GetSizeYBase() * num); + X0Y0_髪左2.SetSizeYBase(X0Y0_髪左2.GetSizeYBase() * num); + X0Y0_髪左3.SetSizeYBase(X0Y0_髪左3.GetSizeYBase() * num); + X0Y0_髪左4.SetSizeYBase(X0Y0_髪左4.GetSizeYBase() * num); + X0Y0_髪左5.SetSizeYBase(X0Y0_髪左5.GetSizeYBase() * num); + X0Y0_髪右1.SetSizeYBase(X0Y0_髪右1.GetSizeYBase() * num); + X0Y0_髪右2.SetSizeYBase(X0Y0_髪右2.GetSizeYBase() * num); + X0Y0_髪右3.SetSizeYBase(X0Y0_髪右3.GetSizeYBase() * num); + X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num); + X0Y0_髪右5.SetSizeYBase(X0Y0_髪右5.GetSizeYBase() * num); } } @@ -347,17 +347,17 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_髪中.SizeXBase *= num; - X0Y0_髪左1.SizeXBase *= num; - X0Y0_髪左2.SizeXBase *= num; - X0Y0_髪左3.SizeXBase *= num; - X0Y0_髪左4.SizeXBase *= num; - X0Y0_髪左5.SizeXBase *= num; - X0Y0_髪右1.SizeXBase *= num; - X0Y0_髪右2.SizeXBase *= num; - X0Y0_髪右3.SizeXBase *= num; - X0Y0_髪右4.SizeXBase *= num; - X0Y0_髪右5.SizeXBase *= num; + X0Y0_髪中.SetSizeXBase(X0Y0_髪中.GetSizeXBase() * num); + X0Y0_髪左1.SetSizeXBase(X0Y0_髪左1.GetSizeXBase() * num); + X0Y0_髪左2.SetSizeXBase(X0Y0_髪左2.GetSizeXBase() * num); + X0Y0_髪左3.SetSizeXBase(X0Y0_髪左3.GetSizeXBase() * num); + X0Y0_髪左4.SetSizeXBase(X0Y0_髪左4.GetSizeXBase() * num); + X0Y0_髪左5.SetSizeXBase(X0Y0_髪左5.GetSizeXBase() * num); + X0Y0_髪右1.SetSizeXBase(X0Y0_髪右1.GetSizeXBase() * num); + X0Y0_髪右2.SetSizeXBase(X0Y0_髪右2.GetSizeXBase() * num); + X0Y0_髪右3.SetSizeXBase(X0Y0_髪右3.GetSizeXBase() * num); + X0Y0_髪右4.SetSizeXBase(X0Y0_髪右4.GetSizeXBase() * num); + X0Y0_髪右5.SetSizeXBase(X0Y0_髪右5.GetSizeXBase() * num); } } @@ -365,16 +365,16 @@ namespace SlaveMatrix { set { - X0Y0_髪左1.AngleBase = 1.5 * value; - X0Y0_髪左2.AngleBase = 3.0 * value; - X0Y0_髪左3.AngleBase = 4.5 * value; - X0Y0_髪左4.AngleBase = 6.0 * value; - X0Y0_髪左5.AngleBase = 7.5 * value; - X0Y0_髪右1.AngleBase = -1.5 * value; - X0Y0_髪右2.AngleBase = -3.0 * value; - X0Y0_髪右3.AngleBase = -4.5 * value; - X0Y0_髪右4.AngleBase = -6.0 * value; - X0Y0_髪右5.AngleBase = -7.5 * value; + X0Y0_髪左1.SetAngleBase(1.5 * value); + X0Y0_髪左2.SetAngleBase(3.0 * value); + X0Y0_髪左3.SetAngleBase(4.5 * value); + X0Y0_髪左4.SetAngleBase(6.0 * value); + X0Y0_髪左5.SetAngleBase(7.5 * value); + X0Y0_髪右1.SetAngleBase(-1.5 * value); + X0Y0_髪右2.SetAngleBase(-3.0 * value); + X0Y0_髪右3.SetAngleBase(-4.5 * value); + X0Y0_髪右4.SetAngleBase(-6.0 * value); + X0Y0_髪右5.SetAngleBase(-7.5 * value); } } @@ -476,52 +476,52 @@ namespace SlaveMatrix public void スライム() { - X0Y0_髪基.OP[右 ? 1 : 0].Outline = false; - X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false; - X0Y0_髪中.OP[右 ? 3 : 0].Outline = false; - X0Y0_髪中.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_髪中.OP[右 ? 1 : 2].Outline = false; - X0Y0_髪中.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_髪左1.OP[右 ? 3 : 0].Outline = false; - X0Y0_髪左1.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_髪左1.OP[右 ? 1 : 2].Outline = false; - X0Y0_髪左1.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_髪左2.OP[右 ? 3 : 0].Outline = false; - X0Y0_髪左2.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_髪左2.OP[右 ? 1 : 2].Outline = false; - X0Y0_髪左2.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_髪左3.OP[右 ? 3 : 0].Outline = false; - X0Y0_髪左3.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_髪左3.OP[右 ? 1 : 2].Outline = false; - X0Y0_髪左3.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_髪左4.OP[右 ? 3 : 0].Outline = false; - X0Y0_髪左4.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_髪左4.OP[右 ? 1 : 2].Outline = false; - X0Y0_髪左4.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_髪左5.OP[右 ? 3 : 0].Outline = false; - X0Y0_髪左5.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_髪左5.OP[右 ? 1 : 2].Outline = false; - X0Y0_髪左5.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_髪右1.OP[右 ? 3 : 0].Outline = false; - X0Y0_髪右1.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_髪右1.OP[右 ? 1 : 2].Outline = false; - X0Y0_髪右1.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_髪右2.OP[右 ? 3 : 0].Outline = false; - X0Y0_髪右2.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_髪右2.OP[右 ? 1 : 2].Outline = false; - X0Y0_髪右2.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_髪右3.OP[右 ? 3 : 0].Outline = false; - X0Y0_髪右3.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_髪右3.OP[右 ? 1 : 2].Outline = false; - X0Y0_髪右3.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_髪右4.OP[右 ? 3 : 0].Outline = false; - X0Y0_髪右4.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_髪右4.OP[右 ? 1 : 2].Outline = false; - X0Y0_髪右4.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_髪右5.OP[右 ? 3 : 0].Outline = false; - X0Y0_髪右5.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_髪右5.OP[右 ? 1 : 2].Outline = false; - X0Y0_髪右5.OP[(!右) ? 3 : 0].Outline = false; + X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false; + X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false; + X0Y0_髪中.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_髪中.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_髪中.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_髪中.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_髪左1.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_髪左1.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_髪左1.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_髪左1.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_髪左2.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_髪左2.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_髪左2.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_髪左2.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_髪左3.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_髪左3.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_髪左3.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_髪左3.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_髪左4.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_髪左4.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_髪左4.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_髪左4.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_髪左5.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_髪左5.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_髪左5.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_髪左5.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_髪右1.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_髪右1.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_髪右1.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_髪右1.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_髪右2.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_髪右2.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_髪右2.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_髪右2.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_髪右3.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_髪右3.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_髪右3.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_髪右3.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_髪右4.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_髪右4.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_髪右4.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_髪右4.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_髪右5.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_髪右5.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_髪右5.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_髪右5.GetOP()[(!右) ? 3 : 0].Outline = false; } public override void 色更新() diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_ハネD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_ハネD.cs index 0ca65e9..dfd1a85 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_ハネD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_ハネD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_パツ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_パツ.cs index 496b046..effcc83 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_パツ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_パツ.cs @@ -319,7 +319,7 @@ namespace SlaveMatrix set { double num = 0.7 + 0.3 * value; - X0Y0_髪基.SizeYBase *= num; + X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num); } } @@ -328,17 +328,17 @@ namespace SlaveMatrix set { double num = 0.4 + 0.91 * value; - X0Y0_髪中.SizeYBase *= num; - X0Y0_髪左1.SizeYBase *= num; - X0Y0_髪左2.SizeYBase *= num; - X0Y0_髪左3.SizeYBase *= num; - X0Y0_髪左4.SizeYBase *= num; - X0Y0_髪左5.SizeYBase *= num; - X0Y0_髪右1.SizeYBase *= num; - X0Y0_髪右2.SizeYBase *= num; - X0Y0_髪右3.SizeYBase *= num; - X0Y0_髪右4.SizeYBase *= num; - X0Y0_髪右5.SizeYBase *= num; + X0Y0_髪中.SetSizeYBase(X0Y0_髪中.GetSizeYBase() * num); + X0Y0_髪左1.SetSizeYBase(X0Y0_髪左1.GetSizeYBase() * num); + X0Y0_髪左2.SetSizeYBase(X0Y0_髪左2.GetSizeYBase() * num); + X0Y0_髪左3.SetSizeYBase(X0Y0_髪左3.GetSizeYBase() * num); + X0Y0_髪左4.SetSizeYBase(X0Y0_髪左4.GetSizeYBase() * num); + X0Y0_髪左5.SetSizeYBase(X0Y0_髪左5.GetSizeYBase() * num); + X0Y0_髪右1.SetSizeYBase(X0Y0_髪右1.GetSizeYBase() * num); + X0Y0_髪右2.SetSizeYBase(X0Y0_髪右2.GetSizeYBase() * num); + X0Y0_髪右3.SetSizeYBase(X0Y0_髪右3.GetSizeYBase() * num); + X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num); + X0Y0_髪右5.SetSizeYBase(X0Y0_髪右5.GetSizeYBase() * num); } } @@ -347,17 +347,17 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_髪中.SizeXBase *= num; - X0Y0_髪左1.SizeXBase *= num; - X0Y0_髪左2.SizeXBase *= num; - X0Y0_髪左3.SizeXBase *= num; - X0Y0_髪左4.SizeXBase *= num; - X0Y0_髪左5.SizeXBase *= num; - X0Y0_髪右1.SizeXBase *= num; - X0Y0_髪右2.SizeXBase *= num; - X0Y0_髪右3.SizeXBase *= num; - X0Y0_髪右4.SizeXBase *= num; - X0Y0_髪右5.SizeXBase *= num; + X0Y0_髪中.SetSizeXBase(X0Y0_髪中.GetSizeXBase() * num); + X0Y0_髪左1.SetSizeXBase(X0Y0_髪左1.GetSizeXBase() * num); + X0Y0_髪左2.SetSizeXBase(X0Y0_髪左2.GetSizeXBase() * num); + X0Y0_髪左3.SetSizeXBase(X0Y0_髪左3.GetSizeXBase() * num); + X0Y0_髪左4.SetSizeXBase(X0Y0_髪左4.GetSizeXBase() * num); + X0Y0_髪左5.SetSizeXBase(X0Y0_髪左5.GetSizeXBase() * num); + X0Y0_髪右1.SetSizeXBase(X0Y0_髪右1.GetSizeXBase() * num); + X0Y0_髪右2.SetSizeXBase(X0Y0_髪右2.GetSizeXBase() * num); + X0Y0_髪右3.SetSizeXBase(X0Y0_髪右3.GetSizeXBase() * num); + X0Y0_髪右4.SetSizeXBase(X0Y0_髪右4.GetSizeXBase() * num); + X0Y0_髪右5.SetSizeXBase(X0Y0_髪右5.GetSizeXBase() * num); } } @@ -365,16 +365,16 @@ namespace SlaveMatrix { set { - X0Y0_髪左1.AngleBase = 1.5 * value; - X0Y0_髪左2.AngleBase = 3.0 * value; - X0Y0_髪左3.AngleBase = 4.5 * value; - X0Y0_髪左4.AngleBase = 6.0 * value; - X0Y0_髪左5.AngleBase = 7.5 * value; - X0Y0_髪右1.AngleBase = -1.5 * value; - X0Y0_髪右2.AngleBase = -3.0 * value; - X0Y0_髪右3.AngleBase = -4.5 * value; - X0Y0_髪右4.AngleBase = -6.0 * value; - X0Y0_髪右5.AngleBase = -7.5 * value; + X0Y0_髪左1.SetAngleBase(1.5 * value); + X0Y0_髪左2.SetAngleBase(3.0 * value); + X0Y0_髪左3.SetAngleBase(4.5 * value); + X0Y0_髪左4.SetAngleBase(6.0 * value); + X0Y0_髪左5.SetAngleBase(7.5 * value); + X0Y0_髪右1.SetAngleBase(-1.5 * value); + X0Y0_髪右2.SetAngleBase(-3.0 * value); + X0Y0_髪右3.SetAngleBase(-4.5 * value); + X0Y0_髪右4.SetAngleBase(-6.0 * value); + X0Y0_髪右5.SetAngleBase(-7.5 * value); } } @@ -476,41 +476,41 @@ namespace SlaveMatrix public void スライム() { - X0Y0_髪基.OP[右 ? 1 : 0].Outline = false; - X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false; - X0Y0_髪中.OP[右 ? 2 : 0].Outline = false; - X0Y0_髪中.OP[右 ? 1 : 1].Outline = false; - X0Y0_髪中.OP[(!右) ? 2 : 0].Outline = false; - X0Y0_髪左1.OP[右 ? 2 : 0].Outline = false; - X0Y0_髪左1.OP[右 ? 1 : 1].Outline = false; - X0Y0_髪左1.OP[(!右) ? 2 : 0].Outline = false; - X0Y0_髪左2.OP[右 ? 2 : 0].Outline = false; - X0Y0_髪左2.OP[右 ? 1 : 1].Outline = false; - X0Y0_髪左2.OP[(!右) ? 2 : 0].Outline = false; - X0Y0_髪左3.OP[右 ? 2 : 0].Outline = false; - X0Y0_髪左3.OP[右 ? 1 : 1].Outline = false; - X0Y0_髪左3.OP[(!右) ? 2 : 0].Outline = false; - X0Y0_髪左4.OP[右 ? 2 : 0].Outline = false; - X0Y0_髪左4.OP[右 ? 1 : 1].Outline = false; - X0Y0_髪左4.OP[(!右) ? 2 : 0].Outline = false; - X0Y0_髪左5.OP[右 ? 2 : 0].Outline = false; - X0Y0_髪左5.OP[右 ? 1 : 1].Outline = false; - X0Y0_髪左5.OP[(!右) ? 2 : 0].Outline = false; - X0Y0_髪右1.OP[右 ? 2 : 0].Outline = false; - X0Y0_髪右1.OP[右 ? 1 : 1].Outline = false; - X0Y0_髪右1.OP[(!右) ? 2 : 0].Outline = false; - X0Y0_髪右2.OP[右 ? 2 : 0].Outline = false; - X0Y0_髪右2.OP[右 ? 1 : 1].Outline = false; - X0Y0_髪右2.OP[(!右) ? 2 : 0].Outline = false; - X0Y0_髪右3.OP[右 ? 2 : 0].Outline = false; - X0Y0_髪右3.OP[右 ? 1 : 1].Outline = false; - X0Y0_髪右3.OP[(!右) ? 2 : 0].Outline = false; - X0Y0_髪右4.OP[右 ? 2 : 0].Outline = false; - X0Y0_髪右4.OP[右 ? 1 : 1].Outline = false; - X0Y0_髪右4.OP[(!右) ? 2 : 0].Outline = false; - X0Y0_髪右5.OP[右 ? 2 : 0].Outline = false; - X0Y0_髪右5.OP[右 ? 1 : 1].Outline = false; - X0Y0_髪右5.OP[(!右) ? 2 : 0].Outline = false; + X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false; + X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false; + X0Y0_髪中.GetOP()[右 ? 2 : 0].Outline = false; + X0Y0_髪中.GetOP()[右 ? 1 : 1].Outline = false; + X0Y0_髪中.GetOP()[(!右) ? 2 : 0].Outline = false; + X0Y0_髪左1.GetOP()[右 ? 2 : 0].Outline = false; + X0Y0_髪左1.GetOP()[右 ? 1 : 1].Outline = false; + X0Y0_髪左1.GetOP()[(!右) ? 2 : 0].Outline = false; + X0Y0_髪左2.GetOP()[右 ? 2 : 0].Outline = false; + X0Y0_髪左2.GetOP()[右 ? 1 : 1].Outline = false; + X0Y0_髪左2.GetOP()[(!右) ? 2 : 0].Outline = false; + X0Y0_髪左3.GetOP()[右 ? 2 : 0].Outline = false; + X0Y0_髪左3.GetOP()[右 ? 1 : 1].Outline = false; + X0Y0_髪左3.GetOP()[(!右) ? 2 : 0].Outline = false; + X0Y0_髪左4.GetOP()[右 ? 2 : 0].Outline = false; + X0Y0_髪左4.GetOP()[右 ? 1 : 1].Outline = false; + X0Y0_髪左4.GetOP()[(!右) ? 2 : 0].Outline = false; + X0Y0_髪左5.GetOP()[右 ? 2 : 0].Outline = false; + X0Y0_髪左5.GetOP()[右 ? 1 : 1].Outline = false; + X0Y0_髪左5.GetOP()[(!右) ? 2 : 0].Outline = false; + X0Y0_髪右1.GetOP()[右 ? 2 : 0].Outline = false; + X0Y0_髪右1.GetOP()[右 ? 1 : 1].Outline = false; + X0Y0_髪右1.GetOP()[(!右) ? 2 : 0].Outline = false; + X0Y0_髪右2.GetOP()[右 ? 2 : 0].Outline = false; + X0Y0_髪右2.GetOP()[右 ? 1 : 1].Outline = false; + X0Y0_髪右2.GetOP()[(!右) ? 2 : 0].Outline = false; + X0Y0_髪右3.GetOP()[右 ? 2 : 0].Outline = false; + X0Y0_髪右3.GetOP()[右 ? 1 : 1].Outline = false; + X0Y0_髪右3.GetOP()[(!右) ? 2 : 0].Outline = false; + X0Y0_髪右4.GetOP()[右 ? 2 : 0].Outline = false; + X0Y0_髪右4.GetOP()[右 ? 1 : 1].Outline = false; + X0Y0_髪右4.GetOP()[(!右) ? 2 : 0].Outline = false; + X0Y0_髪右5.GetOP()[右 ? 2 : 0].Outline = false; + X0Y0_髪右5.GetOP()[右 ? 1 : 1].Outline = false; + X0Y0_髪右5.GetOP()[(!右) ? 2 : 0].Outline = false; } public override void 色更新() diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_パツD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_パツD.cs index ee21d59..e5f3235 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_パツD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_パツD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1カル.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1カル.cs index a8e4027..4a8b3de 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1カル.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1カル.cs @@ -256,7 +256,7 @@ namespace SlaveMatrix set { double num = 0.7 + 0.3 * value; - X0Y0_髪基.SizeYBase *= num; + X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num); } } @@ -265,12 +265,12 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_お下げ_髪節.SizeYBase *= num; - X0Y0_お下げ_髪右2.SizeYBase *= num; - X0Y0_お下げ_髪右1.SizeYBase *= num; - X0Y0_お下げ_髪左2.SizeYBase *= num; - X0Y0_お下げ_髪左1.SizeYBase *= num; - X0Y0_お下げ_髪根.SizeYBase *= num; + X0Y0_お下げ_髪節.SetSizeYBase(X0Y0_お下げ_髪節.GetSizeYBase() * num); + X0Y0_お下げ_髪右2.SetSizeYBase(X0Y0_お下げ_髪右2.GetSizeYBase() * num); + X0Y0_お下げ_髪右1.SetSizeYBase(X0Y0_お下げ_髪右1.GetSizeYBase() * num); + X0Y0_お下げ_髪左2.SetSizeYBase(X0Y0_お下げ_髪左2.GetSizeYBase() * num); + X0Y0_お下げ_髪左1.SetSizeYBase(X0Y0_お下げ_髪左1.GetSizeYBase() * num); + X0Y0_お下げ_髪根.SetSizeYBase(X0Y0_お下げ_髪根.GetSizeYBase() * num); } } @@ -279,14 +279,14 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_お下げ_髪節.SizeXBase *= num; - X0Y0_お下げ_髪縛1.SizeBase *= num; - X0Y0_お下げ_髪縛2.SizeBase *= num; - X0Y0_お下げ_髪左2.SizeXBase *= num; - X0Y0_お下げ_髪左1.SizeXBase *= num; - X0Y0_お下げ_髪右2.SizeXBase *= num; - X0Y0_お下げ_髪右1.SizeXBase *= num; - X0Y0_お下げ_髪根.SizeXBase *= num; + X0Y0_お下げ_髪節.SetSizeXBase(X0Y0_お下げ_髪節.GetSizeXBase() * num); + X0Y0_お下げ_髪縛1.SetSizeBase(X0Y0_お下げ_髪縛1.GetSizeBase() * num); + X0Y0_お下げ_髪縛2.SetSizeBase(X0Y0_お下げ_髪縛2.GetSizeBase() * num); + X0Y0_お下げ_髪左2.SetSizeXBase(X0Y0_お下げ_髪左2.GetSizeXBase() * num); + X0Y0_お下げ_髪左1.SetSizeXBase(X0Y0_お下げ_髪左1.GetSizeXBase() * num); + X0Y0_お下げ_髪右2.SetSizeXBase(X0Y0_お下げ_髪右2.GetSizeXBase() * num); + X0Y0_お下げ_髪右1.SetSizeXBase(X0Y0_お下げ_髪右1.GetSizeXBase() * num); + X0Y0_お下げ_髪根.SetSizeXBase(X0Y0_お下げ_髪根.GetSizeXBase() * num); } } @@ -294,10 +294,10 @@ namespace SlaveMatrix { set { - X0Y0_お下げ_髪左2.AngleBase = 1.5 * value; - X0Y0_お下げ_髪左1.AngleBase = 1.5 * value; - X0Y0_お下げ_髪右2.AngleBase = -1.5 * value; - X0Y0_お下げ_髪右1.AngleBase = -1.5 * value; + X0Y0_お下げ_髪左2.SetAngleBase(1.5 * value); + X0Y0_お下げ_髪左1.SetAngleBase(1.5 * value); + X0Y0_お下げ_髪右2.SetAngleBase(-1.5 * value); + X0Y0_お下げ_髪右1.SetAngleBase(-1.5 * value); } } @@ -386,85 +386,85 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_お下げ_髪節.AngleBase = num * 30.0; - X0Y0_お下げ_髪根.AngleBase = num * -25.0; + X0Y0_お下げ_髪節.SetAngleBase(num * 30.0); + X0Y0_お下げ_髪根.SetAngleBase(num * -25.0); Body.JoinPAall(); } public void スライム() { - X0Y0_髪基.OP[右 ? 1 : 0].Outline = false; - X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false; - X0Y0_お下げ_髪節.OP[右 ? 2 : 0].Outline = false; - X0Y0_お下げ_髪節.OP[右 ? 1 : 1].Outline = false; - X0Y0_お下げ_髪節.OP[(!右) ? 2 : 0].Outline = false; - X0Y0_お下げ_髪縛1.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_髪縛2.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_髪右2.OP[右 ? 12 : 0].Outline = false; - X0Y0_お下げ_髪右2.OP[(!右) ? 1 : 11].Outline = false; - X0Y0_お下げ_髪右2.OP[右 ? 10 : 2].Outline = false; - X0Y0_お下げ_髪右2.OP[右 ? 9 : 3].Outline = false; - X0Y0_お下げ_髪右2.OP[右 ? 8 : 4].Outline = false; - X0Y0_お下げ_髪右2.OP[右 ? 7 : 5].Outline = false; - X0Y0_お下げ_髪右2.OP[右 ? 6 : 6].Outline = false; - X0Y0_お下げ_髪右2.OP[右 ? 5 : 7].Outline = false; - X0Y0_お下げ_髪右2.OP[右 ? 4 : 8].Outline = false; - X0Y0_お下げ_髪右2.OP[右 ? 3 : 9].Outline = false; - X0Y0_お下げ_髪右2.OP[右 ? 2 : 10].Outline = false; - X0Y0_お下げ_髪右2.OP[右 ? 1 : 11].Outline = false; - X0Y0_お下げ_髪右2.OP[(!右) ? 12 : 0].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 12 : 0].Outline = false; - X0Y0_お下げ_髪右1.OP[(!右) ? 1 : 11].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 10 : 2].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 9 : 3].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 8 : 4].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 7 : 5].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 6 : 6].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 5 : 7].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 4 : 8].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 3 : 9].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 2 : 10].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 1 : 11].Outline = false; - X0Y0_お下げ_髪右1.OP[(!右) ? 12 : 0].Outline = false; - X0Y0_お下げ_髪左2.OP[右 ? 12 : 0].Outline = false; - X0Y0_お下げ_髪左2.OP[(!右) ? 1 : 11].Outline = false; - X0Y0_お下げ_髪左2.OP[右 ? 10 : 2].Outline = false; - X0Y0_お下げ_髪左2.OP[右 ? 9 : 3].Outline = false; - X0Y0_お下げ_髪左2.OP[右 ? 8 : 4].Outline = false; - X0Y0_お下げ_髪左2.OP[右 ? 7 : 5].Outline = false; - X0Y0_お下げ_髪左2.OP[右 ? 6 : 6].Outline = false; - X0Y0_お下げ_髪左2.OP[右 ? 5 : 7].Outline = false; - X0Y0_お下げ_髪左2.OP[右 ? 4 : 8].Outline = false; - X0Y0_お下げ_髪左2.OP[右 ? 3 : 9].Outline = false; - X0Y0_お下げ_髪左2.OP[右 ? 2 : 10].Outline = false; - X0Y0_お下げ_髪左2.OP[右 ? 1 : 11].Outline = false; - X0Y0_お下げ_髪左2.OP[(!右) ? 12 : 0].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 12 : 0].Outline = false; - X0Y0_お下げ_髪左1.OP[(!右) ? 1 : 11].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 10 : 2].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 9 : 3].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 8 : 4].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 7 : 5].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 6 : 6].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 5 : 7].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 4 : 8].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 3 : 9].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 2 : 10].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 1 : 11].Outline = false; - X0Y0_お下げ_髪左1.OP[(!右) ? 12 : 0].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 12 : 0].Outline = false; - X0Y0_お下げ_髪根.OP[(!右) ? 1 : 11].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 10 : 2].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 9 : 3].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 8 : 4].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 7 : 5].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 6 : 6].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 5 : 7].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 4 : 8].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 3 : 9].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 2 : 10].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 1 : 11].Outline = false; - X0Y0_お下げ_髪根.OP[(!右) ? 12 : 0].Outline = false; + X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false; + X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false; + X0Y0_お下げ_髪節.GetOP()[右 ? 2 : 0].Outline = false; + X0Y0_お下げ_髪節.GetOP()[右 ? 1 : 1].Outline = false; + X0Y0_お下げ_髪節.GetOP()[(!右) ? 2 : 0].Outline = false; + X0Y0_お下げ_髪縛1.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_髪縛2.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[右 ? 12 : 0].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[(!右) ? 1 : 11].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[右 ? 10 : 2].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[右 ? 9 : 3].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[右 ? 8 : 4].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[右 ? 7 : 5].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[右 ? 6 : 6].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[右 ? 5 : 7].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[右 ? 4 : 8].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[右 ? 3 : 9].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[右 ? 2 : 10].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[右 ? 1 : 11].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[(!右) ? 12 : 0].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 12 : 0].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[(!右) ? 1 : 11].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 10 : 2].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 9 : 3].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 8 : 4].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 7 : 5].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 6 : 6].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 5 : 7].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 4 : 8].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 3 : 9].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 2 : 10].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 1 : 11].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[(!右) ? 12 : 0].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[右 ? 12 : 0].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[(!右) ? 1 : 11].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[右 ? 10 : 2].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[右 ? 9 : 3].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[右 ? 8 : 4].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[右 ? 7 : 5].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[右 ? 6 : 6].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[右 ? 5 : 7].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[右 ? 4 : 8].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[右 ? 3 : 9].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[右 ? 2 : 10].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[右 ? 1 : 11].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[(!右) ? 12 : 0].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 12 : 0].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[(!右) ? 1 : 11].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 10 : 2].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 9 : 3].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 8 : 4].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 7 : 5].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 6 : 6].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 5 : 7].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 4 : 8].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 3 : 9].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 2 : 10].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 1 : 11].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[(!右) ? 12 : 0].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 12 : 0].Outline = false; + X0Y0_お下げ_髪根.GetOP()[(!右) ? 1 : 11].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 10 : 2].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 9 : 3].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 8 : 4].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 7 : 5].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 6 : 6].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 5 : 7].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 4 : 8].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 3 : 9].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 2 : 10].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 1 : 11].Outline = false; + X0Y0_お下げ_髪根.GetOP()[(!右) ? 12 : 0].Outline = false; } public override bool Is布(Par p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1カルD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1カルD.cs index 376608f..337258f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1カルD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1カルD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1ジグ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1ジグ.cs index 25414ba..d17c386 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1ジグ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1ジグ.cs @@ -256,7 +256,7 @@ namespace SlaveMatrix set { double num = 0.7 + 0.3 * value; - X0Y0_髪基.SizeYBase *= num; + X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num); } } @@ -265,12 +265,12 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_お下げ_髪節.SizeYBase *= num; - X0Y0_お下げ_髪右2.SizeYBase *= num; - X0Y0_お下げ_髪右1.SizeYBase *= num; - X0Y0_お下げ_髪左2.SizeYBase *= num; - X0Y0_お下げ_髪左1.SizeYBase *= num; - X0Y0_お下げ_髪根.SizeYBase *= num; + X0Y0_お下げ_髪節.SetSizeYBase(X0Y0_お下げ_髪節.GetSizeYBase() * num); + X0Y0_お下げ_髪右2.SetSizeYBase(X0Y0_お下げ_髪右2.GetSizeYBase() * num); + X0Y0_お下げ_髪右1.SetSizeYBase(X0Y0_お下げ_髪右1.GetSizeYBase() * num); + X0Y0_お下げ_髪左2.SetSizeYBase(X0Y0_お下げ_髪左2.GetSizeYBase() * num); + X0Y0_お下げ_髪左1.SetSizeYBase(X0Y0_お下げ_髪左1.GetSizeYBase() * num); + X0Y0_お下げ_髪根.SetSizeYBase(X0Y0_お下げ_髪根.GetSizeYBase() * num); } } @@ -279,14 +279,14 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_お下げ_髪節.SizeXBase *= num; - X0Y0_お下げ_髪縛1.SizeBase *= num; - X0Y0_お下げ_髪縛2.SizeBase *= num; - X0Y0_お下げ_髪左2.SizeXBase *= num; - X0Y0_お下げ_髪左1.SizeXBase *= num; - X0Y0_お下げ_髪右2.SizeXBase *= num; - X0Y0_お下げ_髪右1.SizeXBase *= num; - X0Y0_お下げ_髪根.SizeXBase *= num; + X0Y0_お下げ_髪節.SetSizeXBase(X0Y0_お下げ_髪節.GetSizeXBase() * num); + X0Y0_お下げ_髪縛1.SetSizeBase(X0Y0_お下げ_髪縛1.GetSizeBase() * num); + X0Y0_お下げ_髪縛2.SetSizeBase(X0Y0_お下げ_髪縛2.GetSizeBase() * num); + X0Y0_お下げ_髪左2.SetSizeXBase(X0Y0_お下げ_髪左2.GetSizeXBase() * num); + X0Y0_お下げ_髪左1.SetSizeXBase(X0Y0_お下げ_髪左1.GetSizeXBase() * num); + X0Y0_お下げ_髪右2.SetSizeXBase(X0Y0_お下げ_髪右2.GetSizeXBase() * num); + X0Y0_お下げ_髪右1.SetSizeXBase(X0Y0_お下げ_髪右1.GetSizeXBase() * num); + X0Y0_お下げ_髪根.SetSizeXBase(X0Y0_お下げ_髪根.GetSizeXBase() * num); } } @@ -294,10 +294,10 @@ namespace SlaveMatrix { set { - X0Y0_お下げ_髪左2.AngleBase = 1.5 * value; - X0Y0_お下げ_髪左1.AngleBase = 1.5 * value; - X0Y0_お下げ_髪右2.AngleBase = -1.5 * value; - X0Y0_お下げ_髪右1.AngleBase = -1.5 * value; + X0Y0_お下げ_髪左2.SetAngleBase(1.5 * value); + X0Y0_お下げ_髪左1.SetAngleBase(1.5 * value); + X0Y0_お下げ_髪右2.SetAngleBase(-1.5 * value); + X0Y0_お下げ_髪右1.SetAngleBase(-1.5 * value); } } @@ -386,45 +386,45 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_お下げ_髪節.AngleBase = num * 30.0; - X0Y0_お下げ_髪根.AngleBase = num * -25.0; + X0Y0_お下げ_髪節.SetAngleBase(num * 30.0); + X0Y0_お下げ_髪根.SetAngleBase(num * -25.0); Body.JoinPAall(); } public void スライム() { - X0Y0_髪基.OP[右 ? 1 : 0].Outline = false; - X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false; - X0Y0_お下げ_髪節.OP[右 ? 2 : 0].Outline = false; - X0Y0_お下げ_髪節.OP[右 ? 1 : 1].Outline = false; - X0Y0_お下げ_髪節.OP[(!右) ? 2 : 0].Outline = false; - X0Y0_お下げ_髪縛1.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_髪縛2.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_髪左2.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_髪左2.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_髪左2.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_髪左2.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_髪左2.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_髪左1.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_髪左1.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_髪右2.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_髪右2.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_髪右2.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_髪右2.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_髪右2.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_髪右1.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_髪右1.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_髪根.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_髪根.OP[(!右) ? 4 : 0].Outline = false; + X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false; + X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false; + X0Y0_お下げ_髪節.GetOP()[右 ? 2 : 0].Outline = false; + X0Y0_お下げ_髪節.GetOP()[右 ? 1 : 1].Outline = false; + X0Y0_お下げ_髪節.GetOP()[(!右) ? 2 : 0].Outline = false; + X0Y0_お下げ_髪縛1.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_髪縛2.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_髪根.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_髪根.GetOP()[(!右) ? 4 : 0].Outline = false; } public override bool Is布(Par p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1ジグD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1ジグD.cs index 2a61a4c..6c82b0a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1ジグD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1ジグD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1ハネ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1ハネ.cs index 8e2dc1f..cd60f90 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1ハネ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1ハネ.cs @@ -256,7 +256,7 @@ namespace SlaveMatrix set { double num = 0.7 + 0.3 * value; - X0Y0_髪基.SizeYBase *= num; + X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num); } } @@ -265,12 +265,12 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_お下げ_髪節.SizeYBase *= num; - X0Y0_お下げ_髪右2.SizeYBase *= num; - X0Y0_お下げ_髪右1.SizeYBase *= num; - X0Y0_お下げ_髪左2.SizeYBase *= num; - X0Y0_お下げ_髪左1.SizeYBase *= num; - X0Y0_お下げ_髪根.SizeYBase *= num; + X0Y0_お下げ_髪節.SetSizeYBase(X0Y0_お下げ_髪節.GetSizeYBase() * num); + X0Y0_お下げ_髪右2.SetSizeYBase(X0Y0_お下げ_髪右2.GetSizeYBase() * num); + X0Y0_お下げ_髪右1.SetSizeYBase(X0Y0_お下げ_髪右1.GetSizeYBase() * num); + X0Y0_お下げ_髪左2.SetSizeYBase(X0Y0_お下げ_髪左2.GetSizeYBase() * num); + X0Y0_お下げ_髪左1.SetSizeYBase(X0Y0_お下げ_髪左1.GetSizeYBase() * num); + X0Y0_お下げ_髪根.SetSizeYBase(X0Y0_お下げ_髪根.GetSizeYBase() * num); } } @@ -279,14 +279,14 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_お下げ_髪節.SizeXBase *= num; - X0Y0_お下げ_髪縛1.SizeBase *= num; - X0Y0_お下げ_髪縛2.SizeBase *= num; - X0Y0_お下げ_髪左2.SizeXBase *= num; - X0Y0_お下げ_髪左1.SizeXBase *= num; - X0Y0_お下げ_髪右2.SizeXBase *= num; - X0Y0_お下げ_髪右1.SizeXBase *= num; - X0Y0_お下げ_髪根.SizeXBase *= num; + X0Y0_お下げ_髪節.SetSizeXBase(X0Y0_お下げ_髪節.GetSizeXBase() * num); + X0Y0_お下げ_髪縛1.SetSizeBase(X0Y0_お下げ_髪縛1.GetSizeBase() * num); + X0Y0_お下げ_髪縛2.SetSizeBase(X0Y0_お下げ_髪縛2.GetSizeBase() * num); + X0Y0_お下げ_髪左2.SetSizeXBase(X0Y0_お下げ_髪左2.GetSizeXBase() * num); + X0Y0_お下げ_髪左1.SetSizeXBase(X0Y0_お下げ_髪左1.GetSizeXBase() * num); + X0Y0_お下げ_髪右2.SetSizeXBase(X0Y0_お下げ_髪右2.GetSizeXBase() * num); + X0Y0_お下げ_髪右1.SetSizeXBase(X0Y0_お下げ_髪右1.GetSizeXBase() * num); + X0Y0_お下げ_髪根.SetSizeXBase(X0Y0_お下げ_髪根.GetSizeXBase() * num); } } @@ -294,10 +294,10 @@ namespace SlaveMatrix { set { - X0Y0_お下げ_髪左2.AngleBase = 1.5 * value; - X0Y0_お下げ_髪左1.AngleBase = 1.5 * value; - X0Y0_お下げ_髪右2.AngleBase = -1.5 * value; - X0Y0_お下げ_髪右1.AngleBase = -1.5 * value; + X0Y0_お下げ_髪左2.SetAngleBase(1.5 * value); + X0Y0_お下げ_髪左1.SetAngleBase(1.5 * value); + X0Y0_お下げ_髪右2.SetAngleBase(-1.5 * value); + X0Y0_お下げ_髪右1.SetAngleBase(-1.5 * value); } } @@ -386,45 +386,45 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_お下げ_髪節.AngleBase = num * 30.0; - X0Y0_お下げ_髪根.AngleBase = num * -25.0; + X0Y0_お下げ_髪節.SetAngleBase(num * 30.0); + X0Y0_お下げ_髪根.SetAngleBase(num * -25.0); Body.JoinPAall(); } public void スライム() { - X0Y0_髪基.OP[右 ? 1 : 0].Outline = false; - X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false; - X0Y0_お下げ_髪節.OP[右 ? 2 : 0].Outline = false; - X0Y0_お下げ_髪節.OP[右 ? 1 : 1].Outline = false; - X0Y0_お下げ_髪節.OP[(!右) ? 2 : 0].Outline = false; - X0Y0_お下げ_髪縛1.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_髪縛2.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_髪左2.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_髪左2.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_髪左2.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_髪左2.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_髪左2.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_髪左1.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_髪左1.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_髪右2.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_髪右2.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_髪右2.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_髪右2.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_髪右2.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_髪右1.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_髪右1.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_髪根.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_髪根.OP[(!右) ? 4 : 0].Outline = false; + X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false; + X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false; + X0Y0_お下げ_髪節.GetOP()[右 ? 2 : 0].Outline = false; + X0Y0_お下げ_髪節.GetOP()[右 ? 1 : 1].Outline = false; + X0Y0_お下げ_髪節.GetOP()[(!右) ? 2 : 0].Outline = false; + X0Y0_お下げ_髪縛1.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_髪縛2.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_髪根.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_髪根.GetOP()[(!右) ? 4 : 0].Outline = false; } public override bool Is布(Par p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1ハネD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1ハネD.cs index 78a835e..3a06d97 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1ハネD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1ハネD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1パツ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1パツ.cs index efecfc1..d3b8ff7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1パツ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1パツ.cs @@ -256,7 +256,7 @@ namespace SlaveMatrix set { double num = 0.7 + 0.3 * value; - X0Y0_髪基.SizeYBase *= num; + X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num); } } @@ -265,12 +265,12 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_お下げ_髪節.SizeYBase *= num; - X0Y0_お下げ_髪右2.SizeYBase *= num; - X0Y0_お下げ_髪右1.SizeYBase *= num; - X0Y0_お下げ_髪左2.SizeYBase *= num; - X0Y0_お下げ_髪左1.SizeYBase *= num; - X0Y0_お下げ_髪根.SizeYBase *= num; + X0Y0_お下げ_髪節.SetSizeYBase(X0Y0_お下げ_髪節.GetSizeYBase() * num); + X0Y0_お下げ_髪右2.SetSizeYBase(X0Y0_お下げ_髪右2.GetSizeYBase() * num); + X0Y0_お下げ_髪右1.SetSizeYBase(X0Y0_お下げ_髪右1.GetSizeYBase() * num); + X0Y0_お下げ_髪左2.SetSizeYBase(X0Y0_お下げ_髪左2.GetSizeYBase() * num); + X0Y0_お下げ_髪左1.SetSizeYBase(X0Y0_お下げ_髪左1.GetSizeYBase() * num); + X0Y0_お下げ_髪根.SetSizeYBase(X0Y0_お下げ_髪根.GetSizeYBase() * num); } } @@ -279,14 +279,14 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_お下げ_髪節.SizeXBase *= num; - X0Y0_お下げ_髪縛1.SizeBase *= num; - X0Y0_お下げ_髪縛2.SizeBase *= num; - X0Y0_お下げ_髪左2.SizeXBase *= num; - X0Y0_お下げ_髪左1.SizeXBase *= num; - X0Y0_お下げ_髪右2.SizeXBase *= num; - X0Y0_お下げ_髪右1.SizeXBase *= num; - X0Y0_お下げ_髪根.SizeXBase *= num; + X0Y0_お下げ_髪節.SetSizeXBase(X0Y0_お下げ_髪節.GetSizeXBase() * num); + X0Y0_お下げ_髪縛1.SetSizeBase(X0Y0_お下げ_髪縛1.GetSizeBase() * num); + X0Y0_お下げ_髪縛2.SetSizeBase(X0Y0_お下げ_髪縛2.GetSizeBase() * num); + X0Y0_お下げ_髪左2.SetSizeXBase(X0Y0_お下げ_髪左2.GetSizeXBase() * num); + X0Y0_お下げ_髪左1.SetSizeXBase(X0Y0_お下げ_髪左1.GetSizeXBase() * num); + X0Y0_お下げ_髪右2.SetSizeXBase(X0Y0_お下げ_髪右2.GetSizeXBase() * num); + X0Y0_お下げ_髪右1.SetSizeXBase(X0Y0_お下げ_髪右1.GetSizeXBase() * num); + X0Y0_お下げ_髪根.SetSizeXBase(X0Y0_お下げ_髪根.GetSizeXBase() * num); } } @@ -294,10 +294,10 @@ namespace SlaveMatrix { set { - X0Y0_お下げ_髪左2.AngleBase = 1.5 * value; - X0Y0_お下げ_髪左1.AngleBase = 1.5 * value; - X0Y0_お下げ_髪右2.AngleBase = -1.5 * value; - X0Y0_お下げ_髪右1.AngleBase = -1.5 * value; + X0Y0_お下げ_髪左2.SetAngleBase(1.5 * value); + X0Y0_お下げ_髪左1.SetAngleBase(1.5 * value); + X0Y0_お下げ_髪右2.SetAngleBase(-1.5 * value); + X0Y0_お下げ_髪右1.SetAngleBase(-1.5 * value); } } @@ -386,40 +386,40 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_お下げ_髪節.AngleBase = num * 30.0; - X0Y0_お下げ_髪根.AngleBase = num * -25.0; + X0Y0_お下げ_髪節.SetAngleBase(num * 30.0); + X0Y0_お下げ_髪根.SetAngleBase(num * -25.0); Body.JoinPAall(); } public void スライム() { - X0Y0_髪基.OP[右 ? 1 : 0].Outline = false; - X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false; - X0Y0_お下げ_髪節.OP[右 ? 2 : 0].Outline = false; - X0Y0_お下げ_髪節.OP[右 ? 1 : 1].Outline = false; - X0Y0_お下げ_髪節.OP[(!右) ? 2 : 0].Outline = false; - X0Y0_お下げ_髪縛1.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_髪縛2.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_髪左2.OP[右 ? 3 : 0].Outline = false; - X0Y0_お下げ_髪左2.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_お下げ_髪左2.OP[右 ? 1 : 2].Outline = false; - X0Y0_お下げ_髪左2.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 3 : 0].Outline = false; - X0Y0_お下げ_髪左1.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 1 : 2].Outline = false; - X0Y0_お下げ_髪左1.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_お下げ_髪右2.OP[右 ? 3 : 0].Outline = false; - X0Y0_お下げ_髪右2.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_お下げ_髪右2.OP[右 ? 1 : 2].Outline = false; - X0Y0_お下げ_髪右2.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 3 : 0].Outline = false; - X0Y0_お下げ_髪右1.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 1 : 2].Outline = false; - X0Y0_お下げ_髪右1.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 3 : 0].Outline = false; - X0Y0_お下げ_髪根.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 1 : 2].Outline = false; - X0Y0_お下げ_髪根.OP[(!右) ? 3 : 0].Outline = false; + X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false; + X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false; + X0Y0_お下げ_髪節.GetOP()[右 ? 2 : 0].Outline = false; + X0Y0_お下げ_髪節.GetOP()[右 ? 1 : 1].Outline = false; + X0Y0_お下げ_髪節.GetOP()[(!右) ? 2 : 0].Outline = false; + X0Y0_お下げ_髪縛1.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_髪縛2.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_お下げ_髪左2.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_お下げ_髪右2.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_お下げ_髪根.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_お下げ_髪根.GetOP()[(!右) ? 3 : 0].Outline = false; } public override bool Is布(Par p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1パツD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1パツD.cs index 9e79836..d1c0604 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1パツD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1パツD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2カル.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2カル.cs index bfe5ae9..f2a4ff4 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2カル.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2カル.cs @@ -298,7 +298,7 @@ namespace SlaveMatrix set { double num = 0.7 + 0.3 * value; - X0Y0_髪基.SizeYBase *= num; + X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num); } } @@ -307,12 +307,12 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_お下げ左_髪左.SizeYBase *= num; - X0Y0_お下げ左_髪右.SizeYBase *= num; - X0Y0_お下げ左_髪根.SizeYBase *= num; - X0Y0_お下げ右_髪右.SizeYBase *= num; - X0Y0_お下げ右_髪左.SizeYBase *= num; - X0Y0_お下げ右_髪根.SizeYBase *= num; + X0Y0_お下げ左_髪左.SetSizeYBase(X0Y0_お下げ左_髪左.GetSizeYBase() * num); + X0Y0_お下げ左_髪右.SetSizeYBase(X0Y0_お下げ左_髪右.GetSizeYBase() * num); + X0Y0_お下げ左_髪根.SetSizeYBase(X0Y0_お下げ左_髪根.GetSizeYBase() * num); + X0Y0_お下げ右_髪右.SetSizeYBase(X0Y0_お下げ右_髪右.GetSizeYBase() * num); + X0Y0_お下げ右_髪左.SetSizeYBase(X0Y0_お下げ右_髪左.GetSizeYBase() * num); + X0Y0_お下げ右_髪根.SetSizeYBase(X0Y0_お下げ右_髪根.GetSizeYBase() * num); } } @@ -321,16 +321,16 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_お下げ左_髪縛1.SizeBase *= num; - X0Y0_お下げ左_髪縛2.SizeBase *= num; - X0Y0_お下げ左_髪左.SizeXBase *= num; - X0Y0_お下げ左_髪右.SizeXBase *= num; - X0Y0_お下げ左_髪根.SizeXBase *= num; - X0Y0_お下げ右_髪縛1.SizeBase *= num; - X0Y0_お下げ右_髪縛2.SizeBase *= num; - X0Y0_お下げ右_髪右.SizeXBase *= num; - X0Y0_お下げ右_髪左.SizeXBase *= num; - X0Y0_お下げ右_髪根.SizeXBase *= num; + X0Y0_お下げ左_髪縛1.SetSizeBase(X0Y0_お下げ左_髪縛1.GetSizeBase() * num); + X0Y0_お下げ左_髪縛2.SetSizeBase(X0Y0_お下げ左_髪縛2.GetSizeBase() * num); + X0Y0_お下げ左_髪左.SetSizeXBase(X0Y0_お下げ左_髪左.GetSizeXBase() * num); + X0Y0_お下げ左_髪右.SetSizeXBase(X0Y0_お下げ左_髪右.GetSizeXBase() * num); + X0Y0_お下げ左_髪根.SetSizeXBase(X0Y0_お下げ左_髪根.GetSizeXBase() * num); + X0Y0_お下げ右_髪縛1.SetSizeBase(X0Y0_お下げ右_髪縛1.GetSizeBase() * num); + X0Y0_お下げ右_髪縛2.SetSizeBase(X0Y0_お下げ右_髪縛2.GetSizeBase() * num); + X0Y0_お下げ右_髪右.SetSizeXBase(X0Y0_お下げ右_髪右.GetSizeXBase() * num); + X0Y0_お下げ右_髪左.SetSizeXBase(X0Y0_お下げ右_髪左.GetSizeXBase() * num); + X0Y0_お下げ右_髪根.SetSizeXBase(X0Y0_お下げ右_髪根.GetSizeXBase() * num); } } @@ -338,10 +338,10 @@ namespace SlaveMatrix { set { - X0Y0_お下げ左_髪左.AngleBase = 3.0 * value; - X0Y0_お下げ左_髪右.AngleBase = -3.0 * value; - X0Y0_お下げ右_髪右.AngleBase = -3.0 * value; - X0Y0_お下げ右_髪左.AngleBase = 3.0 * value; + X0Y0_お下げ左_髪左.SetAngleBase(3.0 * value); + X0Y0_お下げ左_髪右.SetAngleBase(-3.0 * value); + X0Y0_お下げ右_髪右.SetAngleBase(-3.0 * value); + X0Y0_お下げ右_髪左.SetAngleBase(3.0 * value); } } @@ -437,97 +437,97 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_お下げ左_髪根.AngleBase = num * 10.0; - X0Y0_お下げ右_髪根.AngleBase = num * -10.0; + X0Y0_お下げ左_髪根.SetAngleBase(num * 10.0); + X0Y0_お下げ右_髪根.SetAngleBase(num * -10.0); Body.JoinPAall(); } public void スライム() { - X0Y0_髪基.OP[右 ? 1 : 0].Outline = false; - X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false; - X0Y0_お下げ左_髪縛1.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_髪縛2.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_髪左.OP[右 ? 12 : 0].Outline = false; - X0Y0_お下げ左_髪左.OP[(!右) ? 1 : 11].Outline = false; - X0Y0_お下げ左_髪左.OP[右 ? 10 : 2].Outline = false; - X0Y0_お下げ左_髪左.OP[右 ? 9 : 3].Outline = false; - X0Y0_お下げ左_髪左.OP[右 ? 8 : 4].Outline = false; - X0Y0_お下げ左_髪左.OP[右 ? 7 : 5].Outline = false; - X0Y0_お下げ左_髪左.OP[右 ? 6 : 6].Outline = false; - X0Y0_お下げ左_髪左.OP[右 ? 5 : 7].Outline = false; - X0Y0_お下げ左_髪左.OP[右 ? 4 : 8].Outline = false; - X0Y0_お下げ左_髪左.OP[右 ? 3 : 9].Outline = false; - X0Y0_お下げ左_髪左.OP[右 ? 2 : 10].Outline = false; - X0Y0_お下げ左_髪左.OP[右 ? 1 : 11].Outline = false; - X0Y0_お下げ左_髪左.OP[(!右) ? 12 : 0].Outline = false; - X0Y0_お下げ左_髪右.OP[右 ? 12 : 0].Outline = false; - X0Y0_お下げ左_髪右.OP[(!右) ? 1 : 11].Outline = false; - X0Y0_お下げ左_髪右.OP[右 ? 10 : 2].Outline = false; - X0Y0_お下げ左_髪右.OP[右 ? 9 : 3].Outline = false; - X0Y0_お下げ左_髪右.OP[右 ? 8 : 4].Outline = false; - X0Y0_お下げ左_髪右.OP[右 ? 7 : 5].Outline = false; - X0Y0_お下げ左_髪右.OP[右 ? 6 : 6].Outline = false; - X0Y0_お下げ左_髪右.OP[右 ? 5 : 7].Outline = false; - X0Y0_お下げ左_髪右.OP[右 ? 4 : 8].Outline = false; - X0Y0_お下げ左_髪右.OP[右 ? 3 : 9].Outline = false; - X0Y0_お下げ左_髪右.OP[右 ? 2 : 10].Outline = false; - X0Y0_お下げ左_髪右.OP[右 ? 1 : 11].Outline = false; - X0Y0_お下げ左_髪右.OP[(!右) ? 12 : 0].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 12 : 0].Outline = false; - X0Y0_お下げ左_髪根.OP[(!右) ? 1 : 11].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 10 : 2].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 9 : 3].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 8 : 4].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 7 : 5].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 6 : 6].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 5 : 7].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 4 : 8].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 3 : 9].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 2 : 10].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 1 : 11].Outline = false; - X0Y0_お下げ左_髪根.OP[(!右) ? 12 : 0].Outline = false; - X0Y0_お下げ右_髪縛1.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_髪縛2.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_髪右.OP[右 ? 12 : 0].Outline = false; - X0Y0_お下げ右_髪右.OP[(!右) ? 1 : 11].Outline = false; - X0Y0_お下げ右_髪右.OP[右 ? 10 : 2].Outline = false; - X0Y0_お下げ右_髪右.OP[右 ? 9 : 3].Outline = false; - X0Y0_お下げ右_髪右.OP[右 ? 8 : 4].Outline = false; - X0Y0_お下げ右_髪右.OP[右 ? 7 : 5].Outline = false; - X0Y0_お下げ右_髪右.OP[右 ? 6 : 6].Outline = false; - X0Y0_お下げ右_髪右.OP[右 ? 5 : 7].Outline = false; - X0Y0_お下げ右_髪右.OP[右 ? 4 : 8].Outline = false; - X0Y0_お下げ右_髪右.OP[右 ? 3 : 9].Outline = false; - X0Y0_お下げ右_髪右.OP[右 ? 2 : 10].Outline = false; - X0Y0_お下げ右_髪右.OP[右 ? 1 : 11].Outline = false; - X0Y0_お下げ右_髪右.OP[(!右) ? 12 : 0].Outline = false; - X0Y0_お下げ右_髪左.OP[右 ? 12 : 0].Outline = false; - X0Y0_お下げ右_髪左.OP[(!右) ? 1 : 11].Outline = false; - X0Y0_お下げ右_髪左.OP[右 ? 10 : 2].Outline = false; - X0Y0_お下げ右_髪左.OP[右 ? 9 : 3].Outline = false; - X0Y0_お下げ右_髪左.OP[右 ? 8 : 4].Outline = false; - X0Y0_お下げ右_髪左.OP[右 ? 7 : 5].Outline = false; - X0Y0_お下げ右_髪左.OP[右 ? 6 : 6].Outline = false; - X0Y0_お下げ右_髪左.OP[右 ? 5 : 7].Outline = false; - X0Y0_お下げ右_髪左.OP[右 ? 4 : 8].Outline = false; - X0Y0_お下げ右_髪左.OP[右 ? 3 : 9].Outline = false; - X0Y0_お下げ右_髪左.OP[右 ? 2 : 10].Outline = false; - X0Y0_お下げ右_髪左.OP[右 ? 1 : 11].Outline = false; - X0Y0_お下げ右_髪左.OP[(!右) ? 12 : 0].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 12 : 0].Outline = false; - X0Y0_お下げ右_髪根.OP[(!右) ? 1 : 11].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 10 : 2].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 9 : 3].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 8 : 4].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 7 : 5].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 6 : 6].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 5 : 7].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 4 : 8].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 3 : 9].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 2 : 10].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 1 : 11].Outline = false; - X0Y0_お下げ右_髪根.OP[(!右) ? 12 : 0].Outline = false; + X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false; + X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false; + X0Y0_お下げ左_髪縛1.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_髪縛2.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[右 ? 12 : 0].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[(!右) ? 1 : 11].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[右 ? 10 : 2].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[右 ? 9 : 3].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[右 ? 8 : 4].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[右 ? 7 : 5].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[右 ? 6 : 6].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[右 ? 5 : 7].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[右 ? 4 : 8].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[右 ? 3 : 9].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[右 ? 2 : 10].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[右 ? 1 : 11].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[(!右) ? 12 : 0].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[右 ? 12 : 0].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[(!右) ? 1 : 11].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[右 ? 10 : 2].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[右 ? 9 : 3].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[右 ? 8 : 4].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[右 ? 7 : 5].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[右 ? 6 : 6].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[右 ? 5 : 7].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[右 ? 4 : 8].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[右 ? 3 : 9].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[右 ? 2 : 10].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[右 ? 1 : 11].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[(!右) ? 12 : 0].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 12 : 0].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[(!右) ? 1 : 11].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 10 : 2].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 9 : 3].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 8 : 4].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 7 : 5].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 6 : 6].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 5 : 7].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 4 : 8].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 3 : 9].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 2 : 10].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 1 : 11].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[(!右) ? 12 : 0].Outline = false; + X0Y0_お下げ右_髪縛1.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_髪縛2.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[右 ? 12 : 0].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[(!右) ? 1 : 11].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[右 ? 10 : 2].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[右 ? 9 : 3].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[右 ? 8 : 4].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[右 ? 7 : 5].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[右 ? 6 : 6].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[右 ? 5 : 7].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[右 ? 4 : 8].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[右 ? 3 : 9].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[右 ? 2 : 10].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[右 ? 1 : 11].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[(!右) ? 12 : 0].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[右 ? 12 : 0].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[(!右) ? 1 : 11].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[右 ? 10 : 2].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[右 ? 9 : 3].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[右 ? 8 : 4].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[右 ? 7 : 5].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[右 ? 6 : 6].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[右 ? 5 : 7].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[右 ? 4 : 8].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[右 ? 3 : 9].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[右 ? 2 : 10].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[右 ? 1 : 11].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[(!右) ? 12 : 0].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 12 : 0].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[(!右) ? 1 : 11].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 10 : 2].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 9 : 3].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 8 : 4].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 7 : 5].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 6 : 6].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 5 : 7].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 4 : 8].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 3 : 9].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 2 : 10].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 1 : 11].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[(!右) ? 12 : 0].Outline = false; } public override bool Is布(Par p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2カルD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2カルD.cs index 7cf6191..0402ede 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2カルD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2カルD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2ジグ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2ジグ.cs index f360a38..53adc92 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2ジグ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2ジグ.cs @@ -298,7 +298,7 @@ namespace SlaveMatrix set { double num = 0.7 + 0.3 * value; - X0Y0_髪基.SizeYBase *= num; + X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num); } } @@ -307,12 +307,12 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_お下げ左_髪左.SizeYBase *= num; - X0Y0_お下げ左_髪右.SizeYBase *= num; - X0Y0_お下げ左_髪根.SizeYBase *= num; - X0Y0_お下げ右_髪右.SizeYBase *= num; - X0Y0_お下げ右_髪左.SizeYBase *= num; - X0Y0_お下げ右_髪根.SizeYBase *= num; + X0Y0_お下げ左_髪左.SetSizeYBase(X0Y0_お下げ左_髪左.GetSizeYBase() * num); + X0Y0_お下げ左_髪右.SetSizeYBase(X0Y0_お下げ左_髪右.GetSizeYBase() * num); + X0Y0_お下げ左_髪根.SetSizeYBase(X0Y0_お下げ左_髪根.GetSizeYBase() * num); + X0Y0_お下げ右_髪右.SetSizeYBase(X0Y0_お下げ右_髪右.GetSizeYBase() * num); + X0Y0_お下げ右_髪左.SetSizeYBase(X0Y0_お下げ右_髪左.GetSizeYBase() * num); + X0Y0_お下げ右_髪根.SetSizeYBase(X0Y0_お下げ右_髪根.GetSizeYBase() * num); } } @@ -321,16 +321,16 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_お下げ左_髪縛1.SizeBase *= num; - X0Y0_お下げ左_髪縛2.SizeBase *= num; - X0Y0_お下げ左_髪左.SizeXBase *= num; - X0Y0_お下げ左_髪右.SizeXBase *= num; - X0Y0_お下げ左_髪根.SizeXBase *= num; - X0Y0_お下げ右_髪縛1.SizeBase *= num; - X0Y0_お下げ右_髪縛2.SizeBase *= num; - X0Y0_お下げ右_髪右.SizeXBase *= num; - X0Y0_お下げ右_髪左.SizeXBase *= num; - X0Y0_お下げ右_髪根.SizeXBase *= num; + X0Y0_お下げ左_髪縛1.SetSizeBase(X0Y0_お下げ左_髪縛1.GetSizeBase() * num); + X0Y0_お下げ左_髪縛2.SetSizeBase(X0Y0_お下げ左_髪縛2.GetSizeBase() * num); + X0Y0_お下げ左_髪左.SetSizeXBase(X0Y0_お下げ左_髪左.GetSizeXBase() * num); + X0Y0_お下げ左_髪右.SetSizeXBase(X0Y0_お下げ左_髪右.GetSizeXBase() * num); + X0Y0_お下げ左_髪根.SetSizeXBase(X0Y0_お下げ左_髪根.GetSizeXBase() * num); + X0Y0_お下げ右_髪縛1.SetSizeBase(X0Y0_お下げ右_髪縛1.GetSizeBase() * num); + X0Y0_お下げ右_髪縛2.SetSizeBase(X0Y0_お下げ右_髪縛2.GetSizeBase() * num); + X0Y0_お下げ右_髪右.SetSizeXBase(X0Y0_お下げ右_髪右.GetSizeXBase() * num); + X0Y0_お下げ右_髪左.SetSizeXBase(X0Y0_お下げ右_髪左.GetSizeXBase() * num); + X0Y0_お下げ右_髪根.SetSizeXBase(X0Y0_お下げ右_髪根.GetSizeXBase() * num); } } @@ -338,10 +338,10 @@ namespace SlaveMatrix { set { - X0Y0_お下げ左_髪左.AngleBase = 3.0 * value; - X0Y0_お下げ左_髪右.AngleBase = -3.0 * value; - X0Y0_お下げ右_髪右.AngleBase = -3.0 * value; - X0Y0_お下げ右_髪左.AngleBase = 3.0 * value; + X0Y0_お下げ左_髪左.SetAngleBase(3.0 * value); + X0Y0_お下げ左_髪右.SetAngleBase(-3.0 * value); + X0Y0_お下げ右_髪右.SetAngleBase(-3.0 * value); + X0Y0_お下げ右_髪左.SetAngleBase(3.0 * value); } } @@ -437,49 +437,49 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_お下げ左_髪根.AngleBase = num * 10.0; - X0Y0_お下げ右_髪根.AngleBase = num * -10.0; + X0Y0_お下げ左_髪根.SetAngleBase(num * 10.0); + X0Y0_お下げ右_髪根.SetAngleBase(num * -10.0); Body.JoinPAall(); } public void スライム() { - X0Y0_髪基.OP[右 ? 1 : 0].Outline = false; - X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false; - X0Y0_お下げ左_髪縛1.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_髪縛2.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_髪左.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪左.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪左.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_髪左.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪左.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪右.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪右.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪右.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_髪右.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪右.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪根.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪根.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪縛1.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_髪縛2.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_髪右.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪右.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪右.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_髪右.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪右.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪左.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪左.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪左.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_髪左.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪左.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪根.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪根.OP[(!右) ? 4 : 0].Outline = false; + X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false; + X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false; + X0Y0_お下げ左_髪縛1.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_髪縛2.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪縛1.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_髪縛2.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[(!右) ? 4 : 0].Outline = false; } public override bool Is布(Par p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2ジグD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2ジグD.cs index ea0e993..103b7e8 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2ジグD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2ジグD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2ハネ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2ハネ.cs index d98b1ca..ab19329 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2ハネ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2ハネ.cs @@ -298,7 +298,7 @@ namespace SlaveMatrix set { double num = 0.7 + 0.3 * value; - X0Y0_髪基.SizeYBase *= num; + X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num); } } @@ -307,12 +307,12 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_お下げ左_髪右.SizeYBase *= num; - X0Y0_お下げ左_髪左.SizeYBase *= num; - X0Y0_お下げ左_髪根.SizeYBase *= num; - X0Y0_お下げ右_髪左.SizeYBase *= num; - X0Y0_お下げ右_髪右.SizeYBase *= num; - X0Y0_お下げ右_髪根.SizeYBase *= num; + X0Y0_お下げ左_髪右.SetSizeYBase(X0Y0_お下げ左_髪右.GetSizeYBase() * num); + X0Y0_お下げ左_髪左.SetSizeYBase(X0Y0_お下げ左_髪左.GetSizeYBase() * num); + X0Y0_お下げ左_髪根.SetSizeYBase(X0Y0_お下げ左_髪根.GetSizeYBase() * num); + X0Y0_お下げ右_髪左.SetSizeYBase(X0Y0_お下げ右_髪左.GetSizeYBase() * num); + X0Y0_お下げ右_髪右.SetSizeYBase(X0Y0_お下げ右_髪右.GetSizeYBase() * num); + X0Y0_お下げ右_髪根.SetSizeYBase(X0Y0_お下げ右_髪根.GetSizeYBase() * num); } } @@ -321,16 +321,16 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_お下げ左_髪縛1.SizeBase *= num; - X0Y0_お下げ左_髪縛2.SizeBase *= num; - X0Y0_お下げ左_髪左.SizeXBase *= num; - X0Y0_お下げ左_髪右.SizeXBase *= num; - X0Y0_お下げ左_髪根.SizeXBase *= num; - X0Y0_お下げ右_髪縛1.SizeBase *= num; - X0Y0_お下げ右_髪縛2.SizeBase *= num; - X0Y0_お下げ右_髪右.SizeXBase *= num; - X0Y0_お下げ右_髪左.SizeXBase *= num; - X0Y0_お下げ右_髪根.SizeXBase *= num; + X0Y0_お下げ左_髪縛1.SetSizeBase(X0Y0_お下げ左_髪縛1.GetSizeBase() * num); + X0Y0_お下げ左_髪縛2.SetSizeBase(X0Y0_お下げ左_髪縛2.GetSizeBase() * num); + X0Y0_お下げ左_髪左.SetSizeXBase(X0Y0_お下げ左_髪左.GetSizeXBase() * num); + X0Y0_お下げ左_髪右.SetSizeXBase(X0Y0_お下げ左_髪右.GetSizeXBase() * num); + X0Y0_お下げ左_髪根.SetSizeXBase(X0Y0_お下げ左_髪根.GetSizeXBase() * num); + X0Y0_お下げ右_髪縛1.SetSizeBase(X0Y0_お下げ右_髪縛1.GetSizeBase() * num); + X0Y0_お下げ右_髪縛2.SetSizeBase(X0Y0_お下げ右_髪縛2.GetSizeBase() * num); + X0Y0_お下げ右_髪右.SetSizeXBase(X0Y0_お下げ右_髪右.GetSizeXBase() * num); + X0Y0_お下げ右_髪左.SetSizeXBase(X0Y0_お下げ右_髪左.GetSizeXBase() * num); + X0Y0_お下げ右_髪根.SetSizeXBase(X0Y0_お下げ右_髪根.GetSizeXBase() * num); } } @@ -338,10 +338,10 @@ namespace SlaveMatrix { set { - X0Y0_お下げ左_髪左.AngleBase = 3.0 * value; - X0Y0_お下げ左_髪右.AngleBase = -3.0 * value; - X0Y0_お下げ右_髪右.AngleBase = -3.0 * value; - X0Y0_お下げ右_髪左.AngleBase = 3.0 * value; + X0Y0_お下げ左_髪左.SetAngleBase(3.0 * value); + X0Y0_お下げ左_髪右.SetAngleBase(-3.0 * value); + X0Y0_お下げ右_髪右.SetAngleBase(-3.0 * value); + X0Y0_お下げ右_髪左.SetAngleBase(3.0 * value); } } @@ -437,49 +437,49 @@ namespace SlaveMatrix public override void SetAngle0() { _ = 右; - X0Y0_お下げ左_髪根.AngleBase = 10.0; - X0Y0_お下げ右_髪根.AngleBase = -10.0; + X0Y0_お下げ左_髪根.SetAngleBase(10.0); + X0Y0_お下げ右_髪根.SetAngleBase(-10.0); Body.JoinPAall(); } public void スライム() { - X0Y0_髪基.OP[右 ? 1 : 0].Outline = false; - X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false; - X0Y0_お下げ左_髪縛1.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_髪縛2.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_髪右.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪右.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪右.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_髪右.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪右.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪左.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪左.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪左.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_髪左.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪左.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪根.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪根.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪縛1.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_髪縛2.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_髪左.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪左.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪左.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_髪左.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪左.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪右.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪右.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪右.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_髪右.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪右.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪根.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪根.OP[(!右) ? 4 : 0].Outline = false; + X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false; + X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false; + X0Y0_お下げ左_髪縛1.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_髪縛2.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪縛1.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_髪縛2.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[(!右) ? 4 : 0].Outline = false; } public override bool Is布(Par p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2ハネD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2ハネD.cs index 9c204f7..8575827 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2ハネD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2ハネD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2パツ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2パツ.cs index 4d8c4a0..9e90903 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2パツ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2パツ.cs @@ -298,7 +298,7 @@ namespace SlaveMatrix set { double num = 0.7 + 0.3 * value; - X0Y0_髪基.SizeYBase *= num; + X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num); } } @@ -307,12 +307,12 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_お下げ左_髪左.SizeYBase *= num; - X0Y0_お下げ左_髪右.SizeYBase *= num; - X0Y0_お下げ左_髪根.SizeYBase *= num; - X0Y0_お下げ右_髪右.SizeYBase *= num; - X0Y0_お下げ右_髪左.SizeYBase *= num; - X0Y0_お下げ右_髪根.SizeYBase *= num; + X0Y0_お下げ左_髪左.SetSizeYBase(X0Y0_お下げ左_髪左.GetSizeYBase() * num); + X0Y0_お下げ左_髪右.SetSizeYBase(X0Y0_お下げ左_髪右.GetSizeYBase() * num); + X0Y0_お下げ左_髪根.SetSizeYBase(X0Y0_お下げ左_髪根.GetSizeYBase() * num); + X0Y0_お下げ右_髪右.SetSizeYBase(X0Y0_お下げ右_髪右.GetSizeYBase() * num); + X0Y0_お下げ右_髪左.SetSizeYBase(X0Y0_お下げ右_髪左.GetSizeYBase() * num); + X0Y0_お下げ右_髪根.SetSizeYBase(X0Y0_お下げ右_髪根.GetSizeYBase() * num); } } @@ -321,16 +321,16 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_お下げ左_髪縛1.SizeBase *= num; - X0Y0_お下げ左_髪縛2.SizeBase *= num; - X0Y0_お下げ左_髪左.SizeXBase *= num; - X0Y0_お下げ左_髪右.SizeXBase *= num; - X0Y0_お下げ左_髪根.SizeXBase *= num; - X0Y0_お下げ右_髪縛1.SizeBase *= num; - X0Y0_お下げ右_髪縛2.SizeBase *= num; - X0Y0_お下げ右_髪右.SizeXBase *= num; - X0Y0_お下げ右_髪左.SizeXBase *= num; - X0Y0_お下げ右_髪根.SizeXBase *= num; + X0Y0_お下げ左_髪縛1.SetSizeBase(X0Y0_お下げ左_髪縛1.GetSizeBase() * num); + X0Y0_お下げ左_髪縛2.SetSizeBase(X0Y0_お下げ左_髪縛2.GetSizeBase() * num); + X0Y0_お下げ左_髪左.SetSizeXBase(X0Y0_お下げ左_髪左.GetSizeXBase() * num); + X0Y0_お下げ左_髪右.SetSizeXBase(X0Y0_お下げ左_髪右.GetSizeXBase() * num); + X0Y0_お下げ左_髪根.SetSizeXBase(X0Y0_お下げ左_髪根.GetSizeXBase() * num); + X0Y0_お下げ右_髪縛1.SetSizeBase(X0Y0_お下げ右_髪縛1.GetSizeBase() * num); + X0Y0_お下げ右_髪縛2.SetSizeBase(X0Y0_お下げ右_髪縛2.GetSizeBase() * num); + X0Y0_お下げ右_髪右.SetSizeXBase(X0Y0_お下げ右_髪右.GetSizeXBase() * num); + X0Y0_お下げ右_髪左.SetSizeXBase(X0Y0_お下げ右_髪左.GetSizeXBase() * num); + X0Y0_お下げ右_髪根.SetSizeXBase(X0Y0_お下げ右_髪根.GetSizeXBase() * num); } } @@ -338,10 +338,10 @@ namespace SlaveMatrix { set { - X0Y0_お下げ左_髪左.AngleBase = 3.0 * value; - X0Y0_お下げ左_髪右.AngleBase = -3.0 * value; - X0Y0_お下げ右_髪右.AngleBase = -3.0 * value; - X0Y0_お下げ右_髪左.AngleBase = 3.0 * value; + X0Y0_お下げ左_髪左.SetAngleBase(3.0 * value); + X0Y0_お下げ左_髪右.SetAngleBase(-3.0 * value); + X0Y0_お下げ右_髪右.SetAngleBase(-3.0 * value); + X0Y0_お下げ右_髪左.SetAngleBase(3.0 * value); } } @@ -437,43 +437,43 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_お下げ左_髪根.AngleBase = num * 10.0; - X0Y0_お下げ右_髪根.AngleBase = num * -10.0; + X0Y0_お下げ左_髪根.SetAngleBase(num * 10.0); + X0Y0_お下げ右_髪根.SetAngleBase(num * -10.0); Body.JoinPAall(); } public void スライム() { - X0Y0_髪基.OP[右 ? 1 : 0].Outline = false; - X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false; - X0Y0_お下げ左_髪縛1.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_髪縛2.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_髪左.OP[右 ? 3 : 0].Outline = false; - X0Y0_お下げ左_髪左.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_お下げ左_髪左.OP[右 ? 1 : 2].Outline = false; - X0Y0_お下げ左_髪左.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_お下げ左_髪右.OP[右 ? 3 : 0].Outline = false; - X0Y0_お下げ左_髪右.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_お下げ左_髪右.OP[右 ? 1 : 2].Outline = false; - X0Y0_お下げ左_髪右.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 3 : 0].Outline = false; - X0Y0_お下げ左_髪根.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 1 : 2].Outline = false; - X0Y0_お下げ左_髪根.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_お下げ右_髪縛1.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_髪縛2.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_髪右.OP[右 ? 3 : 0].Outline = false; - X0Y0_お下げ右_髪右.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_お下げ右_髪右.OP[右 ? 1 : 2].Outline = false; - X0Y0_お下げ右_髪右.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_お下げ右_髪左.OP[右 ? 3 : 0].Outline = false; - X0Y0_お下げ右_髪左.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_お下げ右_髪左.OP[右 ? 1 : 2].Outline = false; - X0Y0_お下げ右_髪左.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 3 : 0].Outline = false; - X0Y0_お下げ右_髪根.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 1 : 2].Outline = false; - X0Y0_お下げ右_髪根.OP[(!右) ? 3 : 0].Outline = false; + X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false; + X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false; + X0Y0_お下げ左_髪縛1.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_髪縛2.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_お下げ左_髪左.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_お下げ左_髪右.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_お下げ右_髪縛1.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_髪縛2.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_お下げ右_髪右.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_お下げ右_髪左.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[(!右) ? 3 : 0].Outline = false; } public override bool Is布(Par p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2パツD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2パツD.cs index 4dde3af..51a073f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2パツD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2パツD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1カル.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1カル.cs index 2993cdf..5b473e1 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1カル.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1カル.cs @@ -529,7 +529,7 @@ namespace SlaveMatrix set { double num = 0.7 + 0.3 * value; - X0Y0_髪基.SizeYBase *= num; + X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num); } } @@ -538,25 +538,25 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_お下げ_編節1_髪節.SizeYBase *= num; - X0Y0_お下げ_編節1_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節2_髪節.SizeYBase *= num; - X0Y0_お下げ_編節2_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節3_髪節.SizeYBase *= num; - X0Y0_お下げ_編節3_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節4_髪節.SizeYBase *= num; - X0Y0_お下げ_編節4_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節5_髪節.SizeYBase *= num; - X0Y0_お下げ_編節5_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節6_髪節.SizeYBase *= num; - X0Y0_お下げ_編節6_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節7_髪節.SizeYBase *= num; - X0Y0_お下げ_編節7_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節8_髪節.SizeYBase *= num; - X0Y0_お下げ_編節8_髪編目.SizeYBase *= num; - X0Y0_お下げ_髪左1.SizeYBase *= num; - X0Y0_お下げ_髪右1.SizeYBase *= num; - X0Y0_お下げ_髪根.SizeYBase *= num; + X0Y0_お下げ_編節1_髪節.SetSizeYBase(X0Y0_お下げ_編節1_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節1_髪編目.SetSizeYBase(X0Y0_お下げ_編節1_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節2_髪節.SetSizeYBase(X0Y0_お下げ_編節2_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節2_髪編目.SetSizeYBase(X0Y0_お下げ_編節2_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節3_髪節.SetSizeYBase(X0Y0_お下げ_編節3_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節3_髪編目.SetSizeYBase(X0Y0_お下げ_編節3_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節4_髪節.SetSizeYBase(X0Y0_お下げ_編節4_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節4_髪編目.SetSizeYBase(X0Y0_お下げ_編節4_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節5_髪節.SetSizeYBase(X0Y0_お下げ_編節5_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節5_髪編目.SetSizeYBase(X0Y0_お下げ_編節5_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節6_髪節.SetSizeYBase(X0Y0_お下げ_編節6_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節6_髪編目.SetSizeYBase(X0Y0_お下げ_編節6_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節7_髪節.SetSizeYBase(X0Y0_お下げ_編節7_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節7_髪編目.SetSizeYBase(X0Y0_お下げ_編節7_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節8_髪節.SetSizeYBase(X0Y0_お下げ_編節8_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節8_髪編目.SetSizeYBase(X0Y0_お下げ_編節8_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_髪左1.SetSizeYBase(X0Y0_お下げ_髪左1.GetSizeYBase() * num); + X0Y0_お下げ_髪右1.SetSizeYBase(X0Y0_お下げ_髪右1.GetSizeYBase() * num); + X0Y0_お下げ_髪根.SetSizeYBase(X0Y0_お下げ_髪根.GetSizeYBase() * num); } } @@ -565,27 +565,27 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_お下げ_編節1_髪節.SizeXBase *= num; - X0Y0_お下げ_編節1_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節2_髪節.SizeXBase *= num; - X0Y0_お下げ_編節2_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節3_髪節.SizeXBase *= num; - X0Y0_お下げ_編節3_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節4_髪節.SizeXBase *= num; - X0Y0_お下げ_編節4_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節5_髪節.SizeXBase *= num; - X0Y0_お下げ_編節5_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節6_髪節.SizeXBase *= num; - X0Y0_お下げ_編節6_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節7_髪節.SizeXBase *= num; - X0Y0_お下げ_編節7_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節8_髪節.SizeXBase *= num; - X0Y0_お下げ_編節8_髪編目.SizeXBase *= num; - X0Y0_お下げ_髪縛1.SizeBase *= num; - X0Y0_お下げ_髪縛2.SizeBase *= num; - X0Y0_お下げ_髪左1.SizeXBase *= num; - X0Y0_お下げ_髪右1.SizeXBase *= num; - X0Y0_お下げ_髪根.SizeXBase *= num; + X0Y0_お下げ_編節1_髪節.SetSizeXBase(X0Y0_お下げ_編節1_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節1_髪編目.SetSizeXBase(X0Y0_お下げ_編節1_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節2_髪節.SetSizeXBase(X0Y0_お下げ_編節2_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節2_髪編目.SetSizeXBase(X0Y0_お下げ_編節2_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節3_髪節.SetSizeXBase(X0Y0_お下げ_編節3_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節3_髪編目.SetSizeXBase(X0Y0_お下げ_編節3_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節4_髪節.SetSizeXBase(X0Y0_お下げ_編節4_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節4_髪編目.SetSizeXBase(X0Y0_お下げ_編節4_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節5_髪節.SetSizeXBase(X0Y0_お下げ_編節5_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節5_髪編目.SetSizeXBase(X0Y0_お下げ_編節5_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節6_髪節.SetSizeXBase(X0Y0_お下げ_編節6_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節6_髪編目.SetSizeXBase(X0Y0_お下げ_編節6_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節7_髪節.SetSizeXBase(X0Y0_お下げ_編節7_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節7_髪編目.SetSizeXBase(X0Y0_お下げ_編節7_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節8_髪節.SetSizeXBase(X0Y0_お下げ_編節8_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節8_髪編目.SetSizeXBase(X0Y0_お下げ_編節8_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_髪縛1.SetSizeBase(X0Y0_お下げ_髪縛1.GetSizeBase() * num); + X0Y0_お下げ_髪縛2.SetSizeBase(X0Y0_お下げ_髪縛2.GetSizeBase() * num); + X0Y0_お下げ_髪左1.SetSizeXBase(X0Y0_お下げ_髪左1.GetSizeXBase() * num); + X0Y0_お下げ_髪右1.SetSizeXBase(X0Y0_お下げ_髪右1.GetSizeXBase() * num); + X0Y0_お下げ_髪根.SetSizeXBase(X0Y0_お下げ_髪根.GetSizeXBase() * num); } } @@ -593,8 +593,8 @@ namespace SlaveMatrix { set { - X0Y0_お下げ_髪左1.AngleBase = 3.0 * value; - X0Y0_お下げ_髪右1.AngleBase = -3.0 * value; + X0Y0_お下げ_髪左1.SetAngleBase(3.0 * value); + X0Y0_お下げ_髪右1.SetAngleBase(-3.0 * value); } } @@ -731,86 +731,86 @@ namespace SlaveMatrix { double num = (右 ? (-1.0) : 1.0); double maxAngle = 25.0; - X0Y0_お下げ_編節1_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_編節2_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_編節3_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_編節4_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_編節5_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_編節6_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_編節7_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_髪根.AngleBase = num * maxAngle.GetRanAngle(); + X0Y0_お下げ_編節1_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_編節2_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_編節3_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_編節4_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_編節5_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_編節6_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_編節7_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_髪根.SetAngleBase(num * maxAngle.GetRanAngle()); Body.JoinPAall(); } public void スライム() { - X0Y0_髪基.OP[右 ? 1 : 0].Outline = false; - X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false; - X0Y0_お下げ_編節1_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節1_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節1_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節1_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節1_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節1_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節2_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節2_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節2_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節2_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節2_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節2_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節3_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節3_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節3_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節3_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節3_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節3_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節4_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節4_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節4_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節4_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節4_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節4_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節5_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節5_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節5_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節5_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節5_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節5_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節6_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節6_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節6_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節6_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節6_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節6_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節7_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節7_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節7_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節7_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節7_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節7_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節8_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節8_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節8_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節8_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節8_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節8_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_髪縛1.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_髪縛2.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_髪左1.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_髪左1.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_髪右1.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_髪右1.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_髪根.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_髪根.OP[(!右) ? 4 : 0].Outline = false; + X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false; + X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false; + X0Y0_お下げ_編節1_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節1_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節1_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節1_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節1_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節1_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節2_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節2_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節2_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節2_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節2_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節2_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節3_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節3_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節3_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節3_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節3_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節3_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節4_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節4_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節4_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節4_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節4_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節4_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節5_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節5_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節5_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節5_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節5_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節5_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節6_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節6_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節6_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節6_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節6_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節6_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節7_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節7_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節7_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節7_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節7_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節7_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節8_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節8_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節8_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節8_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節8_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節8_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_髪縛1.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_髪縛2.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_髪根.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_髪根.GetOP()[(!右) ? 4 : 0].Outline = false; } public override bool Is布(Par p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1カルD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1カルD.cs index 4d895c4..cc185e8 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1カルD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1カルD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1ジグ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1ジグ.cs index 1579dc0..8681070 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1ジグ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1ジグ.cs @@ -529,7 +529,7 @@ namespace SlaveMatrix set { double num = 0.7 + 0.3 * value; - X0Y0_髪基.SizeYBase *= num; + X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num); } } @@ -538,25 +538,25 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_お下げ_編節1_髪節.SizeYBase *= num; - X0Y0_お下げ_編節1_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節2_髪節.SizeYBase *= num; - X0Y0_お下げ_編節2_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節3_髪節.SizeYBase *= num; - X0Y0_お下げ_編節3_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節4_髪節.SizeYBase *= num; - X0Y0_お下げ_編節4_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節5_髪節.SizeYBase *= num; - X0Y0_お下げ_編節5_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節6_髪節.SizeYBase *= num; - X0Y0_お下げ_編節6_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節7_髪節.SizeYBase *= num; - X0Y0_お下げ_編節7_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節8_髪節.SizeYBase *= num; - X0Y0_お下げ_編節8_髪編目.SizeYBase *= num; - X0Y0_お下げ_髪左1.SizeYBase *= num; - X0Y0_お下げ_髪右1.SizeYBase *= num; - X0Y0_お下げ_髪根.SizeYBase *= num; + X0Y0_お下げ_編節1_髪節.SetSizeYBase(X0Y0_お下げ_編節1_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節1_髪編目.SetSizeYBase(X0Y0_お下げ_編節1_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節2_髪節.SetSizeYBase(X0Y0_お下げ_編節2_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節2_髪編目.SetSizeYBase(X0Y0_お下げ_編節2_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節3_髪節.SetSizeYBase(X0Y0_お下げ_編節3_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節3_髪編目.SetSizeYBase(X0Y0_お下げ_編節3_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節4_髪節.SetSizeYBase(X0Y0_お下げ_編節4_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節4_髪編目.SetSizeYBase(X0Y0_お下げ_編節4_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節5_髪節.SetSizeYBase(X0Y0_お下げ_編節5_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節5_髪編目.SetSizeYBase(X0Y0_お下げ_編節5_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節6_髪節.SetSizeYBase(X0Y0_お下げ_編節6_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節6_髪編目.SetSizeYBase(X0Y0_お下げ_編節6_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節7_髪節.SetSizeYBase(X0Y0_お下げ_編節7_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節7_髪編目.SetSizeYBase(X0Y0_お下げ_編節7_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節8_髪節.SetSizeYBase(X0Y0_お下げ_編節8_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節8_髪編目.SetSizeYBase(X0Y0_お下げ_編節8_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_髪左1.SetSizeYBase(X0Y0_お下げ_髪左1.GetSizeYBase() * num); + X0Y0_お下げ_髪右1.SetSizeYBase(X0Y0_お下げ_髪右1.GetSizeYBase() * num); + X0Y0_お下げ_髪根.SetSizeYBase(X0Y0_お下げ_髪根.GetSizeYBase() * num); } } @@ -565,27 +565,27 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_お下げ_編節1_髪節.SizeXBase *= num; - X0Y0_お下げ_編節1_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節2_髪節.SizeXBase *= num; - X0Y0_お下げ_編節2_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節3_髪節.SizeXBase *= num; - X0Y0_お下げ_編節3_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節4_髪節.SizeXBase *= num; - X0Y0_お下げ_編節4_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節5_髪節.SizeXBase *= num; - X0Y0_お下げ_編節5_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節6_髪節.SizeXBase *= num; - X0Y0_お下げ_編節6_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節7_髪節.SizeXBase *= num; - X0Y0_お下げ_編節7_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節8_髪節.SizeXBase *= num; - X0Y0_お下げ_編節8_髪編目.SizeXBase *= num; - X0Y0_お下げ_髪縛1.SizeBase *= num; - X0Y0_お下げ_髪縛2.SizeBase *= num; - X0Y0_お下げ_髪左1.SizeXBase *= num; - X0Y0_お下げ_髪右1.SizeXBase *= num; - X0Y0_お下げ_髪根.SizeXBase *= num; + X0Y0_お下げ_編節1_髪節.SetSizeXBase(X0Y0_お下げ_編節1_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節1_髪編目.SetSizeXBase(X0Y0_お下げ_編節1_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節2_髪節.SetSizeXBase(X0Y0_お下げ_編節2_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節2_髪編目.SetSizeXBase(X0Y0_お下げ_編節2_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節3_髪節.SetSizeXBase(X0Y0_お下げ_編節3_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節3_髪編目.SetSizeXBase(X0Y0_お下げ_編節3_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節4_髪節.SetSizeXBase(X0Y0_お下げ_編節4_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節4_髪編目.SetSizeXBase(X0Y0_お下げ_編節4_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節5_髪節.SetSizeXBase(X0Y0_お下げ_編節5_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節5_髪編目.SetSizeXBase(X0Y0_お下げ_編節5_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節6_髪節.SetSizeXBase(X0Y0_お下げ_編節6_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節6_髪編目.SetSizeXBase(X0Y0_お下げ_編節6_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節7_髪節.SetSizeXBase(X0Y0_お下げ_編節7_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節7_髪編目.SetSizeXBase(X0Y0_お下げ_編節7_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節8_髪節.SetSizeXBase(X0Y0_お下げ_編節8_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節8_髪編目.SetSizeXBase(X0Y0_お下げ_編節8_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_髪縛1.SetSizeBase(X0Y0_お下げ_髪縛1.GetSizeBase() * num); + X0Y0_お下げ_髪縛2.SetSizeBase(X0Y0_お下げ_髪縛2.GetSizeBase() * num); + X0Y0_お下げ_髪左1.SetSizeXBase(X0Y0_お下げ_髪左1.GetSizeXBase() * num); + X0Y0_お下げ_髪右1.SetSizeXBase(X0Y0_お下げ_髪右1.GetSizeXBase() * num); + X0Y0_お下げ_髪根.SetSizeXBase(X0Y0_お下げ_髪根.GetSizeXBase() * num); } } @@ -593,8 +593,8 @@ namespace SlaveMatrix { set { - X0Y0_お下げ_髪左1.AngleBase = 3.0 * value; - X0Y0_お下げ_髪右1.AngleBase = -3.0 * value; + X0Y0_お下げ_髪左1.SetAngleBase(3.0 * value); + X0Y0_お下げ_髪右1.SetAngleBase(-3.0 * value); } } @@ -731,86 +731,86 @@ namespace SlaveMatrix { double num = (右 ? (-1.0) : 1.0); double maxAngle = 25.0; - X0Y0_お下げ_編節1_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_編節2_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_編節3_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_編節4_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_編節5_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_編節6_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_編節7_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_髪根.AngleBase = num * maxAngle.GetRanAngle(); + X0Y0_お下げ_編節1_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_編節2_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_編節3_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_編節4_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_編節5_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_編節6_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_編節7_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_髪根.SetAngleBase(num * maxAngle.GetRanAngle()); Body.JoinPAall(); } public void スライム() { - X0Y0_髪基.OP[右 ? 1 : 0].Outline = false; - X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false; - X0Y0_お下げ_編節1_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節1_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節1_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節1_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節1_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節1_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節2_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節2_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節2_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節2_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節2_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節2_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節3_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節3_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節3_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節3_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節3_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節3_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節4_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節4_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節4_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節4_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節4_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節4_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節5_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節5_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節5_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節5_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節5_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節5_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節6_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節6_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節6_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節6_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節6_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節6_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節7_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節7_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節7_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節7_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節7_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節7_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節8_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節8_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節8_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節8_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節8_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節8_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_髪縛1.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_髪縛2.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_髪左1.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_髪左1.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_髪右1.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_髪右1.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_髪根.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_髪根.OP[(!右) ? 4 : 0].Outline = false; + X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false; + X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false; + X0Y0_お下げ_編節1_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節1_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節1_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節1_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節1_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節1_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節2_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節2_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節2_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節2_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節2_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節2_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節3_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節3_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節3_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節3_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節3_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節3_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節4_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節4_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節4_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節4_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節4_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節4_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節5_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節5_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節5_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節5_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節5_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節5_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節6_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節6_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節6_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節6_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節6_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節6_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節7_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節7_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節7_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節7_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節7_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節7_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節8_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節8_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節8_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節8_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節8_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節8_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_髪縛1.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_髪縛2.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_髪根.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_髪根.GetOP()[(!右) ? 4 : 0].Outline = false; } public override bool Is布(Par p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1ジグD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1ジグD.cs index c2cd700..e25c616 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1ジグD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1ジグD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1ハネ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1ハネ.cs index 0c212f6..42db224 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1ハネ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1ハネ.cs @@ -529,7 +529,7 @@ namespace SlaveMatrix set { double num = 0.7 + 0.3 * value; - X0Y0_髪基.SizeYBase *= num; + X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num); } } @@ -538,25 +538,25 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_お下げ_編節1_髪節.SizeYBase *= num; - X0Y0_お下げ_編節1_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節2_髪節.SizeYBase *= num; - X0Y0_お下げ_編節2_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節3_髪節.SizeYBase *= num; - X0Y0_お下げ_編節3_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節4_髪節.SizeYBase *= num; - X0Y0_お下げ_編節4_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節5_髪節.SizeYBase *= num; - X0Y0_お下げ_編節5_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節6_髪節.SizeYBase *= num; - X0Y0_お下げ_編節6_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節7_髪節.SizeYBase *= num; - X0Y0_お下げ_編節7_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節8_髪節.SizeYBase *= num; - X0Y0_お下げ_編節8_髪編目.SizeYBase *= num; - X0Y0_お下げ_髪左1.SizeYBase *= num; - X0Y0_お下げ_髪右1.SizeYBase *= num; - X0Y0_お下げ_髪根.SizeYBase *= num; + X0Y0_お下げ_編節1_髪節.SetSizeYBase(X0Y0_お下げ_編節1_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節1_髪編目.SetSizeYBase(X0Y0_お下げ_編節1_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節2_髪節.SetSizeYBase(X0Y0_お下げ_編節2_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節2_髪編目.SetSizeYBase(X0Y0_お下げ_編節2_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節3_髪節.SetSizeYBase(X0Y0_お下げ_編節3_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節3_髪編目.SetSizeYBase(X0Y0_お下げ_編節3_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節4_髪節.SetSizeYBase(X0Y0_お下げ_編節4_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節4_髪編目.SetSizeYBase(X0Y0_お下げ_編節4_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節5_髪節.SetSizeYBase(X0Y0_お下げ_編節5_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節5_髪編目.SetSizeYBase(X0Y0_お下げ_編節5_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節6_髪節.SetSizeYBase(X0Y0_お下げ_編節6_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節6_髪編目.SetSizeYBase(X0Y0_お下げ_編節6_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節7_髪節.SetSizeYBase(X0Y0_お下げ_編節7_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節7_髪編目.SetSizeYBase(X0Y0_お下げ_編節7_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節8_髪節.SetSizeYBase(X0Y0_お下げ_編節8_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節8_髪編目.SetSizeYBase(X0Y0_お下げ_編節8_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_髪左1.SetSizeYBase(X0Y0_お下げ_髪左1.GetSizeYBase() * num); + X0Y0_お下げ_髪右1.SetSizeYBase(X0Y0_お下げ_髪右1.GetSizeYBase() * num); + X0Y0_お下げ_髪根.SetSizeYBase(X0Y0_お下げ_髪根.GetSizeYBase() * num); } } @@ -565,27 +565,27 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_お下げ_編節1_髪節.SizeXBase *= num; - X0Y0_お下げ_編節1_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節2_髪節.SizeXBase *= num; - X0Y0_お下げ_編節2_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節3_髪節.SizeXBase *= num; - X0Y0_お下げ_編節3_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節4_髪節.SizeXBase *= num; - X0Y0_お下げ_編節4_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節5_髪節.SizeXBase *= num; - X0Y0_お下げ_編節5_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節6_髪節.SizeXBase *= num; - X0Y0_お下げ_編節6_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節7_髪節.SizeXBase *= num; - X0Y0_お下げ_編節7_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節8_髪節.SizeXBase *= num; - X0Y0_お下げ_編節8_髪編目.SizeXBase *= num; - X0Y0_お下げ_髪縛1.SizeBase *= num; - X0Y0_お下げ_髪縛2.SizeBase *= num; - X0Y0_お下げ_髪左1.SizeXBase *= num; - X0Y0_お下げ_髪右1.SizeXBase *= num; - X0Y0_お下げ_髪根.SizeXBase *= num; + X0Y0_お下げ_編節1_髪節.SetSizeXBase(X0Y0_お下げ_編節1_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節1_髪編目.SetSizeXBase(X0Y0_お下げ_編節1_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節2_髪節.SetSizeXBase(X0Y0_お下げ_編節2_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節2_髪編目.SetSizeXBase(X0Y0_お下げ_編節2_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節3_髪節.SetSizeXBase(X0Y0_お下げ_編節3_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節3_髪編目.SetSizeXBase(X0Y0_お下げ_編節3_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節4_髪節.SetSizeXBase(X0Y0_お下げ_編節4_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節4_髪編目.SetSizeXBase(X0Y0_お下げ_編節4_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節5_髪節.SetSizeXBase(X0Y0_お下げ_編節5_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節5_髪編目.SetSizeXBase(X0Y0_お下げ_編節5_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節6_髪節.SetSizeXBase(X0Y0_お下げ_編節6_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節6_髪編目.SetSizeXBase(X0Y0_お下げ_編節6_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節7_髪節.SetSizeXBase(X0Y0_お下げ_編節7_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節7_髪編目.SetSizeXBase(X0Y0_お下げ_編節7_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節8_髪節.SetSizeXBase(X0Y0_お下げ_編節8_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節8_髪編目.SetSizeXBase(X0Y0_お下げ_編節8_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_髪縛1.SetSizeBase(X0Y0_お下げ_髪縛1.GetSizeBase() * num); + X0Y0_お下げ_髪縛2.SetSizeBase(X0Y0_お下げ_髪縛2.GetSizeBase() * num); + X0Y0_お下げ_髪左1.SetSizeXBase(X0Y0_お下げ_髪左1.GetSizeXBase() * num); + X0Y0_お下げ_髪右1.SetSizeXBase(X0Y0_お下げ_髪右1.GetSizeXBase() * num); + X0Y0_お下げ_髪根.SetSizeXBase(X0Y0_お下げ_髪根.GetSizeXBase() * num); } } @@ -593,8 +593,8 @@ namespace SlaveMatrix { set { - X0Y0_お下げ_髪左1.AngleBase = 3.0 * value; - X0Y0_お下げ_髪右1.AngleBase = -3.0 * value; + X0Y0_お下げ_髪左1.SetAngleBase(3.0 * value); + X0Y0_お下げ_髪右1.SetAngleBase(-3.0 * value); } } @@ -731,86 +731,86 @@ namespace SlaveMatrix { double num = (右 ? (-1.0) : 1.0); double maxAngle = 25.0; - X0Y0_お下げ_編節1_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_編節2_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_編節3_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_編節4_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_編節5_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_編節6_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_編節7_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_髪根.AngleBase = num * maxAngle.GetRanAngle(); + X0Y0_お下げ_編節1_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_編節2_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_編節3_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_編節4_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_編節5_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_編節6_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_編節7_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_髪根.SetAngleBase(num * maxAngle.GetRanAngle()); Body.JoinPAall(); } public void スライム() { - X0Y0_髪基.OP[右 ? 1 : 0].Outline = false; - X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false; - X0Y0_お下げ_編節1_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節1_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節1_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節1_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節1_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節1_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節2_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節2_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節2_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節2_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節2_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節2_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節3_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節3_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節3_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節3_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節3_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節3_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節4_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節4_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節4_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節4_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節4_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節4_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節5_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節5_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節5_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節5_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節5_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節5_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節6_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節6_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節6_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節6_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節6_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節6_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節7_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節7_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節7_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節7_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節7_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節7_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節8_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節8_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節8_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節8_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節8_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節8_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_髪縛1.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_髪縛2.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_髪左1.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_髪左1.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_髪右1.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_髪右1.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_髪根.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_髪根.OP[(!右) ? 4 : 0].Outline = false; + X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false; + X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false; + X0Y0_お下げ_編節1_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節1_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節1_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節1_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節1_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節1_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節2_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節2_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節2_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節2_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節2_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節2_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節3_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節3_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節3_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節3_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節3_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節3_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節4_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節4_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節4_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節4_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節4_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節4_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節5_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節5_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節5_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節5_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節5_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節5_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節6_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節6_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節6_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節6_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節6_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節6_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節7_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節7_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節7_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節7_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節7_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節7_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節8_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節8_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節8_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節8_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節8_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節8_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_髪縛1.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_髪縛2.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_髪根.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_髪根.GetOP()[(!右) ? 4 : 0].Outline = false; } public override bool Is布(Par p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1ハネD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1ハネD.cs index 0e95446..b245775 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1ハネD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1ハネD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1パツ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1パツ.cs index 49fc42f..e59b51d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1パツ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1パツ.cs @@ -529,7 +529,7 @@ namespace SlaveMatrix set { double num = 0.7 + 0.3 * value; - X0Y0_髪基.SizeYBase *= num; + X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num); } } @@ -538,25 +538,25 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_お下げ_編節1_髪節.SizeYBase *= num; - X0Y0_お下げ_編節1_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節2_髪節.SizeYBase *= num; - X0Y0_お下げ_編節2_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節3_髪節.SizeYBase *= num; - X0Y0_お下げ_編節3_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節4_髪節.SizeYBase *= num; - X0Y0_お下げ_編節4_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節5_髪節.SizeYBase *= num; - X0Y0_お下げ_編節5_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節6_髪節.SizeYBase *= num; - X0Y0_お下げ_編節6_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節7_髪節.SizeYBase *= num; - X0Y0_お下げ_編節7_髪編目.SizeYBase *= num; - X0Y0_お下げ_編節8_髪節.SizeYBase *= num; - X0Y0_お下げ_編節8_髪編目.SizeYBase *= num; - X0Y0_お下げ_髪左1.SizeYBase *= num; - X0Y0_お下げ_髪右1.SizeYBase *= num; - X0Y0_お下げ_髪根.SizeYBase *= num; + X0Y0_お下げ_編節1_髪節.SetSizeYBase(X0Y0_お下げ_編節1_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節1_髪編目.SetSizeYBase(X0Y0_お下げ_編節1_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節2_髪節.SetSizeYBase(X0Y0_お下げ_編節2_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節2_髪編目.SetSizeYBase(X0Y0_お下げ_編節2_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節3_髪節.SetSizeYBase(X0Y0_お下げ_編節3_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節3_髪編目.SetSizeYBase(X0Y0_お下げ_編節3_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節4_髪節.SetSizeYBase(X0Y0_お下げ_編節4_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節4_髪編目.SetSizeYBase(X0Y0_お下げ_編節4_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節5_髪節.SetSizeYBase(X0Y0_お下げ_編節5_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節5_髪編目.SetSizeYBase(X0Y0_お下げ_編節5_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節6_髪節.SetSizeYBase(X0Y0_お下げ_編節6_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節6_髪編目.SetSizeYBase(X0Y0_お下げ_編節6_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節7_髪節.SetSizeYBase(X0Y0_お下げ_編節7_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節7_髪編目.SetSizeYBase(X0Y0_お下げ_編節7_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_編節8_髪節.SetSizeYBase(X0Y0_お下げ_編節8_髪節.GetSizeYBase() * num); + X0Y0_お下げ_編節8_髪編目.SetSizeYBase(X0Y0_お下げ_編節8_髪編目.GetSizeYBase() * num); + X0Y0_お下げ_髪左1.SetSizeYBase(X0Y0_お下げ_髪左1.GetSizeYBase() * num); + X0Y0_お下げ_髪右1.SetSizeYBase(X0Y0_お下げ_髪右1.GetSizeYBase() * num); + X0Y0_お下げ_髪根.SetSizeYBase(X0Y0_お下げ_髪根.GetSizeYBase() * num); } } @@ -565,27 +565,27 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_お下げ_編節1_髪節.SizeXBase *= num; - X0Y0_お下げ_編節1_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節2_髪節.SizeXBase *= num; - X0Y0_お下げ_編節2_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節3_髪節.SizeXBase *= num; - X0Y0_お下げ_編節3_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節4_髪節.SizeXBase *= num; - X0Y0_お下げ_編節4_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節5_髪節.SizeXBase *= num; - X0Y0_お下げ_編節5_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節6_髪節.SizeXBase *= num; - X0Y0_お下げ_編節6_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節7_髪節.SizeXBase *= num; - X0Y0_お下げ_編節7_髪編目.SizeXBase *= num; - X0Y0_お下げ_編節8_髪節.SizeXBase *= num; - X0Y0_お下げ_編節8_髪編目.SizeXBase *= num; - X0Y0_お下げ_髪縛1.SizeBase *= num; - X0Y0_お下げ_髪縛2.SizeBase *= num; - X0Y0_お下げ_髪左1.SizeXBase *= num; - X0Y0_お下げ_髪右1.SizeXBase *= num; - X0Y0_お下げ_髪根.SizeXBase *= num; + X0Y0_お下げ_編節1_髪節.SetSizeXBase(X0Y0_お下げ_編節1_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節1_髪編目.SetSizeXBase(X0Y0_お下げ_編節1_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節2_髪節.SetSizeXBase(X0Y0_お下げ_編節2_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節2_髪編目.SetSizeXBase(X0Y0_お下げ_編節2_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節3_髪節.SetSizeXBase(X0Y0_お下げ_編節3_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節3_髪編目.SetSizeXBase(X0Y0_お下げ_編節3_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節4_髪節.SetSizeXBase(X0Y0_お下げ_編節4_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節4_髪編目.SetSizeXBase(X0Y0_お下げ_編節4_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節5_髪節.SetSizeXBase(X0Y0_お下げ_編節5_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節5_髪編目.SetSizeXBase(X0Y0_お下げ_編節5_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節6_髪節.SetSizeXBase(X0Y0_お下げ_編節6_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節6_髪編目.SetSizeXBase(X0Y0_お下げ_編節6_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節7_髪節.SetSizeXBase(X0Y0_お下げ_編節7_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節7_髪編目.SetSizeXBase(X0Y0_お下げ_編節7_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_編節8_髪節.SetSizeXBase(X0Y0_お下げ_編節8_髪節.GetSizeXBase() * num); + X0Y0_お下げ_編節8_髪編目.SetSizeXBase(X0Y0_お下げ_編節8_髪編目.GetSizeXBase() * num); + X0Y0_お下げ_髪縛1.SetSizeBase(X0Y0_お下げ_髪縛1.GetSizeBase() * num); + X0Y0_お下げ_髪縛2.SetSizeBase(X0Y0_お下げ_髪縛2.GetSizeBase() * num); + X0Y0_お下げ_髪左1.SetSizeXBase(X0Y0_お下げ_髪左1.GetSizeXBase() * num); + X0Y0_お下げ_髪右1.SetSizeXBase(X0Y0_お下げ_髪右1.GetSizeXBase() * num); + X0Y0_お下げ_髪根.SetSizeXBase(X0Y0_お下げ_髪根.GetSizeXBase() * num); } } @@ -593,8 +593,8 @@ namespace SlaveMatrix { set { - X0Y0_お下げ_髪左1.AngleBase = 3.0 * value; - X0Y0_お下げ_髪右1.AngleBase = -3.0 * value; + X0Y0_お下げ_髪左1.SetAngleBase(3.0 * value); + X0Y0_お下げ_髪右1.SetAngleBase(-3.0 * value); } } @@ -731,83 +731,83 @@ namespace SlaveMatrix { double num = (右 ? (-1.0) : 1.0); double maxAngle = 25.0; - X0Y0_お下げ_編節1_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_編節2_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_編節3_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_編節4_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_編節5_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_編節6_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_編節7_髪節.AngleBase = num * maxAngle.GetRanAngle(); - X0Y0_お下げ_髪根.AngleBase = num * maxAngle.GetRanAngle(); + X0Y0_お下げ_編節1_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_編節2_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_編節3_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_編節4_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_編節5_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_編節6_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_編節7_髪節.SetAngleBase(num * maxAngle.GetRanAngle()); + X0Y0_お下げ_髪根.SetAngleBase(num * maxAngle.GetRanAngle()); Body.JoinPAall(); } public void スライム() { - X0Y0_髪基.OP[右 ? 1 : 0].Outline = false; - X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false; - X0Y0_お下げ_編節1_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節1_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節1_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節1_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節1_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節1_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節2_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節2_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節2_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節2_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節2_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節2_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節3_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節3_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節3_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節3_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節3_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節3_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節4_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節4_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節4_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節4_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節4_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節4_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節5_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節5_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節5_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節5_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節5_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節5_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節6_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節6_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節6_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節6_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節6_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節6_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節7_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節7_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節7_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節7_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節7_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節7_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_編節8_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ_編節8_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ_編節8_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ_編節8_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ_編節8_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ_編節8_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_髪縛1.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_髪縛2.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 3 : 0].Outline = false; - X0Y0_お下げ_髪左1.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_お下げ_髪左1.OP[右 ? 1 : 2].Outline = false; - X0Y0_お下げ_髪左1.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 3 : 0].Outline = false; - X0Y0_お下げ_髪右1.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_お下げ_髪右1.OP[右 ? 1 : 2].Outline = false; - X0Y0_お下げ_髪右1.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 3 : 0].Outline = false; - X0Y0_お下げ_髪根.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_お下げ_髪根.OP[右 ? 1 : 2].Outline = false; - X0Y0_お下げ_髪根.OP[(!右) ? 3 : 0].Outline = false; + X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false; + X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false; + X0Y0_お下げ_編節1_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節1_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節1_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節1_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節1_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節1_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節2_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節2_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節2_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節2_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節2_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節2_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節3_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節3_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節3_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節3_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節3_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節3_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節4_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節4_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節4_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節4_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節4_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節4_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節5_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節5_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節5_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節5_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節5_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節5_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節6_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節6_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節6_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節6_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節6_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節6_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節7_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節7_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節7_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節7_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節7_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節7_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_編節8_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ_編節8_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ_編節8_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ_編節8_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ_編節8_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ_編節8_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_髪縛1.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_髪縛2.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_お下げ_髪左1.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_お下げ_髪右1.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_お下げ_髪根.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_お下げ_髪根.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_お下げ_髪根.GetOP()[(!右) ? 3 : 0].Outline = false; } public override bool Is布(Par p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1パツD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1パツD.cs index 7344468..47a7837 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1パツD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1パツD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2カル.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2カル.cs index 1370472..cf3eb89 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2カル.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2カル.cs @@ -970,7 +970,7 @@ namespace SlaveMatrix set { double num = 0.7 + 0.3 * value; - X0Y0_髪基.SizeYBase *= num; + X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num); } } @@ -979,44 +979,44 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_お下げ左_編節1_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節1_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節2_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節2_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節3_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節3_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節4_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節4_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節5_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節5_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節6_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節6_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節7_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節7_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節8_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節8_髪編目.SizeYBase *= num; - X0Y0_お下げ左_髪左1.SizeYBase *= num; - X0Y0_お下げ左_髪右1.SizeYBase *= num; - X0Y0_お下げ左_髪根.SizeYBase *= num; - X0Y0_お下げ右_編節1_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節1_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節2_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節2_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節3_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節3_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節4_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節4_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節5_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節5_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節6_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節6_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節7_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節7_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節8_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節8_髪編目.SizeYBase *= num; - X0Y0_お下げ右_髪右1.SizeYBase *= num; - X0Y0_お下げ右_髪左1.SizeYBase *= num; - X0Y0_お下げ右_髪根.SizeYBase *= num; + X0Y0_お下げ左_編節1_髪節.SetSizeYBase(X0Y0_お下げ左_編節1_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節1_髪編目.SetSizeYBase(X0Y0_お下げ左_編節1_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節2_髪節.SetSizeYBase(X0Y0_お下げ左_編節2_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節2_髪編目.SetSizeYBase(X0Y0_お下げ左_編節2_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節3_髪節.SetSizeYBase(X0Y0_お下げ左_編節3_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節3_髪編目.SetSizeYBase(X0Y0_お下げ左_編節3_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節4_髪節.SetSizeYBase(X0Y0_お下げ左_編節4_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節4_髪編目.SetSizeYBase(X0Y0_お下げ左_編節4_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節5_髪節.SetSizeYBase(X0Y0_お下げ左_編節5_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節5_髪編目.SetSizeYBase(X0Y0_お下げ左_編節5_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節6_髪節.SetSizeYBase(X0Y0_お下げ左_編節6_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節6_髪編目.SetSizeYBase(X0Y0_お下げ左_編節6_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節7_髪節.SetSizeYBase(X0Y0_お下げ左_編節7_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節7_髪編目.SetSizeYBase(X0Y0_お下げ左_編節7_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節8_髪節.SetSizeYBase(X0Y0_お下げ左_編節8_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節8_髪編目.SetSizeYBase(X0Y0_お下げ左_編節8_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_髪左1.SetSizeYBase(X0Y0_お下げ左_髪左1.GetSizeYBase() * num); + X0Y0_お下げ左_髪右1.SetSizeYBase(X0Y0_お下げ左_髪右1.GetSizeYBase() * num); + X0Y0_お下げ左_髪根.SetSizeYBase(X0Y0_お下げ左_髪根.GetSizeYBase() * num); + X0Y0_お下げ右_編節1_髪節.SetSizeYBase(X0Y0_お下げ右_編節1_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節1_髪編目.SetSizeYBase(X0Y0_お下げ右_編節1_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節2_髪節.SetSizeYBase(X0Y0_お下げ右_編節2_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節2_髪編目.SetSizeYBase(X0Y0_お下げ右_編節2_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節3_髪節.SetSizeYBase(X0Y0_お下げ右_編節3_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節3_髪編目.SetSizeYBase(X0Y0_お下げ右_編節3_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節4_髪節.SetSizeYBase(X0Y0_お下げ右_編節4_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節4_髪編目.SetSizeYBase(X0Y0_お下げ右_編節4_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節5_髪節.SetSizeYBase(X0Y0_お下げ右_編節5_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節5_髪編目.SetSizeYBase(X0Y0_お下げ右_編節5_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節6_髪節.SetSizeYBase(X0Y0_お下げ右_編節6_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節6_髪編目.SetSizeYBase(X0Y0_お下げ右_編節6_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節7_髪節.SetSizeYBase(X0Y0_お下げ右_編節7_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節7_髪編目.SetSizeYBase(X0Y0_お下げ右_編節7_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節8_髪節.SetSizeYBase(X0Y0_お下げ右_編節8_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節8_髪編目.SetSizeYBase(X0Y0_お下げ右_編節8_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_髪右1.SetSizeYBase(X0Y0_お下げ右_髪右1.GetSizeYBase() * num); + X0Y0_お下げ右_髪左1.SetSizeYBase(X0Y0_お下げ右_髪左1.GetSizeYBase() * num); + X0Y0_お下げ右_髪根.SetSizeYBase(X0Y0_お下げ右_髪根.GetSizeYBase() * num); } } @@ -1025,48 +1025,48 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_お下げ左_編節1_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節1_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節2_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節2_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節3_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節3_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節4_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節4_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節5_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節5_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節6_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節6_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節7_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節7_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節8_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節8_髪編目.SizeXBase *= num; - X0Y0_お下げ左_髪縛1.SizeBase *= num; - X0Y0_お下げ左_髪縛2.SizeBase *= num; - X0Y0_お下げ左_髪左1.SizeXBase *= num; - X0Y0_お下げ左_髪右1.SizeXBase *= num; - X0Y0_お下げ左_髪根.SizeXBase *= num; - X0Y0_お下げ右_編節1_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節1_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節2_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節2_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節3_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節3_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節4_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節4_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節5_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節5_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節6_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節6_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節7_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節7_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節8_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節8_髪編目.SizeXBase *= num; - X0Y0_お下げ右_髪縛1.SizeBase *= num; - X0Y0_お下げ右_髪縛2.SizeBase *= num; - X0Y0_お下げ右_髪右1.SizeXBase *= num; - X0Y0_お下げ右_髪左1.SizeXBase *= num; - X0Y0_お下げ右_髪根.SizeXBase *= num; + X0Y0_お下げ左_編節1_髪節.SetSizeXBase(X0Y0_お下げ左_編節1_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節1_髪編目.SetSizeXBase(X0Y0_お下げ左_編節1_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節2_髪節.SetSizeXBase(X0Y0_お下げ左_編節2_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節2_髪編目.SetSizeXBase(X0Y0_お下げ左_編節2_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節3_髪節.SetSizeXBase(X0Y0_お下げ左_編節3_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節3_髪編目.SetSizeXBase(X0Y0_お下げ左_編節3_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節4_髪節.SetSizeXBase(X0Y0_お下げ左_編節4_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節4_髪編目.SetSizeXBase(X0Y0_お下げ左_編節4_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節5_髪節.SetSizeXBase(X0Y0_お下げ左_編節5_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節5_髪編目.SetSizeXBase(X0Y0_お下げ左_編節5_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節6_髪節.SetSizeXBase(X0Y0_お下げ左_編節6_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節6_髪編目.SetSizeXBase(X0Y0_お下げ左_編節6_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節7_髪節.SetSizeXBase(X0Y0_お下げ左_編節7_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節7_髪編目.SetSizeXBase(X0Y0_お下げ左_編節7_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節8_髪節.SetSizeXBase(X0Y0_お下げ左_編節8_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節8_髪編目.SetSizeXBase(X0Y0_お下げ左_編節8_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_髪縛1.SetSizeBase(X0Y0_お下げ左_髪縛1.GetSizeBase() * num); + X0Y0_お下げ左_髪縛2.SetSizeBase(X0Y0_お下げ左_髪縛2.GetSizeBase() * num); + X0Y0_お下げ左_髪左1.SetSizeXBase(X0Y0_お下げ左_髪左1.GetSizeXBase() * num); + X0Y0_お下げ左_髪右1.SetSizeXBase(X0Y0_お下げ左_髪右1.GetSizeXBase() * num); + X0Y0_お下げ左_髪根.SetSizeXBase(X0Y0_お下げ左_髪根.GetSizeXBase() * num); + X0Y0_お下げ右_編節1_髪節.SetSizeXBase(X0Y0_お下げ右_編節1_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節1_髪編目.SetSizeXBase(X0Y0_お下げ右_編節1_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節2_髪節.SetSizeXBase(X0Y0_お下げ右_編節2_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節2_髪編目.SetSizeXBase(X0Y0_お下げ右_編節2_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節3_髪節.SetSizeXBase(X0Y0_お下げ右_編節3_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節3_髪編目.SetSizeXBase(X0Y0_お下げ右_編節3_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節4_髪節.SetSizeXBase(X0Y0_お下げ右_編節4_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節4_髪編目.SetSizeXBase(X0Y0_お下げ右_編節4_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節5_髪節.SetSizeXBase(X0Y0_お下げ右_編節5_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節5_髪編目.SetSizeXBase(X0Y0_お下げ右_編節5_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節6_髪節.SetSizeXBase(X0Y0_お下げ右_編節6_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節6_髪編目.SetSizeXBase(X0Y0_お下げ右_編節6_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節7_髪節.SetSizeXBase(X0Y0_お下げ右_編節7_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節7_髪編目.SetSizeXBase(X0Y0_お下げ右_編節7_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節8_髪節.SetSizeXBase(X0Y0_お下げ右_編節8_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節8_髪編目.SetSizeXBase(X0Y0_お下げ右_編節8_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_髪縛1.SetSizeBase(X0Y0_お下げ右_髪縛1.GetSizeBase() * num); + X0Y0_お下げ右_髪縛2.SetSizeBase(X0Y0_お下げ右_髪縛2.GetSizeBase() * num); + X0Y0_お下げ右_髪右1.SetSizeXBase(X0Y0_お下げ右_髪右1.GetSizeXBase() * num); + X0Y0_お下げ右_髪左1.SetSizeXBase(X0Y0_お下げ右_髪左1.GetSizeXBase() * num); + X0Y0_お下げ右_髪根.SetSizeXBase(X0Y0_お下げ右_髪根.GetSizeXBase() * num); } } @@ -1074,10 +1074,10 @@ namespace SlaveMatrix { set { - X0Y0_お下げ左_髪左1.AngleBase = 3.0 * value; - X0Y0_お下げ左_髪右1.AngleBase = -3.0 * value; - X0Y0_お下げ右_髪右1.AngleBase = -3.0 * value; - X0Y0_お下げ右_髪左1.AngleBase = 3.0 * value; + X0Y0_お下げ左_髪左1.SetAngleBase(3.0 * value); + X0Y0_お下げ左_髪右1.SetAngleBase(-3.0 * value); + X0Y0_お下げ右_髪右1.SetAngleBase(-3.0 * value); + X0Y0_お下げ右_髪左1.SetAngleBase(3.0 * value); } } @@ -1286,161 +1286,161 @@ namespace SlaveMatrix { double num = (右 ? (-1.0) : 1.0); double num2 = 2.5 + 2.5 * RNG.XS.NextDouble(); - X0Y0_お下げ左_編節1_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節2_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節3_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節4_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節5_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節6_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節7_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節8_髪節.AngleBase = num * num2; - X0Y0_お下げ左_髪根.AngleBase = num * num2; - X0Y0_お下げ右_編節1_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節2_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節3_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節4_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節5_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節6_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節7_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節8_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_髪根.AngleBase = num * (0.0 - num2); + X0Y0_お下げ左_編節1_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節2_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節3_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節4_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節5_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節6_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節7_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節8_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_髪根.SetAngleBase(num * num2); + X0Y0_お下げ右_編節1_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節2_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節3_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節4_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節5_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節6_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節7_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節8_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_髪根.SetAngleBase(num * (0.0 - num2)); Body.JoinPAall(); } public void スライム() { - X0Y0_髪基.OP[右 ? 1 : 0].Outline = false; - X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false; - X0Y0_お下げ左_編節1_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節1_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節1_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節1_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節1_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節1_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節2_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節2_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節2_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節2_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節2_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節2_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節3_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節3_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節3_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節3_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節3_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節3_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節4_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節4_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節4_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節4_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節4_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節4_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節5_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節5_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節5_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節5_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節5_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節5_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節6_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節6_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節6_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節6_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節6_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節6_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節7_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節7_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節7_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節7_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節7_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節7_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節8_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節8_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節8_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節8_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節8_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節8_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_髪縛1.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_髪縛2.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_髪左1.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪左1.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪左1.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_髪左1.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪左1.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪右1.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪右1.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪右1.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_髪右1.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪右1.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪根.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪根.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節1_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節1_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節1_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節1_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節1_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節1_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節2_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節2_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節2_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節2_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節2_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節2_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節3_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節3_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節3_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節3_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節3_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節3_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節4_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節4_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節4_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節4_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節4_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節4_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節5_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節5_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節5_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節5_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節5_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節5_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節6_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節6_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節6_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節6_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節6_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節6_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節7_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節7_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節7_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節7_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節7_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節7_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節8_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節8_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節8_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節8_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節8_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節8_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_髪縛1.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_髪縛2.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_髪右1.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪右1.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪右1.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_髪右1.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪右1.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪左1.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪左1.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪左1.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_髪左1.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪左1.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪根.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪根.OP[(!右) ? 4 : 0].Outline = false; + X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false; + X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false; + X0Y0_お下げ左_編節1_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節1_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節1_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節1_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節1_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節1_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節2_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節2_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節2_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節2_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節2_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節2_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節3_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節3_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節3_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節3_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節3_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節3_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節4_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節4_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節4_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節4_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節4_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節4_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節5_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節5_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節5_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節5_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節5_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節5_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節6_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節6_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節6_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節6_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節6_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節6_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節7_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節7_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節7_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節7_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節7_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節7_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節8_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節8_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節8_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節8_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節8_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節8_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_髪縛1.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_髪縛2.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_髪左1.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪左1.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪左1.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_髪左1.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪左1.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪右1.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪右1.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪右1.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_髪右1.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪右1.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節1_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節1_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節1_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節1_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節1_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節1_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節2_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節2_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節2_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節2_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節2_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節2_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節3_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節3_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節3_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節3_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節3_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節3_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節4_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節4_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節4_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節4_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節4_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節4_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節5_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節5_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節5_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節5_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節5_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節5_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節6_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節6_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節6_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節6_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節6_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節6_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節7_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節7_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節7_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節7_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節7_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節7_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節8_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節8_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節8_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節8_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節8_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節8_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_髪縛1.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_髪縛2.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_髪右1.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪右1.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪右1.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_髪右1.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪右1.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪左1.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪左1.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪左1.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_髪左1.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪左1.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[(!右) ? 4 : 0].Outline = false; } public override bool Is布(Par p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2カルD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2カルD.cs index e1f4662..de42e6a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2カルD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2カルD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2ジグ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2ジグ.cs index c16edc2..1bbaaba 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2ジグ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2ジグ.cs @@ -970,7 +970,7 @@ namespace SlaveMatrix set { double num = 0.7 + 0.3 * value; - X0Y0_髪基.SizeYBase *= num; + X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num); } } @@ -979,44 +979,44 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_お下げ左_編節1_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節1_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節2_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節2_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節3_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節3_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節4_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節4_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節5_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節5_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節6_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節6_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節7_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節7_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節8_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節8_髪編目.SizeYBase *= num; - X0Y0_お下げ左_髪左1.SizeYBase *= num; - X0Y0_お下げ左_髪右1.SizeYBase *= num; - X0Y0_お下げ左_髪根.SizeYBase *= num; - X0Y0_お下げ右_編節1_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節1_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節2_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節2_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節3_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節3_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節4_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節4_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節5_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節5_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節6_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節6_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節7_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節7_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節8_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節8_髪編目.SizeYBase *= num; - X0Y0_お下げ右_髪右1.SizeYBase *= num; - X0Y0_お下げ右_髪左1.SizeYBase *= num; - X0Y0_お下げ右_髪根.SizeYBase *= num; + X0Y0_お下げ左_編節1_髪節.SetSizeYBase(X0Y0_お下げ左_編節1_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節1_髪編目.SetSizeYBase(X0Y0_お下げ左_編節1_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節2_髪節.SetSizeYBase(X0Y0_お下げ左_編節2_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節2_髪編目.SetSizeYBase(X0Y0_お下げ左_編節2_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節3_髪節.SetSizeYBase(X0Y0_お下げ左_編節3_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節3_髪編目.SetSizeYBase(X0Y0_お下げ左_編節3_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節4_髪節.SetSizeYBase(X0Y0_お下げ左_編節4_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節4_髪編目.SetSizeYBase(X0Y0_お下げ左_編節4_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節5_髪節.SetSizeYBase(X0Y0_お下げ左_編節5_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節5_髪編目.SetSizeYBase(X0Y0_お下げ左_編節5_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節6_髪節.SetSizeYBase(X0Y0_お下げ左_編節6_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節6_髪編目.SetSizeYBase(X0Y0_お下げ左_編節6_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節7_髪節.SetSizeYBase(X0Y0_お下げ左_編節7_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節7_髪編目.SetSizeYBase(X0Y0_お下げ左_編節7_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節8_髪節.SetSizeYBase(X0Y0_お下げ左_編節8_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節8_髪編目.SetSizeYBase(X0Y0_お下げ左_編節8_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_髪左1.SetSizeYBase(X0Y0_お下げ左_髪左1.GetSizeYBase() * num); + X0Y0_お下げ左_髪右1.SetSizeYBase(X0Y0_お下げ左_髪右1.GetSizeYBase() * num); + X0Y0_お下げ左_髪根.SetSizeYBase(X0Y0_お下げ左_髪根.GetSizeYBase() * num); + X0Y0_お下げ右_編節1_髪節.SetSizeYBase(X0Y0_お下げ右_編節1_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節1_髪編目.SetSizeYBase(X0Y0_お下げ右_編節1_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節2_髪節.SetSizeYBase(X0Y0_お下げ右_編節2_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節2_髪編目.SetSizeYBase(X0Y0_お下げ右_編節2_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節3_髪節.SetSizeYBase(X0Y0_お下げ右_編節3_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節3_髪編目.SetSizeYBase(X0Y0_お下げ右_編節3_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節4_髪節.SetSizeYBase(X0Y0_お下げ右_編節4_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節4_髪編目.SetSizeYBase(X0Y0_お下げ右_編節4_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節5_髪節.SetSizeYBase(X0Y0_お下げ右_編節5_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節5_髪編目.SetSizeYBase(X0Y0_お下げ右_編節5_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節6_髪節.SetSizeYBase(X0Y0_お下げ右_編節6_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節6_髪編目.SetSizeYBase(X0Y0_お下げ右_編節6_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節7_髪節.SetSizeYBase(X0Y0_お下げ右_編節7_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節7_髪編目.SetSizeYBase(X0Y0_お下げ右_編節7_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節8_髪節.SetSizeYBase(X0Y0_お下げ右_編節8_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節8_髪編目.SetSizeYBase(X0Y0_お下げ右_編節8_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_髪右1.SetSizeYBase(X0Y0_お下げ右_髪右1.GetSizeYBase() * num); + X0Y0_お下げ右_髪左1.SetSizeYBase(X0Y0_お下げ右_髪左1.GetSizeYBase() * num); + X0Y0_お下げ右_髪根.SetSizeYBase(X0Y0_お下げ右_髪根.GetSizeYBase() * num); } } @@ -1025,48 +1025,48 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_お下げ左_編節1_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節1_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節2_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節2_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節3_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節3_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節4_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節4_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節5_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節5_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節6_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節6_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節7_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節7_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節8_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節8_髪編目.SizeXBase *= num; - X0Y0_お下げ左_髪縛1.SizeBase *= num; - X0Y0_お下げ左_髪縛2.SizeBase *= num; - X0Y0_お下げ左_髪左1.SizeXBase *= num; - X0Y0_お下げ左_髪右1.SizeXBase *= num; - X0Y0_お下げ左_髪根.SizeXBase *= num; - X0Y0_お下げ右_編節1_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節1_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節2_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節2_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節3_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節3_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節4_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節4_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節5_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節5_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節6_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節6_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節7_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節7_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節8_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節8_髪編目.SizeXBase *= num; - X0Y0_お下げ右_髪縛1.SizeBase *= num; - X0Y0_お下げ右_髪縛2.SizeBase *= num; - X0Y0_お下げ右_髪右1.SizeXBase *= num; - X0Y0_お下げ右_髪左1.SizeXBase *= num; - X0Y0_お下げ右_髪根.SizeXBase *= num; + X0Y0_お下げ左_編節1_髪節.SetSizeXBase(X0Y0_お下げ左_編節1_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節1_髪編目.SetSizeXBase(X0Y0_お下げ左_編節1_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節2_髪節.SetSizeXBase(X0Y0_お下げ左_編節2_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節2_髪編目.SetSizeXBase(X0Y0_お下げ左_編節2_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節3_髪節.SetSizeXBase(X0Y0_お下げ左_編節3_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節3_髪編目.SetSizeXBase(X0Y0_お下げ左_編節3_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節4_髪節.SetSizeXBase(X0Y0_お下げ左_編節4_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節4_髪編目.SetSizeXBase(X0Y0_お下げ左_編節4_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節5_髪節.SetSizeXBase(X0Y0_お下げ左_編節5_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節5_髪編目.SetSizeXBase(X0Y0_お下げ左_編節5_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節6_髪節.SetSizeXBase(X0Y0_お下げ左_編節6_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節6_髪編目.SetSizeXBase(X0Y0_お下げ左_編節6_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節7_髪節.SetSizeXBase(X0Y0_お下げ左_編節7_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節7_髪編目.SetSizeXBase(X0Y0_お下げ左_編節7_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節8_髪節.SetSizeXBase(X0Y0_お下げ左_編節8_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節8_髪編目.SetSizeXBase(X0Y0_お下げ左_編節8_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_髪縛1.SetSizeBase(X0Y0_お下げ左_髪縛1.GetSizeBase() * num); + X0Y0_お下げ左_髪縛2.SetSizeBase(X0Y0_お下げ左_髪縛2.GetSizeBase() * num); + X0Y0_お下げ左_髪左1.SetSizeXBase(X0Y0_お下げ左_髪左1.GetSizeXBase() * num); + X0Y0_お下げ左_髪右1.SetSizeXBase(X0Y0_お下げ左_髪右1.GetSizeXBase() * num); + X0Y0_お下げ左_髪根.SetSizeXBase(X0Y0_お下げ左_髪根.GetSizeXBase() * num); + X0Y0_お下げ右_編節1_髪節.SetSizeXBase(X0Y0_お下げ右_編節1_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節1_髪編目.SetSizeXBase(X0Y0_お下げ右_編節1_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節2_髪節.SetSizeXBase(X0Y0_お下げ右_編節2_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節2_髪編目.SetSizeXBase(X0Y0_お下げ右_編節2_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節3_髪節.SetSizeXBase(X0Y0_お下げ右_編節3_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節3_髪編目.SetSizeXBase(X0Y0_お下げ右_編節3_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節4_髪節.SetSizeXBase(X0Y0_お下げ右_編節4_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節4_髪編目.SetSizeXBase(X0Y0_お下げ右_編節4_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節5_髪節.SetSizeXBase(X0Y0_お下げ右_編節5_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節5_髪編目.SetSizeXBase(X0Y0_お下げ右_編節5_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節6_髪節.SetSizeXBase(X0Y0_お下げ右_編節6_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節6_髪編目.SetSizeXBase(X0Y0_お下げ右_編節6_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節7_髪節.SetSizeXBase(X0Y0_お下げ右_編節7_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節7_髪編目.SetSizeXBase(X0Y0_お下げ右_編節7_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節8_髪節.SetSizeXBase(X0Y0_お下げ右_編節8_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節8_髪編目.SetSizeXBase(X0Y0_お下げ右_編節8_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_髪縛1.SetSizeBase(X0Y0_お下げ右_髪縛1.GetSizeBase() * num); + X0Y0_お下げ右_髪縛2.SetSizeBase(X0Y0_お下げ右_髪縛2.GetSizeBase() * num); + X0Y0_お下げ右_髪右1.SetSizeXBase(X0Y0_お下げ右_髪右1.GetSizeXBase() * num); + X0Y0_お下げ右_髪左1.SetSizeXBase(X0Y0_お下げ右_髪左1.GetSizeXBase() * num); + X0Y0_お下げ右_髪根.SetSizeXBase(X0Y0_お下げ右_髪根.GetSizeXBase() * num); } } @@ -1074,10 +1074,10 @@ namespace SlaveMatrix { set { - X0Y0_お下げ左_髪左1.AngleBase = 3.0 * value; - X0Y0_お下げ左_髪右1.AngleBase = -3.0 * value; - X0Y0_お下げ右_髪右1.AngleBase = -3.0 * value; - X0Y0_お下げ右_髪左1.AngleBase = 3.0 * value; + X0Y0_お下げ左_髪左1.SetAngleBase(3.0 * value); + X0Y0_お下げ左_髪右1.SetAngleBase(-3.0 * value); + X0Y0_お下げ右_髪右1.SetAngleBase(-3.0 * value); + X0Y0_お下げ右_髪左1.SetAngleBase(3.0 * value); } } @@ -1286,161 +1286,161 @@ namespace SlaveMatrix { double num = (右 ? (-1.0) : 1.0); double num2 = 2.5 + 2.5 * RNG.XS.NextDouble(); - X0Y0_お下げ左_編節1_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節2_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節3_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節4_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節5_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節6_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節7_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節8_髪節.AngleBase = num * num2; - X0Y0_お下げ左_髪根.AngleBase = num * num2; - X0Y0_お下げ右_編節1_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節2_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節3_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節4_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節5_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節6_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節7_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節8_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_髪根.AngleBase = num * (0.0 - num2); + X0Y0_お下げ左_編節1_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節2_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節3_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節4_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節5_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節6_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節7_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節8_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_髪根.SetAngleBase(num * num2); + X0Y0_お下げ右_編節1_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節2_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節3_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節4_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節5_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節6_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節7_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節8_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_髪根.SetAngleBase(num * (0.0 - num2)); Body.JoinPAall(); } public void スライム() { - X0Y0_髪基.OP[右 ? 1 : 0].Outline = false; - X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false; - X0Y0_お下げ左_編節1_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節1_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節1_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節1_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節1_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節1_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節2_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節2_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節2_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節2_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節2_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節2_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節3_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節3_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節3_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節3_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節3_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節3_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節4_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節4_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節4_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節4_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節4_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節4_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節5_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節5_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節5_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節5_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節5_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節5_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節6_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節6_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節6_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節6_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節6_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節6_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節7_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節7_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節7_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節7_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節7_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節7_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節8_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節8_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節8_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節8_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節8_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節8_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_髪縛1.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_髪縛2.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_髪左1.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪左1.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪左1.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_髪左1.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪左1.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪右1.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪右1.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪右1.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_髪右1.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪右1.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪根.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪根.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節1_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節1_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節1_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節1_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節1_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節1_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節2_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節2_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節2_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節2_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節2_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節2_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節3_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節3_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節3_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節3_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節3_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節3_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節4_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節4_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節4_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節4_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節4_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節4_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節5_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節5_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節5_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節5_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節5_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節5_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節6_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節6_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節6_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節6_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節6_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節6_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節7_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節7_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節7_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節7_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節7_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節7_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節8_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節8_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節8_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節8_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節8_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節8_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_髪縛1.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_髪縛2.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_髪右1.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪右1.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪右1.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_髪右1.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪右1.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪左1.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪左1.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪左1.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_髪左1.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪左1.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪根.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪根.OP[(!右) ? 4 : 0].Outline = false; + X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false; + X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false; + X0Y0_お下げ左_編節1_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節1_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節1_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節1_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節1_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節1_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節2_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節2_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節2_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節2_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節2_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節2_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節3_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節3_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節3_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節3_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節3_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節3_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節4_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節4_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節4_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節4_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節4_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節4_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節5_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節5_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節5_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節5_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節5_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節5_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節6_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節6_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節6_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節6_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節6_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節6_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節7_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節7_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節7_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節7_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節7_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節7_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節8_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節8_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節8_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節8_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節8_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節8_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_髪縛1.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_髪縛2.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_髪左1.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪左1.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪左1.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_髪左1.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪左1.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪右1.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪右1.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪右1.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_髪右1.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪右1.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節1_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節1_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節1_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節1_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節1_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節1_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節2_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節2_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節2_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節2_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節2_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節2_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節3_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節3_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節3_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節3_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節3_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節3_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節4_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節4_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節4_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節4_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節4_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節4_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節5_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節5_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節5_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節5_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節5_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節5_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節6_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節6_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節6_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節6_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節6_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節6_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節7_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節7_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節7_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節7_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節7_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節7_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節8_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節8_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節8_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節8_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節8_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節8_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_髪縛1.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_髪縛2.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_髪右1.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪右1.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪右1.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_髪右1.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪右1.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪左1.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪左1.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪左1.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_髪左1.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪左1.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[(!右) ? 4 : 0].Outline = false; } public override bool Is布(Par p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2ジグD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2ジグD.cs index dde6515..ef2f7e7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2ジグD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2ジグD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2ハネ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2ハネ.cs index 3610d4d..e31116f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2ハネ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2ハネ.cs @@ -970,7 +970,7 @@ namespace SlaveMatrix set { double num = 0.7 + 0.3 * value; - X0Y0_髪基.SizeYBase *= num; + X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num); } } @@ -979,44 +979,44 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_お下げ左_編節1_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節1_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節2_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節2_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節3_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節3_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節4_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節4_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節5_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節5_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節6_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節6_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節7_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節7_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節8_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節8_髪編目.SizeYBase *= num; - X0Y0_お下げ左_髪左1.SizeYBase *= num; - X0Y0_お下げ左_髪右1.SizeYBase *= num; - X0Y0_お下げ左_髪根.SizeYBase *= num; - X0Y0_お下げ右_編節1_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節1_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節2_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節2_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節3_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節3_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節4_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節4_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節5_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節5_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節6_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節6_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節7_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節7_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節8_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節8_髪編目.SizeYBase *= num; - X0Y0_お下げ右_髪右1.SizeYBase *= num; - X0Y0_お下げ右_髪左1.SizeYBase *= num; - X0Y0_お下げ右_髪根.SizeYBase *= num; + X0Y0_お下げ左_編節1_髪節.SetSizeYBase(X0Y0_お下げ左_編節1_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節1_髪編目.SetSizeYBase(X0Y0_お下げ左_編節1_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節2_髪節.SetSizeYBase(X0Y0_お下げ左_編節2_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節2_髪編目.SetSizeYBase(X0Y0_お下げ左_編節2_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節3_髪節.SetSizeYBase(X0Y0_お下げ左_編節3_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節3_髪編目.SetSizeYBase(X0Y0_お下げ左_編節3_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節4_髪節.SetSizeYBase(X0Y0_お下げ左_編節4_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節4_髪編目.SetSizeYBase(X0Y0_お下げ左_編節4_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節5_髪節.SetSizeYBase(X0Y0_お下げ左_編節5_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節5_髪編目.SetSizeYBase(X0Y0_お下げ左_編節5_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節6_髪節.SetSizeYBase(X0Y0_お下げ左_編節6_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節6_髪編目.SetSizeYBase(X0Y0_お下げ左_編節6_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節7_髪節.SetSizeYBase(X0Y0_お下げ左_編節7_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節7_髪編目.SetSizeYBase(X0Y0_お下げ左_編節7_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節8_髪節.SetSizeYBase(X0Y0_お下げ左_編節8_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節8_髪編目.SetSizeYBase(X0Y0_お下げ左_編節8_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_髪左1.SetSizeYBase(X0Y0_お下げ左_髪左1.GetSizeYBase() * num); + X0Y0_お下げ左_髪右1.SetSizeYBase(X0Y0_お下げ左_髪右1.GetSizeYBase() * num); + X0Y0_お下げ左_髪根.SetSizeYBase(X0Y0_お下げ左_髪根.GetSizeYBase() * num); + X0Y0_お下げ右_編節1_髪節.SetSizeYBase(X0Y0_お下げ右_編節1_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節1_髪編目.SetSizeYBase(X0Y0_お下げ右_編節1_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節2_髪節.SetSizeYBase(X0Y0_お下げ右_編節2_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節2_髪編目.SetSizeYBase(X0Y0_お下げ右_編節2_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節3_髪節.SetSizeYBase(X0Y0_お下げ右_編節3_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節3_髪編目.SetSizeYBase(X0Y0_お下げ右_編節3_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節4_髪節.SetSizeYBase(X0Y0_お下げ右_編節4_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節4_髪編目.SetSizeYBase(X0Y0_お下げ右_編節4_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節5_髪節.SetSizeYBase(X0Y0_お下げ右_編節5_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節5_髪編目.SetSizeYBase(X0Y0_お下げ右_編節5_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節6_髪節.SetSizeYBase(X0Y0_お下げ右_編節6_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節6_髪編目.SetSizeYBase(X0Y0_お下げ右_編節6_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節7_髪節.SetSizeYBase(X0Y0_お下げ右_編節7_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節7_髪編目.SetSizeYBase(X0Y0_お下げ右_編節7_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節8_髪節.SetSizeYBase(X0Y0_お下げ右_編節8_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節8_髪編目.SetSizeYBase(X0Y0_お下げ右_編節8_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_髪右1.SetSizeYBase(X0Y0_お下げ右_髪右1.GetSizeYBase() * num); + X0Y0_お下げ右_髪左1.SetSizeYBase(X0Y0_お下げ右_髪左1.GetSizeYBase() * num); + X0Y0_お下げ右_髪根.SetSizeYBase(X0Y0_お下げ右_髪根.GetSizeYBase() * num); } } @@ -1025,48 +1025,48 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_お下げ左_編節1_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節1_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節2_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節2_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節3_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節3_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節4_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節4_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節5_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節5_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節6_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節6_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節7_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節7_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節8_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節8_髪編目.SizeXBase *= num; - X0Y0_お下げ左_髪縛1.SizeBase *= num; - X0Y0_お下げ左_髪縛2.SizeBase *= num; - X0Y0_お下げ左_髪左1.SizeXBase *= num; - X0Y0_お下げ左_髪右1.SizeXBase *= num; - X0Y0_お下げ左_髪根.SizeXBase *= num; - X0Y0_お下げ右_編節1_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節1_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節2_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節2_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節3_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節3_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節4_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節4_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節5_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節5_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節6_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節6_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節7_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節7_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節8_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節8_髪編目.SizeXBase *= num; - X0Y0_お下げ右_髪縛1.SizeBase *= num; - X0Y0_お下げ右_髪縛2.SizeBase *= num; - X0Y0_お下げ右_髪右1.SizeXBase *= num; - X0Y0_お下げ右_髪左1.SizeXBase *= num; - X0Y0_お下げ右_髪根.SizeXBase *= num; + X0Y0_お下げ左_編節1_髪節.SetSizeXBase(X0Y0_お下げ左_編節1_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節1_髪編目.SetSizeXBase(X0Y0_お下げ左_編節1_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節2_髪節.SetSizeXBase(X0Y0_お下げ左_編節2_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節2_髪編目.SetSizeXBase(X0Y0_お下げ左_編節2_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節3_髪節.SetSizeXBase(X0Y0_お下げ左_編節3_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節3_髪編目.SetSizeXBase(X0Y0_お下げ左_編節3_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節4_髪節.SetSizeXBase(X0Y0_お下げ左_編節4_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節4_髪編目.SetSizeXBase(X0Y0_お下げ左_編節4_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節5_髪節.SetSizeXBase(X0Y0_お下げ左_編節5_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節5_髪編目.SetSizeXBase(X0Y0_お下げ左_編節5_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節6_髪節.SetSizeXBase(X0Y0_お下げ左_編節6_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節6_髪編目.SetSizeXBase(X0Y0_お下げ左_編節6_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節7_髪節.SetSizeXBase(X0Y0_お下げ左_編節7_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節7_髪編目.SetSizeXBase(X0Y0_お下げ左_編節7_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節8_髪節.SetSizeXBase(X0Y0_お下げ左_編節8_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節8_髪編目.SetSizeXBase(X0Y0_お下げ左_編節8_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_髪縛1.SetSizeBase(X0Y0_お下げ左_髪縛1.GetSizeBase() * num); + X0Y0_お下げ左_髪縛2.SetSizeBase(X0Y0_お下げ左_髪縛2.GetSizeBase() * num); + X0Y0_お下げ左_髪左1.SetSizeXBase(X0Y0_お下げ左_髪左1.GetSizeXBase() * num); + X0Y0_お下げ左_髪右1.SetSizeXBase(X0Y0_お下げ左_髪右1.GetSizeXBase() * num); + X0Y0_お下げ左_髪根.SetSizeXBase(X0Y0_お下げ左_髪根.GetSizeXBase() * num); + X0Y0_お下げ右_編節1_髪節.SetSizeXBase(X0Y0_お下げ右_編節1_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節1_髪編目.SetSizeXBase(X0Y0_お下げ右_編節1_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節2_髪節.SetSizeXBase(X0Y0_お下げ右_編節2_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節2_髪編目.SetSizeXBase(X0Y0_お下げ右_編節2_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節3_髪節.SetSizeXBase(X0Y0_お下げ右_編節3_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節3_髪編目.SetSizeXBase(X0Y0_お下げ右_編節3_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節4_髪節.SetSizeXBase(X0Y0_お下げ右_編節4_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節4_髪編目.SetSizeXBase(X0Y0_お下げ右_編節4_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節5_髪節.SetSizeXBase(X0Y0_お下げ右_編節5_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節5_髪編目.SetSizeXBase(X0Y0_お下げ右_編節5_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節6_髪節.SetSizeXBase(X0Y0_お下げ右_編節6_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節6_髪編目.SetSizeXBase(X0Y0_お下げ右_編節6_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節7_髪節.SetSizeXBase(X0Y0_お下げ右_編節7_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節7_髪編目.SetSizeXBase(X0Y0_お下げ右_編節7_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節8_髪節.SetSizeXBase(X0Y0_お下げ右_編節8_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節8_髪編目.SetSizeXBase(X0Y0_お下げ右_編節8_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_髪縛1.SetSizeBase(X0Y0_お下げ右_髪縛1.GetSizeBase() * num); + X0Y0_お下げ右_髪縛2.SetSizeBase(X0Y0_お下げ右_髪縛2.GetSizeBase() * num); + X0Y0_お下げ右_髪右1.SetSizeXBase(X0Y0_お下げ右_髪右1.GetSizeXBase() * num); + X0Y0_お下げ右_髪左1.SetSizeXBase(X0Y0_お下げ右_髪左1.GetSizeXBase() * num); + X0Y0_お下げ右_髪根.SetSizeXBase(X0Y0_お下げ右_髪根.GetSizeXBase() * num); } } @@ -1074,10 +1074,10 @@ namespace SlaveMatrix { set { - X0Y0_お下げ左_髪左1.AngleBase = 3.0 * value; - X0Y0_お下げ左_髪右1.AngleBase = -3.0 * value; - X0Y0_お下げ右_髪右1.AngleBase = -3.0 * value; - X0Y0_お下げ右_髪左1.AngleBase = 3.0 * value; + X0Y0_お下げ左_髪左1.SetAngleBase(3.0 * value); + X0Y0_お下げ左_髪右1.SetAngleBase(-3.0 * value); + X0Y0_お下げ右_髪右1.SetAngleBase(-3.0 * value); + X0Y0_お下げ右_髪左1.SetAngleBase(3.0 * value); } } @@ -1286,161 +1286,161 @@ namespace SlaveMatrix { double num = (右 ? (-1.0) : 1.0); double num2 = 2.5 + 2.5 * RNG.XS.NextDouble(); - X0Y0_お下げ左_編節1_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節2_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節3_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節4_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節5_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節6_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節7_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節8_髪節.AngleBase = num * num2; - X0Y0_お下げ左_髪根.AngleBase = num * num2; - X0Y0_お下げ右_編節1_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節2_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節3_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節4_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節5_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節6_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節7_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節8_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_髪根.AngleBase = num * (0.0 - num2); + X0Y0_お下げ左_編節1_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節2_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節3_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節4_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節5_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節6_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節7_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節8_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_髪根.SetAngleBase(num * num2); + X0Y0_お下げ右_編節1_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節2_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節3_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節4_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節5_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節6_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節7_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節8_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_髪根.SetAngleBase(num * (0.0 - num2)); Body.JoinPAall(); } public void スライム() { - X0Y0_髪基.OP[右 ? 1 : 0].Outline = false; - X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false; - X0Y0_お下げ左_編節1_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節1_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節1_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節1_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節1_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節1_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節2_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節2_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節2_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節2_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節2_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節2_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節3_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節3_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節3_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節3_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節3_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節3_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節4_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節4_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節4_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節4_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節4_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節4_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節5_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節5_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節5_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節5_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節5_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節5_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節6_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節6_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節6_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節6_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節6_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節6_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節7_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節7_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節7_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節7_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節7_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節7_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節8_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節8_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節8_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節8_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節8_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節8_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_髪縛1.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_髪縛2.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_髪左1.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪左1.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪左1.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_髪左1.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪左1.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪右1.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪右1.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪右1.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_髪右1.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪右1.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_髪根.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_髪根.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節1_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節1_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節1_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節1_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節1_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節1_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節2_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節2_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節2_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節2_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節2_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節2_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節3_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節3_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節3_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節3_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節3_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節3_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節4_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節4_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節4_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節4_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節4_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節4_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節5_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節5_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節5_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節5_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節5_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節5_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節6_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節6_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節6_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節6_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節6_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節6_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節7_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節7_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節7_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節7_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節7_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節7_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節8_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節8_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節8_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節8_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節8_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節8_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_髪縛1.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_髪縛2.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_髪右1.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪右1.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪右1.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_髪右1.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪右1.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪左1.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪左1.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪左1.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_髪左1.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪左1.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_髪根.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_髪根.OP[(!右) ? 4 : 0].Outline = false; + X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false; + X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false; + X0Y0_お下げ左_編節1_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節1_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節1_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節1_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節1_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節1_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節2_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節2_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節2_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節2_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節2_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節2_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節3_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節3_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節3_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節3_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節3_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節3_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節4_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節4_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節4_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節4_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節4_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節4_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節5_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節5_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節5_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節5_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節5_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節5_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節6_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節6_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節6_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節6_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節6_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節6_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節7_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節7_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節7_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節7_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節7_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節7_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節8_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節8_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節8_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節8_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節8_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節8_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_髪縛1.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_髪縛2.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_髪左1.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪左1.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪左1.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_髪左1.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪左1.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪右1.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪右1.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪右1.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_髪右1.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪右1.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節1_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節1_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節1_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節1_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節1_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節1_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節2_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節2_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節2_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節2_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節2_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節2_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節3_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節3_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節3_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節3_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節3_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節3_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節4_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節4_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節4_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節4_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節4_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節4_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節5_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節5_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節5_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節5_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節5_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節5_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節6_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節6_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節6_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節6_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節6_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節6_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節7_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節7_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節7_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節7_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節7_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節7_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節8_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節8_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節8_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節8_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節8_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節8_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_髪縛1.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_髪縛2.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_髪右1.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪右1.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪右1.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_髪右1.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪右1.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪左1.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪左1.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪左1.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_髪左1.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪左1.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[(!右) ? 4 : 0].Outline = false; } public override bool Is布(Par p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2ハネD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2ハネD.cs index 97e7388..139fdc6 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2ハネD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2ハネD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2パツ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2パツ.cs index b89ebce..c15a0fe 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2パツ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2パツ.cs @@ -970,7 +970,7 @@ namespace SlaveMatrix set { double num = 0.7 + 0.3 * value; - X0Y0_髪基.SizeYBase *= num; + X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num); } } @@ -979,44 +979,44 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_お下げ左_編節1_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節1_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節2_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節2_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節3_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節3_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節4_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節4_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節5_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節5_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節6_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節6_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節7_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節7_髪編目.SizeYBase *= num; - X0Y0_お下げ左_編節8_髪節.SizeYBase *= num; - X0Y0_お下げ左_編節8_髪編目.SizeYBase *= num; - X0Y0_お下げ左_髪左1.SizeYBase *= num; - X0Y0_お下げ左_髪右1.SizeYBase *= num; - X0Y0_お下げ左_髪根.SizeYBase *= num; - X0Y0_お下げ右_編節1_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節1_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節2_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節2_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節3_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節3_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節4_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節4_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節5_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節5_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節6_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節6_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節7_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節7_髪編目.SizeYBase *= num; - X0Y0_お下げ右_編節8_髪節.SizeYBase *= num; - X0Y0_お下げ右_編節8_髪編目.SizeYBase *= num; - X0Y0_お下げ右_髪右1.SizeYBase *= num; - X0Y0_お下げ右_髪左1.SizeYBase *= num; - X0Y0_お下げ右_髪根.SizeYBase *= num; + X0Y0_お下げ左_編節1_髪節.SetSizeYBase(X0Y0_お下げ左_編節1_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節1_髪編目.SetSizeYBase(X0Y0_お下げ左_編節1_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節2_髪節.SetSizeYBase(X0Y0_お下げ左_編節2_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節2_髪編目.SetSizeYBase(X0Y0_お下げ左_編節2_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節3_髪節.SetSizeYBase(X0Y0_お下げ左_編節3_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節3_髪編目.SetSizeYBase(X0Y0_お下げ左_編節3_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節4_髪節.SetSizeYBase(X0Y0_お下げ左_編節4_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節4_髪編目.SetSizeYBase(X0Y0_お下げ左_編節4_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節5_髪節.SetSizeYBase(X0Y0_お下げ左_編節5_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節5_髪編目.SetSizeYBase(X0Y0_お下げ左_編節5_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節6_髪節.SetSizeYBase(X0Y0_お下げ左_編節6_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節6_髪編目.SetSizeYBase(X0Y0_お下げ左_編節6_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節7_髪節.SetSizeYBase(X0Y0_お下げ左_編節7_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節7_髪編目.SetSizeYBase(X0Y0_お下げ左_編節7_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_編節8_髪節.SetSizeYBase(X0Y0_お下げ左_編節8_髪節.GetSizeYBase() * num); + X0Y0_お下げ左_編節8_髪編目.SetSizeYBase(X0Y0_お下げ左_編節8_髪編目.GetSizeYBase() * num); + X0Y0_お下げ左_髪左1.SetSizeYBase(X0Y0_お下げ左_髪左1.GetSizeYBase() * num); + X0Y0_お下げ左_髪右1.SetSizeYBase(X0Y0_お下げ左_髪右1.GetSizeYBase() * num); + X0Y0_お下げ左_髪根.SetSizeYBase(X0Y0_お下げ左_髪根.GetSizeYBase() * num); + X0Y0_お下げ右_編節1_髪節.SetSizeYBase(X0Y0_お下げ右_編節1_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節1_髪編目.SetSizeYBase(X0Y0_お下げ右_編節1_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節2_髪節.SetSizeYBase(X0Y0_お下げ右_編節2_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節2_髪編目.SetSizeYBase(X0Y0_お下げ右_編節2_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節3_髪節.SetSizeYBase(X0Y0_お下げ右_編節3_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節3_髪編目.SetSizeYBase(X0Y0_お下げ右_編節3_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節4_髪節.SetSizeYBase(X0Y0_お下げ右_編節4_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節4_髪編目.SetSizeYBase(X0Y0_お下げ右_編節4_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節5_髪節.SetSizeYBase(X0Y0_お下げ右_編節5_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節5_髪編目.SetSizeYBase(X0Y0_お下げ右_編節5_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節6_髪節.SetSizeYBase(X0Y0_お下げ右_編節6_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節6_髪編目.SetSizeYBase(X0Y0_お下げ右_編節6_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節7_髪節.SetSizeYBase(X0Y0_お下げ右_編節7_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節7_髪編目.SetSizeYBase(X0Y0_お下げ右_編節7_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_編節8_髪節.SetSizeYBase(X0Y0_お下げ右_編節8_髪節.GetSizeYBase() * num); + X0Y0_お下げ右_編節8_髪編目.SetSizeYBase(X0Y0_お下げ右_編節8_髪編目.GetSizeYBase() * num); + X0Y0_お下げ右_髪右1.SetSizeYBase(X0Y0_お下げ右_髪右1.GetSizeYBase() * num); + X0Y0_お下げ右_髪左1.SetSizeYBase(X0Y0_お下げ右_髪左1.GetSizeYBase() * num); + X0Y0_お下げ右_髪根.SetSizeYBase(X0Y0_お下げ右_髪根.GetSizeYBase() * num); } } @@ -1025,48 +1025,48 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_お下げ左_編節1_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節1_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節2_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節2_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節3_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節3_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節4_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節4_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節5_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節5_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節6_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節6_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節7_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節7_髪編目.SizeXBase *= num; - X0Y0_お下げ左_編節8_髪節.SizeXBase *= num; - X0Y0_お下げ左_編節8_髪編目.SizeXBase *= num; - X0Y0_お下げ左_髪縛1.SizeBase *= num; - X0Y0_お下げ左_髪縛2.SizeBase *= num; - X0Y0_お下げ左_髪左1.SizeXBase *= num; - X0Y0_お下げ左_髪右1.SizeXBase *= num; - X0Y0_お下げ左_髪根.SizeXBase *= num; - X0Y0_お下げ右_編節1_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節1_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節2_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節2_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節3_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節3_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節4_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節4_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節5_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節5_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節6_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節6_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節7_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節7_髪編目.SizeXBase *= num; - X0Y0_お下げ右_編節8_髪節.SizeXBase *= num; - X0Y0_お下げ右_編節8_髪編目.SizeXBase *= num; - X0Y0_お下げ右_髪縛1.SizeBase *= num; - X0Y0_お下げ右_髪縛2.SizeBase *= num; - X0Y0_お下げ右_髪右1.SizeXBase *= num; - X0Y0_お下げ右_髪左1.SizeXBase *= num; - X0Y0_お下げ右_髪根.SizeXBase *= num; + X0Y0_お下げ左_編節1_髪節.SetSizeXBase(X0Y0_お下げ左_編節1_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節1_髪編目.SetSizeXBase(X0Y0_お下げ左_編節1_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節2_髪節.SetSizeXBase(X0Y0_お下げ左_編節2_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節2_髪編目.SetSizeXBase(X0Y0_お下げ左_編節2_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節3_髪節.SetSizeXBase(X0Y0_お下げ左_編節3_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節3_髪編目.SetSizeXBase(X0Y0_お下げ左_編節3_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節4_髪節.SetSizeXBase(X0Y0_お下げ左_編節4_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節4_髪編目.SetSizeXBase(X0Y0_お下げ左_編節4_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節5_髪節.SetSizeXBase(X0Y0_お下げ左_編節5_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節5_髪編目.SetSizeXBase(X0Y0_お下げ左_編節5_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節6_髪節.SetSizeXBase(X0Y0_お下げ左_編節6_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節6_髪編目.SetSizeXBase(X0Y0_お下げ左_編節6_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節7_髪節.SetSizeXBase(X0Y0_お下げ左_編節7_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節7_髪編目.SetSizeXBase(X0Y0_お下げ左_編節7_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_編節8_髪節.SetSizeXBase(X0Y0_お下げ左_編節8_髪節.GetSizeXBase() * num); + X0Y0_お下げ左_編節8_髪編目.SetSizeXBase(X0Y0_お下げ左_編節8_髪編目.GetSizeXBase() * num); + X0Y0_お下げ左_髪縛1.SetSizeBase(X0Y0_お下げ左_髪縛1.GetSizeBase() * num); + X0Y0_お下げ左_髪縛2.SetSizeBase(X0Y0_お下げ左_髪縛2.GetSizeBase() * num); + X0Y0_お下げ左_髪左1.SetSizeXBase(X0Y0_お下げ左_髪左1.GetSizeXBase() * num); + X0Y0_お下げ左_髪右1.SetSizeXBase(X0Y0_お下げ左_髪右1.GetSizeXBase() * num); + X0Y0_お下げ左_髪根.SetSizeXBase(X0Y0_お下げ左_髪根.GetSizeXBase() * num); + X0Y0_お下げ右_編節1_髪節.SetSizeXBase(X0Y0_お下げ右_編節1_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節1_髪編目.SetSizeXBase(X0Y0_お下げ右_編節1_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節2_髪節.SetSizeXBase(X0Y0_お下げ右_編節2_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節2_髪編目.SetSizeXBase(X0Y0_お下げ右_編節2_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節3_髪節.SetSizeXBase(X0Y0_お下げ右_編節3_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節3_髪編目.SetSizeXBase(X0Y0_お下げ右_編節3_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節4_髪節.SetSizeXBase(X0Y0_お下げ右_編節4_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節4_髪編目.SetSizeXBase(X0Y0_お下げ右_編節4_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節5_髪節.SetSizeXBase(X0Y0_お下げ右_編節5_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節5_髪編目.SetSizeXBase(X0Y0_お下げ右_編節5_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節6_髪節.SetSizeXBase(X0Y0_お下げ右_編節6_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節6_髪編目.SetSizeXBase(X0Y0_お下げ右_編節6_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節7_髪節.SetSizeXBase(X0Y0_お下げ右_編節7_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節7_髪編目.SetSizeXBase(X0Y0_お下げ右_編節7_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_編節8_髪節.SetSizeXBase(X0Y0_お下げ右_編節8_髪節.GetSizeXBase() * num); + X0Y0_お下げ右_編節8_髪編目.SetSizeXBase(X0Y0_お下げ右_編節8_髪編目.GetSizeXBase() * num); + X0Y0_お下げ右_髪縛1.SetSizeBase(X0Y0_お下げ右_髪縛1.GetSizeBase() * num); + X0Y0_お下げ右_髪縛2.SetSizeBase(X0Y0_お下げ右_髪縛2.GetSizeBase() * num); + X0Y0_お下げ右_髪右1.SetSizeXBase(X0Y0_お下げ右_髪右1.GetSizeXBase() * num); + X0Y0_お下げ右_髪左1.SetSizeXBase(X0Y0_お下げ右_髪左1.GetSizeXBase() * num); + X0Y0_お下げ右_髪根.SetSizeXBase(X0Y0_お下げ右_髪根.GetSizeXBase() * num); } } @@ -1074,10 +1074,10 @@ namespace SlaveMatrix { set { - X0Y0_お下げ左_髪左1.AngleBase = 3.0 * value; - X0Y0_お下げ左_髪右1.AngleBase = -3.0 * value; - X0Y0_お下げ右_髪右1.AngleBase = -3.0 * value; - X0Y0_お下げ右_髪左1.AngleBase = 3.0 * value; + X0Y0_お下げ左_髪左1.SetAngleBase(3.0 * value); + X0Y0_お下げ左_髪右1.SetAngleBase(-3.0 * value); + X0Y0_お下げ右_髪右1.SetAngleBase(-3.0 * value); + X0Y0_お下げ右_髪左1.SetAngleBase(3.0 * value); } } @@ -1286,155 +1286,155 @@ namespace SlaveMatrix { double num = (右 ? (-1.0) : 1.0); double num2 = 2.5 + 2.5 * RNG.XS.NextDouble(); - X0Y0_お下げ左_編節1_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節2_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節3_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節4_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節5_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節6_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節7_髪節.AngleBase = num * num2; - X0Y0_お下げ左_編節8_髪節.AngleBase = num * num2; - X0Y0_お下げ左_髪根.AngleBase = num * num2; - X0Y0_お下げ右_編節1_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節2_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節3_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節4_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節5_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節6_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節7_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_編節8_髪節.AngleBase = num * (0.0 - num2); - X0Y0_お下げ右_髪根.AngleBase = num * (0.0 - num2); + X0Y0_お下げ左_編節1_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節2_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節3_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節4_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節5_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節6_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節7_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_編節8_髪節.SetAngleBase(num * num2); + X0Y0_お下げ左_髪根.SetAngleBase(num * num2); + X0Y0_お下げ右_編節1_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節2_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節3_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節4_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節5_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節6_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節7_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_編節8_髪節.SetAngleBase(num * (0.0 - num2)); + X0Y0_お下げ右_髪根.SetAngleBase(num * (0.0 - num2)); Body.JoinPAall(); } public void スライム() { - X0Y0_髪基.OP[右 ? 1 : 0].Outline = false; - X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false; - X0Y0_お下げ左_編節1_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節1_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節1_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節1_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節1_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節1_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節2_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節2_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節2_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節2_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節2_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節2_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節3_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節3_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節3_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節3_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節3_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節3_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節4_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節4_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節4_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節4_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節4_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節4_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節5_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節5_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節5_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節5_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節5_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節5_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節6_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節6_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節6_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節6_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節6_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節6_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節7_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節7_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節7_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節7_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節7_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節7_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_編節8_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節8_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節8_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ左_編節8_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ左_編節8_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ左_編節8_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_髪縛1.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_髪縛2.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ左_髪左1.OP[右 ? 3 : 0].Outline = false; - X0Y0_お下げ左_髪左1.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_お下げ左_髪左1.OP[右 ? 1 : 2].Outline = false; - X0Y0_お下げ左_髪左1.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_お下げ左_髪右1.OP[右 ? 3 : 0].Outline = false; - X0Y0_お下げ左_髪右1.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_お下げ左_髪右1.OP[右 ? 1 : 2].Outline = false; - X0Y0_お下げ左_髪右1.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 3 : 0].Outline = false; - X0Y0_お下げ左_髪根.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_お下げ左_髪根.OP[右 ? 1 : 2].Outline = false; - X0Y0_お下げ左_髪根.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_お下げ右_編節1_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節1_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節1_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節1_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節1_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節1_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節2_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節2_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節2_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節2_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節2_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節2_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節3_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節3_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節3_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節3_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節3_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節3_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節4_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節4_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節4_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節4_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節4_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節4_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節5_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節5_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節5_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節5_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節5_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節5_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節6_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節6_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節6_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節6_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節6_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節6_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節7_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節7_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節7_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節7_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節7_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節7_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_編節8_髪節.OP[右 ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節8_髪節.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節8_髪節.OP[右 ? 2 : 2].Outline = false; - X0Y0_お下げ右_編節8_髪節.OP[右 ? 1 : 3].Outline = false; - X0Y0_お下げ右_編節8_髪節.OP[(!右) ? 4 : 0].Outline = false; - X0Y0_お下げ右_編節8_髪編目.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_髪縛1.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_髪縛2.OP[右 ? 0 : 0].Outline = false; - X0Y0_お下げ右_髪右1.OP[右 ? 3 : 0].Outline = false; - X0Y0_お下げ右_髪右1.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_お下げ右_髪右1.OP[右 ? 1 : 2].Outline = false; - X0Y0_お下げ右_髪右1.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_お下げ右_髪左1.OP[右 ? 3 : 0].Outline = false; - X0Y0_お下げ右_髪左1.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_お下げ右_髪左1.OP[右 ? 1 : 2].Outline = false; - X0Y0_お下げ右_髪左1.OP[(!右) ? 3 : 0].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 3 : 0].Outline = false; - X0Y0_お下げ右_髪根.OP[(!右) ? 1 : 2].Outline = false; - X0Y0_お下げ右_髪根.OP[右 ? 1 : 2].Outline = false; - X0Y0_お下げ右_髪根.OP[(!右) ? 3 : 0].Outline = false; + X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false; + X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false; + X0Y0_お下げ左_編節1_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節1_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節1_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節1_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節1_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節1_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節2_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節2_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節2_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節2_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節2_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節2_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節3_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節3_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節3_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節3_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節3_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節3_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節4_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節4_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節4_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節4_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節4_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節4_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節5_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節5_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節5_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節5_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節5_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節5_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節6_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節6_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節6_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節6_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節6_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節6_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節7_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節7_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節7_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節7_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節7_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節7_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_編節8_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節8_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節8_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ左_編節8_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ左_編節8_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ左_編節8_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_髪縛1.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_髪縛2.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ左_髪左1.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_お下げ左_髪左1.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_お下げ左_髪左1.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_お下げ左_髪左1.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_お下げ左_髪右1.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_お下げ左_髪右1.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_お下げ左_髪右1.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_お下げ左_髪右1.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_お下げ左_髪根.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_お下げ右_編節1_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節1_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節1_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節1_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節1_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節1_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節2_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節2_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節2_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節2_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節2_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節2_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節3_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節3_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節3_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節3_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節3_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節3_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節4_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節4_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節4_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節4_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節4_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節4_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節5_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節5_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節5_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節5_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節5_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節5_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節6_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節6_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節6_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節6_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節6_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節6_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節7_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節7_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節7_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節7_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節7_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節7_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_編節8_髪節.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節8_髪節.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節8_髪節.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_お下げ右_編節8_髪節.GetOP()[右 ? 1 : 3].Outline = false; + X0Y0_お下げ右_編節8_髪節.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y0_お下げ右_編節8_髪編目.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_髪縛1.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_髪縛2.GetOP()[右 ? 0 : 0].Outline = false; + X0Y0_お下げ右_髪右1.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_お下げ右_髪右1.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_お下げ右_髪右1.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_お下げ右_髪右1.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_お下げ右_髪左1.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_お下げ右_髪左1.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_お下げ右_髪左1.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_お下げ右_髪左1.GetOP()[(!右) ? 3 : 0].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 3 : 0].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[(!右) ? 1 : 2].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[右 ? 1 : 2].Outline = false; + X0Y0_お下げ右_髪根.GetOP()[(!右) ? 3 : 0].Outline = false; } public override bool Is布(Par p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2パツD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2パツD.cs index eebb9fe..f887ac3 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2パツD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2パツD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_肢系.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_肢系.cs index a2c1784..1e2f58c 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_肢系.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_肢系.cs @@ -1,6 +1,7 @@ using System.Collections.Generic; using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -112,7 +113,7 @@ namespace SlaveMatrix set { double num = 0.7 + 0.3 * value; - X0Y0_髪基.SizeYBase *= num; + X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num); } } @@ -323,8 +324,8 @@ namespace SlaveMatrix public void スライム() { - X0Y0_髪基.OP[右 ? 1 : 0].Outline = false; - X0Y0_髪基.OP[(!右) ? 1 : 0].Outline = false; + X0Y0_髪基.GetOP()[右 ? 1 : 0].Outline = false; + X0Y0_髪基.GetOP()[(!右) ? 1 : 0].Outline = false; } public override void 色更新() diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_肢系D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_肢系D.cs index 8b1a8e3..2a915e1 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_肢系D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_肢系D.cs @@ -2,6 +2,7 @@ using System; using System.Collections.Generic; using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1.cs index 96a5887..ed80262 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class BackHair1 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1カル.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1カル.cs index 842fab5..4ea7735 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1カル.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1カル.cs @@ -235,13 +235,13 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_お下げ_髪根.SizeYBase *= num; - X0Y0_お下げ_髪左1.SizeYBase *= num; - X0Y0_お下げ_髪左2.SizeYBase *= num; - X0Y0_お下げ_髪左3.SizeYBase *= num; - X0Y0_お下げ_髪右1.SizeYBase *= num; - X0Y0_お下げ_髪右2.SizeYBase *= num; - X0Y0_お下げ_髪右3.SizeYBase *= num; + X0Y0_お下げ_髪根.SetSizeYBase(X0Y0_お下げ_髪根.GetSizeYBase() * num); + X0Y0_お下げ_髪左1.SetSizeYBase(X0Y0_お下げ_髪左1.GetSizeYBase() * num); + X0Y0_お下げ_髪左2.SetSizeYBase(X0Y0_お下げ_髪左2.GetSizeYBase() * num); + X0Y0_お下げ_髪左3.SetSizeYBase(X0Y0_お下げ_髪左3.GetSizeYBase() * num); + X0Y0_お下げ_髪右1.SetSizeYBase(X0Y0_お下げ_髪右1.GetSizeYBase() * num); + X0Y0_お下げ_髪右2.SetSizeYBase(X0Y0_お下げ_髪右2.GetSizeYBase() * num); + X0Y0_お下げ_髪右3.SetSizeYBase(X0Y0_お下げ_髪右3.GetSizeYBase() * num); } } @@ -250,13 +250,13 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_お下げ_髪根.SizeXBase *= num; - X0Y0_お下げ_髪左1.SizeXBase *= num; - X0Y0_お下げ_髪左2.SizeXBase *= num; - X0Y0_お下げ_髪左3.SizeXBase *= num; - X0Y0_お下げ_髪右1.SizeXBase *= num; - X0Y0_お下げ_髪右2.SizeXBase *= num; - X0Y0_お下げ_髪右3.SizeXBase *= num; + X0Y0_お下げ_髪根.SetSizeXBase(X0Y0_お下げ_髪根.GetSizeXBase() * num); + X0Y0_お下げ_髪左1.SetSizeXBase(X0Y0_お下げ_髪左1.GetSizeXBase() * num); + X0Y0_お下げ_髪左2.SetSizeXBase(X0Y0_お下げ_髪左2.GetSizeXBase() * num); + X0Y0_お下げ_髪左3.SetSizeXBase(X0Y0_お下げ_髪左3.GetSizeXBase() * num); + X0Y0_お下げ_髪右1.SetSizeXBase(X0Y0_お下げ_髪右1.GetSizeXBase() * num); + X0Y0_お下げ_髪右2.SetSizeXBase(X0Y0_お下げ_髪右2.GetSizeXBase() * num); + X0Y0_お下げ_髪右3.SetSizeXBase(X0Y0_お下げ_髪右3.GetSizeXBase() * num); } } @@ -264,12 +264,12 @@ namespace SlaveMatrix { set { - X0Y0_お下げ_髪左1.AngleBase = 1.5 * value; - X0Y0_お下げ_髪左2.AngleBase = 1.5 * value; - X0Y0_お下げ_髪左3.AngleBase = 1.5 * value; - X0Y0_お下げ_髪右1.AngleBase = -1.5 * value; - X0Y0_お下げ_髪右2.AngleBase = -1.5 * value; - X0Y0_お下げ_髪右3.AngleBase = -1.5 * value; + X0Y0_お下げ_髪左1.SetAngleBase(1.5 * value); + X0Y0_お下げ_髪左2.SetAngleBase(1.5 * value); + X0Y0_お下げ_髪左3.SetAngleBase(1.5 * value); + X0Y0_お下げ_髪右1.SetAngleBase(-1.5 * value); + X0Y0_お下げ_髪右2.SetAngleBase(-1.5 * value); + X0Y0_お下げ_髪右3.SetAngleBase(-1.5 * value); } } @@ -277,7 +277,7 @@ namespace SlaveMatrix { set { - X0Y0_お下げ_髪根.PositionCont = new Vector2D(X0Y0_お下げ_髪根.PositionCont.X, X0Y0_お下げ_髪根.PositionCont.Y + 0.02 * value.Inverse()); + X0Y0_お下げ_髪根.SetPositionCont(new Vector2D(X0Y0_お下げ_髪根.GetPositionCont().X, X0Y0_お下げ_髪根.GetPositionCont().Y + 0.02 * value.Inverse())); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1カルD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1カルD.cs index 44f1d54..fe5c236 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1カルD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1カルD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1ジグ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1ジグ.cs index 5592b81..9687344 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1ジグ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1ジグ.cs @@ -235,13 +235,13 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_お下げ_髪根.SizeYBase *= num; - X0Y0_お下げ_髪左1.SizeYBase *= num; - X0Y0_お下げ_髪左2.SizeYBase *= num; - X0Y0_お下げ_髪左3.SizeYBase *= num; - X0Y0_お下げ_髪右1.SizeYBase *= num; - X0Y0_お下げ_髪右2.SizeYBase *= num; - X0Y0_お下げ_髪右3.SizeYBase *= num; + X0Y0_お下げ_髪根.SetSizeYBase(X0Y0_お下げ_髪根.GetSizeYBase() * num); + X0Y0_お下げ_髪左1.SetSizeYBase(X0Y0_お下げ_髪左1.GetSizeYBase() * num); + X0Y0_お下げ_髪左2.SetSizeYBase(X0Y0_お下げ_髪左2.GetSizeYBase() * num); + X0Y0_お下げ_髪左3.SetSizeYBase(X0Y0_お下げ_髪左3.GetSizeYBase() * num); + X0Y0_お下げ_髪右1.SetSizeYBase(X0Y0_お下げ_髪右1.GetSizeYBase() * num); + X0Y0_お下げ_髪右2.SetSizeYBase(X0Y0_お下げ_髪右2.GetSizeYBase() * num); + X0Y0_お下げ_髪右3.SetSizeYBase(X0Y0_お下げ_髪右3.GetSizeYBase() * num); } } @@ -250,13 +250,13 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_お下げ_髪根.SizeXBase *= num; - X0Y0_お下げ_髪左1.SizeXBase *= num; - X0Y0_お下げ_髪左2.SizeXBase *= num; - X0Y0_お下げ_髪左3.SizeXBase *= num; - X0Y0_お下げ_髪右1.SizeXBase *= num; - X0Y0_お下げ_髪右2.SizeXBase *= num; - X0Y0_お下げ_髪右3.SizeXBase *= num; + X0Y0_お下げ_髪根.SetSizeXBase(X0Y0_お下げ_髪根.GetSizeXBase() * num); + X0Y0_お下げ_髪左1.SetSizeXBase(X0Y0_お下げ_髪左1.GetSizeXBase() * num); + X0Y0_お下げ_髪左2.SetSizeXBase(X0Y0_お下げ_髪左2.GetSizeXBase() * num); + X0Y0_お下げ_髪左3.SetSizeXBase(X0Y0_お下げ_髪左3.GetSizeXBase() * num); + X0Y0_お下げ_髪右1.SetSizeXBase(X0Y0_お下げ_髪右1.GetSizeXBase() * num); + X0Y0_お下げ_髪右2.SetSizeXBase(X0Y0_お下げ_髪右2.GetSizeXBase() * num); + X0Y0_お下げ_髪右3.SetSizeXBase(X0Y0_お下げ_髪右3.GetSizeXBase() * num); } } @@ -264,12 +264,12 @@ namespace SlaveMatrix { set { - X0Y0_お下げ_髪左1.AngleBase = 1.5 * value; - X0Y0_お下げ_髪左2.AngleBase = 1.5 * value; - X0Y0_お下げ_髪左3.AngleBase = 1.5 * value; - X0Y0_お下げ_髪右1.AngleBase = -1.5 * value; - X0Y0_お下げ_髪右2.AngleBase = -1.5 * value; - X0Y0_お下げ_髪右3.AngleBase = -1.5 * value; + X0Y0_お下げ_髪左1.SetAngleBase(1.5 * value); + X0Y0_お下げ_髪左2.SetAngleBase(1.5 * value); + X0Y0_お下げ_髪左3.SetAngleBase(1.5 * value); + X0Y0_お下げ_髪右1.SetAngleBase(-1.5 * value); + X0Y0_お下げ_髪右2.SetAngleBase(-1.5 * value); + X0Y0_お下げ_髪右3.SetAngleBase(-1.5 * value); } } @@ -277,7 +277,7 @@ namespace SlaveMatrix { set { - X0Y0_お下げ_髪根.PositionCont = new Vector2D(X0Y0_お下げ_髪根.PositionCont.X, X0Y0_お下げ_髪根.PositionCont.Y + 0.02 * value.Inverse()); + X0Y0_お下げ_髪根.SetPositionCont(new Vector2D(X0Y0_お下げ_髪根.GetPositionCont().X, X0Y0_お下げ_髪根.GetPositionCont().Y + 0.02 * value.Inverse())); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1ジグD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1ジグD.cs index d8b21af..c81f08f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1ジグD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1ジグD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1ハネ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1ハネ.cs index 99e9602..bedfcca 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1ハネ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1ハネ.cs @@ -235,13 +235,13 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_お下げ_髪根.SizeYBase *= num; - X0Y0_お下げ_髪左1.SizeYBase *= num; - X0Y0_お下げ_髪左2.SizeYBase *= num; - X0Y0_お下げ_髪左3.SizeYBase *= num; - X0Y0_お下げ_髪右1.SizeYBase *= num; - X0Y0_お下げ_髪右2.SizeYBase *= num; - X0Y0_お下げ_髪右3.SizeYBase *= num; + X0Y0_お下げ_髪根.SetSizeYBase(X0Y0_お下げ_髪根.GetSizeYBase() * num); + X0Y0_お下げ_髪左1.SetSizeYBase(X0Y0_お下げ_髪左1.GetSizeYBase() * num); + X0Y0_お下げ_髪左2.SetSizeYBase(X0Y0_お下げ_髪左2.GetSizeYBase() * num); + X0Y0_お下げ_髪左3.SetSizeYBase(X0Y0_お下げ_髪左3.GetSizeYBase() * num); + X0Y0_お下げ_髪右1.SetSizeYBase(X0Y0_お下げ_髪右1.GetSizeYBase() * num); + X0Y0_お下げ_髪右2.SetSizeYBase(X0Y0_お下げ_髪右2.GetSizeYBase() * num); + X0Y0_お下げ_髪右3.SetSizeYBase(X0Y0_お下げ_髪右3.GetSizeYBase() * num); } } @@ -250,13 +250,13 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_お下げ_髪根.SizeXBase *= num; - X0Y0_お下げ_髪左1.SizeXBase *= num; - X0Y0_お下げ_髪左2.SizeXBase *= num; - X0Y0_お下げ_髪左3.SizeXBase *= num; - X0Y0_お下げ_髪右1.SizeXBase *= num; - X0Y0_お下げ_髪右2.SizeXBase *= num; - X0Y0_お下げ_髪右3.SizeXBase *= num; + X0Y0_お下げ_髪根.SetSizeXBase(X0Y0_お下げ_髪根.GetSizeXBase() * num); + X0Y0_お下げ_髪左1.SetSizeXBase(X0Y0_お下げ_髪左1.GetSizeXBase() * num); + X0Y0_お下げ_髪左2.SetSizeXBase(X0Y0_お下げ_髪左2.GetSizeXBase() * num); + X0Y0_お下げ_髪左3.SetSizeXBase(X0Y0_お下げ_髪左3.GetSizeXBase() * num); + X0Y0_お下げ_髪右1.SetSizeXBase(X0Y0_お下げ_髪右1.GetSizeXBase() * num); + X0Y0_お下げ_髪右2.SetSizeXBase(X0Y0_お下げ_髪右2.GetSizeXBase() * num); + X0Y0_お下げ_髪右3.SetSizeXBase(X0Y0_お下げ_髪右3.GetSizeXBase() * num); } } @@ -264,12 +264,12 @@ namespace SlaveMatrix { set { - X0Y0_お下げ_髪左1.AngleBase = 1.5 * value; - X0Y0_お下げ_髪左2.AngleBase = 1.5 * value; - X0Y0_お下げ_髪左3.AngleBase = 1.5 * value; - X0Y0_お下げ_髪右1.AngleBase = -1.5 * value; - X0Y0_お下げ_髪右2.AngleBase = -1.5 * value; - X0Y0_お下げ_髪右3.AngleBase = -1.5 * value; + X0Y0_お下げ_髪左1.SetAngleBase(1.5 * value); + X0Y0_お下げ_髪左2.SetAngleBase(1.5 * value); + X0Y0_お下げ_髪左3.SetAngleBase(1.5 * value); + X0Y0_お下げ_髪右1.SetAngleBase(-1.5 * value); + X0Y0_お下げ_髪右2.SetAngleBase(-1.5 * value); + X0Y0_お下げ_髪右3.SetAngleBase(-1.5 * value); } } @@ -277,7 +277,7 @@ namespace SlaveMatrix { set { - X0Y0_お下げ_髪根.PositionCont = new Vector2D(X0Y0_お下げ_髪根.PositionCont.X, X0Y0_お下げ_髪根.PositionCont.Y + 0.02 * value.Inverse()); + X0Y0_お下げ_髪根.SetPositionCont(new Vector2D(X0Y0_お下げ_髪根.GetPositionCont().X, X0Y0_お下げ_髪根.GetPositionCont().Y + 0.02 * value.Inverse())); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1ハネD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1ハネD.cs index 84bb33e..94f1621 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1ハネD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1ハネD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1パツ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1パツ.cs index c5cfa9a..4f74456 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1パツ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1パツ.cs @@ -235,13 +235,13 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_お下げ_髪根.SizeYBase *= num; - X0Y0_お下げ_髪左1.SizeYBase *= num; - X0Y0_お下げ_髪左2.SizeYBase *= num; - X0Y0_お下げ_髪左3.SizeYBase *= num; - X0Y0_お下げ_髪右1.SizeYBase *= num; - X0Y0_お下げ_髪右2.SizeYBase *= num; - X0Y0_お下げ_髪右3.SizeYBase *= num; + X0Y0_お下げ_髪根.SetSizeYBase(X0Y0_お下げ_髪根.GetSizeYBase() * num); + X0Y0_お下げ_髪左1.SetSizeYBase(X0Y0_お下げ_髪左1.GetSizeYBase() * num); + X0Y0_お下げ_髪左2.SetSizeYBase(X0Y0_お下げ_髪左2.GetSizeYBase() * num); + X0Y0_お下げ_髪左3.SetSizeYBase(X0Y0_お下げ_髪左3.GetSizeYBase() * num); + X0Y0_お下げ_髪右1.SetSizeYBase(X0Y0_お下げ_髪右1.GetSizeYBase() * num); + X0Y0_お下げ_髪右2.SetSizeYBase(X0Y0_お下げ_髪右2.GetSizeYBase() * num); + X0Y0_お下げ_髪右3.SetSizeYBase(X0Y0_お下げ_髪右3.GetSizeYBase() * num); } } @@ -250,13 +250,13 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_お下げ_髪根.SizeXBase *= num; - X0Y0_お下げ_髪左1.SizeXBase *= num; - X0Y0_お下げ_髪左2.SizeXBase *= num; - X0Y0_お下げ_髪左3.SizeXBase *= num; - X0Y0_お下げ_髪右1.SizeXBase *= num; - X0Y0_お下げ_髪右2.SizeXBase *= num; - X0Y0_お下げ_髪右3.SizeXBase *= num; + X0Y0_お下げ_髪根.SetSizeXBase(X0Y0_お下げ_髪根.GetSizeXBase() * num); + X0Y0_お下げ_髪左1.SetSizeXBase(X0Y0_お下げ_髪左1.GetSizeXBase() * num); + X0Y0_お下げ_髪左2.SetSizeXBase(X0Y0_お下げ_髪左2.GetSizeXBase() * num); + X0Y0_お下げ_髪左3.SetSizeXBase(X0Y0_お下げ_髪左3.GetSizeXBase() * num); + X0Y0_お下げ_髪右1.SetSizeXBase(X0Y0_お下げ_髪右1.GetSizeXBase() * num); + X0Y0_お下げ_髪右2.SetSizeXBase(X0Y0_お下げ_髪右2.GetSizeXBase() * num); + X0Y0_お下げ_髪右3.SetSizeXBase(X0Y0_お下げ_髪右3.GetSizeXBase() * num); } } @@ -264,12 +264,12 @@ namespace SlaveMatrix { set { - X0Y0_お下げ_髪左1.AngleBase = 1.5 * value; - X0Y0_お下げ_髪左2.AngleBase = 1.5 * value; - X0Y0_お下げ_髪左3.AngleBase = 1.5 * value; - X0Y0_お下げ_髪右1.AngleBase = -1.5 * value; - X0Y0_お下げ_髪右2.AngleBase = -1.5 * value; - X0Y0_お下げ_髪右3.AngleBase = -1.5 * value; + X0Y0_お下げ_髪左1.SetAngleBase(1.5 * value); + X0Y0_お下げ_髪左2.SetAngleBase(1.5 * value); + X0Y0_お下げ_髪左3.SetAngleBase(1.5 * value); + X0Y0_お下げ_髪右1.SetAngleBase(-1.5 * value); + X0Y0_お下げ_髪右2.SetAngleBase(-1.5 * value); + X0Y0_お下げ_髪右3.SetAngleBase(-1.5 * value); } } @@ -277,7 +277,7 @@ namespace SlaveMatrix { set { - X0Y0_お下げ_髪根.PositionCont = new Vector2D(X0Y0_お下げ_髪根.PositionCont.X, X0Y0_お下げ_髪根.PositionCont.Y + 0.02 * value.Inverse()); + X0Y0_お下げ_髪根.SetPositionCont(new Vector2D(X0Y0_お下げ_髪根.GetPositionCont().X, X0Y0_お下げ_髪根.GetPositionCont().Y + 0.02 * value.Inverse())); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1パツD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1パツD.cs index 617a7d2..c8f6d7f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1パツD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1パツD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2カル.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2カル.cs index c38ced3..388ee71 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2カル.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2カル.cs @@ -214,12 +214,12 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_お下げ左_髪左根.SizeYBase *= num; - X0Y0_お下げ左_髪左1.SizeYBase *= num; - X0Y0_お下げ左_髪左2.SizeYBase *= num; - X0Y0_お下げ右_髪右根.SizeYBase *= num; - X0Y0_お下げ右_髪右1.SizeYBase *= num; - X0Y0_お下げ右_髪右2.SizeYBase *= num; + X0Y0_お下げ左_髪左根.SetSizeYBase(X0Y0_お下げ左_髪左根.GetSizeYBase() * num); + X0Y0_お下げ左_髪左1.SetSizeYBase(X0Y0_お下げ左_髪左1.GetSizeYBase() * num); + X0Y0_お下げ左_髪左2.SetSizeYBase(X0Y0_お下げ左_髪左2.GetSizeYBase() * num); + X0Y0_お下げ右_髪右根.SetSizeYBase(X0Y0_お下げ右_髪右根.GetSizeYBase() * num); + X0Y0_お下げ右_髪右1.SetSizeYBase(X0Y0_お下げ右_髪右1.GetSizeYBase() * num); + X0Y0_お下げ右_髪右2.SetSizeYBase(X0Y0_お下げ右_髪右2.GetSizeYBase() * num); } } @@ -228,12 +228,12 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_お下げ左_髪左根.SizeXBase *= num; - X0Y0_お下げ左_髪左1.SizeXBase *= num; - X0Y0_お下げ左_髪左2.SizeXBase *= num; - X0Y0_お下げ右_髪右根.SizeXBase *= num; - X0Y0_お下げ右_髪右1.SizeXBase *= num; - X0Y0_お下げ右_髪右2.SizeXBase *= num; + X0Y0_お下げ左_髪左根.SetSizeXBase(X0Y0_お下げ左_髪左根.GetSizeXBase() * num); + X0Y0_お下げ左_髪左1.SetSizeXBase(X0Y0_お下げ左_髪左1.GetSizeXBase() * num); + X0Y0_お下げ左_髪左2.SetSizeXBase(X0Y0_お下げ左_髪左2.GetSizeXBase() * num); + X0Y0_お下げ右_髪右根.SetSizeXBase(X0Y0_お下げ右_髪右根.GetSizeXBase() * num); + X0Y0_お下げ右_髪右1.SetSizeXBase(X0Y0_お下げ右_髪右1.GetSizeXBase() * num); + X0Y0_お下げ右_髪右2.SetSizeXBase(X0Y0_お下げ右_髪右2.GetSizeXBase() * num); } } @@ -241,10 +241,10 @@ namespace SlaveMatrix { set { - X0Y0_お下げ左_髪左1.AngleBase = 1.5 * value; - X0Y0_お下げ左_髪左2.AngleBase = 1.5 * value; - X0Y0_お下げ右_髪右1.AngleBase = -1.5 * value; - X0Y0_お下げ右_髪右2.AngleBase = -1.5 * value; + X0Y0_お下げ左_髪左1.SetAngleBase(1.5 * value); + X0Y0_お下げ左_髪左2.SetAngleBase(1.5 * value); + X0Y0_お下げ右_髪右1.SetAngleBase(-1.5 * value); + X0Y0_お下げ右_髪右2.SetAngleBase(-1.5 * value); } } @@ -253,8 +253,8 @@ namespace SlaveMatrix set { double num = value.Inverse(); - X0Y0_お下げ左_髪左根.PositionCont = new Vector2D(X0Y0_お下げ左_髪左根.PositionCont.X - 0.005 * num, X0Y0_お下げ左_髪左根.PositionCont.Y + 0.02 * num); - X0Y0_お下げ右_髪右根.PositionCont = new Vector2D(X0Y0_お下げ右_髪右根.PositionCont.X + 0.005 * num, X0Y0_お下げ右_髪右根.PositionCont.Y + 0.02 * num); + X0Y0_お下げ左_髪左根.SetPositionCont(new Vector2D(X0Y0_お下げ左_髪左根.GetPositionCont().X - 0.005 * num, X0Y0_お下げ左_髪左根.GetPositionCont().Y + 0.02 * num)); + X0Y0_お下げ右_髪右根.SetPositionCont(new Vector2D(X0Y0_お下げ右_髪右根.GetPositionCont().X + 0.005 * num, X0Y0_お下げ右_髪右根.GetPositionCont().Y + 0.02 * num)); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2カルD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2カルD.cs index 199250f..7ea7331 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2カルD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2カルD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2ジグ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2ジグ.cs index 5cd2b8c..021d781 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2ジグ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2ジグ.cs @@ -214,12 +214,12 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_お下げ左_髪左根.SizeYBase *= num; - X0Y0_お下げ左_髪左1.SizeYBase *= num; - X0Y0_お下げ左_髪左2.SizeYBase *= num; - X0Y0_お下げ右_髪右根.SizeYBase *= num; - X0Y0_お下げ右_髪右1.SizeYBase *= num; - X0Y0_お下げ右_髪右2.SizeYBase *= num; + X0Y0_お下げ左_髪左根.SetSizeYBase(X0Y0_お下げ左_髪左根.GetSizeYBase() * num); + X0Y0_お下げ左_髪左1.SetSizeYBase(X0Y0_お下げ左_髪左1.GetSizeYBase() * num); + X0Y0_お下げ左_髪左2.SetSizeYBase(X0Y0_お下げ左_髪左2.GetSizeYBase() * num); + X0Y0_お下げ右_髪右根.SetSizeYBase(X0Y0_お下げ右_髪右根.GetSizeYBase() * num); + X0Y0_お下げ右_髪右1.SetSizeYBase(X0Y0_お下げ右_髪右1.GetSizeYBase() * num); + X0Y0_お下げ右_髪右2.SetSizeYBase(X0Y0_お下げ右_髪右2.GetSizeYBase() * num); } } @@ -228,12 +228,12 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_お下げ左_髪左根.SizeXBase *= num; - X0Y0_お下げ左_髪左1.SizeXBase *= num; - X0Y0_お下げ左_髪左2.SizeXBase *= num; - X0Y0_お下げ右_髪右根.SizeXBase *= num; - X0Y0_お下げ右_髪右1.SizeXBase *= num; - X0Y0_お下げ右_髪右2.SizeXBase *= num; + X0Y0_お下げ左_髪左根.SetSizeXBase(X0Y0_お下げ左_髪左根.GetSizeXBase() * num); + X0Y0_お下げ左_髪左1.SetSizeXBase(X0Y0_お下げ左_髪左1.GetSizeXBase() * num); + X0Y0_お下げ左_髪左2.SetSizeXBase(X0Y0_お下げ左_髪左2.GetSizeXBase() * num); + X0Y0_お下げ右_髪右根.SetSizeXBase(X0Y0_お下げ右_髪右根.GetSizeXBase() * num); + X0Y0_お下げ右_髪右1.SetSizeXBase(X0Y0_お下げ右_髪右1.GetSizeXBase() * num); + X0Y0_お下げ右_髪右2.SetSizeXBase(X0Y0_お下げ右_髪右2.GetSizeXBase() * num); } } @@ -241,10 +241,10 @@ namespace SlaveMatrix { set { - X0Y0_お下げ左_髪左1.AngleBase = 1.5 * value; - X0Y0_お下げ左_髪左2.AngleBase = 1.5 * value; - X0Y0_お下げ右_髪右1.AngleBase = -1.5 * value; - X0Y0_お下げ右_髪右2.AngleBase = -1.5 * value; + X0Y0_お下げ左_髪左1.SetAngleBase(1.5 * value); + X0Y0_お下げ左_髪左2.SetAngleBase(1.5 * value); + X0Y0_お下げ右_髪右1.SetAngleBase(-1.5 * value); + X0Y0_お下げ右_髪右2.SetAngleBase(-1.5 * value); } } @@ -253,8 +253,8 @@ namespace SlaveMatrix set { double num = value.Inverse(); - X0Y0_お下げ左_髪左根.PositionCont = new Vector2D(X0Y0_お下げ左_髪左根.PositionCont.X - 0.005 * num, X0Y0_お下げ左_髪左根.PositionCont.Y + 0.02 * num); - X0Y0_お下げ右_髪右根.PositionCont = new Vector2D(X0Y0_お下げ右_髪右根.PositionCont.X + 0.005 * num, X0Y0_お下げ右_髪右根.PositionCont.Y + 0.02 * num); + X0Y0_お下げ左_髪左根.SetPositionCont(new Vector2D(X0Y0_お下げ左_髪左根.GetPositionCont().X - 0.005 * num, X0Y0_お下げ左_髪左根.GetPositionCont().Y + 0.02 * num)); + X0Y0_お下げ右_髪右根.SetPositionCont(new Vector2D(X0Y0_お下げ右_髪右根.GetPositionCont().X + 0.005 * num, X0Y0_お下げ右_髪右根.GetPositionCont().Y + 0.02 * num)); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2ジグD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2ジグD.cs index 0f52e1b..92fccf3 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2ジグD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2ジグD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2ハネ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2ハネ.cs index 4428d29..edd506b 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2ハネ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2ハネ.cs @@ -214,12 +214,12 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_お下げ左_髪左根.SizeYBase *= num; - X0Y0_お下げ左_髪左1.SizeYBase *= num; - X0Y0_お下げ左_髪左2.SizeYBase *= num; - X0Y0_お下げ右_髪右根.SizeYBase *= num; - X0Y0_お下げ右_髪右1.SizeYBase *= num; - X0Y0_お下げ右_髪右2.SizeYBase *= num; + X0Y0_お下げ左_髪左根.SetSizeYBase(X0Y0_お下げ左_髪左根.GetSizeYBase() * num); + X0Y0_お下げ左_髪左1.SetSizeYBase(X0Y0_お下げ左_髪左1.GetSizeYBase() * num); + X0Y0_お下げ左_髪左2.SetSizeYBase(X0Y0_お下げ左_髪左2.GetSizeYBase() * num); + X0Y0_お下げ右_髪右根.SetSizeYBase(X0Y0_お下げ右_髪右根.GetSizeYBase() * num); + X0Y0_お下げ右_髪右1.SetSizeYBase(X0Y0_お下げ右_髪右1.GetSizeYBase() * num); + X0Y0_お下げ右_髪右2.SetSizeYBase(X0Y0_お下げ右_髪右2.GetSizeYBase() * num); } } @@ -228,12 +228,12 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_お下げ左_髪左根.SizeXBase *= num; - X0Y0_お下げ左_髪左1.SizeXBase *= num; - X0Y0_お下げ左_髪左2.SizeXBase *= num; - X0Y0_お下げ右_髪右根.SizeXBase *= num; - X0Y0_お下げ右_髪右1.SizeXBase *= num; - X0Y0_お下げ右_髪右2.SizeXBase *= num; + X0Y0_お下げ左_髪左根.SetSizeXBase(X0Y0_お下げ左_髪左根.GetSizeXBase() * num); + X0Y0_お下げ左_髪左1.SetSizeXBase(X0Y0_お下げ左_髪左1.GetSizeXBase() * num); + X0Y0_お下げ左_髪左2.SetSizeXBase(X0Y0_お下げ左_髪左2.GetSizeXBase() * num); + X0Y0_お下げ右_髪右根.SetSizeXBase(X0Y0_お下げ右_髪右根.GetSizeXBase() * num); + X0Y0_お下げ右_髪右1.SetSizeXBase(X0Y0_お下げ右_髪右1.GetSizeXBase() * num); + X0Y0_お下げ右_髪右2.SetSizeXBase(X0Y0_お下げ右_髪右2.GetSizeXBase() * num); } } @@ -241,10 +241,10 @@ namespace SlaveMatrix { set { - X0Y0_お下げ左_髪左1.AngleBase = 1.5 * value; - X0Y0_お下げ左_髪左2.AngleBase = 1.5 * value; - X0Y0_お下げ右_髪右1.AngleBase = -1.5 * value; - X0Y0_お下げ右_髪右2.AngleBase = -1.5 * value; + X0Y0_お下げ左_髪左1.SetAngleBase(1.5 * value); + X0Y0_お下げ左_髪左2.SetAngleBase(1.5 * value); + X0Y0_お下げ右_髪右1.SetAngleBase(-1.5 * value); + X0Y0_お下げ右_髪右2.SetAngleBase(-1.5 * value); } } @@ -253,8 +253,8 @@ namespace SlaveMatrix set { double num = value.Inverse(); - X0Y0_お下げ左_髪左根.PositionCont = new Vector2D(X0Y0_お下げ左_髪左根.PositionCont.X - 0.005 * num, X0Y0_お下げ左_髪左根.PositionCont.Y + 0.02 * num); - X0Y0_お下げ右_髪右根.PositionCont = new Vector2D(X0Y0_お下げ右_髪右根.PositionCont.X + 0.005 * num, X0Y0_お下げ右_髪右根.PositionCont.Y + 0.02 * num); + X0Y0_お下げ左_髪左根.SetPositionCont(new Vector2D(X0Y0_お下げ左_髪左根.GetPositionCont().X - 0.005 * num, X0Y0_お下げ左_髪左根.GetPositionCont().Y + 0.02 * num)); + X0Y0_お下げ右_髪右根.SetPositionCont(new Vector2D(X0Y0_お下げ右_髪右根.GetPositionCont().X + 0.005 * num, X0Y0_お下げ右_髪右根.GetPositionCont().Y + 0.02 * num)); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2ハネD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2ハネD.cs index 5b026ed..6d42e6b 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2ハネD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2ハネD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2パツ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2パツ.cs index 91b82a1..73a4781 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2パツ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2パツ.cs @@ -214,12 +214,12 @@ namespace SlaveMatrix set { double num = 0.5 + 0.9 * value; - X0Y0_お下げ左_髪左根.SizeYBase *= num; - X0Y0_お下げ左_髪左1.SizeYBase *= num; - X0Y0_お下げ左_髪左2.SizeYBase *= num; - X0Y0_お下げ右_髪右根.SizeYBase *= num; - X0Y0_お下げ右_髪右1.SizeYBase *= num; - X0Y0_お下げ右_髪右2.SizeYBase *= num; + X0Y0_お下げ左_髪左根.SetSizeYBase(X0Y0_お下げ左_髪左根.GetSizeYBase() * num); + X0Y0_お下げ左_髪左1.SetSizeYBase(X0Y0_お下げ左_髪左1.GetSizeYBase() * num); + X0Y0_お下げ左_髪左2.SetSizeYBase(X0Y0_お下げ左_髪左2.GetSizeYBase() * num); + X0Y0_お下げ右_髪右根.SetSizeYBase(X0Y0_お下げ右_髪右根.GetSizeYBase() * num); + X0Y0_お下げ右_髪右1.SetSizeYBase(X0Y0_お下げ右_髪右1.GetSizeYBase() * num); + X0Y0_お下げ右_髪右2.SetSizeYBase(X0Y0_お下げ右_髪右2.GetSizeYBase() * num); } } @@ -228,12 +228,12 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_お下げ左_髪左根.SizeXBase *= num; - X0Y0_お下げ左_髪左1.SizeXBase *= num; - X0Y0_お下げ左_髪左2.SizeXBase *= num; - X0Y0_お下げ右_髪右根.SizeXBase *= num; - X0Y0_お下げ右_髪右1.SizeXBase *= num; - X0Y0_お下げ右_髪右2.SizeXBase *= num; + X0Y0_お下げ左_髪左根.SetSizeXBase(X0Y0_お下げ左_髪左根.GetSizeXBase() * num); + X0Y0_お下げ左_髪左1.SetSizeXBase(X0Y0_お下げ左_髪左1.GetSizeXBase() * num); + X0Y0_お下げ左_髪左2.SetSizeXBase(X0Y0_お下げ左_髪左2.GetSizeXBase() * num); + X0Y0_お下げ右_髪右根.SetSizeXBase(X0Y0_お下げ右_髪右根.GetSizeXBase() * num); + X0Y0_お下げ右_髪右1.SetSizeXBase(X0Y0_お下げ右_髪右1.GetSizeXBase() * num); + X0Y0_お下げ右_髪右2.SetSizeXBase(X0Y0_お下げ右_髪右2.GetSizeXBase() * num); } } @@ -241,10 +241,10 @@ namespace SlaveMatrix { set { - X0Y0_お下げ左_髪左1.AngleBase = 1.5 * value; - X0Y0_お下げ左_髪左2.AngleBase = 1.5 * value; - X0Y0_お下げ右_髪右1.AngleBase = -1.5 * value; - X0Y0_お下げ右_髪右2.AngleBase = -1.5 * value; + X0Y0_お下げ左_髪左1.SetAngleBase(1.5 * value); + X0Y0_お下げ左_髪左2.SetAngleBase(1.5 * value); + X0Y0_お下げ右_髪右1.SetAngleBase(-1.5 * value); + X0Y0_お下げ右_髪右2.SetAngleBase(-1.5 * value); } } @@ -253,8 +253,8 @@ namespace SlaveMatrix set { double num = value.Inverse(); - X0Y0_お下げ左_髪左根.PositionCont = new Vector2D(X0Y0_お下げ左_髪左根.PositionCont.X - 0.005 * num, X0Y0_お下げ左_髪左根.PositionCont.Y + 0.02 * num); - X0Y0_お下げ右_髪右根.PositionCont = new Vector2D(X0Y0_お下げ右_髪右根.PositionCont.X + 0.005 * num, X0Y0_お下げ右_髪右根.PositionCont.Y + 0.02 * num); + X0Y0_お下げ左_髪左根.SetPositionCont(new Vector2D(X0Y0_お下げ左_髪左根.GetPositionCont().X - 0.005 * num, X0Y0_お下げ左_髪左根.GetPositionCont().Y + 0.02 * num)); + X0Y0_お下げ右_髪右根.SetPositionCont(new Vector2D(X0Y0_お下げ右_髪右根.GetPositionCont().X + 0.005 * num, X0Y0_お下げ右_髪右根.GetPositionCont().Y + 0.02 * num)); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2パツD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2パツD.cs index 546ddef..4ea71cc 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2パツD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結2パツD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_編結.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_編結.cs index c33e085..2026c84 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_編結.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_編結.cs @@ -382,21 +382,21 @@ namespace SlaveMatrix set { double num = 0.8 + 0.4 * value; - X0Y0_髪基.SizeBase *= num; - X0Y0_お下げ_編節1_髪節.SizeBase *= num; - X0Y0_お下げ_編節1_髪編目.SizeBase *= num; - X0Y0_お下げ_編節2_髪節.SizeBase *= num; - X0Y0_お下げ_編節2_髪編目.SizeBase *= num; - X0Y0_お下げ_編節3_髪節.SizeBase *= num; - X0Y0_お下げ_編節3_髪編目.SizeBase *= num; - X0Y0_お下げ_編節4_髪節.SizeBase *= num; - X0Y0_お下げ_編節4_髪編目.SizeBase *= num; - X0Y0_お下げ_編節5_髪節.SizeBase *= num; - X0Y0_お下げ_編節5_髪編目.SizeBase *= num; - X0Y0_お下げ_編節6_髪節.SizeBase *= num; - X0Y0_お下げ_編節6_髪編目.SizeBase *= num; - X0Y0_お下げ_編節7_髪節.SizeBase *= num; - X0Y0_お下げ_編節7_髪編目.SizeBase *= num; + X0Y0_髪基.SetSizeBase(X0Y0_髪基.GetSizeBase() * num); + X0Y0_お下げ_編節1_髪節.SetSizeBase(X0Y0_お下げ_編節1_髪節.GetSizeBase() * num); + X0Y0_お下げ_編節1_髪編目.SetSizeBase(X0Y0_お下げ_編節1_髪編目.GetSizeBase() * num); + X0Y0_お下げ_編節2_髪節.SetSizeBase(X0Y0_お下げ_編節2_髪節.GetSizeBase() * num); + X0Y0_お下げ_編節2_髪編目.SetSizeBase(X0Y0_お下げ_編節2_髪編目.GetSizeBase() * num); + X0Y0_お下げ_編節3_髪節.SetSizeBase(X0Y0_お下げ_編節3_髪節.GetSizeBase() * num); + X0Y0_お下げ_編節3_髪編目.SetSizeBase(X0Y0_お下げ_編節3_髪編目.GetSizeBase() * num); + X0Y0_お下げ_編節4_髪節.SetSizeBase(X0Y0_お下げ_編節4_髪節.GetSizeBase() * num); + X0Y0_お下げ_編節4_髪編目.SetSizeBase(X0Y0_お下げ_編節4_髪編目.GetSizeBase() * num); + X0Y0_お下げ_編節5_髪節.SetSizeBase(X0Y0_お下げ_編節5_髪節.GetSizeBase() * num); + X0Y0_お下げ_編節5_髪編目.SetSizeBase(X0Y0_お下げ_編節5_髪編目.GetSizeBase() * num); + X0Y0_お下げ_編節6_髪節.SetSizeBase(X0Y0_お下げ_編節6_髪節.GetSizeBase() * num); + X0Y0_お下げ_編節6_髪編目.SetSizeBase(X0Y0_お下げ_編節6_髪編目.GetSizeBase() * num); + X0Y0_お下げ_編節7_髪節.SetSizeBase(X0Y0_お下げ_編節7_髪節.GetSizeBase() * num); + X0Y0_お下げ_編節7_髪編目.SetSizeBase(X0Y0_お下げ_編節7_髪編目.GetSizeBase() * num); } } @@ -404,7 +404,7 @@ namespace SlaveMatrix { set { - X0Y0_髪基.PositionCont = new Vector2D(X0Y0_髪基.PositionCont.X, X0Y0_髪基.PositionCont.Y + 0.02 * value.Inverse()); + X0Y0_髪基.SetPositionCont(new Vector2D(X0Y0_髪基.GetPositionCont().X, X0Y0_髪基.GetPositionCont().Y + 0.02 * value.Inverse())); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_編結D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_編結D.cs index 2297ee9..5a725e4 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_編結D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_編結D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Chest.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Chest.cs index 5d6faa7..e722228 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Chest.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Chest.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ChestD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ChestD.cs index aaee1ac..a1c726a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ChestD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ChestD.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ContactD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ContactD.cs index 4200085..d7b81ee 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ContactD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ContactD.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Cough.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Cough.cs index 907c9d8..c59c678 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Cough.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Cough.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -459,7 +460,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_咳基CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Head.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Head.cs index b197321..fac933c 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Head.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Head.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; using System.Linq; namespace SlaveMatrix @@ -952,18 +953,18 @@ namespace SlaveMatrix set { double y = 0.9975 + 0.004 * value.Inverse(); - X0Y0_Head.JP[0].Joint = X0Y0_Head.JP[0].Joint.MulY(y); - X0Y0_Head.JP[1].Joint = X0Y0_Head.JP[1].Joint.MulY(y); - X0Y0_Head.JP[2].Joint = X0Y0_Head.JP[2].Joint.MulY(y); - X0Y0_Head.JP[8].Joint = X0Y0_Head.JP[8].Joint.MulY(y); - X0Y0_Head.JP[9].Joint = X0Y0_Head.JP[9].Joint.MulY(y); - X0Y0_Head.JP[12].Joint = X0Y0_Head.JP[12].Joint.MulY(y); - X0Y0_Head.JP[13].Joint = X0Y0_Head.JP[13].Joint.MulY(y); - X0Y0_Head.JP[14].Joint = X0Y0_Head.JP[14].Joint.MulY(y); - X0Y0_Head.JP[10].Joint = X0Y0_Head.JP[10].Joint.MulY(y); - X0Y0_Head.JP[11].Joint = X0Y0_Head.JP[11].Joint.MulY(y); - X0Y0_Head.JP[15].Joint = X0Y0_Head.JP[15].Joint.MulY(y); - X0Y0_Head.JP[16].Joint = X0Y0_Head.JP[16].Joint.MulY(y); + X0Y0_Head.GetJP()[0].Joint = X0Y0_Head.GetJP()[0].Joint.MulY(y); + X0Y0_Head.GetJP()[1].Joint = X0Y0_Head.GetJP()[1].Joint.MulY(y); + X0Y0_Head.GetJP()[2].Joint = X0Y0_Head.GetJP()[2].Joint.MulY(y); + X0Y0_Head.GetJP()[8].Joint = X0Y0_Head.GetJP()[8].Joint.MulY(y); + X0Y0_Head.GetJP()[9].Joint = X0Y0_Head.GetJP()[9].Joint.MulY(y); + X0Y0_Head.GetJP()[12].Joint = X0Y0_Head.GetJP()[12].Joint.MulY(y); + X0Y0_Head.GetJP()[13].Joint = X0Y0_Head.GetJP()[13].Joint.MulY(y); + X0Y0_Head.GetJP()[14].Joint = X0Y0_Head.GetJP()[14].Joint.MulY(y); + X0Y0_Head.GetJP()[10].Joint = X0Y0_Head.GetJP()[10].Joint.MulY(y); + X0Y0_Head.GetJP()[11].Joint = X0Y0_Head.GetJP()[11].Joint.MulY(y); + X0Y0_Head.GetJP()[15].Joint = X0Y0_Head.GetJP()[15].Joint.MulY(y); + X0Y0_Head.GetJP()[16].Joint = X0Y0_Head.GetJP()[16].Joint.MulY(y); } } @@ -972,10 +973,10 @@ namespace SlaveMatrix set { double num = 0.0007 * value; - X0Y0_Head.JP[1].Joint = X0Y0_Head.JP[1].Joint.AddX(0.0 - num); - X0Y0_Head.JP[2].Joint = X0Y0_Head.JP[2].Joint.AddX(num); - X0Y0_Head.JP[15].Joint = X0Y0_Head.JP[15].Joint.AddX(0.0 - num); - X0Y0_Head.JP[16].Joint = X0Y0_Head.JP[16].Joint.AddX(num); + X0Y0_Head.GetJP()[1].Joint = X0Y0_Head.GetJP()[1].Joint.AddX(0.0 - num); + X0Y0_Head.GetJP()[2].Joint = X0Y0_Head.GetJP()[2].Joint.AddX(num); + X0Y0_Head.GetJP()[15].Joint = X0Y0_Head.GetJP()[15].Joint.AddX(0.0 - num); + X0Y0_Head.GetJP()[16].Joint = X0Y0_Head.GetJP()[16].Joint.AddX(num); } } @@ -984,8 +985,8 @@ namespace SlaveMatrix set { double num = 0.001 * value; - X0Y0_Head.JP[8].Joint = X0Y0_Head.JP[8].Joint.AddX(0.0 - num); - X0Y0_Head.JP[9].Joint = X0Y0_Head.JP[9].Joint.AddX(num); + X0Y0_Head.GetJP()[8].Joint = X0Y0_Head.GetJP()[8].Joint.AddX(0.0 - num); + X0Y0_Head.GetJP()[9].Joint = X0Y0_Head.GetJP()[9].Joint.AddX(num); } } @@ -1456,8 +1457,8 @@ namespace SlaveMatrix X0Y0_馬柄_馬柄CP = new ColorP(X0Y0_馬柄_馬柄, 馬柄_馬柄CD, DisUnit, abj: true); X0Y0_虫性_顎下CP = new ColorP(X0Y0_虫性_顎下, 虫性_顎下CD, DisUnit, abj: true); Intensity = e.濃度; - X0Y0_Head.JP[8].Joint = X0Y0_Head.JP[8].Joint.AddX(-0.00012); - X0Y0_Head.JP[9].Joint = X0Y0_Head.JP[9].Joint.AddX(0.00012); + X0Y0_Head.GetJP()[8].Joint = X0Y0_Head.GetJP()[8].Joint.AddX(-0.00012); + X0Y0_Head.GetJP()[9].Joint = X0Y0_Head.GetJP()[9].Joint.AddX(0.00012); } public override void 描画0(RenderArea Are) @@ -1517,14 +1518,14 @@ namespace SlaveMatrix double y = 0.0003 * Rate; Par par = Sta.胴体["Head"][0][0]["頭"].ToPar(); Par x0Y0_頭 = X0Y0_Head; - x0Y0_頭.OP[0].ps[3] = par.OP[0].ps[3].AddY(y); - x0Y0_頭.OP[0].ps[4] = par.OP[0].ps[4].AddY(y); - x0Y0_頭.OP[1].ps[0] = par.OP[1].ps[0].AddY(y); - x0Y0_頭.OP[1].ps[1] = par.OP[1].ps[1].AddY(y); - x0Y0_頭.OP[1].ps[2] = par.OP[1].ps[2].AddY(y); - x0Y0_頭.OP[1].ps[3] = par.OP[1].ps[3].AddY(y); - x0Y0_頭.OP[2].ps[0] = par.OP[2].ps[0].AddY(y); - x0Y0_頭.OP[2].ps[1] = par.OP[2].ps[1].AddY(y); + x0Y0_頭.GetOP()[0].ps[3] = par.GetOP()[0].ps[3].AddY(y); + x0Y0_頭.GetOP()[0].ps[4] = par.GetOP()[0].ps[4].AddY(y); + x0Y0_頭.GetOP()[1].ps[0] = par.GetOP()[1].ps[0].AddY(y); + x0Y0_頭.GetOP()[1].ps[1] = par.GetOP()[1].ps[1].AddY(y); + x0Y0_頭.GetOP()[1].ps[2] = par.GetOP()[1].ps[2].AddY(y); + x0Y0_頭.GetOP()[1].ps[3] = par.GetOP()[1].ps[3].AddY(y); + x0Y0_頭.GetOP()[2].ps[0] = par.GetOP()[2].ps[0].AddY(y); + x0Y0_頭.GetOP()[2].ps[1] = par.GetOP()[2].ps[1].AddY(y); } public void 開顎(口 口) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/HeadD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/HeadD.cs index 027a84a..3900ebd 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/HeadD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/HeadD.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/InfoPanel.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/InfoPanel.cs index ede0115..f00552a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/InfoPanel.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/InfoPanel.cs @@ -152,110 +152,110 @@ namespace SlaveMatrix Vector2D vector2D = Are.GetPosition(0.2, 1.0 - num4 * num2 / Are.LocalHeight).AddY(0.0 - num); double y = 1.01; MaiB = new Par(); - MaiB.BasePointBase = Dat.Vec2DZero; - MaiB.PositionBase = vector2D; - MaiB.SizeBase = num2; - MaiB.OP.AddRange(new Out[1] { Shas.GetSquare() }); - MaiB.OP.ScalingX(MaiB.BasePointBase, num3); - MaiB.OP.ScalingY(MaiB.BasePointBase, num4); - MaiB.Closed = true; - MaiB.BrushColor = Color.FromArgb(160, Col.Black); + MaiB.SetBasePointBase(Dat.Vec2DZero); + MaiB.SetPositionBase(vector2D); + MaiB.SetSizeBase(num2); + MaiB.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + MaiB.GetOP().ScalingX(MaiB.GetBasePointBase(), num3); + MaiB.GetOP().ScalingY(MaiB.GetBasePointBase(), num4); + MaiB.SetClosed(true); + MaiB.SetBrushColor(Color.FromArgb(160, Col.Black)); MaiB.Hit = false; - MaiB.JP.Add(new Joi(MaiB.OP.GetCenter())); + MaiB.GetJP().Add(new Joi(MaiB.GetOP().GetCenter())); Mai = new Tex("Tex1", vector2D, num2, num3 * 0.98, num4 * 0.91, new Font("MS Gothic", 1f), 0.08, 0, " ", Col.White, Col.Black, Color.Transparent, 19.0, Col.White, delegate(Tex sp) { sp.Text = sp.Text; }); - Mai.ParT.BasePointBase = Mai.ParT.OP.GetCenter().MulY(y); - Mai.Position = MaiB.ToGlobal(MaiB.JP[0].Joint); - Mai.Feed.OP.OutlineFalse(); + Mai.ParT.SetBasePointBase(Mai.ParT.GetOP().GetCenter().MulY(y)); + Mai.Position = MaiB.ToGlobal(MaiB.GetJP()[0].Joint); + Mai.Feed.GetOP().OutlineFalse(); double num5 = num4 * 4.53; Mai2B = new Par(); - Mai2B.BasePointBase = Dat.Vec2DZero; - Mai2B.PositionBase = new Vector2D(vector2D.X, 0.01); - Mai2B.SizeBase = num2; - Mai2B.OP.AddRange(new Out[1] { Shas.GetSquare() }); - Mai2B.OP.ScalingX(Mai2B.BasePointBase, num3); - Mai2B.OP.ScalingY(Mai2B.BasePointBase, num5); - Mai2B.Closed = true; - Mai2B.BrushColor = Color.FromArgb(160, Col.Black); + Mai2B.SetBasePointBase(Dat.Vec2DZero); + Mai2B.SetPositionBase(new Vector2D(vector2D.X, 0.01)); + Mai2B.SetSizeBase(num2); + Mai2B.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + Mai2B.GetOP().ScalingX(Mai2B.GetBasePointBase(), num3); + Mai2B.GetOP().ScalingY(Mai2B.GetBasePointBase(), num5); + Mai2B.SetClosed(true); + Mai2B.SetBrushColor(Color.FromArgb(160, Col.Black)); Mai2B.Hit = false; - Mai2B.JP.Add(new Joi(Mai2B.OP.GetCenter())); + Mai2B.GetJP().Add(new Joi(Mai2B.GetOP().GetCenter())); Mai2 = new Tex("Tex3", vector2D, num2, num3 * 0.98, num5 * 0.97, new Font("MS Gothic", 1f), 0.08, 0, " ", Col.White, Col.Black, Color.Transparent, 19.0, Col.White, delegate(Tex sp) { sp.Text = sp.Text; }); - Mai2.ParT.BasePointBase = Mai2.ParT.OP.GetCenter().MulY(y); - Mai2.Position = Mai2B.ToGlobal(Mai2B.JP[0].Joint); - Mai2.Feed.OP.OutlineFalse(); + Mai2.ParT.SetBasePointBase(Mai2.ParT.GetOP().GetCenter().MulY(y)); + Mai2.Position = Mai2B.ToGlobal(Mai2B.GetJP()[0].Joint); + Mai2.Feed.GetOP().OutlineFalse(); num3 = Are.LocalWidth * 0.19 / num2; vector2D = Are.GetPosition(1.0 - (num3 * num2 / Are.LocalWidth + 0.005), 1.0 - num4 * num2 / Are.LocalHeight).AddY(0.0 - num); SubB = new Par(); - SubB.BasePointBase = Dat.Vec2DZero; - SubB.PositionBase = vector2D; - SubB.SizeBase = num2; - SubB.OP.AddRange(new Out[1] { Shas.GetSquare() }); - SubB.OP.ScalingX(SubB.BasePointBase, num3); - SubB.OP.ScalingY(SubB.BasePointBase, num4); - SubB.Closed = true; - SubB.BrushColor = Color.FromArgb(160, Col.Black); + SubB.SetBasePointBase(Dat.Vec2DZero); + SubB.SetPositionBase(vector2D); + SubB.SetSizeBase(num2); + SubB.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + SubB.GetOP().ScalingX(SubB.GetBasePointBase(), num3); + SubB.GetOP().ScalingY(SubB.GetBasePointBase(), num4); + SubB.SetClosed(true); + SubB.SetBrushColor(Color.FromArgb(160, Col.Black)); SubB.Hit = false; - SubB.JP.Add(new Joi(SubB.OP.GetCenter())); + SubB.GetJP().Add(new Joi(SubB.GetOP().GetCenter())); Sub = new Tex("Tex4", vector2D, num2 * 1.01, num3 * 0.98, num4 * 0.91, new Font("MS Gothic", 1f), 0.07, 0, " ", Col.White, Col.Black, Color.Transparent, 15.0); - Sub.ParT.BasePointBase = Sub.ParT.OP.GetCenter().MulY(y); - Sub.Position = SubB.ToGlobal(SubB.JP[0].Joint); + Sub.ParT.SetBasePointBase(Sub.ParT.GetOP().GetCenter().MulY(y)); + Sub.Position = SubB.ToGlobal(SubB.GetJP()[0].Joint); SubInnfo_l = new Lab(Are, "SubInfo", vector2D, num2, 1.0, new Font("MS Gothic", 1f), 0.07, "Sub Info.", Col.White, Col.Black, Color.FromArgb(160, Col.Black), Col.Empty); - SubInnfo_l.ParT.PositionBase = SubInnfo_l.ParT.PositionBase.AddY((0.0 - SubInnfo_l.ParT.OP[0].ps[3].Y) * SubInnfo_l.ParT.SizeBase); + SubInnfo_l.ParT.SetPositionBase(SubInnfo_l.ParT.GetPositionBase().AddY((0.0 - SubInnfo_l.ParT.GetOP()[0].ps[3].Y) * SubInnfo_l.ParT.GetSizeBase())); Sub2B = new Par(); - Sub2B.BasePointBase = Dat.Vec2DZero; - Sub2B.PositionBase = new Vector2D(0.0025, vector2D.Y); - Sub2B.SizeBase = num2; - Sub2B.OP.AddRange(new Out[1] { Shas.GetSquare() }); - Sub2B.OP.ScalingX(Sub2B.BasePointBase, num3); - Sub2B.OP.ScalingY(Sub2B.BasePointBase, num4); - Sub2B.Closed = true; - Sub2B.BrushColor = Color.FromArgb(160, Col.Black); + Sub2B.SetBasePointBase(Dat.Vec2DZero); + Sub2B.SetPositionBase(new Vector2D(0.0025, vector2D.Y)); + Sub2B.SetSizeBase(num2); + Sub2B.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + Sub2B.GetOP().ScalingX(Sub2B.GetBasePointBase(), num3); + Sub2B.GetOP().ScalingY(Sub2B.GetBasePointBase(), num4); + Sub2B.SetClosed(true); + Sub2B.SetBrushColor(Color.FromArgb(160, Col.Black)); Sub2B.Hit = false; - Sub2B.JP.Add(new Joi(SubB.OP.GetCenter())); - Sub2 = new Tex("Tex3", Sub2B.PositionBase, num2 * 1.01, num3 * 0.98, num4 * 0.91, new Font("MS Gothic", 1f), 0.07, 0, "", Col.White, Col.Black, Color.Transparent, 15.0); - Sub2.ParT.BasePointBase = Sub2.ParT.OP.GetCenter().MulY(y); - Sub2.Position = Sub2B.ToGlobal(Sub2B.JP[0].Joint); + Sub2B.GetJP().Add(new Joi(SubB.GetOP().GetCenter())); + Sub2 = new Tex("Tex3", Sub2B.GetPositionBase(), num2 * 1.01, num3 * 0.98, num4 * 0.91, new Font("MS Gothic", 1f), 0.07, 0, "", Col.White, Col.Black, Color.Transparent, 15.0); + Sub2.ParT.SetBasePointBase(Sub2.ParT.GetOP().GetCenter().MulY(y)); + Sub2.Position = Sub2B.ToGlobal(Sub2B.GetJP()[0].Joint); yp = new ParT(); yp.Text = "・" + GameText.はい; - yp.SizeBase = Mai.ParT.SizeBase; - yp.Font = new Font("MS Gothic", 1f); - yp.FontSize = Mai.ParT.FontSize; + yp.SetSizeBase(Mai.ParT.GetSizeBase()); + yp.SetFont(new Font("MS Gothic", 1f)); + yp.SetFontSize(Mai.ParT.GetFontSize()); yp.SetStringRectOutline(Are.UnitScale, Are.DisplayGraphics); - yp.RectSize = new Vector2D(yp.OP[0].ps[1].X, yp.OP[0].ps[2].Y); - yp.OP.ScalingY(yp.BasePointBase, 0.9); - yp.OP.OutlineFalse(); - yp.Closed = true; - yp.TextColor = Col.White; - yp.BrushColor = Color.FromArgb(0, Col.Black); - yp.ShadBrush = new SolidBrush(Col.Black); - yp.StringFormat.Alignment = StringAlignment.Center; - yp.StringFormat.LineAlignment = StringAlignment.Center; - yp.PositionBase = new Vector2D(MaiB.Position.X + 0.001, MaiB.Position.Y); + yp.SetRectSize(new Vector2D(yp.GetOP()[0].ps[1].X, yp.GetOP()[0].ps[2].Y)); + yp.GetOP().ScalingY(yp.GetBasePointBase(), 0.9); + yp.GetOP().OutlineFalse(); + yp.SetClosed(true); + yp.SetTextColor(Col.White); + yp.SetBrushColor(Color.FromArgb(0, Col.Black)); + yp.SetShadBrush(new SolidBrush(Col.Black)); + yp.GetStringFormat().Alignment = StringAlignment.Center; + yp.GetStringFormat().LineAlignment = StringAlignment.Center; + yp.SetPositionBase(new Vector2D(MaiB.GetPosition().X + 0.001, MaiB.GetPosition().Y)); yp.Dra = false; yb = new But1(yp, delegate { }); np = new ParT(); np.Text = "・" + GameText.いいえ; - np.SizeBase = Mai.ParT.SizeBase; - np.Font = new Font("MS Gothic", 1f); - np.FontSize = Mai.ParT.FontSize; + np.SetSizeBase(Mai.ParT.GetSizeBase()); + np.SetFont(new Font("MS Gothic", 1f)); + np.SetFontSize(Mai.ParT.GetFontSize()); np.SetStringRectOutline(Are.UnitScale, Are.DisplayGraphics); - np.RectSize = new Vector2D(np.OP[0].ps[1].X, np.OP[0].ps[2].Y); - np.OP.ScalingY(np.BasePointBase, 0.9); - np.OP.OutlineFalse(); - np.Closed = true; - np.TextColor = Col.White; - np.BrushColor = Color.FromArgb(0, Col.Black); - np.ShadBrush = new SolidBrush(Col.Black); - np.StringFormat.Alignment = StringAlignment.Center; - np.StringFormat.LineAlignment = StringAlignment.Center; - np.PositionBase = new Vector2D(MaiB.Position.X + 0.001, MaiB.Position.Y); + np.SetRectSize(new Vector2D(np.GetOP()[0].ps[1].X, np.GetOP()[0].ps[2].Y)); + np.GetOP().ScalingY(np.GetBasePointBase(), 0.9); + np.GetOP().OutlineFalse(); + np.SetClosed(true); + np.SetTextColor(Col.White); + np.SetBrushColor(Color.FromArgb(0, Col.Black)); + np.SetShadBrush(new SolidBrush(Col.Black)); + np.GetStringFormat().Alignment = StringAlignment.Center; + np.GetStringFormat().LineAlignment = StringAlignment.Center; + np.SetPositionBase(new Vector2D(MaiB.GetPosition().X + 0.001, MaiB.GetPosition().Y)); np.Dra = false; nb = new But1(np, delegate { @@ -280,8 +280,8 @@ namespace SlaveMatrix private void SetButPos() { - yp.PositionBase = new Vector2D(yp.PositionBase.X, Mai.ParT.ToGlobal(Mai.ParT.GetStringRect(Are.UnitScale, Are.DisplayGraphics).v2).Y + 0.0025); - np.PositionBase = new Vector2D(np.PositionBase.X, yp.ToGlobal(yp.OP.Last().ps.Last()).Y + 0.0025); + yp.SetPositionBase(new Vector2D(yp.GetPositionBase().X, Mai.ParT.ToGlobal(Mai.ParT.GetStringRect(Are.UnitScale, Are.DisplayGraphics).v2).Y + 0.0025)); + np.SetPositionBase(new Vector2D(np.GetPositionBase().X, yp.ToGlobal(yp.GetOP().Last().ps.Last()).Y + 0.0025)); } public void Move(ref Color HitColor) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg.cs index b776c48..20225e5 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class Leg : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_人.cs index d44e94a..1e9de99 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_人.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_人.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -7055,7 +7056,7 @@ namespace SlaveMatrix public override void 描画0(RenderArea Are) { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { Are.Draw(X0Y0_Leg); Are.Draw(X0Y0_筋); @@ -7255,7 +7256,7 @@ namespace SlaveMatrix public void 外描画(RenderArea Are) { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { Are.Draw(X0Y0_ブーツ_タン_タン); Are.Draw(X0Y0_ブーツ_タン_縁_縁1); @@ -7479,19 +7480,19 @@ namespace SlaveMatrix public void 虫性() { - X0Y0_Leg.OP[(!右) ? 6 : 0].Outline = true; - X0Y1_Leg.OP[(!右) ? 6 : 0].Outline = true; + X0Y0_Leg.GetOP()[(!右) ? 6 : 0].Outline = true; + X0Y1_Leg.GetOP()[(!右) ? 6 : 0].Outline = true; } public void 開脚(腿_人 腿) { - if (腿.Body.IndexY == 0 || 腿.Body.IndexY == 4) + if (腿.Body.GetIndexY() == 0 || 腿.Body.GetIndexY() == 4) { - Body.IndexY = 0; + Body.SetIndexY(0); } - else if (腿.Body.IndexY == 1 || 腿.Body.IndexY == 2 || 腿.Body.IndexY == 3) + else if (腿.Body.GetIndexY() == 1 || 腿.Body.GetIndexY() == 2 || 腿.Body.GetIndexY() == 3) { - Body.IndexY = 1; + Body.SetIndexY(1); } } @@ -7524,7 +7525,7 @@ namespace SlaveMatrix public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_LegCP.Update(); X0Y0_筋CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_人D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_人D.cs index 2937387..5534805 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_人D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_人D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_獣.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_獣.cs index d2d5afa..6faf433 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_獣.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_獣.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -374,7 +375,7 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_Leg.AngleBase = num * -136.0; + X0Y0_Leg.SetAngleBase(num * -136.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_獣D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_獣D.cs index 50928d5..98cc701 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_獣D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_獣D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_竜.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_竜.cs index e318cdc..a0b652d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_竜.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_竜.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -808,7 +809,7 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_Leg.AngleBase = num * -136.0; + X0Y0_Leg.SetAngleBase(num * -136.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_竜D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_竜D.cs index 8c5b99d..671e745 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_竜D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_竜D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_蹄.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_蹄.cs index 51b20f2..fdf03d8 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_蹄.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_蹄.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -374,7 +375,7 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_Leg.AngleBase = num * -136.0; + X0Y0_Leg.SetAngleBase(num * -136.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_蹄D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_蹄D.cs index 9bae8de..6d9b7b7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_蹄D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_蹄D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_鳥.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_鳥.cs index 06aa0b1..edd4874 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_鳥.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_鳥.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -374,7 +375,7 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_Leg.AngleBase = num * -136.0; + X0Y0_Leg.SetAngleBase(num * -136.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_鳥D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_鳥D.cs index e7c17b7..9769cdb 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_鳥D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_鳥D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm.cs index a3a0ea5..0f32ebd 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class LowerArm : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_人.cs index 91771da..6d0cb82 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_人.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_人.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -4601,14 +4602,14 @@ namespace SlaveMatrix { get { - return X0Y0_LowerArm.OP[右 ? 3 : 0].Outline; + return X0Y0_LowerArm.GetOP()[右 ? 3 : 0].Outline; } set { - X0Y0_LowerArm.OP[右 ? 3 : 0].Outline = value; - X0Y0_獣性1_獣腕.OP[右 ? 3 : 2].Outline = value; - X0Y0_グローブ_通常_グローブ.OP[右 ? 3 : 0].Outline = value; - X0Y0_グローブ_筋肉_グローブ.OP[右 ? 3 : 0].Outline = value; + X0Y0_LowerArm.GetOP()[右 ? 3 : 0].Outline = value; + X0Y0_獣性1_獣腕.GetOP()[右 ? 3 : 2].Outline = value; + X0Y0_グローブ_通常_グローブ.GetOP()[右 ? 3 : 0].Outline = value; + X0Y0_グローブ_筋肉_グローブ.GetOP()[右 ? 3 : 0].Outline = value; } } @@ -5462,7 +5463,7 @@ namespace SlaveMatrix public override void SetRestraintAngle() { double num = (右 ? (-1.0) : 1.0); - X0Y0_LowerArm.AngleBase = num * 130.0; + X0Y0_LowerArm.SetAngleBase(num * 130.0); Body.JoinPAall(); } @@ -5471,12 +5472,12 @@ namespace SlaveMatrix if (獣性1_獣腕_表示) { double num = 1.7; - X0Y0_腕輪_革.SizeBase *= num; - X0Y0_腕輪_金具1.SizeBase *= num; - X0Y0_腕輪_金具2.SizeBase *= num; - X0Y0_腕輪_金具3.SizeBase *= num; - X0Y0_腕輪_金具左.SizeBase *= num; - X0Y0_腕輪_金具右.SizeBase *= num; + X0Y0_腕輪_革.SetSizeBase(X0Y0_腕輪_革.GetSizeBase() * num); + X0Y0_腕輪_金具1.SetSizeBase(X0Y0_腕輪_金具1.GetSizeBase() * num); + X0Y0_腕輪_金具2.SetSizeBase(X0Y0_腕輪_金具2.GetSizeBase() * num); + X0Y0_腕輪_金具3.SetSizeBase(X0Y0_腕輪_金具3.GetSizeBase() * num); + X0Y0_腕輪_金具左.SetSizeBase(X0Y0_腕輪_金具左.GetSizeBase() * num); + X0Y0_腕輪_金具右.SetSizeBase(X0Y0_腕輪_金具右.GetSizeBase() * num); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_人D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_人D.cs index 53cfe27..0ba22ac 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_人D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_人D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_獣.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_獣.cs index f7b678e..1d6e555 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_獣.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_獣.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -438,11 +439,11 @@ namespace SlaveMatrix { get { - return X0Y0_LowerArm.OP[右 ? 6 : 0].Outline; + return X0Y0_LowerArm.GetOP()[右 ? 6 : 0].Outline; } set { - X0Y0_LowerArm.OP[右 ? 6 : 0].Outline = value; + X0Y0_LowerArm.GetOP()[右 ? 6 : 0].Outline = value; } } @@ -582,7 +583,7 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_LowerArm.AngleBase = num * 133.0; + X0Y0_LowerArm.SetAngleBase(num * 133.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_獣D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_獣D.cs index 0d6c5bb..015ca2f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_獣D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_獣D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_蝙.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_蝙.cs index ca2e3e3..49dc3a8 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_蝙.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_蝙.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -524,7 +525,7 @@ namespace SlaveMatrix { double num = value.Inverse(); double num2 = (右 ? (-1.0) : 1.0); - X0Y0_獣翼LowerArm.AngleCont = num2 * 120.0 * num; + X0Y0_獣翼LowerArm.SetAngleCont(num2 * 120.0 * num); } } @@ -532,11 +533,11 @@ namespace SlaveMatrix { get { - return X0Y0_獣翼LowerArm.OP[(!右) ? 1 : 2].Outline; + return X0Y0_獣翼LowerArm.GetOP()[(!右) ? 1 : 2].Outline; } set { - X0Y0_獣翼LowerArm.OP[(!右) ? 1 : 2].Outline = value; + X0Y0_獣翼LowerArm.GetOP()[(!右) ? 1 : 2].Outline = value; } } @@ -544,11 +545,11 @@ namespace SlaveMatrix { get { - return X0Y0_獣翼LowerArm.OP[右 ? 3 : 0].Outline; + return X0Y0_獣翼LowerArm.GetOP()[右 ? 3 : 0].Outline; } set { - X0Y0_獣翼LowerArm.OP[右 ? 3 : 0].Outline = value; + X0Y0_獣翼LowerArm.GetOP()[右 ? 3 : 0].Outline = value; } } @@ -704,7 +705,7 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_獣翼LowerArm.AngleBase = num * -322.0; + X0Y0_獣翼LowerArm.SetAngleBase(num * -322.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_蝙D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_蝙D.cs index 103df61..2a5a233 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_蝙D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_蝙D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_蹄.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_蹄.cs index c81648b..a0076d4 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_蹄.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_蹄.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -132,11 +133,11 @@ namespace SlaveMatrix { get { - return X0Y0_LowerArm.OP[右 ? 4 : 0].Outline; + return X0Y0_LowerArm.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_LowerArm.OP[右 ? 4 : 0].Outline = value; + X0Y0_LowerArm.GetOP()[右 ? 4 : 0].Outline = value; } } @@ -213,7 +214,7 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_LowerArm.AngleBase = num * 160.0; + X0Y0_LowerArm.SetAngleBase(num * 160.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_蹄D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_蹄D.cs index bc09a3b..1214242 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_蹄D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_蹄D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_鳥.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_鳥.cs index ea909f9..bc07cfa 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_鳥.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_鳥.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -1342,49 +1343,49 @@ namespace SlaveMatrix { double num = value.Inverse(); double num2 = (右 ? (-1.0) : 1.0); - X0Y0_鳥翼LowerArm.AngleCont = num2 * 120.0 * num; - X0Y0_風切羽_羽1.AngleCont = num2 * -95.0 * num; - X0Y0_風切羽_羽2.AngleCont = num2 * -92.6666666666667 * num; - X0Y0_風切羽_羽3.AngleCont = num2 * -90.3333333333333 * num; - X0Y0_風切羽_羽4.AngleCont = num2 * -88.0 * num; - X0Y0_風切羽_羽5.AngleCont = num2 * -85.6666666666667 * num; - X0Y0_風切羽_羽6.AngleCont = num2 * -83.3333333333334 * num; - X0Y0_風切羽_羽7.AngleCont = num2 * -81.0 * num; - X0Y0_風切羽_羽8.AngleCont = num2 * -78.6666666666667 * num; - X0Y0_風切羽_羽9.AngleCont = num2 * -76.3333333333334 * num; - X0Y0_風切羽_羽10.AngleCont = num2 * -74.0 * num; - X0Y0_風切羽_羽11.AngleCont = num2 * -71.6666666666667 * num; - X0Y0_風切羽_羽12.AngleCont = num2 * -69.3333333333334 * num; - X0Y0_風切羽_羽13.AngleCont = num2 * -67.0000000000001 * num; - X0Y0_風切羽_羽14.AngleCont = num2 * -64.6666666666667 * num; - X0Y0_風切羽_羽15.AngleCont = num2 * -62.3333333333334 * num; - X0Y0_雨覆羽_羽1.AngleCont = num2 * -100.0 * num; - X0Y0_雨覆羽_羽2.AngleCont = num2 * -97.1428571428571 * num; - X0Y0_雨覆羽_羽3.AngleCont = num2 * -94.2857142857143 * num; - X0Y0_雨覆羽_羽4.AngleCont = num2 * -91.4285714285714 * num; - X0Y0_雨覆羽_羽5.AngleCont = num2 * -88.5714285714286 * num; - X0Y0_雨覆羽_羽6.AngleCont = num2 * -85.7142857142857 * num; - X0Y0_雨覆羽_羽7.AngleCont = num2 * -82.8571428571428 * num; - X0Y0_雨覆羽_羽8.AngleCont = num2 * -80.0 * num; - X0Y0_雨覆羽_羽9.AngleCont = num2 * -77.1428571428571 * num; - X0Y0_雨覆羽_羽10.AngleCont = num2 * -74.2857142857142 * num; - X0Y0_雨覆羽_羽11.AngleCont = num2 * -71.4285714285714 * num; - X0Y0_雨覆羽_羽12.AngleCont = num2 * -68.5714285714285 * num; - X0Y0_雨覆羽_羽13.AngleCont = num2 * -65.7142857142857 * num; - X0Y0_雨覆羽_羽14.AngleCont = num2 * -62.8571428571428 * num; - X0Y0_中雨覆羽_羽1.AngleCont = num2 * -110.0 * num; - X0Y0_中雨覆羽_羽2.AngleCont = num2 * -103.076923076923 * num; - X0Y0_中雨覆羽_羽3.AngleCont = num2 * -96.1538461538462 * num; - X0Y0_中雨覆羽_羽4.AngleCont = num2 * -89.2307692307692 * num; - X0Y0_中雨覆羽_羽5.AngleCont = num2 * -82.3076923076923 * num; - X0Y0_中雨覆羽_羽6.AngleCont = num2 * -75.3846153846154 * num; - X0Y0_中雨覆羽_羽7.AngleCont = num2 * -68.4615384615385 * num; - X0Y0_中雨覆羽_羽8.AngleCont = num2 * -61.5384615384616 * num; - X0Y0_中雨覆羽_羽9.AngleCont = num2 * -54.6153846153846 * num; - X0Y0_中雨覆羽_羽10.AngleCont = num2 * -47.6923076923077 * num; - X0Y0_中雨覆羽_羽11.AngleCont = num2 * -40.7692307692308 * num; - X0Y0_中雨覆羽_羽12.AngleCont = num2 * -33.8461538461539 * num; - X0Y0_中雨覆羽_羽13.AngleCont = num2 * -26.923076923077 * num; + X0Y0_鳥翼LowerArm.SetAngleCont(num2 * 120.0 * num); + X0Y0_風切羽_羽1.SetAngleCont(num2 * -95.0 * num); + X0Y0_風切羽_羽2.SetAngleCont(num2 * -92.6666666666667 * num); + X0Y0_風切羽_羽3.SetAngleCont(num2 * -90.3333333333333 * num); + X0Y0_風切羽_羽4.SetAngleCont(num2 * -88.0 * num); + X0Y0_風切羽_羽5.SetAngleCont(num2 * -85.6666666666667 * num); + X0Y0_風切羽_羽6.SetAngleCont(num2 * -83.3333333333334 * num); + X0Y0_風切羽_羽7.SetAngleCont(num2 * -81.0 * num); + X0Y0_風切羽_羽8.SetAngleCont(num2 * -78.6666666666667 * num); + X0Y0_風切羽_羽9.SetAngleCont(num2 * -76.3333333333334 * num); + X0Y0_風切羽_羽10.SetAngleCont(num2 * -74.0 * num); + X0Y0_風切羽_羽11.SetAngleCont(num2 * -71.6666666666667 * num); + X0Y0_風切羽_羽12.SetAngleCont(num2 * -69.3333333333334 * num); + X0Y0_風切羽_羽13.SetAngleCont(num2 * -67.0000000000001 * num); + X0Y0_風切羽_羽14.SetAngleCont(num2 * -64.6666666666667 * num); + X0Y0_風切羽_羽15.SetAngleCont(num2 * -62.3333333333334 * num); + X0Y0_雨覆羽_羽1.SetAngleCont(num2 * -100.0 * num); + X0Y0_雨覆羽_羽2.SetAngleCont(num2 * -97.1428571428571 * num); + X0Y0_雨覆羽_羽3.SetAngleCont(num2 * -94.2857142857143 * num); + X0Y0_雨覆羽_羽4.SetAngleCont(num2 * -91.4285714285714 * num); + X0Y0_雨覆羽_羽5.SetAngleCont(num2 * -88.5714285714286 * num); + X0Y0_雨覆羽_羽6.SetAngleCont(num2 * -85.7142857142857 * num); + X0Y0_雨覆羽_羽7.SetAngleCont(num2 * -82.8571428571428 * num); + X0Y0_雨覆羽_羽8.SetAngleCont(num2 * -80.0 * num); + X0Y0_雨覆羽_羽9.SetAngleCont(num2 * -77.1428571428571 * num); + X0Y0_雨覆羽_羽10.SetAngleCont(num2 * -74.2857142857142 * num); + X0Y0_雨覆羽_羽11.SetAngleCont(num2 * -71.4285714285714 * num); + X0Y0_雨覆羽_羽12.SetAngleCont(num2 * -68.5714285714285 * num); + X0Y0_雨覆羽_羽13.SetAngleCont(num2 * -65.7142857142857 * num); + X0Y0_雨覆羽_羽14.SetAngleCont(num2 * -62.8571428571428 * num); + X0Y0_中雨覆羽_羽1.SetAngleCont(num2 * -110.0 * num); + X0Y0_中雨覆羽_羽2.SetAngleCont(num2 * -103.076923076923 * num); + X0Y0_中雨覆羽_羽3.SetAngleCont(num2 * -96.1538461538462 * num); + X0Y0_中雨覆羽_羽4.SetAngleCont(num2 * -89.2307692307692 * num); + X0Y0_中雨覆羽_羽5.SetAngleCont(num2 * -82.3076923076923 * num); + X0Y0_中雨覆羽_羽6.SetAngleCont(num2 * -75.3846153846154 * num); + X0Y0_中雨覆羽_羽7.SetAngleCont(num2 * -68.4615384615385 * num); + X0Y0_中雨覆羽_羽8.SetAngleCont(num2 * -61.5384615384616 * num); + X0Y0_中雨覆羽_羽9.SetAngleCont(num2 * -54.6153846153846 * num); + X0Y0_中雨覆羽_羽10.SetAngleCont(num2 * -47.6923076923077 * num); + X0Y0_中雨覆羽_羽11.SetAngleCont(num2 * -40.7692307692308 * num); + X0Y0_中雨覆羽_羽12.SetAngleCont(num2 * -33.8461538461539 * num); + X0Y0_中雨覆羽_羽13.SetAngleCont(num2 * -26.923076923077 * num); } } @@ -1393,21 +1394,21 @@ namespace SlaveMatrix set { double num = 0.05; - X0Y0_風切羽_羽15.SizeYBase *= 1.0 - num * value; - X0Y0_風切羽_羽14.SizeYBase *= 1.0 - num * value; - X0Y0_風切羽_羽13.SizeYBase *= 1.0 - num * value; - X0Y0_風切羽_羽12.SizeYBase *= 1.0 - num * value; - X0Y0_風切羽_羽11.SizeYBase *= 1.0 - num * value; - X0Y0_風切羽_羽10.SizeYBase *= 1.0 - num * value; - X0Y0_風切羽_羽9.SizeYBase *= 1.0 - num * value; - X0Y0_風切羽_羽8.SizeYBase *= 1.0 - num * value; - X0Y0_風切羽_羽7.SizeYBase *= 1.0 - num * value; - X0Y0_風切羽_羽6.SizeYBase *= 1.0 - num * value; - X0Y0_風切羽_羽5.SizeYBase *= 1.0 - num * value; - X0Y0_風切羽_羽4.SizeYBase *= 1.0 - num * value; - X0Y0_風切羽_羽3.SizeYBase *= 1.0 - num * value; - X0Y0_風切羽_羽2.SizeYBase *= 1.0 - num * value; - X0Y0_風切羽_羽1.SizeYBase *= 1.0 - num * value; + X0Y0_風切羽_羽15.SetSizeYBase(X0Y0_風切羽_羽15.GetSizeYBase() * (1.0 - num * value)); + X0Y0_風切羽_羽14.SetSizeYBase(X0Y0_風切羽_羽14.GetSizeYBase() * (1.0 - num * value)); + X0Y0_風切羽_羽13.SetSizeYBase(X0Y0_風切羽_羽13.GetSizeYBase() * (1.0 - num * value)); + X0Y0_風切羽_羽12.SetSizeYBase(X0Y0_風切羽_羽12.GetSizeYBase() * (1.0 - num * value)); + X0Y0_風切羽_羽11.SetSizeYBase(X0Y0_風切羽_羽11.GetSizeYBase() * (1.0 - num * value)); + X0Y0_風切羽_羽10.SetSizeYBase(X0Y0_風切羽_羽10.GetSizeYBase() * (1.0 - num * value)); + X0Y0_風切羽_羽9.SetSizeYBase(X0Y0_風切羽_羽9.GetSizeYBase() * (1.0 - num * value)); + X0Y0_風切羽_羽8.SetSizeYBase(X0Y0_風切羽_羽8.GetSizeYBase() * (1.0 - num * value)); + X0Y0_風切羽_羽7.SetSizeYBase(X0Y0_風切羽_羽7.GetSizeYBase() * (1.0 - num * value)); + X0Y0_風切羽_羽6.SetSizeYBase(X0Y0_風切羽_羽6.GetSizeYBase() * (1.0 - num * value)); + X0Y0_風切羽_羽5.SetSizeYBase(X0Y0_風切羽_羽5.GetSizeYBase() * (1.0 - num * value)); + X0Y0_風切羽_羽4.SetSizeYBase(X0Y0_風切羽_羽4.GetSizeYBase() * (1.0 - num * value)); + X0Y0_風切羽_羽3.SetSizeYBase(X0Y0_風切羽_羽3.GetSizeYBase() * (1.0 - num * value)); + X0Y0_風切羽_羽2.SetSizeYBase(X0Y0_風切羽_羽2.GetSizeYBase() * (1.0 - num * value)); + X0Y0_風切羽_羽1.SetSizeYBase(X0Y0_風切羽_羽1.GetSizeYBase() * (1.0 - num * value)); } } @@ -1415,13 +1416,13 @@ namespace SlaveMatrix { get { - return X0Y0_鳥翼LowerArm.OP[(!右) ? 1 : 2].Outline; + return X0Y0_鳥翼LowerArm.GetOP()[(!右) ? 1 : 2].Outline; } set { - X0Y0_鳥翼LowerArm.OP[(!右) ? 1 : 2].Outline = value; - X0Y0_鳥翼LowerArm.OP[右 ? 1 : 2].Outline = value; - X0Y0_鳥翼LowerArm.OP[(!右) ? 3 : 0].Outline = value; + X0Y0_鳥翼LowerArm.GetOP()[(!右) ? 1 : 2].Outline = value; + X0Y0_鳥翼LowerArm.GetOP()[右 ? 1 : 2].Outline = value; + X0Y0_鳥翼LowerArm.GetOP()[(!右) ? 3 : 0].Outline = value; } } @@ -1429,14 +1430,14 @@ namespace SlaveMatrix { get { - return X0Y0_小雨覆_小雨覆.OP[右 ? 11 : 2].Outline; + return X0Y0_小雨覆_小雨覆.GetOP()[右 ? 11 : 2].Outline; } set { - X0Y0_小雨覆_小雨覆.OP[右 ? 11 : 2].Outline = value; - X0Y0_小雨覆_小雨覆.OP[右 ? 6 : 7].Outline = value; - X0Y0_小雨覆_小雨覆.OP[右 ? 4 : 9].Outline = value; - X0Y0_小雨覆_小雨覆.OP[右 ? 2 : 11].Outline = value; + X0Y0_小雨覆_小雨覆.GetOP()[右 ? 11 : 2].Outline = value; + X0Y0_小雨覆_小雨覆.GetOP()[右 ? 6 : 7].Outline = value; + X0Y0_小雨覆_小雨覆.GetOP()[右 ? 4 : 9].Outline = value; + X0Y0_小雨覆_小雨覆.GetOP()[右 ? 2 : 11].Outline = value; } } @@ -1444,14 +1445,14 @@ namespace SlaveMatrix { get { - return X0Y0_中雨覆羽_羽1.OP[右 ? 4 : 0].Outline; + return X0Y0_中雨覆羽_羽1.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_中雨覆羽_羽1.OP[右 ? 4 : 0].Outline = value; - X0Y0_中雨覆羽_羽1.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽1.OP[右 ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽1.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽1.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽1.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽1.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽1.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1459,14 +1460,14 @@ namespace SlaveMatrix { get { - return X0Y0_中雨覆羽_羽2.OP[右 ? 4 : 0].Outline; + return X0Y0_中雨覆羽_羽2.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_中雨覆羽_羽2.OP[右 ? 4 : 0].Outline = value; - X0Y0_中雨覆羽_羽2.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽2.OP[右 ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽2.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽2.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽2.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽2.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽2.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1474,14 +1475,14 @@ namespace SlaveMatrix { get { - return X0Y0_中雨覆羽_羽3.OP[右 ? 4 : 0].Outline; + return X0Y0_中雨覆羽_羽3.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_中雨覆羽_羽3.OP[右 ? 4 : 0].Outline = value; - X0Y0_中雨覆羽_羽3.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽3.OP[右 ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽3.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽3.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽3.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽3.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽3.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1489,14 +1490,14 @@ namespace SlaveMatrix { get { - return X0Y0_中雨覆羽_羽4.OP[右 ? 4 : 0].Outline; + return X0Y0_中雨覆羽_羽4.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_中雨覆羽_羽4.OP[右 ? 4 : 0].Outline = value; - X0Y0_中雨覆羽_羽4.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽4.OP[右 ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽4.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽4.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽4.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽4.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽4.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1504,14 +1505,14 @@ namespace SlaveMatrix { get { - return X0Y0_中雨覆羽_羽5.OP[右 ? 4 : 0].Outline; + return X0Y0_中雨覆羽_羽5.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_中雨覆羽_羽5.OP[右 ? 4 : 0].Outline = value; - X0Y0_中雨覆羽_羽5.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽5.OP[右 ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽5.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽5.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽5.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽5.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽5.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1519,14 +1520,14 @@ namespace SlaveMatrix { get { - return X0Y0_中雨覆羽_羽6.OP[右 ? 4 : 0].Outline; + return X0Y0_中雨覆羽_羽6.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_中雨覆羽_羽6.OP[右 ? 4 : 0].Outline = value; - X0Y0_中雨覆羽_羽6.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽6.OP[右 ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽6.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽6.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽6.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽6.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽6.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1534,14 +1535,14 @@ namespace SlaveMatrix { get { - return X0Y0_中雨覆羽_羽7.OP[右 ? 4 : 0].Outline; + return X0Y0_中雨覆羽_羽7.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_中雨覆羽_羽7.OP[右 ? 4 : 0].Outline = value; - X0Y0_中雨覆羽_羽7.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽7.OP[右 ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽7.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽7.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽7.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽7.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽7.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1549,14 +1550,14 @@ namespace SlaveMatrix { get { - return X0Y0_中雨覆羽_羽8.OP[右 ? 4 : 0].Outline; + return X0Y0_中雨覆羽_羽8.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_中雨覆羽_羽8.OP[右 ? 4 : 0].Outline = value; - X0Y0_中雨覆羽_羽8.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽8.OP[右 ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽8.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽8.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽8.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽8.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽8.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1564,14 +1565,14 @@ namespace SlaveMatrix { get { - return X0Y0_中雨覆羽_羽9.OP[右 ? 4 : 0].Outline; + return X0Y0_中雨覆羽_羽9.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_中雨覆羽_羽9.OP[右 ? 4 : 0].Outline = value; - X0Y0_中雨覆羽_羽9.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽9.OP[右 ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽9.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽9.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽9.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽9.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽9.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1579,14 +1580,14 @@ namespace SlaveMatrix { get { - return X0Y0_中雨覆羽_羽10.OP[右 ? 4 : 0].Outline; + return X0Y0_中雨覆羽_羽10.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_中雨覆羽_羽10.OP[右 ? 4 : 0].Outline = value; - X0Y0_中雨覆羽_羽10.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽10.OP[右 ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽10.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽10.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽10.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽10.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽10.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1594,14 +1595,14 @@ namespace SlaveMatrix { get { - return X0Y0_中雨覆羽_羽11.OP[右 ? 4 : 0].Outline; + return X0Y0_中雨覆羽_羽11.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_中雨覆羽_羽11.OP[右 ? 4 : 0].Outline = value; - X0Y0_中雨覆羽_羽11.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽11.OP[右 ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽11.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽11.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽11.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽11.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽11.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1609,14 +1610,14 @@ namespace SlaveMatrix { get { - return X0Y0_中雨覆羽_羽12.OP[右 ? 4 : 0].Outline; + return X0Y0_中雨覆羽_羽12.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_中雨覆羽_羽12.OP[右 ? 4 : 0].Outline = value; - X0Y0_中雨覆羽_羽12.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽12.OP[右 ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽12.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽12.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽12.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽12.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽12.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1624,14 +1625,14 @@ namespace SlaveMatrix { get { - return X0Y0_中雨覆羽_羽13.OP[右 ? 4 : 0].Outline; + return X0Y0_中雨覆羽_羽13.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_中雨覆羽_羽13.OP[右 ? 4 : 0].Outline = value; - X0Y0_中雨覆羽_羽13.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽13.OP[右 ? 1 : 3].Outline = value; - X0Y0_中雨覆羽_羽13.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽13.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_中雨覆羽_羽13.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽13.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_中雨覆羽_羽13.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1639,14 +1640,14 @@ namespace SlaveMatrix { get { - return X0Y0_雨覆羽_羽1.OP[右 ? 4 : 0].Outline; + return X0Y0_雨覆羽_羽1.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_雨覆羽_羽1.OP[右 ? 4 : 0].Outline = value; - X0Y0_雨覆羽_羽1.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽1.OP[右 ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽1.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽1.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽1.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽1.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽1.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1654,14 +1655,14 @@ namespace SlaveMatrix { get { - return X0Y0_雨覆羽_羽2.OP[右 ? 4 : 0].Outline; + return X0Y0_雨覆羽_羽2.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_雨覆羽_羽2.OP[右 ? 4 : 0].Outline = value; - X0Y0_雨覆羽_羽2.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽2.OP[右 ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽2.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽2.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽2.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽2.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽2.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1669,14 +1670,14 @@ namespace SlaveMatrix { get { - return X0Y0_雨覆羽_羽3.OP[右 ? 4 : 0].Outline; + return X0Y0_雨覆羽_羽3.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_雨覆羽_羽3.OP[右 ? 4 : 0].Outline = value; - X0Y0_雨覆羽_羽3.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽3.OP[右 ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽3.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽3.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽3.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽3.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽3.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1684,14 +1685,14 @@ namespace SlaveMatrix { get { - return X0Y0_雨覆羽_羽4.OP[右 ? 4 : 0].Outline; + return X0Y0_雨覆羽_羽4.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_雨覆羽_羽4.OP[右 ? 4 : 0].Outline = value; - X0Y0_雨覆羽_羽4.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽4.OP[右 ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽4.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽4.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽4.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽4.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽4.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1699,14 +1700,14 @@ namespace SlaveMatrix { get { - return X0Y0_雨覆羽_羽5.OP[右 ? 4 : 0].Outline; + return X0Y0_雨覆羽_羽5.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_雨覆羽_羽5.OP[右 ? 4 : 0].Outline = value; - X0Y0_雨覆羽_羽5.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽5.OP[右 ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽5.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽5.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽5.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽5.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽5.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1714,14 +1715,14 @@ namespace SlaveMatrix { get { - return X0Y0_雨覆羽_羽6.OP[右 ? 4 : 0].Outline; + return X0Y0_雨覆羽_羽6.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_雨覆羽_羽6.OP[右 ? 4 : 0].Outline = value; - X0Y0_雨覆羽_羽6.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽6.OP[右 ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽6.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽6.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽6.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽6.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽6.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1729,14 +1730,14 @@ namespace SlaveMatrix { get { - return X0Y0_雨覆羽_羽7.OP[右 ? 4 : 0].Outline; + return X0Y0_雨覆羽_羽7.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_雨覆羽_羽7.OP[右 ? 4 : 0].Outline = value; - X0Y0_雨覆羽_羽7.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽7.OP[右 ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽7.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽7.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽7.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽7.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽7.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1744,14 +1745,14 @@ namespace SlaveMatrix { get { - return X0Y0_雨覆羽_羽8.OP[右 ? 4 : 0].Outline; + return X0Y0_雨覆羽_羽8.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_雨覆羽_羽8.OP[右 ? 4 : 0].Outline = value; - X0Y0_雨覆羽_羽8.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽8.OP[右 ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽8.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽8.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽8.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽8.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽8.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1759,14 +1760,14 @@ namespace SlaveMatrix { get { - return X0Y0_雨覆羽_羽9.OP[右 ? 4 : 0].Outline; + return X0Y0_雨覆羽_羽9.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_雨覆羽_羽9.OP[右 ? 4 : 0].Outline = value; - X0Y0_雨覆羽_羽9.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽9.OP[右 ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽9.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽9.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽9.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽9.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽9.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1774,14 +1775,14 @@ namespace SlaveMatrix { get { - return X0Y0_雨覆羽_羽10.OP[右 ? 4 : 0].Outline; + return X0Y0_雨覆羽_羽10.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_雨覆羽_羽10.OP[右 ? 4 : 0].Outline = value; - X0Y0_雨覆羽_羽10.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽10.OP[右 ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽10.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽10.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽10.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽10.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽10.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1789,14 +1790,14 @@ namespace SlaveMatrix { get { - return X0Y0_雨覆羽_羽11.OP[右 ? 4 : 0].Outline; + return X0Y0_雨覆羽_羽11.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_雨覆羽_羽11.OP[右 ? 4 : 0].Outline = value; - X0Y0_雨覆羽_羽11.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽11.OP[右 ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽11.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽11.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽11.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽11.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽11.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1804,14 +1805,14 @@ namespace SlaveMatrix { get { - return X0Y0_雨覆羽_羽12.OP[右 ? 4 : 0].Outline; + return X0Y0_雨覆羽_羽12.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_雨覆羽_羽12.OP[右 ? 4 : 0].Outline = value; - X0Y0_雨覆羽_羽12.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽12.OP[右 ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽12.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽12.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽12.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽12.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽12.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1819,14 +1820,14 @@ namespace SlaveMatrix { get { - return X0Y0_雨覆羽_羽13.OP[右 ? 4 : 0].Outline; + return X0Y0_雨覆羽_羽13.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_雨覆羽_羽13.OP[右 ? 4 : 0].Outline = value; - X0Y0_雨覆羽_羽13.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽13.OP[右 ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽13.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽13.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽13.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽13.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽13.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1834,14 +1835,14 @@ namespace SlaveMatrix { get { - return X0Y0_雨覆羽_羽14.OP[右 ? 4 : 0].Outline; + return X0Y0_雨覆羽_羽14.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_雨覆羽_羽14.OP[右 ? 4 : 0].Outline = value; - X0Y0_雨覆羽_羽14.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽14.OP[右 ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽14.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽14.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽14.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽14.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽14.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1849,13 +1850,13 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽1.OP[(!右) ? 1 : 3].Outline; + return X0Y0_風切羽_羽1.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽1.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_風切羽_羽1.OP[右 ? 1 : 3].Outline = value; - X0Y0_風切羽_羽1.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_風切羽_羽1.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_風切羽_羽1.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽1.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1863,13 +1864,13 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽2.OP[(!右) ? 1 : 3].Outline; + return X0Y0_風切羽_羽2.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽2.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_風切羽_羽2.OP[右 ? 1 : 3].Outline = value; - X0Y0_風切羽_羽2.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_風切羽_羽2.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_風切羽_羽2.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽2.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1877,13 +1878,13 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽3.OP[(!右) ? 1 : 3].Outline; + return X0Y0_風切羽_羽3.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽3.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_風切羽_羽3.OP[右 ? 1 : 3].Outline = value; - X0Y0_風切羽_羽3.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_風切羽_羽3.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_風切羽_羽3.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽3.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1891,13 +1892,13 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽4.OP[(!右) ? 1 : 3].Outline; + return X0Y0_風切羽_羽4.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽4.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_風切羽_羽4.OP[右 ? 1 : 3].Outline = value; - X0Y0_風切羽_羽4.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_風切羽_羽4.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_風切羽_羽4.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽4.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1905,13 +1906,13 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽5.OP[(!右) ? 1 : 3].Outline; + return X0Y0_風切羽_羽5.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽5.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_風切羽_羽5.OP[右 ? 1 : 3].Outline = value; - X0Y0_風切羽_羽5.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_風切羽_羽5.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_風切羽_羽5.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽5.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1919,13 +1920,13 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽6.OP[(!右) ? 1 : 3].Outline; + return X0Y0_風切羽_羽6.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽6.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_風切羽_羽6.OP[右 ? 1 : 3].Outline = value; - X0Y0_風切羽_羽6.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_風切羽_羽6.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_風切羽_羽6.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽6.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1933,13 +1934,13 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽7.OP[(!右) ? 1 : 3].Outline; + return X0Y0_風切羽_羽7.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽7.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_風切羽_羽7.OP[右 ? 1 : 3].Outline = value; - X0Y0_風切羽_羽7.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_風切羽_羽7.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_風切羽_羽7.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽7.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1947,13 +1948,13 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽8.OP[(!右) ? 1 : 3].Outline; + return X0Y0_風切羽_羽8.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽8.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_風切羽_羽8.OP[右 ? 1 : 3].Outline = value; - X0Y0_風切羽_羽8.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_風切羽_羽8.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_風切羽_羽8.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽8.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1961,13 +1962,13 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽9.OP[(!右) ? 1 : 3].Outline; + return X0Y0_風切羽_羽9.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽9.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_風切羽_羽9.OP[右 ? 1 : 3].Outline = value; - X0Y0_風切羽_羽9.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_風切羽_羽9.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_風切羽_羽9.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽9.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1975,13 +1976,13 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽10.OP[(!右) ? 1 : 3].Outline; + return X0Y0_風切羽_羽10.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽10.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_風切羽_羽10.OP[右 ? 1 : 3].Outline = value; - X0Y0_風切羽_羽10.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_風切羽_羽10.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_風切羽_羽10.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽10.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1989,13 +1990,13 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽11.OP[(!右) ? 1 : 3].Outline; + return X0Y0_風切羽_羽11.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽11.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_風切羽_羽11.OP[右 ? 1 : 3].Outline = value; - X0Y0_風切羽_羽11.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_風切羽_羽11.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_風切羽_羽11.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽11.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -2003,13 +2004,13 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽12.OP[(!右) ? 1 : 3].Outline; + return X0Y0_風切羽_羽12.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽12.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_風切羽_羽12.OP[右 ? 1 : 3].Outline = value; - X0Y0_風切羽_羽12.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_風切羽_羽12.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_風切羽_羽12.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽12.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -2017,13 +2018,13 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽13.OP[(!右) ? 1 : 3].Outline; + return X0Y0_風切羽_羽13.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽13.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_風切羽_羽13.OP[右 ? 1 : 3].Outline = value; - X0Y0_風切羽_羽13.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_風切羽_羽13.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_風切羽_羽13.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽13.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -2031,13 +2032,13 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽14.OP[(!右) ? 1 : 3].Outline; + return X0Y0_風切羽_羽14.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽14.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_風切羽_羽14.OP[右 ? 1 : 3].Outline = value; - X0Y0_風切羽_羽14.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_風切羽_羽14.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_風切羽_羽14.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽14.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -2045,13 +2046,13 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽15.OP[(!右) ? 1 : 3].Outline; + return X0Y0_風切羽_羽15.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽15.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_風切羽_羽15.OP[右 ? 1 : 3].Outline = value; - X0Y0_風切羽_羽15.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_風切羽_羽15.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_風切羽_羽15.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽15.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -2059,11 +2060,11 @@ namespace SlaveMatrix { get { - return X0Y0_鳥翼LowerArm.OP[右 ? 3 : 0].Outline; + return X0Y0_鳥翼LowerArm.GetOP()[右 ? 3 : 0].Outline; } set { - X0Y0_鳥翼LowerArm.OP[右 ? 3 : 0].Outline = value; + X0Y0_鳥翼LowerArm.GetOP()[右 ? 3 : 0].Outline = value; } } @@ -2374,49 +2375,49 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_鳥翼LowerArm.AngleBase = num * -341.0; - X0Y0_風切羽_羽1.AngleBase = num * -72.3455557531598; - X0Y0_風切羽_羽2.AngleBase = num * -76.3455557531598; - X0Y0_風切羽_羽3.AngleBase = num * -79.3455557531599; - X0Y0_風切羽_羽4.AngleBase = num * -82.34555575315983; - X0Y0_風切羽_羽5.AngleBase = num * -85.34555575315983; - X0Y0_風切羽_羽6.AngleBase = num * -88.34555575315994; - X0Y0_風切羽_羽7.AngleBase = num * -91.34555575315983; - X0Y0_風切羽_羽8.AngleBase = num * -94.34555575315994; - X0Y0_風切羽_羽9.AngleBase = num * -97.34555575315983; - X0Y0_風切羽_羽10.AngleBase = num * -100.3455557531598; - X0Y0_風切羽_羽11.AngleBase = num * -103.34555575316; - X0Y0_風切羽_羽12.AngleBase = num * -106.3455557531598; - X0Y0_風切羽_羽13.AngleBase = num * 250.654444246839; - X0Y0_風切羽_羽14.AngleBase = num * 247.65444424684; - X0Y0_風切羽_羽15.AngleBase = num * 244.65444424684; - X0Y0_雨覆羽_羽1.AngleBase = num * -61.6335605882607; - X0Y0_雨覆羽_羽2.AngleBase = num * -65.0211000072925; - X0Y0_雨覆羽_羽3.AngleBase = num * -68.6100025846698; - X0Y0_雨覆羽_羽4.AngleBase = num * -72.4094733624345; - X0Y0_雨覆羽_羽5.AngleBase = num * -76.4248591735387; - X0Y0_雨覆羽_羽6.AngleBase = num * -80.65615843821939; - X0Y0_雨覆羽_羽7.AngleBase = num * -85.09647453999872; - X0Y0_雨覆羽_羽8.AngleBase = num * -89.73063451433654; - X0Y0_雨覆羽_羽9.AngleBase = num * -94.53427462319013; - X0Y0_雨覆羽_羽10.AngleBase = num * -99.47372396003561; - X0Y0_雨覆羽_羽11.AngleBase = num * -104.5069529689633; - X0Y0_雨覆羽_羽12.AngleBase = num * 250.41432558095; - X0Y0_雨覆羽_羽13.AngleBase = num * 245.34158111747; - X0Y0_雨覆羽_羽14.AngleBase = num * 240.325859447711; - X0Y0_中雨覆羽_羽1.AngleBase = num * -49.1787166893964; - X0Y0_中雨覆羽_羽2.AngleBase = num * -57.1787166893962; - X0Y0_中雨覆羽_羽3.AngleBase = num * -65.1787166893963; - X0Y0_中雨覆羽_羽4.AngleBase = num * -73.1787166893963; - X0Y0_中雨覆羽_羽5.AngleBase = num * -81.17871668939631; - X0Y0_中雨覆羽_羽6.AngleBase = num * -89.17871668939688; - X0Y0_中雨覆羽_羽7.AngleBase = num * -97.17871668939625; - X0Y0_中雨覆羽_羽8.AngleBase = num * -105.1787166893964; - X0Y0_中雨覆羽_羽9.AngleBase = num * 246.821283310604; - X0Y0_中雨覆羽_羽10.AngleBase = num * 238.821283310604; - X0Y0_中雨覆羽_羽11.AngleBase = num * 230.821283310604; - X0Y0_中雨覆羽_羽12.AngleBase = num * 222.821283310604; - X0Y0_中雨覆羽_羽13.AngleBase = num * 214.821283310604; + X0Y0_鳥翼LowerArm.SetAngleBase(num * -341.0); + X0Y0_風切羽_羽1.SetAngleBase(num * -72.3455557531598); + X0Y0_風切羽_羽2.SetAngleBase(num * -76.3455557531598); + X0Y0_風切羽_羽3.SetAngleBase(num * -79.3455557531599); + X0Y0_風切羽_羽4.SetAngleBase(num * -82.34555575315983); + X0Y0_風切羽_羽5.SetAngleBase(num * -85.34555575315983); + X0Y0_風切羽_羽6.SetAngleBase(num * -88.34555575315994); + X0Y0_風切羽_羽7.SetAngleBase(num * -91.34555575315983); + X0Y0_風切羽_羽8.SetAngleBase(num * -94.34555575315994); + X0Y0_風切羽_羽9.SetAngleBase(num * -97.34555575315983); + X0Y0_風切羽_羽10.SetAngleBase(num * -100.3455557531598); + X0Y0_風切羽_羽11.SetAngleBase(num * -103.34555575316); + X0Y0_風切羽_羽12.SetAngleBase(num * -106.3455557531598); + X0Y0_風切羽_羽13.SetAngleBase(num * 250.654444246839); + X0Y0_風切羽_羽14.SetAngleBase(num * 247.65444424684); + X0Y0_風切羽_羽15.SetAngleBase(num * 244.65444424684); + X0Y0_雨覆羽_羽1.SetAngleBase(num * -61.6335605882607); + X0Y0_雨覆羽_羽2.SetAngleBase(num * -65.0211000072925); + X0Y0_雨覆羽_羽3.SetAngleBase(num * -68.6100025846698); + X0Y0_雨覆羽_羽4.SetAngleBase(num * -72.4094733624345); + X0Y0_雨覆羽_羽5.SetAngleBase(num * -76.4248591735387); + X0Y0_雨覆羽_羽6.SetAngleBase(num * -80.65615843821939); + X0Y0_雨覆羽_羽7.SetAngleBase(num * -85.09647453999872); + X0Y0_雨覆羽_羽8.SetAngleBase(num * -89.73063451433654); + X0Y0_雨覆羽_羽9.SetAngleBase(num * -94.53427462319013); + X0Y0_雨覆羽_羽10.SetAngleBase(num * -99.47372396003561); + X0Y0_雨覆羽_羽11.SetAngleBase(num * -104.5069529689633); + X0Y0_雨覆羽_羽12.SetAngleBase(num * 250.41432558095); + X0Y0_雨覆羽_羽13.SetAngleBase(num * 245.34158111747); + X0Y0_雨覆羽_羽14.SetAngleBase(num * 240.325859447711); + X0Y0_中雨覆羽_羽1.SetAngleBase(num * -49.1787166893964); + X0Y0_中雨覆羽_羽2.SetAngleBase(num * -57.1787166893962); + X0Y0_中雨覆羽_羽3.SetAngleBase(num * -65.1787166893963); + X0Y0_中雨覆羽_羽4.SetAngleBase(num * -73.1787166893963); + X0Y0_中雨覆羽_羽5.SetAngleBase(num * -81.17871668939631); + X0Y0_中雨覆羽_羽6.SetAngleBase(num * -89.17871668939688); + X0Y0_中雨覆羽_羽7.SetAngleBase(num * -97.17871668939625); + X0Y0_中雨覆羽_羽8.SetAngleBase(num * -105.1787166893964); + X0Y0_中雨覆羽_羽9.SetAngleBase(num * 246.821283310604); + X0Y0_中雨覆羽_羽10.SetAngleBase(num * 238.821283310604); + X0Y0_中雨覆羽_羽11.SetAngleBase(num * 230.821283310604); + X0Y0_中雨覆羽_羽12.SetAngleBase(num * 222.821283310604); + X0Y0_中雨覆羽_羽13.SetAngleBase(num * 214.821283310604); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_鳥D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_鳥D.cs index e1d601b..973bb72 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_鳥D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_鳥D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Neck.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Neck.cs index a4243d4..5f2f323 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Neck.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Neck.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/NeckD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/NeckD.cs index 0917943..6039f7e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/NeckD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/NeckD.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Shoulder.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Shoulder.cs index 8a4fc55..b814a06 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Shoulder.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Shoulder.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -99,10 +100,10 @@ namespace SlaveMatrix { 筋肉_ = value; 脇_筋肉_表示 = 筋肉_; - X0Y0_脇_脇.OP.ExpansionXY(X0Y0_脇_脇.OP.GetCenter(), 0.0005); - X0Y0_脇_脇.JP.ExpansionXY(X0Y0_脇_脇.JP.GetCenter(), 0.0005); - X0Y0_Shoulder_Shoulder.OP.ExpansionXY(X0Y0_Shoulder_Shoulder.OP.GetCenter(), 0.0005); - X0Y0_Shoulder_Shoulder.JP.ExpansionXY(X0Y0_Shoulder_Shoulder.JP.GetCenter(), 0.0005); + X0Y0_脇_脇.GetOP().ExpansionXY(X0Y0_脇_脇.GetOP().GetCenter(), 0.0005); + X0Y0_脇_脇.GetJP().ExpansionXY(X0Y0_脇_脇.GetJP().GetCenter(), 0.0005); + X0Y0_Shoulder_Shoulder.GetOP().ExpansionXY(X0Y0_Shoulder_Shoulder.GetOP().GetCenter(), 0.0005); + X0Y0_Shoulder_Shoulder.GetJP().ExpansionXY(X0Y0_Shoulder_Shoulder.GetJP().GetCenter(), 0.0005); } } @@ -395,7 +396,7 @@ namespace SlaveMatrix X0Y0_Shoulder_シャツCP = new ColorP(X0Y0_Shoulder_シャツ, Shoulder_シャツCD, DisUnit, abj: true); X0Y0_Shoulder_ナースCP = new ColorP(X0Y0_Shoulder_ナース, Shoulder_ナースCD, DisUnit, abj: true); Intensity = e.濃度; - X0Y0_脇_脇.BasePointBase = X0Y0_脇_脇.BasePointBase.AddY(-0.001); + X0Y0_脇_脇.SetBasePointBase(X0Y0_脇_脇.GetBasePointBase().AddY(-0.001)); } public void 脇描画(RenderArea Are) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ShoulderD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ShoulderD.cs index b088952..c41ad3f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ShoulderD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ShoulderD.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair.cs index 24d7494..ab93cb7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class SideHair : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_カル.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_カル.cs index c86f58c..48ffbd4 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_カル.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_カル.cs @@ -109,7 +109,7 @@ namespace SlaveMatrix set { double num = 0.8 + 0.3 * value; - X0Y0_髪1.SizeYBase *= num; + X0Y0_髪1.SetSizeYBase(X0Y0_髪1.GetSizeYBase() * num); } } @@ -118,7 +118,7 @@ namespace SlaveMatrix set { double num = 0.8 + 0.3 * value; - X0Y0_髪2.SizeYBase *= num; + X0Y0_髪2.SetSizeYBase(X0Y0_髪2.GetSizeYBase() * num); } } @@ -127,8 +127,8 @@ namespace SlaveMatrix set { double num = 1.0 + 0.1 * value; - X0Y0_髪1.SizeXBase *= num; - X0Y0_髪2.SizeXBase *= num; + X0Y0_髪1.SetSizeXBase(X0Y0_髪1.GetSizeXBase() * num); + X0Y0_髪2.SetSizeXBase(X0Y0_髪2.GetSizeXBase() * num); } } @@ -137,7 +137,7 @@ namespace SlaveMatrix set { double num = (右 ? (-1.0) : 1.0); - X0Y0_髪2.AngleBase = num * 3.0 * value; + X0Y0_髪2.SetAngleBase(num * 3.0 * value); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_カルD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_カルD.cs index 2cb11d2..c1b7121 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_カルD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_カルD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_ジグ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_ジグ.cs index ff2278d..b79392f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_ジグ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_ジグ.cs @@ -109,7 +109,7 @@ namespace SlaveMatrix set { double num = 0.8 + 0.3 * value; - X0Y0_髪1.SizeYBase *= num; + X0Y0_髪1.SetSizeYBase(X0Y0_髪1.GetSizeYBase() * num); } } @@ -118,7 +118,7 @@ namespace SlaveMatrix set { double num = 0.8 + 0.3 * value; - X0Y0_髪2.SizeYBase *= num; + X0Y0_髪2.SetSizeYBase(X0Y0_髪2.GetSizeYBase() * num); } } @@ -127,8 +127,8 @@ namespace SlaveMatrix set { double num = 1.0 + 0.1 * value; - X0Y0_髪1.SizeXBase *= num; - X0Y0_髪2.SizeXBase *= num; + X0Y0_髪1.SetSizeXBase(X0Y0_髪1.GetSizeXBase() * num); + X0Y0_髪2.SetSizeXBase(X0Y0_髪2.GetSizeXBase() * num); } } @@ -137,7 +137,7 @@ namespace SlaveMatrix set { double num = (右 ? (-1.0) : 1.0); - X0Y0_髪2.AngleBase = num * 3.0 * value; + X0Y0_髪2.SetAngleBase(num * 3.0 * value); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_ジグD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_ジグD.cs index 13836c3..9229aaf 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_ジグD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_ジグD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_ハネ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_ハネ.cs index e9282cc..b56733e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_ハネ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_ハネ.cs @@ -109,7 +109,7 @@ namespace SlaveMatrix set { double num = 0.8 + 0.3 * value; - X0Y0_髪1.SizeYBase *= num; + X0Y0_髪1.SetSizeYBase(X0Y0_髪1.GetSizeYBase() * num); } } @@ -118,7 +118,7 @@ namespace SlaveMatrix set { double num = 0.8 + 0.3 * value; - X0Y0_髪2.SizeYBase *= num; + X0Y0_髪2.SetSizeYBase(X0Y0_髪2.GetSizeYBase() * num); } } @@ -127,8 +127,8 @@ namespace SlaveMatrix set { double num = 1.0 + 0.1 * value; - X0Y0_髪1.SizeXBase *= num; - X0Y0_髪2.SizeXBase *= num; + X0Y0_髪1.SetSizeXBase(X0Y0_髪1.GetSizeXBase() * num); + X0Y0_髪2.SetSizeXBase(X0Y0_髪2.GetSizeXBase() * num); } } @@ -137,7 +137,7 @@ namespace SlaveMatrix set { double num = (右 ? (-1.0) : 1.0); - X0Y0_髪2.AngleBase = num * 3.0 * value; + X0Y0_髪2.SetAngleBase(num * 3.0 * value); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_ハネD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_ハネD.cs index c715d2c..2c24a79 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_ハネD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_ハネD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_パツ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_パツ.cs index 3351779..f9c21bf 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_パツ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_パツ.cs @@ -109,7 +109,7 @@ namespace SlaveMatrix set { double num = 0.8 + 0.3 * value; - X0Y0_髪1.SizeYBase *= num; + X0Y0_髪1.SetSizeYBase(X0Y0_髪1.GetSizeYBase() * num); } } @@ -118,7 +118,7 @@ namespace SlaveMatrix set { double num = 0.8 + 0.3 * value; - X0Y0_髪2.SizeYBase *= num; + X0Y0_髪2.SetSizeYBase(X0Y0_髪2.GetSizeYBase() * num); } } @@ -127,8 +127,8 @@ namespace SlaveMatrix set { double num = 1.0 + 0.05 * value; - X0Y0_髪1.SizeXBase *= num; - X0Y0_髪2.SizeXBase *= num; + X0Y0_髪1.SetSizeXBase(X0Y0_髪1.GetSizeXBase() * num); + X0Y0_髪2.SetSizeXBase(X0Y0_髪2.GetSizeXBase() * num); } } @@ -137,7 +137,7 @@ namespace SlaveMatrix set { double num = (右 ? (-1.0) : 1.0); - X0Y0_髪2.AngleBase = num * 3.0 * value; + X0Y0_髪2.SetAngleBase(num * 3.0 * value); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_パツD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_パツD.cs index dbc3eee..49ec226 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_パツD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_パツD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_編み.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_編み.cs index 252fbc7..5ed8733 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_編み.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_編み.cs @@ -361,14 +361,14 @@ namespace SlaveMatrix set { double num = 0.8 + 0.3 * value; - X0Y0_編節1_髪節.SizeYBase *= num; - X0Y0_編節1_髪編目.SizeYBase *= num; - X0Y0_編節2_髪節.SizeYBase *= num; - X0Y0_編節2_髪編目.SizeYBase *= num; - X0Y0_編節3_髪節.SizeYBase *= num; - X0Y0_編節3_髪編目.SizeYBase *= num; - X0Y0_編節4_髪節.SizeYBase *= num; - X0Y0_編節4_髪編目.SizeYBase *= num; + X0Y0_編節1_髪節.SetSizeYBase(X0Y0_編節1_髪節.GetSizeYBase() * num); + X0Y0_編節1_髪編目.SetSizeYBase(X0Y0_編節1_髪編目.GetSizeYBase() * num); + X0Y0_編節2_髪節.SetSizeYBase(X0Y0_編節2_髪節.GetSizeYBase() * num); + X0Y0_編節2_髪編目.SetSizeYBase(X0Y0_編節2_髪編目.GetSizeYBase() * num); + X0Y0_編節3_髪節.SetSizeYBase(X0Y0_編節3_髪節.GetSizeYBase() * num); + X0Y0_編節3_髪編目.SetSizeYBase(X0Y0_編節3_髪編目.GetSizeYBase() * num); + X0Y0_編節4_髪節.SetSizeYBase(X0Y0_編節4_髪節.GetSizeYBase() * num); + X0Y0_編節4_髪編目.SetSizeYBase(X0Y0_編節4_髪編目.GetSizeYBase() * num); } } @@ -377,9 +377,9 @@ namespace SlaveMatrix set { double num = 0.8 + 0.3 * value; - X0Y0_髪左.SizeYBase *= num; - X0Y0_髪右.SizeYBase *= num; - X0Y0_髪根.SizeYBase *= num; + X0Y0_髪左.SetSizeYBase(X0Y0_髪左.GetSizeYBase() * num); + X0Y0_髪右.SetSizeYBase(X0Y0_髪右.GetSizeYBase() * num); + X0Y0_髪根.SetSizeYBase(X0Y0_髪根.GetSizeYBase() * num); } } @@ -388,19 +388,19 @@ namespace SlaveMatrix set { double num = 1.0 + 0.5 * value; - X0Y0_編節1_髪節.SizeXBase *= num; - X0Y0_編節1_髪編目.SizeXBase *= num; - X0Y0_編節2_髪節.SizeXBase *= num; - X0Y0_編節2_髪編目.SizeXBase *= num; - X0Y0_編節3_髪節.SizeXBase *= num; - X0Y0_編節3_髪編目.SizeXBase *= num; - X0Y0_編節4_髪節.SizeXBase *= num; - X0Y0_編節4_髪編目.SizeXBase *= num; - X0Y0_髪縛1.SizeXBase *= num; - X0Y0_髪縛2.SizeXBase *= num; - X0Y0_髪左.SizeXBase *= num; - X0Y0_髪右.SizeXBase *= num; - X0Y0_髪根.SizeXBase *= num; + X0Y0_編節1_髪節.SetSizeXBase(X0Y0_編節1_髪節.GetSizeXBase() * num); + X0Y0_編節1_髪編目.SetSizeXBase(X0Y0_編節1_髪編目.GetSizeXBase() * num); + X0Y0_編節2_髪節.SetSizeXBase(X0Y0_編節2_髪節.GetSizeXBase() * num); + X0Y0_編節2_髪編目.SetSizeXBase(X0Y0_編節2_髪編目.GetSizeXBase() * num); + X0Y0_編節3_髪節.SetSizeXBase(X0Y0_編節3_髪節.GetSizeXBase() * num); + X0Y0_編節3_髪編目.SetSizeXBase(X0Y0_編節3_髪編目.GetSizeXBase() * num); + X0Y0_編節4_髪節.SetSizeXBase(X0Y0_編節4_髪節.GetSizeXBase() * num); + X0Y0_編節4_髪編目.SetSizeXBase(X0Y0_編節4_髪編目.GetSizeXBase() * num); + X0Y0_髪縛1.SetSizeXBase(X0Y0_髪縛1.GetSizeXBase() * num); + X0Y0_髪縛2.SetSizeXBase(X0Y0_髪縛2.GetSizeXBase() * num); + X0Y0_髪左.SetSizeXBase(X0Y0_髪左.GetSizeXBase() * num); + X0Y0_髪右.SetSizeXBase(X0Y0_髪右.GetSizeXBase() * num); + X0Y0_髪根.SetSizeXBase(X0Y0_髪根.GetSizeXBase() * num); } } @@ -409,8 +409,8 @@ namespace SlaveMatrix set { double num = (右 ? (-1.0) : 1.0); - X0Y0_髪左.AngleBase = num * 3.0 * value; - X0Y0_髪右.AngleBase = num * -3.0 * value; + X0Y0_髪左.SetAngleBase(num * 3.0 * value); + X0Y0_髪右.SetAngleBase(num * -3.0 * value); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_編みD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_編みD.cs index 31199f3..55c2d81 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_編みD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_編みD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_肢系.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_肢系.cs index facddf9..aa3bf05 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_肢系.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_肢系.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_肢系D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_肢系D.cs index 8301b1f..37354ed 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_肢系D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_肢系D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Stamp.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Stamp.cs index 561f21a..2932e2f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Stamp.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Stamp.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.Drawing; using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Sweat.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Sweat.cs index 414fb09..5ac4370 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Sweat.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Sweat.cs @@ -1,6 +1,7 @@ using System.Collections.Generic; using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -60,7 +61,7 @@ namespace SlaveMatrix if (汗.Intensity != 0.0) { tp = ryps2.r.ToGlobal(local); - 汗.Body.CurJoinRoot.PositionBase = tp + (ryps2.r.ToGlobal(ryps2.c) - tp) * 位置[this.i]; + 汗.Body.GetCurJoinRoot().SetPositionBase(tp + (ryps2.r.ToGlobal(ryps2.c) - tp) * 位置[this.i]); 汗.Body.JoinPA(); 汗.色更新(); 汗.Body.Draw(Are); @@ -206,9 +207,9 @@ namespace SlaveMatrix foreach (Ele item in Cha.Body.Elements.Where((Ele e) => 汗対象.Contains(e.GetType().ToString()))) { ryps = default(ryps); - ryps.r = item.Body.CurJoinRoot; - ryps.c = ryps.r.OP.GetCenter(); - ryps.ps = (from p in ryps.r.OP.EnumPoints() + ryps.r = item.Body.GetCurJoinRoot(); + ryps.c = ryps.r.GetOP().GetCenter(); + ryps.ps = (from p in ryps.r.GetOP().EnumPoints() where ryps.c.Y > p.Y select p).ToArray(); list.Add(ryps); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/TextBubble.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/TextBubble.cs index 4029916..5cff658 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/TextBubble.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/TextBubble.cs @@ -18,7 +18,7 @@ namespace SlaveMatrix public Motion 消失; - public Color GetHitColor => Tex.ParT.HitColor; + public Color GetHitColor => Tex.ParT.GetHitColor(); public string Text { @@ -54,14 +54,14 @@ namespace SlaveMatrix 吹出し.尺度B = num * 1.1; 吹出し.尺度YB = num2; Tex = new Tex("Tex", Dat.Vec2DZero, 0.1, 吹出し.尺度B, 0.63 * num * num2, Font, TextSize, 25, Text, TextColor, ShadColor, Color.Transparent, Speed, FeedColor, Action); - Tex.Feed.OP.OutlineFalse(); - Tex.ParT.BasePointBase = Tex.ParT.OP.GetCenter().AddY(0.04); + Tex.Feed.GetOP().OutlineFalse(); + Tex.ParT.SetBasePointBase(Tex.ParT.GetOP().GetCenter().AddY(0.04)); this.Dis = Dis; if (Dis) { 表示 = false; - int pa = 吹出し.X0Y0_吹出し.PenColor.A; - int ba = 吹出し.X0Y0_吹出し.BrushColor.A; + int pa = 吹出し.X0Y0_吹出し.GetPenColor().A; + int ba = 吹出し.X0Y0_吹出し.GetBrushColor().A; int ta = TextColor.A; int sa = ShadColor.A; double v; @@ -77,10 +77,10 @@ namespace SlaveMatrix if (m.Value < m.Max - 1) return; v = (1 + m.Value - m.Max).Inverse(); - 吹出し.X0Y0_吹出し.PenColor = Color.FromArgb((int)((double)pa * v), 吹出し.X0Y0_吹出し.PenColor); - 吹出し.X0Y0_吹出し.BrushColor = Color.FromArgb((int)((double)ba * v), 吹出し.X0Y0_吹出し.BrushColor); - Tex.ParT.TextColor = Color.FromArgb((int)((double)ta * v), Tex.ParT.TextColor); - Tex.ParT.ShadColor = Color.FromArgb((int)((double)sa * v), Tex.ParT.ShadColor); + 吹出し.X0Y0_吹出し.SetPenColor(Color.FromArgb((int)((double)pa * v), 吹出し.X0Y0_吹出し.GetPenColor())); + 吹出し.X0Y0_吹出し.SetBrushColor(Color.FromArgb((int)((double)ba * v), 吹出し.X0Y0_吹出し.GetBrushColor())); + Tex.ParT.SetTextColor(Color.FromArgb((int)((double)ta * v), Tex.ParT.GetTextColor())); + Tex.ParT.SetShadColor(Color.FromArgb((int)((double)sa * v), Tex.ParT.GetShadColor())); }, OnReach = delegate(Motion m) { @@ -92,10 +92,10 @@ namespace SlaveMatrix OnEnd = delegate { 表示 = false; - 吹出し.X0Y0_吹出し.PenColor = Color.FromArgb(pa, 吹出し.X0Y0_吹出し.PenColor); - 吹出し.X0Y0_吹出し.BrushColor = Color.FromArgb(ba, 吹出し.X0Y0_吹出し.BrushColor); - Tex.ParT.TextColor = Color.FromArgb(ta, Tex.ParT.TextColor); - Tex.ParT.ShadColor = Color.FromArgb(sa, Tex.ParT.ShadColor); + 吹出し.X0Y0_吹出し.SetPenColor(Color.FromArgb(pa, 吹出し.X0Y0_吹出し.GetPenColor())); + 吹出し.X0Y0_吹出し.SetBrushColor(Color.FromArgb(ba, 吹出し.X0Y0_吹出し.GetBrushColor())); + Tex.ParT.SetTextColor(Color.FromArgb(ta, Tex.ParT.GetTextColor())); + Tex.ParT.SetShadColor(Color.FromArgb(sa, Tex.ParT.GetShadColor())); } }; } @@ -114,13 +114,13 @@ namespace SlaveMatrix 吹出し.尺度B = num * 1.1; 吹出し.尺度YB = num2; Tex = new Tex("Tex", Dat.Vec2DZero, 0.1, 吹出し.尺度B, 0.63 * num * num2, Font, TextSize, 25, Text, TextColor, ShadColor, Color.Transparent, Speed); - Tex.ParT.BasePointBase = Tex.ParT.OP.GetCenter().AddY(0.04); + Tex.ParT.SetBasePointBase(Tex.ParT.GetOP().GetCenter().AddY(0.04)); this.Dis = Dis; if (Dis) { 表示 = false; - int pa = 吹出し.X0Y0_吹出し.PenColor.A; - int ba = 吹出し.X0Y0_吹出し.BrushColor.A; + int pa = 吹出し.X0Y0_吹出し.GetPenColor().A; + int ba = 吹出し.X0Y0_吹出し.GetBrushColor().A; int ta = TextColor.A; int sa = ShadColor.A; double v; @@ -145,10 +145,10 @@ namespace SlaveMatrix var correctTextAlpha = (textAlpha > 255) ? 255 : textAlpha; var correctShadeAlpha = (shadeAlpha > 255) ? 255 : shadeAlpha; - 吹出し.X0Y0_吹出し.PenColor = Color.FromArgb(correctPenAlpha, 吹出し.X0Y0_吹出し.PenColor); - 吹出し.X0Y0_吹出し.BrushColor = Color.FromArgb(correctBrushAlpha, 吹出し.X0Y0_吹出し.BrushColor); - Tex.ParT.TextColor = Color.FromArgb(correctTextAlpha, Tex.ParT.TextColor); - Tex.ParT.ShadColor = Color.FromArgb(correctShadeAlpha, Tex.ParT.ShadColor); + 吹出し.X0Y0_吹出し.SetPenColor(Color.FromArgb(correctPenAlpha, 吹出し.X0Y0_吹出し.GetPenColor())); + 吹出し.X0Y0_吹出し.SetBrushColor(Color.FromArgb(correctBrushAlpha, 吹出し.X0Y0_吹出し.GetBrushColor())); + Tex.ParT.SetTextColor(Color.FromArgb(correctTextAlpha, Tex.ParT.GetTextColor())); + Tex.ParT.SetShadColor(Color.FromArgb(correctShadeAlpha, Tex.ParT.GetShadColor())); }, OnReach = delegate(Motion m) { @@ -160,10 +160,10 @@ namespace SlaveMatrix OnEnd = delegate { 表示 = false; - 吹出し.X0Y0_吹出し.PenColor = Color.FromArgb(pa, 吹出し.X0Y0_吹出し.PenColor); - 吹出し.X0Y0_吹出し.BrushColor = Color.FromArgb(ba, 吹出し.X0Y0_吹出し.BrushColor); - Tex.ParT.TextColor = Color.FromArgb(ta, Tex.ParT.TextColor); - Tex.ParT.ShadColor = Color.FromArgb(sa, Tex.ParT.ShadColor); + 吹出し.X0Y0_吹出し.SetPenColor(Color.FromArgb(pa, 吹出し.X0Y0_吹出し.GetPenColor())); + 吹出し.X0Y0_吹出し.SetBrushColor(Color.FromArgb(ba, 吹出し.X0Y0_吹出し.GetBrushColor())); + Tex.ParT.SetTextColor(Color.FromArgb(ta, Tex.ParT.GetTextColor())); + Tex.ParT.SetShadColor(Color.FromArgb(sa, Tex.ParT.GetShadColor())); } }; } @@ -193,7 +193,7 @@ namespace SlaveMatrix public void 接続() { 吹出し.接続P(); - Tex.Position = 吹出し.X0Y0_吹出し.ToGlobal(吹出し.X0Y0_吹出し.JP[0].Joint); + Tex.Position = 吹出し.X0Y0_吹出し.ToGlobal(吹出し.X0Y0_吹出し.GetJP()[0].Joint); } public void Draw(RenderArea Are, FPS FPS) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Torso.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Torso.cs index 1f6cf5f..a33255f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Torso.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Torso.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/TorsoD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/TorsoD.cs index 0313fdb..b777309 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/TorsoD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/TorsoD.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Torso_蛇.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Torso_蛇.cs index c8638f8..da125e8 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Torso_蛇.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Torso_蛇.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -488,7 +489,7 @@ namespace SlaveMatrix if (Par != null && !(Par is 長物_蛇) && Par.Par != null && !(Par.Par is 長物_蛇)) { _ = 右; - X0Y0_Torso_Torso.AngleBase = 20.0.GetRanAngle(); + X0Y0_Torso_Torso.SetAngleBase(20.0.GetRanAngle()); Body.JoinPAall(); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Torso_蛇D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Torso_蛇D.cs index fc4c857..979aefc 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Torso_蛇D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Torso_蛇D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Torso_蟲.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Torso_蟲.cs index d47e5b5..5e52a46 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Torso_蟲.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Torso_蟲.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; using System.Linq; namespace SlaveMatrix @@ -633,19 +634,10 @@ namespace SlaveMatrix public override void SetAngle0() { _ = 右; - X0Y0_Torso_Torso.AngleBase = 20.0.GetRanAngle(); + X0Y0_Torso_Torso.SetAngleBase(20.0.GetRanAngle()); Body.JoinPAall(); } - public override bool Is革(Par p) - { - if (p != X0Y0_輪_革 && p != X0Y0_輪_金具1 && p != X0Y0_輪_金具2 && p != X0Y0_輪_金具3 && p != X0Y0_輪_金具左) - { - return p == X0Y0_輪_金具右; - } - return true; - } - public override void 色更新() { X0Y0_Torso_背板CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Torso_蟲D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Torso_蟲D.cs index 281547c..fc92155 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Torso_蟲D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Torso_蟲D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/T剃刀.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/T剃刀.cs index 35b3366..544b0b5 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/T剃刀.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/T剃刀.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -583,10 +584,10 @@ namespace SlaveMatrix X0Y0_グリップ_グリップ14CP = new ColorP(X0Y0_グリップ_グリップ14, グリップ_グリップ14CD, DisUnit, abj: true); X0Y0_グリップ_グリップ15CP = new ColorP(X0Y0_グリップ_グリップ15, グリップ_グリップ15CD, DisUnit, abj: true); Intensity = e.濃度; - Vector2D local = X0Y0_刃_刃1.OP[0].ps[1]; + Vector2D local = X0Y0_刃_刃1.GetOP()[0].ps[1]; foreach (Par item in Body.EnumJoinRoot) { - item.BasePointBase = item.ToLocal(X0Y0_刃_刃1.ToGlobal(local)); + item.SetBasePointBase(item.ToLocal(X0Y0_刃_刃1.ToGlobal(local))); } 尺度B = 1.08; Body.JoinPAall(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/T剃刀D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/T剃刀D.cs index 5112cd2..b480da5 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/T剃刀D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/T剃刀D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm.cs index 2ab6755..414a8f7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class UpperArm : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_人.cs index 45ecf75..f6fee48 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_人.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_人.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -3373,15 +3374,15 @@ namespace SlaveMatrix { get { - return X0Y0_UpperArm.OP[(!右) ? 1 : 2].Outline; + return X0Y0_UpperArm.GetOP()[(!右) ? 1 : 2].Outline; } set { - X0Y0_UpperArm.OP[(!右) ? 1 : 2].Outline = value; - X0Y0_虫性_虫腕.OP[右 ? 1 : 4].Outline = value; - X0Y0_獣性_獣毛1.OP[右 ? 3 : 7].Outline = value; - X0Y0_グローブ_通常_グローブ.OP[(!右) ? 1 : 2].Outline = value; - X0Y0_グローブ_筋肉_グローブ.OP[(!右) ? 1 : 2].Outline = value; + X0Y0_UpperArm.GetOP()[(!右) ? 1 : 2].Outline = value; + X0Y0_虫性_虫腕.GetOP()[右 ? 1 : 4].Outline = value; + X0Y0_獣性_獣毛1.GetOP()[右 ? 3 : 7].Outline = value; + X0Y0_グローブ_通常_グローブ.GetOP()[(!右) ? 1 : 2].Outline = value; + X0Y0_グローブ_筋肉_グローブ.GetOP()[(!右) ? 1 : 2].Outline = value; } } @@ -4045,7 +4046,7 @@ namespace SlaveMatrix public override void SetRestraintAngle() { double num = (右 ? (-1.0) : 1.0); - X0Y0_UpperArm.AngleBase = num * -30.0; + X0Y0_UpperArm.SetAngleBase(num * -30.0); 尺度XC = 0.95; Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_人D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_人D.cs index c9614a5..aec8b21 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_人D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_人D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_獣.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_獣.cs index 1404667..62dd2c8 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_獣.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_獣.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; using System.Linq; namespace SlaveMatrix @@ -258,11 +259,11 @@ namespace SlaveMatrix { get { - return X0Y0_UpperArm.OP[(!右) ? 1 : 6].Outline; + return X0Y0_UpperArm.GetOP()[(!右) ? 1 : 6].Outline; } set { - X0Y0_UpperArm.OP[(!右) ? 1 : 6].Outline = value; + X0Y0_UpperArm.GetOP()[(!右) ? 1 : 6].Outline = value; } } @@ -358,7 +359,7 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_UpperArm.AngleBase = num * -65.0; + X0Y0_UpperArm.SetAngleBase(num * -65.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_獣D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_獣D.cs index 625c2aa..ff772f5 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_獣D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_獣D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_蝙.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_蝙.cs index 6324195..fcfd385 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_蝙.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_蝙.cs @@ -1,6 +1,7 @@ using System; using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -238,7 +239,7 @@ namespace SlaveMatrix { double num = value.Inverse(); double num2 = (右 ? (-1.0) : 1.0); - X0Y0_獣翼UpperArm.AngleCont = num2 * -68.0 * num; + X0Y0_獣翼UpperArm.SetAngleCont(num2 * -68.0 * num); } } @@ -246,12 +247,12 @@ namespace SlaveMatrix { get { - return X0Y0_獣翼UpperArm.OP[右 ? 3 : 0].Outline; + return X0Y0_獣翼UpperArm.GetOP()[右 ? 3 : 0].Outline; } set { - X0Y0_獣翼UpperArm.OP[右 ? 3 : 0].Outline = value; - X0Y0_獣翼UpperArm.OP[(!右) ? 1 : 2].Outline = value; + X0Y0_獣翼UpperArm.GetOP()[右 ? 3 : 0].Outline = value; + X0Y0_獣翼UpperArm.GetOP()[(!右) ? 1 : 2].Outline = value; } } @@ -497,11 +498,11 @@ namespace SlaveMatrix { get { - return X0Y0_獣翼UpperArm.OP[(!右) ? 1 : 2].Outline; + return X0Y0_獣翼UpperArm.GetOP()[(!右) ? 1 : 2].Outline; } set { - X0Y0_獣翼UpperArm.OP[(!右) ? 1 : 2].Outline = value; + X0Y0_獣翼UpperArm.GetOP()[(!右) ? 1 : 2].Outline = value; } } @@ -594,7 +595,7 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_獣翼UpperArm.AngleBase = num * 0.0; + X0Y0_獣翼UpperArm.SetAngleBase(num * 0.0); Body.JoinPAall(); } @@ -611,7 +612,7 @@ namespace SlaveMatrix public Vector2D Get飛膜接続点() { - return X0Y0_獣翼UpperArm.ToGlobal(右 ? X0Y0_獣翼UpperArm.OP[0].ps[1] : X0Y0_獣翼UpperArm.OP[3].ps[4]); + return X0Y0_獣翼UpperArm.ToGlobal(右 ? X0Y0_獣翼UpperArm.GetOP()[0].ps[1] : X0Y0_獣翼UpperArm.GetOP()[3].ps[4]); } public override void 色更新() diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_蝙D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_蝙D.cs index 7698160..2ff09c6 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_蝙D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_蝙D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_蹄.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_蹄.cs index ee2718c..5b01ad7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_蹄.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_蹄.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -132,11 +133,11 @@ namespace SlaveMatrix { get { - return X0Y0_UpperArm.OP[(!右) ? 1 : 3].Outline; + return X0Y0_UpperArm.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_UpperArm.OP[(!右) ? 1 : 3].Outline = value; + X0Y0_UpperArm.GetOP()[(!右) ? 1 : 3].Outline = value; } } @@ -212,7 +213,7 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_UpperArm.AngleBase = num * -96.0; + X0Y0_UpperArm.SetAngleBase(num * -96.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_蹄D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_蹄D.cs index 3473e72..053df56 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_蹄D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_蹄D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_鳥.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_鳥.cs index 6c67a6b..66403d4 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_鳥.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_鳥.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -283,11 +284,11 @@ namespace SlaveMatrix { double num = value.Inverse(); double num2 = (右 ? (-1.0) : 1.0); - X0Y0_鳥翼UpperArm.AngleCont = num2 * -60.0 * num; - X0Y0_羽毛.AngleCont = num2 * 100.0 * num; - X0Y0_風切羽_羽1.AngleCont = num2 * 75.0 * num; - X0Y0_風切羽_羽2.AngleCont = num2 * 75.0 * num; - X0Y0_風切羽_羽3.AngleCont = num2 * 75.0 * num; + X0Y0_鳥翼UpperArm.SetAngleCont(num2 * -60.0 * num); + X0Y0_羽毛.SetAngleCont(num2 * 100.0 * num); + X0Y0_風切羽_羽1.SetAngleCont(num2 * 75.0 * num); + X0Y0_風切羽_羽2.SetAngleCont(num2 * 75.0 * num); + X0Y0_風切羽_羽3.SetAngleCont(num2 * 75.0 * num); } } @@ -296,9 +297,9 @@ namespace SlaveMatrix set { double num = 0.05; - X0Y0_風切羽_羽3.SizeYBase *= 1.0 - num * value; - X0Y0_風切羽_羽2.SizeYBase *= 1.0 - num * value; - X0Y0_風切羽_羽1.SizeYBase *= 1.0 - num * value; + X0Y0_風切羽_羽3.SetSizeYBase(X0Y0_風切羽_羽3.GetSizeYBase() * (1.0 - num * value)); + X0Y0_風切羽_羽2.SetSizeYBase(X0Y0_風切羽_羽2.GetSizeYBase() * (1.0 - num * value)); + X0Y0_風切羽_羽1.SetSizeYBase(X0Y0_風切羽_羽1.GetSizeYBase() * (1.0 - num * value)); } } @@ -306,12 +307,12 @@ namespace SlaveMatrix { get { - return X0Y0_鳥翼UpperArm.OP[右 ? 3 : 0].Outline; + return X0Y0_鳥翼UpperArm.GetOP()[右 ? 3 : 0].Outline; } set { - X0Y0_鳥翼UpperArm.OP[右 ? 3 : 0].Outline = value; - X0Y0_鳥翼UpperArm.OP[(!右) ? 1 : 2].Outline = value; + X0Y0_鳥翼UpperArm.GetOP()[右 ? 3 : 0].Outline = value; + X0Y0_鳥翼UpperArm.GetOP()[(!右) ? 1 : 2].Outline = value; } } @@ -319,13 +320,13 @@ namespace SlaveMatrix { get { - return X0Y0_小雨覆.OP[右 ? 2 : 3].Outline; + return X0Y0_小雨覆.GetOP()[右 ? 2 : 3].Outline; } set { - X0Y0_小雨覆.OP[右 ? 2 : 3].Outline = value; - X0Y0_小雨覆.OP[右 ? 1 : 4].Outline = value; - X0Y0_小雨覆.OP[(!右) ? 5 : 0].Outline = value; + X0Y0_小雨覆.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_小雨覆.GetOP()[右 ? 1 : 4].Outline = value; + X0Y0_小雨覆.GetOP()[(!右) ? 5 : 0].Outline = value; } } @@ -333,15 +334,15 @@ namespace SlaveMatrix { get { - return X0Y0_羽毛.OP[右 ? 4 : 0].Outline; + return X0Y0_羽毛.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_羽毛.OP[右 ? 4 : 0].Outline = value; - X0Y0_羽毛.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_羽毛.OP[右 ? 2 : 2].Outline = value; - X0Y0_羽毛.OP[右 ? 1 : 3].Outline = value; - X0Y0_羽毛.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_羽毛.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_羽毛.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_羽毛.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_羽毛.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_羽毛.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -349,13 +350,13 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽1.OP[(!右) ? 1 : 3].Outline; + return X0Y0_風切羽_羽1.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽1.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_風切羽_羽1.OP[右 ? 1 : 3].Outline = value; - X0Y0_風切羽_羽1.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_風切羽_羽1.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_風切羽_羽1.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽1.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -363,13 +364,13 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽2.OP[(!右) ? 1 : 3].Outline; + return X0Y0_風切羽_羽2.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽2.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_風切羽_羽2.OP[右 ? 1 : 3].Outline = value; - X0Y0_風切羽_羽2.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_風切羽_羽2.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_風切羽_羽2.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽2.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -377,12 +378,12 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽3.OP[右 ? 1 : 3].Outline; + return X0Y0_風切羽_羽3.GetOP()[右 ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽3.OP[右 ? 1 : 3].Outline = value; - X0Y0_風切羽_羽3.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_風切羽_羽3.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽3.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -390,11 +391,11 @@ namespace SlaveMatrix { get { - return X0Y0_鳥翼UpperArm.OP[(!右) ? 1 : 2].Outline; + return X0Y0_鳥翼UpperArm.GetOP()[(!右) ? 1 : 2].Outline; } set { - X0Y0_鳥翼UpperArm.OP[(!右) ? 1 : 2].Outline = value; + X0Y0_鳥翼UpperArm.GetOP()[(!右) ? 1 : 2].Outline = value; } } @@ -498,11 +499,11 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_鳥翼UpperArm.AngleBase = num * 0.0; - X0Y0_羽毛.AngleBase = num * -122.9677794835592; - X0Y0_風切羽_羽1.AngleBase = num * -100.129973503791; - X0Y0_風切羽_羽2.AngleBase = num * -102.129973503791; - X0Y0_風切羽_羽3.AngleBase = num * -103.129973503791; + X0Y0_鳥翼UpperArm.SetAngleBase(num * 0.0); + X0Y0_羽毛.SetAngleBase(num * -122.9677794835592); + X0Y0_風切羽_羽1.SetAngleBase(num * -100.129973503791); + X0Y0_風切羽_羽2.SetAngleBase(num * -102.129973503791); + X0Y0_風切羽_羽3.SetAngleBase(num * -103.129973503791); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_鳥D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_鳥D.cs index 68f9453..3d4986c 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_鳥D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_鳥D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Waist.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Waist.cs index 8b717f0..e6ff545 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Waist.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Waist.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; using System.Linq; namespace SlaveMatrix @@ -2863,73 +2864,73 @@ namespace SlaveMatrix Intensity = e.濃度; 尺度YB = 0.95; double num = 1.0025; - X0Y0_臍.BasePointBase = new Vector2D(X0Y0_臍.BasePointBase.X, 0.363998381176966); - X0Y1_臍.BasePointBase = new Vector2D(X0Y1_臍.BasePointBase.X, 0.363099175689868); - X0Y2_臍.BasePointBase = new Vector2D(X0Y2_臍.BasePointBase.X, 0.362199970202771); - X0Y3_臍.BasePointBase = new Vector2D(X0Y3_臍.BasePointBase.X, 0.361300764715674); - X0Y4_臍.BasePointBase = new Vector2D(X0Y4_臍.BasePointBase.X, 0.360401559228577); - X0Y0_ハイライト.BasePointBase = new Vector2D(X0Y0_ハイライト.BasePointBase.X, 0.0225674877335118); - X0Y1_ハイライト.BasePointBase = new Vector2D(X0Y1_ハイライト.BasePointBase.X, 0.0218134639688308); - X0Y2_ハイライト.BasePointBase = new Vector2D(X0Y2_ハイライト.BasePointBase.X, 0.0210594402041497); - X0Y3_ハイライト.BasePointBase = new Vector2D(X0Y3_ハイライト.BasePointBase.X, 0.0203054164394687); - X0Y4_ハイライト.BasePointBase = new Vector2D(X0Y4_ハイライト.BasePointBase.X, 0.0195513926747877); + X0Y0_臍.SetBasePointBase(new Vector2D(X0Y0_臍.GetBasePointBase().X, 0.363998381176966)); + X0Y1_臍.SetBasePointBase(new Vector2D(X0Y1_臍.GetBasePointBase().X, 0.363099175689868)); + X0Y2_臍.SetBasePointBase(new Vector2D(X0Y2_臍.GetBasePointBase().X, 0.362199970202771)); + X0Y3_臍.SetBasePointBase(new Vector2D(X0Y3_臍.GetBasePointBase().X, 0.361300764715674)); + X0Y4_臍.SetBasePointBase(new Vector2D(X0Y4_臍.GetBasePointBase().X, 0.360401559228577)); + X0Y0_ハイライト.SetBasePointBase(new Vector2D(X0Y0_ハイライト.GetBasePointBase().X, 0.0225674877335118)); + X0Y1_ハイライト.SetBasePointBase(new Vector2D(X0Y1_ハイライト.GetBasePointBase().X, 0.0218134639688308)); + X0Y2_ハイライト.SetBasePointBase(new Vector2D(X0Y2_ハイライト.GetBasePointBase().X, 0.0210594402041497)); + X0Y3_ハイライト.SetBasePointBase(new Vector2D(X0Y3_ハイライト.GetBasePointBase().X, 0.0203054164394687)); + X0Y4_ハイライト.SetBasePointBase(new Vector2D(X0Y4_ハイライト.GetBasePointBase().X, 0.0195513926747877)); num = 1.5; - X0Y0_臍.SizeBase *= num; - X0Y1_臍.SizeBase *= num; - X0Y2_臍.SizeBase *= num; - X0Y3_臍.SizeBase *= num; - X0Y4_臍.SizeBase *= num; - X0Y0_ハイライト.SizeBase *= num; - X0Y1_ハイライト.SizeBase *= num; - X0Y2_ハイライト.SizeBase *= num; - X0Y3_ハイライト.SizeBase *= num; - X0Y4_ハイライト.SizeBase *= num; + X0Y0_臍.SetSizeBase(X0Y0_臍.GetSizeBase() * num); + X0Y1_臍.SetSizeBase(X0Y1_臍.GetSizeBase() * num); + X0Y2_臍.SetSizeBase(X0Y2_臍.GetSizeBase() * num); + X0Y3_臍.SetSizeBase(X0Y3_臍.GetSizeBase() * num); + X0Y4_臍.SetSizeBase(X0Y4_臍.GetSizeBase() * num); + X0Y0_ハイライト.SetSizeBase(X0Y0_ハイライト.GetSizeBase() * num); + X0Y1_ハイライト.SetSizeBase(X0Y1_ハイライト.GetSizeBase() * num); + X0Y2_ハイライト.SetSizeBase(X0Y2_ハイライト.GetSizeBase() * num); + X0Y3_ハイライト.SetSizeBase(X0Y3_ハイライト.GetSizeBase() * num); + X0Y4_ハイライト.SetSizeBase(X0Y4_ハイライト.GetSizeBase() * num); num = 0.6; - X0Y0_臍.SizeXBase *= num; - X0Y1_臍.SizeXBase *= num; - X0Y2_臍.SizeXBase *= num; - X0Y3_臍.SizeXBase *= num; - X0Y4_臍.SizeXBase *= num; - X0Y0_ハイライト.SizeXBase *= num; - X0Y1_ハイライト.SizeXBase *= num; - X0Y2_ハイライト.SizeXBase *= num; - X0Y3_ハイライト.SizeXBase *= num; - X0Y4_ハイライト.SizeXBase *= num; + X0Y0_臍.SetSizeXBase(X0Y0_臍.GetSizeXBase() * num); + X0Y1_臍.SetSizeXBase(X0Y1_臍.GetSizeXBase() * num); + X0Y2_臍.SetSizeXBase(X0Y2_臍.GetSizeXBase() * num); + X0Y3_臍.SetSizeXBase(X0Y3_臍.GetSizeXBase() * num); + X0Y4_臍.SetSizeXBase(X0Y4_臍.GetSizeXBase() * num); + X0Y0_ハイライト.SetSizeXBase(X0Y0_ハイライト.GetSizeXBase() * num); + X0Y1_ハイライト.SetSizeXBase(X0Y1_ハイライト.GetSizeXBase() * num); + X0Y2_ハイライト.SetSizeXBase(X0Y2_ハイライト.GetSizeXBase() * num); + X0Y3_ハイライト.SetSizeXBase(X0Y3_ハイライト.GetSizeXBase() * num); + X0Y4_ハイライト.SetSizeXBase(X0Y4_ハイライト.GetSizeXBase() * num); num = 1.009; - X0Y0_Waist.BasePointBase = X0Y0_Waist.JP[0].Joint.MulY(num); - X0Y1_Waist.BasePointBase = X0Y1_Waist.JP[0].Joint.MulY(num); - X0Y2_Waist.BasePointBase = X0Y2_Waist.JP[0].Joint.MulY(num); - X0Y3_Waist.BasePointBase = X0Y3_Waist.JP[0].Joint.MulY(num); - X0Y4_Waist.BasePointBase = X0Y4_Waist.JP[0].Joint.MulY(num); + X0Y0_Waist.SetBasePointBase(X0Y0_Waist.GetJP()[0].Joint.MulY(num)); + X0Y1_Waist.SetBasePointBase(X0Y1_Waist.GetJP()[0].Joint.MulY(num)); + X0Y2_Waist.SetBasePointBase(X0Y2_Waist.GetJP()[0].Joint.MulY(num)); + X0Y3_Waist.SetBasePointBase(X0Y3_Waist.GetJP()[0].Joint.MulY(num)); + X0Y4_Waist.SetBasePointBase(X0Y4_Waist.GetJP()[0].Joint.MulY(num)); } public void スライム() { - X0Y0_Waist.OP[右 ? 3 : 3].Outline = false; - X0Y0_Waist.OP[右 ? 2 : 4].Outline = false; - X0Y1_Waist.OP[右 ? 3 : 3].Outline = false; - X0Y1_Waist.OP[右 ? 2 : 4].Outline = false; - X0Y2_Waist.OP[右 ? 3 : 3].Outline = false; - X0Y2_Waist.OP[右 ? 2 : 4].Outline = false; - X0Y3_Waist.OP[右 ? 3 : 3].Outline = false; - X0Y3_Waist.OP[右 ? 2 : 4].Outline = false; - X0Y4_Waist.OP[右 ? 3 : 3].Outline = false; - X0Y4_Waist.OP[右 ? 2 : 4].Outline = false; - X0Y0_股.OP.OutlineFalse(); - X0Y1_股.OP.OutlineFalse(); - X0Y2_股.OP.OutlineFalse(); - X0Y3_股.OP.OutlineFalse(); - X0Y4_股.OP.OutlineFalse(); - X0Y0_下腹.OP[右 ? 3 : 2].Outline = false; - X0Y0_下腹.OP[右 ? 1 : 4].Outline = false; - X0Y1_下腹.OP[右 ? 3 : 2].Outline = false; - X0Y1_下腹.OP[右 ? 1 : 4].Outline = false; - X0Y2_下腹.OP[右 ? 3 : 2].Outline = false; - X0Y2_下腹.OP[右 ? 1 : 4].Outline = false; - X0Y3_下腹.OP[右 ? 3 : 2].Outline = false; - X0Y3_下腹.OP[右 ? 1 : 4].Outline = false; - X0Y4_下腹.OP[右 ? 3 : 2].Outline = false; - X0Y4_下腹.OP[右 ? 1 : 4].Outline = false; + X0Y0_Waist.GetOP()[右 ? 3 : 3].Outline = false; + X0Y0_Waist.GetOP()[右 ? 2 : 4].Outline = false; + X0Y1_Waist.GetOP()[右 ? 3 : 3].Outline = false; + X0Y1_Waist.GetOP()[右 ? 2 : 4].Outline = false; + X0Y2_Waist.GetOP()[右 ? 3 : 3].Outline = false; + X0Y2_Waist.GetOP()[右 ? 2 : 4].Outline = false; + X0Y3_Waist.GetOP()[右 ? 3 : 3].Outline = false; + X0Y3_Waist.GetOP()[右 ? 2 : 4].Outline = false; + X0Y4_Waist.GetOP()[右 ? 3 : 3].Outline = false; + X0Y4_Waist.GetOP()[右 ? 2 : 4].Outline = false; + X0Y0_股.GetOP().OutlineFalse(); + X0Y1_股.GetOP().OutlineFalse(); + X0Y2_股.GetOP().OutlineFalse(); + X0Y3_股.GetOP().OutlineFalse(); + X0Y4_股.GetOP().OutlineFalse(); + X0Y0_下腹.GetOP()[右 ? 3 : 2].Outline = false; + X0Y0_下腹.GetOP()[右 ? 1 : 4].Outline = false; + X0Y1_下腹.GetOP()[右 ? 3 : 2].Outline = false; + X0Y1_下腹.GetOP()[右 ? 1 : 4].Outline = false; + X0Y2_下腹.GetOP()[右 ? 3 : 2].Outline = false; + X0Y2_下腹.GetOP()[右 ? 1 : 4].Outline = false; + X0Y3_下腹.GetOP()[右 ? 3 : 2].Outline = false; + X0Y3_下腹.GetOP()[右 ? 1 : 4].Outline = false; + X0Y4_下腹.GetOP()[右 ? 3 : 2].Outline = false; + X0Y4_下腹.GetOP()[右 ? 1 : 4].Outline = false; } public override void 接続P() @@ -2944,7 +2945,7 @@ namespace SlaveMatrix public override void 描画0(RenderArea Are) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Are.Draw(X0Y0_Waist); @@ -3016,7 +3017,7 @@ namespace SlaveMatrix public override void 描画1(RenderArea Are) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Are.Draw(X0Y0_ハイライト); @@ -3203,7 +3204,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_WaistCP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/WaistD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/WaistD.cs index 7b11bae..e358430 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/WaistD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/WaistD.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ぶっかけ_大.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ぶっかけ_大.cs index 42bac5c..20a63c5 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ぶっかけ_大.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ぶっかけ_大.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -168,7 +169,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_精液CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ぶっかけ_大D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ぶっかけ_大D.cs index f991d37..791583e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ぶっかけ_大D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ぶっかけ_大D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ぶっかけ_小.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ぶっかけ_小.cs index e273328..3052ac2 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ぶっかけ_小.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ぶっかけ_小.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -168,7 +169,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_精液CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ぶっかけ_小D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ぶっかけ_小D.cs index ab1edf7..549f0e3 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ぶっかけ_小D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ぶっかけ_小D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/キスマーク.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/キスマーク.cs index 1d76c89..8f66e0a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/キスマーク.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/キスマーク.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/キスマークD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/キスマークD.cs index 44925dd..2f93b37 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/キスマークD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/キスマークD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/キャップ1.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/キャップ1.cs index 78163a6..688be4f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/キャップ1.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/キャップ1.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -163,10 +164,10 @@ namespace SlaveMatrix X0Y0_根本CP = new ColorP(X0Y0_根本, 根本CD, DisUnit, abj: true); X0Y0_先端CP = new ColorP(X0Y0_先端, 先端CD, DisUnit, abj: true); Intensity = e.濃度; - Vector2D local = X0Y0_根本.OP[0].ps[2]; + Vector2D local = X0Y0_根本.GetOP()[0].ps[2]; foreach (Par item in Body.EnumJoinRoot) { - item.BasePointBase = item.ToLocal(X0Y0_根本.ToGlobal(local)); + item.SetBasePointBase(item.ToLocal(X0Y0_根本.ToGlobal(local))); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/キャップ1D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/キャップ1D.cs index 9936aa1..60e8699 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/キャップ1D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/キャップ1D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/キャップ2.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/キャップ2.cs index bc8d894..d1e47aa 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/キャップ2.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/キャップ2.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/キャップ2D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/キャップ2D.cs index 293ff32..e4d40ef 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/キャップ2D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/キャップ2D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/キャップ処理.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/キャップ処理.cs index e9abad3..06b2497 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/キャップ処理.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/キャップ処理.cs @@ -1,6 +1,7 @@ using System.Collections.Generic; using System.Drawing; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -289,7 +290,7 @@ namespace SlaveMatrix { if (キャップ中着 && (cd.e is キャップ1 || cd.c == ContactType.Nucleus)) { - 調教UI.ハンド右.Body.IndexX = 5; + 調教UI.ハンド右.Body.SetIndexX(5); 調教UI.Set_キャップ中(調教UI.ハンド右); 切替時(キャップ中); } @@ -298,22 +299,22 @@ namespace SlaveMatrix 調教UI.ハンド右CM.Show = false; 調教UI.ハンド左表示 = true; 調教UI.ハンド左.位置B = cp; - 調教UI.ハンド左.Body.IndexX = 5; + 調教UI.ハンド左.Body.SetIndexX(5); 調教UI.Set_キャップ左(調教UI.ハンド左); 切替時(キャップ左); } else if (キャップ右着 && (cd.e is キャップ2 || cd.c == ContactType.Milk) && cd.e.右) { - 調教UI.ハンド右.Body.IndexX = 5; + 調教UI.ハンド右.Body.SetIndexX(5); 調教UI.Set_キャップ右(調教UI.ハンド右); 切替時(キャップ右); } - else if (cd.c != ContactType.Milk && (キャップ中着 || キャップ左着 || キャップ右着) && (調教UI.ハンド右.Body.IndexX == 5 || 調教UI.ハンド左.Body.IndexX == 5)) + else if (cd.c != ContactType.Milk && (キャップ中着 || キャップ左着 || キャップ右着) && (調教UI.ハンド右.Body.GetIndexX() == 5 || 調教UI.ハンド左.Body.GetIndexX() == 5)) { 調教UI.ハンド左表示 = false; 調教UI.ハンド右CM.Show = true; - 調教UI.ハンド右.Body.IndexX = 0; - 調教UI.ハンド左.Body.IndexX = 0; + 調教UI.ハンド右.Body.SetIndexX(0); + 調教UI.ハンド左.Body.SetIndexX(0); } } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/スタンプB.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/スタンプB.cs index 84d7eb6..18b3482 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/スタンプB.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/スタンプB.cs @@ -2,6 +2,7 @@ using System.Collections.Generic; using System.Drawing; using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -21,7 +22,7 @@ namespace SlaveMatrix { if (stum.Sta.表示) { - p = stum.Ele.Body.Current.GetPar(stum.Path); + p = stum.Ele.Body.GetCurrent().GetPar(stum.Path); stum.Sta.位置B = p.ToGlobal(stum.Pos); stum.Sta.色更新(); stum.Sta.Body.Draw(Are); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/スタンプK.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/スタンプK.cs index 433fddc..374494b 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/スタンプK.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/スタンプK.cs @@ -1,5 +1,6 @@ using System.Drawing; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -17,8 +18,8 @@ namespace SlaveMatrix } foreach (sep stum in sta) { - p = stum.Ele.Body.Current.GetPar(stum.Path); - stum.Sta.角度B = p.AngleBase - stum.Par.AngleBase; + p = stum.Ele.Body.GetCurrent().GetPar(stum.Path); + stum.Sta.角度B = p.GetAngleBase() - stum.Par.GetAngleBase(); stum.Sta.位置B = p.ToGlobal(stum.Pos); stum.Sta.色更新(); stum.Sta.Body.Draw(Are); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/スタンプW.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/スタンプW.cs index 55697cc..bef1887 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/スタンプW.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/スタンプW.cs @@ -1,5 +1,6 @@ using System.Drawing; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -17,8 +18,8 @@ namespace SlaveMatrix } foreach (sep stum in sta) { - p = stum.Ele.Body.Current.GetPar(stum.Path); - stum.Sta.角度B = p.AngleBase - stum.Par.AngleBase; + p = stum.Ele.Body.GetCurrent().GetPar(stum.Path); + stum.Sta.角度B = p.GetAngleBase() - stum.Par.GetAngleBase(); stum.Sta.位置B = p.ToGlobal(stum.Pos); stum.Sta.色更新(); stum.Sta.Body.Draw(Are); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ドレス色更新.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ドレス色更新.cs index b5aa156..9926e1a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ドレス色更新.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ドレス色更新.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ハンド.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ハンド.cs index 236da66..43cd348 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ハンド.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ハンド.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -5207,28 +5208,28 @@ namespace SlaveMatrix Intensity = e.濃度; 尺度B *= 1.1; double y = 0.0015; - X6Y0_手.BasePointBase = X6Y0_手.ToLocal(X6Y0_人指.ToGlobal(X6Y0_人指.JP[0].Joint.AddY(y))); - X6Y1_手.BasePointBase = X6Y1_手.ToLocal(X6Y1_人指.ToGlobal(X6Y1_人指.JP[0].Joint.AddY(y))); - X6Y2_手.BasePointBase = X6Y2_手.ToLocal(X6Y2_人指.ToGlobal(X6Y2_人指.JP[0].Joint.AddY(y))); - X6Y3_手.BasePointBase = X6Y3_手.ToLocal(X6Y3_人指.ToGlobal(X6Y3_人指.JP[0].Joint.AddY(y))); - X6Y4_手.BasePointBase = X6Y4_手.ToLocal(X6Y4_人指.ToGlobal(X6Y4_人指.JP[0].Joint.AddY(y))); - X7Y0_手.BasePointBase = X7Y0_手.ToLocal(X7Y0_人指.ToGlobal(X7Y0_人指.JP[0].Joint.AddY(y))); - X7Y1_手.BasePointBase = X7Y1_手.ToLocal(X7Y1_人指.ToGlobal(X7Y1_人指.JP[0].Joint.AddY(y))); - X7Y2_手.BasePointBase = X7Y2_手.ToLocal(X7Y2_人指.ToGlobal(X7Y2_人指.JP[0].Joint.AddY(y))); - X7Y3_手.BasePointBase = X7Y3_手.ToLocal(X7Y3_人指.ToGlobal(X7Y3_人指.JP[0].Joint.AddY(y))); - X7Y4_手.BasePointBase = X7Y4_手.ToLocal(X7Y4_人指.ToGlobal(X7Y4_人指.JP[0].Joint.AddY(y))); - X8Y0_手.BasePointBase = X8Y0_手.ToLocal(X8Y0_中指.ToGlobal(X8Y0_中指.JP[0].Joint)); - X8Y1_手.BasePointBase = X8Y1_手.ToLocal(X8Y1_中指.ToGlobal(X8Y1_中指.JP[0].Joint)); - X8Y2_手.BasePointBase = X8Y2_手.ToLocal(X8Y2_中指.ToGlobal(X8Y2_中指.JP[0].Joint)); - X8Y3_手.BasePointBase = X8Y3_手.ToLocal(X8Y3_中指.ToGlobal(X8Y3_中指.JP[0].Joint)); - X8Y4_手.BasePointBase = X8Y4_手.ToLocal(X8Y4_中指.ToGlobal(X8Y4_中指.JP[0].Joint)); + X6Y0_手.SetBasePointBase(X6Y0_手.ToLocal(X6Y0_人指.ToGlobal(X6Y0_人指.GetJP()[0].Joint.AddY(y)))); + X6Y1_手.SetBasePointBase(X6Y1_手.ToLocal(X6Y1_人指.ToGlobal(X6Y1_人指.GetJP()[0].Joint.AddY(y)))); + X6Y2_手.SetBasePointBase(X6Y2_手.ToLocal(X6Y2_人指.ToGlobal(X6Y2_人指.GetJP()[0].Joint.AddY(y)))); + X6Y3_手.SetBasePointBase(X6Y3_手.ToLocal(X6Y3_人指.ToGlobal(X6Y3_人指.GetJP()[0].Joint.AddY(y)))); + X6Y4_手.SetBasePointBase(X6Y4_手.ToLocal(X6Y4_人指.ToGlobal(X6Y4_人指.GetJP()[0].Joint.AddY(y)))); + X7Y0_手.SetBasePointBase(X7Y0_手.ToLocal(X7Y0_人指.ToGlobal(X7Y0_人指.GetJP()[0].Joint.AddY(y)))); + X7Y1_手.SetBasePointBase(X7Y1_手.ToLocal(X7Y1_人指.ToGlobal(X7Y1_人指.GetJP()[0].Joint.AddY(y)))); + X7Y2_手.SetBasePointBase(X7Y2_手.ToLocal(X7Y2_人指.ToGlobal(X7Y2_人指.GetJP()[0].Joint.AddY(y)))); + X7Y3_手.SetBasePointBase(X7Y3_手.ToLocal(X7Y3_人指.ToGlobal(X7Y3_人指.GetJP()[0].Joint.AddY(y)))); + X7Y4_手.SetBasePointBase(X7Y4_手.ToLocal(X7Y4_人指.ToGlobal(X7Y4_人指.GetJP()[0].Joint.AddY(y)))); + X8Y0_手.SetBasePointBase(X8Y0_手.ToLocal(X8Y0_中指.ToGlobal(X8Y0_中指.GetJP()[0].Joint))); + X8Y1_手.SetBasePointBase(X8Y1_手.ToLocal(X8Y1_中指.ToGlobal(X8Y1_中指.GetJP()[0].Joint))); + X8Y2_手.SetBasePointBase(X8Y2_手.ToLocal(X8Y2_中指.ToGlobal(X8Y2_中指.GetJP()[0].Joint))); + X8Y3_手.SetBasePointBase(X8Y3_手.ToLocal(X8Y3_中指.ToGlobal(X8Y3_中指.GetJP()[0].Joint))); + X8Y4_手.SetBasePointBase(X8Y4_手.ToLocal(X8Y4_中指.ToGlobal(X8Y4_中指.GetJP()[0].Joint))); 尺度B = 1.075; Body.JoinPAall(); } public override void 描画0(RenderArea Are) { - switch (Body.IndexX) + switch (Body.GetIndexX()) { case 0: Are.Draw(X0Y0_親指); @@ -5265,7 +5266,7 @@ namespace SlaveMatrix Are.Draw(X1Y0_呪印_鎖3); break; case 2: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Are.Draw(X2Y0_親指); @@ -5389,7 +5390,7 @@ namespace SlaveMatrix Are.Draw(X4Y0_呪印_鎖3); break; case 5: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Are.Draw(X5Y0_親指); @@ -5479,7 +5480,7 @@ namespace SlaveMatrix } break; case 6: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Are.Draw(X6Y0_人指); @@ -5499,7 +5500,7 @@ namespace SlaveMatrix } break; case 7: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Are.Draw(X7Y0_人指); @@ -5519,7 +5520,7 @@ namespace SlaveMatrix } break; case 8: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Are.Draw(X8Y0_薬指); @@ -5544,7 +5545,7 @@ namespace SlaveMatrix } break; case 9: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Are.Draw(X9Y0_手); @@ -5589,7 +5590,7 @@ namespace SlaveMatrix } break; case 10: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Are.Draw(X10Y0_親指); @@ -5726,7 +5727,7 @@ namespace SlaveMatrix Are.Draw(X13Y0_呪印_鎖3); break; default: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Are.Draw(X14Y0_親指); @@ -5786,10 +5787,10 @@ namespace SlaveMatrix public override void 描画1(RenderArea Are) { - switch (Body.IndexX) + switch (Body.GetIndexX()) { case 6: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Are.Draw(X6Y0_親指); @@ -5874,7 +5875,7 @@ namespace SlaveMatrix } break; case 7: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Are.Draw(X7Y0_小指); @@ -5959,7 +5960,7 @@ namespace SlaveMatrix } break; case 8: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Are.Draw(X8Y0_手); @@ -5998,7 +5999,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexX) + switch (Body.GetIndexX()) { case 0: X0Y0_親指CP.Update(); @@ -6035,7 +6036,7 @@ namespace SlaveMatrix X1Y0_呪印_鎖3CP.Update(); break; case 2: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X2Y0_親指CP.Update(); @@ -6159,7 +6160,7 @@ namespace SlaveMatrix X4Y0_呪印_鎖3CP.Update(); break; case 5: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X5Y0_親指CP.Update(); @@ -6249,7 +6250,7 @@ namespace SlaveMatrix } break; case 6: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X6Y0Pars.GetMiY_MaY(out mm); @@ -6344,7 +6345,7 @@ namespace SlaveMatrix } break; case 7: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X7Y0Pars.GetMiY_MaY(out mm); @@ -6439,7 +6440,7 @@ namespace SlaveMatrix } break; case 8: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X8Y0_手CP.Update(); @@ -6484,7 +6485,7 @@ namespace SlaveMatrix } break; case 9: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X9Y0_手CP.Update(); @@ -6529,7 +6530,7 @@ namespace SlaveMatrix } break; case 10: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X10Y0_親指CP.Update(); @@ -6666,7 +6667,7 @@ namespace SlaveMatrix X13Y0_呪印_鎖3CP.Update(); break; default: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X14Y0_親指CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ハンドD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ハンドD.cs index 04e4f51..6465f72 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ハンドD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ハンドD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ハンド処理.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ハンド処理.cs index d52fddf..e15764b 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ハンド処理.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ハンド処理.cs @@ -859,8 +859,8 @@ namespace SlaveMatrix 調教UI.Set_乳首(調教UI.ハンド左, 右: false); 調教UI.押し(ref cd); 乳繰りモード(ref cd); - 調教UI.ハンド右.Yi = (調教UI.ハンド右.Yi + dt.Sign() * 2).Clamp(0, 調教UI.ハンド右.Body.CountY); - 調教UI.ハンド左.Yi = (調教UI.ハンド左.Yi - dt.Sign() * 2).Clamp(0, 調教UI.ハンド左.Body.CountY); + 調教UI.ハンド右.Yi = (調教UI.ハンド右.Yi + dt.Sign() * 2).Clamp(0, 調教UI.ハンド右.Body.GetCountY()); + 調教UI.ハンド左.Yi = (調教UI.ハンド左.Yi - dt.Sign() * 2).Clamp(0, 調教UI.ハンド左.Body.GetCountY()); 乳繰りsi(); 調教UI.乳首演出(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_アナル.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_アナル.cs index fcc1fbf..7c0cf0e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_アナル.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_アナル.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -726,11 +727,11 @@ namespace SlaveMatrix X0Y4_ユニット_パワー3CP = new ColorP(X0Y4_ユニット_パワー3, ユニット_パワー3CD, DisUnit, abj: true); X0Y4_ユニット_パワー4CP = new ColorP(X0Y4_ユニット_パワー4, ユニット_パワー4CD, DisUnit, abj: true); Intensity = e.濃度; - X0Y0_ユニット_ユニット.BasePointBase = X0Y0_ユニット_ユニット.ToLocal(X0Y0_ヘッド.ToGlobal(X0Y0_ヘッド.JP[0].Joint)); - X0Y1_ユニット_ユニット.BasePointBase = X0Y1_ユニット_ユニット.ToLocal(X0Y1_ヘッド.ToGlobal(X0Y1_ヘッド.JP[0].Joint)); - X0Y2_ユニット_ユニット.BasePointBase = X0Y2_ユニット_ユニット.ToLocal(X0Y2_ヘッド.ToGlobal(X0Y2_ヘッド.JP[0].Joint)); - X0Y3_ユニット_ユニット.BasePointBase = X0Y3_ユニット_ユニット.ToLocal(X0Y3_ヘッド.ToGlobal(X0Y3_ヘッド.JP[0].Joint)); - X0Y4_ユニット_ユニット.BasePointBase = X0Y4_ユニット_ユニット.ToLocal(X0Y4_ヘッド.ToGlobal(X0Y4_ヘッド.JP[0].Joint)); + X0Y0_ユニット_ユニット.SetBasePointBase(X0Y0_ユニット_ユニット.ToLocal(X0Y0_ヘッド.ToGlobal(X0Y0_ヘッド.GetJP()[0].Joint))); + X0Y1_ユニット_ユニット.SetBasePointBase(X0Y1_ユニット_ユニット.ToLocal(X0Y1_ヘッド.ToGlobal(X0Y1_ヘッド.GetJP()[0].Joint))); + X0Y2_ユニット_ユニット.SetBasePointBase(X0Y2_ユニット_ユニット.ToLocal(X0Y2_ヘッド.ToGlobal(X0Y2_ヘッド.GetJP()[0].Joint))); + X0Y3_ユニット_ユニット.SetBasePointBase(X0Y3_ユニット_ユニット.ToLocal(X0Y3_ヘッド.ToGlobal(X0Y3_ヘッド.GetJP()[0].Joint))); + X0Y4_ユニット_ユニット.SetBasePointBase(X0Y4_ユニット_ユニット.ToLocal(X0Y4_ヘッド.ToGlobal(X0Y4_ヘッド.GetJP()[0].Joint))); 尺度B *= 1.07; 尺度B = 1.08; Body.JoinPAall(); @@ -738,7 +739,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_ヘッドCP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_アナルD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_アナルD.cs index 46749cf..a5ac789 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_アナルD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_アナルD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_コモン.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_コモン.cs index 5f49855..e84e341 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_コモン.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_コモン.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -1230,11 +1231,11 @@ namespace SlaveMatrix X0Y4_ユニット_パワー3CP = new ColorP(X0Y4_ユニット_パワー3, ユニット_パワー3CD, DisUnit, abj: true); X0Y4_ユニット_パワー4CP = new ColorP(X0Y4_ユニット_パワー4, ユニット_パワー4CD, DisUnit, abj: true); Intensity = e.濃度; - X0Y0_ユニット_ユニット.BasePointBase = X0Y0_ユニット_ユニット.ToLocal(X0Y0_ヘッド.ToGlobal(X0Y0_ヘッド.JP[12].Joint)); - X0Y1_ユニット_ユニット.BasePointBase = X0Y1_ユニット_ユニット.ToLocal(X0Y1_ヘッド.ToGlobal(X0Y1_ヘッド.JP[12].Joint)); - X0Y2_ユニット_ユニット.BasePointBase = X0Y2_ユニット_ユニット.ToLocal(X0Y2_ヘッド.ToGlobal(X0Y2_ヘッド.JP[9].Joint)); - X0Y3_ユニット_ユニット.BasePointBase = X0Y3_ユニット_ユニット.ToLocal(X0Y3_ヘッド.ToGlobal(X0Y3_ヘッド.JP[6].Joint)); - X0Y4_ユニット_ユニット.BasePointBase = X0Y4_ユニット_ユニット.ToLocal(X0Y4_ヘッド.ToGlobal(X0Y4_ヘッド.JP[0].Joint)); + X0Y0_ユニット_ユニット.SetBasePointBase(X0Y0_ユニット_ユニット.ToLocal(X0Y0_ヘッド.ToGlobal(X0Y0_ヘッド.GetJP()[12].Joint))); + X0Y1_ユニット_ユニット.SetBasePointBase(X0Y1_ユニット_ユニット.ToLocal(X0Y1_ヘッド.ToGlobal(X0Y1_ヘッド.GetJP()[12].Joint))); + X0Y2_ユニット_ユニット.SetBasePointBase(X0Y2_ユニット_ユニット.ToLocal(X0Y2_ヘッド.ToGlobal(X0Y2_ヘッド.GetJP()[9].Joint))); + X0Y3_ユニット_ユニット.SetBasePointBase(X0Y3_ユニット_ユニット.ToLocal(X0Y3_ヘッド.ToGlobal(X0Y3_ヘッド.GetJP()[6].Joint))); + X0Y4_ユニット_ユニット.SetBasePointBase(X0Y4_ユニット_ユニット.ToLocal(X0Y4_ヘッド.ToGlobal(X0Y4_ヘッド.GetJP()[0].Joint))); 尺度B *= 1.07; 尺度B = 1.08; Body.JoinPAall(); @@ -1242,7 +1243,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_ヘッドCP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_コモンD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_コモンD.cs index 518254d..aa98d1b 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_コモンD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_コモンD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_ディル.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_ディル.cs index 4a4e49a..ea3303f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_ディル.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_ディル.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -875,11 +876,11 @@ namespace SlaveMatrix X0Y4_ユニット_パワー3CP = new ColorP(X0Y4_ユニット_パワー3, ユニット_パワー3CD, DisUnit, abj: true); X0Y4_ユニット_パワー4CP = new ColorP(X0Y4_ユニット_パワー4, ユニット_パワー4CD, DisUnit, abj: true); Intensity = e.濃度; - X0Y0_ユニット_ユニット.BasePointBase = X0Y0_ユニット_ユニット.ToLocal(X0Y0_ヘッド.ToGlobal(X0Y0_ヘッド.JP[3].Joint)); - X0Y1_ユニット_ユニット.BasePointBase = X0Y1_ユニット_ユニット.ToLocal(X0Y1_ヘッド.ToGlobal(X0Y1_ヘッド.JP[3].Joint)); - X0Y2_ユニット_ユニット.BasePointBase = X0Y2_ユニット_ユニット.ToLocal(X0Y2_ヘッド.ToGlobal(X0Y2_ヘッド.JP[2].Joint)); - X0Y3_ユニット_ユニット.BasePointBase = X0Y3_ユニット_ユニット.ToLocal(X0Y3_ヘッド.ToGlobal(X0Y3_ヘッド.JP[2].Joint)); - X0Y4_ユニット_ユニット.BasePointBase = X0Y4_ユニット_ユニット.ToLocal(X0Y4_ヘッド.ToGlobal(X0Y4_ヘッド.JP[2].Joint)); + X0Y0_ユニット_ユニット.SetBasePointBase(X0Y0_ユニット_ユニット.ToLocal(X0Y0_ヘッド.ToGlobal(X0Y0_ヘッド.GetJP()[3].Joint))); + X0Y1_ユニット_ユニット.SetBasePointBase(X0Y1_ユニット_ユニット.ToLocal(X0Y1_ヘッド.ToGlobal(X0Y1_ヘッド.GetJP()[3].Joint))); + X0Y2_ユニット_ユニット.SetBasePointBase(X0Y2_ユニット_ユニット.ToLocal(X0Y2_ヘッド.ToGlobal(X0Y2_ヘッド.GetJP()[2].Joint))); + X0Y3_ユニット_ユニット.SetBasePointBase(X0Y3_ユニット_ユニット.ToLocal(X0Y3_ヘッド.ToGlobal(X0Y3_ヘッド.GetJP()[2].Joint))); + X0Y4_ユニット_ユニット.SetBasePointBase(X0Y4_ユニット_ユニット.ToLocal(X0Y4_ヘッド.ToGlobal(X0Y4_ヘッド.GetJP()[2].Joint))); 尺度B *= 1.07; 尺度B = 1.08; Body.JoinPAall(); @@ -887,7 +888,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_ヘッドCP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_ディルD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_ディルD.cs index 57cdfab..1f61cbf 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_ディルD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_ディルD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_デンマ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_デンマ.cs index c279e11..8ea2492 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_デンマ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_デンマ.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -1029,11 +1030,11 @@ namespace SlaveMatrix X0Y4_ユニット_パワー3CP = new ColorP(X0Y4_ユニット_パワー3, ユニット_パワー3CD, DisUnit, abj: true); X0Y4_ユニット_パワー4CP = new ColorP(X0Y4_ユニット_パワー4, ユニット_パワー4CD, DisUnit, abj: true); Intensity = e.濃度; - X0Y0_ユニット_ユニット.BasePointBase = X0Y0_ユニット_ユニット.ToLocal(X0Y0_ヘッド.ToGlobal(X0Y0_ヘッド.JP[1].Joint)); - X0Y1_ユニット_ユニット.BasePointBase = X0Y1_ユニット_ユニット.ToLocal(X0Y1_ヘッド.ToGlobal(X0Y1_ヘッド.JP[1].Joint)); - X0Y2_ユニット_ユニット.BasePointBase = X0Y2_ユニット_ユニット.ToLocal(X0Y2_ヘッド.ToGlobal(X0Y2_ヘッド.JP[1].Joint)); - X0Y3_ユニット_ユニット.BasePointBase = X0Y3_ユニット_ユニット.ToLocal(X0Y3_ヘッド.ToGlobal(X0Y3_ヘッド.JP[1].Joint)); - X0Y4_ユニット_ユニット.BasePointBase = X0Y4_ユニット_ユニット.ToLocal(X0Y4_ヘッド.ToGlobal(X0Y4_ヘッド.JP[1].Joint)); + X0Y0_ユニット_ユニット.SetBasePointBase(X0Y0_ユニット_ユニット.ToLocal(X0Y0_ヘッド.ToGlobal(X0Y0_ヘッド.GetJP()[1].Joint))); + X0Y1_ユニット_ユニット.SetBasePointBase(X0Y1_ユニット_ユニット.ToLocal(X0Y1_ヘッド.ToGlobal(X0Y1_ヘッド.GetJP()[1].Joint))); + X0Y2_ユニット_ユニット.SetBasePointBase(X0Y2_ユニット_ユニット.ToLocal(X0Y2_ヘッド.ToGlobal(X0Y2_ヘッド.GetJP()[1].Joint))); + X0Y3_ユニット_ユニット.SetBasePointBase(X0Y3_ユニット_ユニット.ToLocal(X0Y3_ヘッド.ToGlobal(X0Y3_ヘッド.GetJP()[1].Joint))); + X0Y4_ユニット_ユニット.SetBasePointBase(X0Y4_ユニット_ユニット.ToLocal(X0Y4_ヘッド.ToGlobal(X0Y4_ヘッド.GetJP()[1].Joint))); 尺度B *= 1.07; 尺度B = 1.08; Body.JoinPAall(); @@ -1041,7 +1042,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_ヘッドCP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_デンマD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_デンマD.cs index 2e49d7b..c48986f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_デンマD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_デンマD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_ドリル.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_ドリル.cs index f9cb347..256b917 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_ドリル.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_ドリル.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -3442,21 +3443,21 @@ namespace SlaveMatrix X2Y4_ユニット_パワー3CP = new ColorP(X2Y4_ユニット_パワー3, ユニット_パワー3CD, DisUnit, abj: true); X2Y4_ユニット_パワー4CP = new ColorP(X2Y4_ユニット_パワー4, ユニット_パワー4CD, DisUnit, abj: true); Intensity = e.濃度; - X0Y0_ユニット_ユニット.BasePointBase = X0Y0_ユニット_ユニット.ToLocal(X0Y0_ヘッド.ToGlobal(X0Y0_ヘッド.JP[18].Joint)); - X0Y1_ユニット_ユニット.BasePointBase = X0Y1_ユニット_ユニット.ToLocal(X0Y1_ヘッド.ToGlobal(X0Y1_ヘッド.JP[17].Joint)); - X0Y2_ユニット_ユニット.BasePointBase = X0Y2_ユニット_ユニット.ToLocal(X0Y2_ヘッド.ToGlobal(X0Y2_ヘッド.JP[12].Joint)); - X0Y3_ユニット_ユニット.BasePointBase = X0Y3_ユニット_ユニット.ToLocal(X0Y3_ヘッド.ToGlobal(X0Y3_ヘッド.JP[7].Joint)); - X0Y4_ユニット_ユニット.BasePointBase = X0Y4_ユニット_ユニット.ToLocal(X0Y4_ヘッド.ToGlobal(X0Y4_ヘッド.JP[3].Joint)); - X1Y0_ユニット_ユニット.BasePointBase = X1Y0_ユニット_ユニット.ToLocal(X1Y0_ヘッド.ToGlobal(X1Y0_ヘッド.JP[19].Joint)); - X1Y1_ユニット_ユニット.BasePointBase = X1Y1_ユニット_ユニット.ToLocal(X1Y1_ヘッド.ToGlobal(X1Y1_ヘッド.JP[17].Joint)); - X1Y2_ユニット_ユニット.BasePointBase = X1Y2_ユニット_ユニット.ToLocal(X1Y2_ヘッド.ToGlobal(X1Y2_ヘッド.JP[13].Joint)); - X1Y3_ユニット_ユニット.BasePointBase = X1Y3_ユニット_ユニット.ToLocal(X1Y3_ヘッド.ToGlobal(X1Y3_ヘッド.JP[8].Joint)); - X1Y4_ユニット_ユニット.BasePointBase = X1Y4_ユニット_ユニット.ToLocal(X1Y4_ヘッド.ToGlobal(X1Y4_ヘッド.JP[3].Joint)); - X2Y0_ユニット_ユニット.BasePointBase = X2Y0_ユニット_ユニット.ToLocal(X2Y0_ヘッド.ToGlobal(X2Y0_ヘッド.JP[21].Joint)); - X2Y1_ユニット_ユニット.BasePointBase = X2Y1_ユニット_ユニット.ToLocal(X2Y1_ヘッド.ToGlobal(X2Y1_ヘッド.JP[19].Joint)); - X2Y2_ユニット_ユニット.BasePointBase = X2Y2_ユニット_ユニット.ToLocal(X2Y2_ヘッド.ToGlobal(X2Y2_ヘッド.JP[14].Joint)); - X2Y3_ユニット_ユニット.BasePointBase = X2Y3_ユニット_ユニット.ToLocal(X2Y3_ヘッド.ToGlobal(X2Y3_ヘッド.JP[10].Joint)); - X2Y4_ユニット_ユニット.BasePointBase = X2Y4_ユニット_ユニット.ToLocal(X2Y4_ヘッド.ToGlobal(X2Y4_ヘッド.JP[4].Joint)); + X0Y0_ユニット_ユニット.SetBasePointBase(X0Y0_ユニット_ユニット.ToLocal(X0Y0_ヘッド.ToGlobal(X0Y0_ヘッド.GetJP()[18].Joint))); + X0Y1_ユニット_ユニット.SetBasePointBase(X0Y1_ユニット_ユニット.ToLocal(X0Y1_ヘッド.ToGlobal(X0Y1_ヘッド.GetJP()[17].Joint))); + X0Y2_ユニット_ユニット.SetBasePointBase(X0Y2_ユニット_ユニット.ToLocal(X0Y2_ヘッド.ToGlobal(X0Y2_ヘッド.GetJP()[12].Joint))); + X0Y3_ユニット_ユニット.SetBasePointBase(X0Y3_ユニット_ユニット.ToLocal(X0Y3_ヘッド.ToGlobal(X0Y3_ヘッド.GetJP()[7].Joint))); + X0Y4_ユニット_ユニット.SetBasePointBase(X0Y4_ユニット_ユニット.ToLocal(X0Y4_ヘッド.ToGlobal(X0Y4_ヘッド.GetJP()[3].Joint))); + X1Y0_ユニット_ユニット.SetBasePointBase(X1Y0_ユニット_ユニット.ToLocal(X1Y0_ヘッド.ToGlobal(X1Y0_ヘッド.GetJP()[19].Joint))); + X1Y1_ユニット_ユニット.SetBasePointBase(X1Y1_ユニット_ユニット.ToLocal(X1Y1_ヘッド.ToGlobal(X1Y1_ヘッド.GetJP()[17].Joint))); + X1Y2_ユニット_ユニット.SetBasePointBase(X1Y2_ユニット_ユニット.ToLocal(X1Y2_ヘッド.ToGlobal(X1Y2_ヘッド.GetJP()[13].Joint))); + X1Y3_ユニット_ユニット.SetBasePointBase(X1Y3_ユニット_ユニット.ToLocal(X1Y3_ヘッド.ToGlobal(X1Y3_ヘッド.GetJP()[8].Joint))); + X1Y4_ユニット_ユニット.SetBasePointBase(X1Y4_ユニット_ユニット.ToLocal(X1Y4_ヘッド.ToGlobal(X1Y4_ヘッド.GetJP()[3].Joint))); + X2Y0_ユニット_ユニット.SetBasePointBase(X2Y0_ユニット_ユニット.ToLocal(X2Y0_ヘッド.ToGlobal(X2Y0_ヘッド.GetJP()[21].Joint))); + X2Y1_ユニット_ユニット.SetBasePointBase(X2Y1_ユニット_ユニット.ToLocal(X2Y1_ヘッド.ToGlobal(X2Y1_ヘッド.GetJP()[19].Joint))); + X2Y2_ユニット_ユニット.SetBasePointBase(X2Y2_ユニット_ユニット.ToLocal(X2Y2_ヘッド.ToGlobal(X2Y2_ヘッド.GetJP()[14].Joint))); + X2Y3_ユニット_ユニット.SetBasePointBase(X2Y3_ユニット_ユニット.ToLocal(X2Y3_ヘッド.ToGlobal(X2Y3_ヘッド.GetJP()[10].Joint))); + X2Y4_ユニット_ユニット.SetBasePointBase(X2Y4_ユニット_ユニット.ToLocal(X2Y4_ヘッド.ToGlobal(X2Y4_ヘッド.GetJP()[4].Joint))); 尺度B *= 1.07; 尺度B = 1.08; Body.JoinPAall(); @@ -3464,10 +3465,10 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexX) + switch (Body.GetIndexX()) { case 0: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_ヘッドCP.Update(); @@ -3594,7 +3595,7 @@ namespace SlaveMatrix } return; case 1: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X1Y0_ヘッドCP.Update(); @@ -3724,7 +3725,7 @@ namespace SlaveMatrix } return; } - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X2Y0_ヘッドCP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_ドリルD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_ドリルD.cs index 6ff4c3a..212d499 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_ドリルD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/バイブ_ドリルD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/パール.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/パール.cs index 2b8ab17..93edca3 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/パール.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/パール.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -1306,23 +1307,23 @@ namespace SlaveMatrix X0Y16_輪上境界CP = new ColorP(X0Y16_輪上境界, 輪上境界CD, DisUnit, abj: true); X0Y16_輪下CP = new ColorP(X0Y16_輪下, 輪下CD, DisUnit, abj: true); Intensity = e.濃度; - X0Y0_輪下.BasePointBase = X0Y0_輪下.ToLocal(X0Y0_玉境界.ToGlobal(X0Y0_玉境界.JP[0].Joint)); - X0Y1_輪下.BasePointBase = X0Y1_輪下.ToLocal(X0Y1_玉境界.ToGlobal(X0Y1_玉境界.JP[0].Joint)); - X0Y2_輪下.BasePointBase = X0Y2_輪下.ToLocal(X0Y2_玉境界.ToGlobal(X0Y2_玉境界.JP[0].Joint)); - X0Y3_輪下.BasePointBase = X0Y3_輪下.ToLocal(X0Y3_玉境界.ToGlobal(X0Y3_玉境界.JP[0].Joint)); - X0Y4_輪下.BasePointBase = X0Y4_輪下.ToLocal(X0Y4_玉境界.ToGlobal(X0Y4_玉境界.JP[0].Joint)); - X0Y5_輪下.BasePointBase = X0Y5_輪下.ToLocal(X0Y5_玉境界.ToGlobal(X0Y5_玉境界.JP[0].Joint)); - X0Y6_輪下.BasePointBase = X0Y6_輪下.ToLocal(X0Y6_玉境界.ToGlobal(X0Y6_玉境界.JP[0].Joint)); - X0Y7_輪下.BasePointBase = X0Y7_輪下.ToLocal(X0Y7_玉境界.ToGlobal(X0Y7_玉境界.JP[0].Joint)); - X0Y8_輪下.BasePointBase = X0Y8_輪下.ToLocal(X0Y8_玉境界.ToGlobal(X0Y8_玉境界.JP[0].Joint)); - X0Y9_輪下.BasePointBase = X0Y9_輪下.ToLocal(X0Y9_玉境界.ToGlobal(X0Y9_玉境界.JP[0].Joint)); - X0Y10_輪下.BasePointBase = X0Y10_輪下.ToLocal(X0Y10_玉境界.ToGlobal(X0Y10_玉境界.JP[0].Joint)); - X0Y11_輪下.BasePointBase = X0Y11_輪下.ToLocal(X0Y11_玉境界.ToGlobal(X0Y11_玉境界.JP[0].Joint)); - X0Y12_輪下.BasePointBase = X0Y12_輪下.ToLocal(X0Y12_玉境界.ToGlobal(X0Y12_玉境界.JP[0].Joint)); - X0Y13_輪下.BasePointBase = X0Y13_輪下.ToLocal(X0Y13_玉境界.ToGlobal(X0Y13_玉境界.JP[0].Joint)); - X0Y14_輪下.BasePointBase = X0Y14_輪下.ToLocal(X0Y14_玉境界.ToGlobal(X0Y14_玉境界.JP[0].Joint)); - X0Y15_輪下.BasePointBase = X0Y15_輪下.ToLocal(X0Y15_玉境界.ToGlobal(X0Y15_玉境界.JP[0].Joint)); - X0Y16_輪下.BasePointBase = X0Y16_輪下.ToLocal(X0Y16_輪上境界.ToGlobal(X0Y16_輪上境界.JP[0].Joint)); + X0Y0_輪下.SetBasePointBase(X0Y0_輪下.ToLocal(X0Y0_玉境界.ToGlobal(X0Y0_玉境界.GetJP()[0].Joint))); + X0Y1_輪下.SetBasePointBase(X0Y1_輪下.ToLocal(X0Y1_玉境界.ToGlobal(X0Y1_玉境界.GetJP()[0].Joint))); + X0Y2_輪下.SetBasePointBase(X0Y2_輪下.ToLocal(X0Y2_玉境界.ToGlobal(X0Y2_玉境界.GetJP()[0].Joint))); + X0Y3_輪下.SetBasePointBase(X0Y3_輪下.ToLocal(X0Y3_玉境界.ToGlobal(X0Y3_玉境界.GetJP()[0].Joint))); + X0Y4_輪下.SetBasePointBase(X0Y4_輪下.ToLocal(X0Y4_玉境界.ToGlobal(X0Y4_玉境界.GetJP()[0].Joint))); + X0Y5_輪下.SetBasePointBase(X0Y5_輪下.ToLocal(X0Y5_玉境界.ToGlobal(X0Y5_玉境界.GetJP()[0].Joint))); + X0Y6_輪下.SetBasePointBase(X0Y6_輪下.ToLocal(X0Y6_玉境界.ToGlobal(X0Y6_玉境界.GetJP()[0].Joint))); + X0Y7_輪下.SetBasePointBase(X0Y7_輪下.ToLocal(X0Y7_玉境界.ToGlobal(X0Y7_玉境界.GetJP()[0].Joint))); + X0Y8_輪下.SetBasePointBase(X0Y8_輪下.ToLocal(X0Y8_玉境界.ToGlobal(X0Y8_玉境界.GetJP()[0].Joint))); + X0Y9_輪下.SetBasePointBase(X0Y9_輪下.ToLocal(X0Y9_玉境界.ToGlobal(X0Y9_玉境界.GetJP()[0].Joint))); + X0Y10_輪下.SetBasePointBase(X0Y10_輪下.ToLocal(X0Y10_玉境界.ToGlobal(X0Y10_玉境界.GetJP()[0].Joint))); + X0Y11_輪下.SetBasePointBase(X0Y11_輪下.ToLocal(X0Y11_玉境界.ToGlobal(X0Y11_玉境界.GetJP()[0].Joint))); + X0Y12_輪下.SetBasePointBase(X0Y12_輪下.ToLocal(X0Y12_玉境界.ToGlobal(X0Y12_玉境界.GetJP()[0].Joint))); + X0Y13_輪下.SetBasePointBase(X0Y13_輪下.ToLocal(X0Y13_玉境界.ToGlobal(X0Y13_玉境界.GetJP()[0].Joint))); + X0Y14_輪下.SetBasePointBase(X0Y14_輪下.ToLocal(X0Y14_玉境界.ToGlobal(X0Y14_玉境界.GetJP()[0].Joint))); + X0Y15_輪下.SetBasePointBase(X0Y15_輪下.ToLocal(X0Y15_玉境界.ToGlobal(X0Y15_玉境界.GetJP()[0].Joint))); + X0Y16_輪下.SetBasePointBase(X0Y16_輪下.ToLocal(X0Y16_輪上境界.ToGlobal(X0Y16_輪上境界.GetJP()[0].Joint))); 尺度B *= 1.07; 尺度B = 1.08; Body.JoinPAall(); @@ -1330,7 +1331,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_軸CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/パールD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/パールD.cs index 9242bad..d3ed07b 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/パールD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/パールD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ピアス.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ピアス.cs index 0f4ed44..25b7347 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ピアス.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ピアス.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ピアスD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ピアスD.cs index a1c92de..cf7baa7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ピアスD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ピアスD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ペニス.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ペニス.cs index 382c994..5948e5a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ペニス.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ペニス.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -592,20 +593,20 @@ namespace SlaveMatrix Intensity = e.濃度; AreM = new AreM(Med.Unit, 3.0, 7.0, 0.07, Med.DisQuality, Med.HitAccuracy, 0.45); AreM.BasePoint = new Vector2D(0.5, 0.1); - X0Y0_陰嚢.BasePointBase = X0Y0_陰嚢.ToLocal(X0Y0_陰茎.ToGlobal(X0Y0_陰茎.JP[3].Joint)); - X0Y1_陰嚢.BasePointBase = X0Y1_陰嚢.ToLocal(X0Y1_陰茎.ToGlobal(X0Y1_陰茎.JP[3].Joint)); - X0Y2_陰嚢.BasePointBase = X0Y2_陰嚢.ToLocal(X0Y2_陰茎.ToGlobal(X0Y2_陰茎.JP[3].Joint)); - X0Y3_陰嚢.BasePointBase = X0Y3_陰嚢.ToLocal(X0Y3_陰茎.ToGlobal(X0Y3_陰茎.JP[3].Joint)); - X0Y4_陰嚢.BasePointBase = X0Y4_陰嚢.ToLocal(X0Y4_陰茎.ToGlobal(X0Y4_陰茎.JP[3].Joint)); - X1Y0_陰嚢.BasePointBase = X1Y0_陰嚢.ToLocal(X1Y0_陰茎.ToGlobal(X1Y0_陰茎.JP[3].Joint)); - X1Y1_陰嚢.BasePointBase = X1Y1_陰嚢.ToLocal(X1Y1_陰茎.ToGlobal(X1Y1_陰茎.JP[3].Joint)); - X1Y2_陰嚢.BasePointBase = X1Y2_陰嚢.ToLocal(X1Y2_陰茎.ToGlobal(X1Y2_陰茎.JP[2].Joint)); - X1Y3_陰嚢.BasePointBase = X1Y3_陰嚢.ToLocal(X1Y3_陰茎.ToGlobal(X1Y3_陰茎.JP[2].Joint)); - X1Y4_陰嚢.BasePointBase = X1Y4_陰嚢.ToLocal(X1Y4_陰茎.ToGlobal(X1Y4_陰茎.JP[2].Joint)); + X0Y0_陰嚢.SetBasePointBase(X0Y0_陰嚢.ToLocal(X0Y0_陰茎.ToGlobal(X0Y0_陰茎.GetJP()[3].Joint))); + X0Y1_陰嚢.SetBasePointBase(X0Y1_陰嚢.ToLocal(X0Y1_陰茎.ToGlobal(X0Y1_陰茎.GetJP()[3].Joint))); + X0Y2_陰嚢.SetBasePointBase(X0Y2_陰嚢.ToLocal(X0Y2_陰茎.ToGlobal(X0Y2_陰茎.GetJP()[3].Joint))); + X0Y3_陰嚢.SetBasePointBase(X0Y3_陰嚢.ToLocal(X0Y3_陰茎.ToGlobal(X0Y3_陰茎.GetJP()[3].Joint))); + X0Y4_陰嚢.SetBasePointBase(X0Y4_陰嚢.ToLocal(X0Y4_陰茎.ToGlobal(X0Y4_陰茎.GetJP()[3].Joint))); + X1Y0_陰嚢.SetBasePointBase(X1Y0_陰嚢.ToLocal(X1Y0_陰茎.ToGlobal(X1Y0_陰茎.GetJP()[3].Joint))); + X1Y1_陰嚢.SetBasePointBase(X1Y1_陰嚢.ToLocal(X1Y1_陰茎.ToGlobal(X1Y1_陰茎.GetJP()[3].Joint))); + X1Y2_陰嚢.SetBasePointBase(X1Y2_陰嚢.ToLocal(X1Y2_陰茎.ToGlobal(X1Y2_陰茎.GetJP()[2].Joint))); + X1Y3_陰嚢.SetBasePointBase(X1Y3_陰嚢.ToLocal(X1Y3_陰茎.ToGlobal(X1Y3_陰茎.GetJP()[2].Joint))); + X1Y4_陰嚢.SetBasePointBase(X1Y4_陰嚢.ToLocal(X1Y4_陰茎.ToGlobal(X1Y4_陰茎.GetJP()[2].Joint))); Vector2D position = AreM.GetPosition(ref AreM.BasePoint); foreach (Par item in Body.EnumJoinRoot) { - item.PositionBase = position; + item.SetPositionBase(position); } Body.JoinPAall(); 尺度B *= 1.07; @@ -627,9 +628,9 @@ namespace SlaveMatrix public override void 色更新() { - if (Body.IndexX == 0) + if (Body.GetIndexX() == 0) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_陰嚢CP.Update(); @@ -670,7 +671,7 @@ namespace SlaveMatrix } else { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X1Y0_陰嚢CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ペニス処理.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ペニス処理.cs index 76e64c8..5763036 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ペニス処理.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ペニス処理.cs @@ -1,6 +1,7 @@ using System.Drawing; using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -547,7 +548,7 @@ namespace SlaveMatrix : base(調教UI, ペニス) { ペニス処理 ペニス処理2 = this; - double d = 調教UI.ペニス.X0Y4_陰嚢.BasePointBase.Y - 調教UI.ペニス.X0Y0_陰嚢.BasePointBase.Y; + double d = 調教UI.ペニス.X0Y4_陰嚢.GetBasePointBase().Y - 調教UI.ペニス.X0Y0_陰嚢.GetBasePointBase().Y; Vector2D v = new Vector2D(対象.Ele.位置C.X, d); チンピク = new Motion(0.0, 1.0) { @@ -616,7 +617,7 @@ namespace SlaveMatrix { if (item.Tag != "陰嚢") { - item.SizeXCont = xc; + item.SetSizeXCont(xc); } } 調教UI.ペニス.位置C = Oth.GetRandomVector() * 0.001; @@ -677,8 +678,8 @@ namespace SlaveMatrix 調教UI.射精.Yv = m.Value; if (調教UI.射精.Yv >= 0.65 && 調教UI.Focus == ペニス) { - p = 調教UI.射精.Body.Current.EnumAllPar().First(); - cp = p.ToGlobal(p.OP.GetCenter() + Oth.GetRandomVector() * 0.0025); + p = 調教UI.射精.Body.GetCurrent().EnumAllPar().First(); + cp = p.ToGlobal(p.GetOP().GetCenter() + Oth.GetRandomVector() * 0.0025); hc = ペニス処理2.Med.GetHitColor(ペニス処理2.Med.FromBasePosition(cp)); ペニス処理2.Bod.Addぶっかけ(cp, hc); 調教UI.Action(c = ペニス処理2.Cha.GetContact(ref hc).c, ActionType.Contact, CurrentState.Start, ToolType.Penis, 0, 1, 機械: false, 射精: true); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹.cs index ac0b567..c4c75ea 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class ボテ腹 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹_人.cs index 751c8f2..2abd8f6 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹_人.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹_人.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -555,38 +556,38 @@ namespace SlaveMatrix Intensity = e.濃度; 尺度YB = 0.95; double num = 1.0; - X0Y0_臍.BasePointBase = new Vector2D(X0Y0_臍.BasePointBase.X, 0.363449439772374); - X0Y1_臍.BasePointBase = new Vector2D(X0Y1_臍.BasePointBase.X, 0.363808225004133); - X0Y2_臍.BasePointBase = new Vector2D(X0Y2_臍.BasePointBase.X, 0.364167010235893); - X0Y3_臍.BasePointBase = new Vector2D(X0Y3_臍.BasePointBase.X, 0.364525795467652); - X0Y4_臍.BasePointBase = new Vector2D(X0Y4_臍.BasePointBase.X, 0.364884580699412); - X0Y0_ハイライト.BasePointBase = new Vector2D(X0Y0_ハイライト.BasePointBase.X, 0.0219448899681257); - X0Y1_ハイライト.BasePointBase = new Vector2D(X0Y1_ハイライト.BasePointBase.X, 0.0223873272658702); - X0Y2_ハイライト.BasePointBase = new Vector2D(X0Y2_ハイライト.BasePointBase.X, 0.0228297645636147); - X0Y3_ハイライト.BasePointBase = new Vector2D(X0Y3_ハイライト.BasePointBase.X, 0.0232722018613592); - X0Y4_ハイライト.BasePointBase = new Vector2D(X0Y4_ハイライト.BasePointBase.X, 0.0237146391591036); + X0Y0_臍.SetBasePointBase(new Vector2D(X0Y0_臍.GetBasePointBase().X, 0.363449439772374)); + X0Y1_臍.SetBasePointBase(new Vector2D(X0Y1_臍.GetBasePointBase().X, 0.363808225004133)); + X0Y2_臍.SetBasePointBase(new Vector2D(X0Y2_臍.GetBasePointBase().X, 0.364167010235893)); + X0Y3_臍.SetBasePointBase(new Vector2D(X0Y3_臍.GetBasePointBase().X, 0.364525795467652)); + X0Y4_臍.SetBasePointBase(new Vector2D(X0Y4_臍.GetBasePointBase().X, 0.364884580699412)); + X0Y0_ハイライト.SetBasePointBase(new Vector2D(X0Y0_ハイライト.GetBasePointBase().X, 0.0219448899681257)); + X0Y1_ハイライト.SetBasePointBase(new Vector2D(X0Y1_ハイライト.GetBasePointBase().X, 0.0223873272658702)); + X0Y2_ハイライト.SetBasePointBase(new Vector2D(X0Y2_ハイライト.GetBasePointBase().X, 0.0228297645636147)); + X0Y3_ハイライト.SetBasePointBase(new Vector2D(X0Y3_ハイライト.GetBasePointBase().X, 0.0232722018613592)); + X0Y4_ハイライト.SetBasePointBase(new Vector2D(X0Y4_ハイライト.GetBasePointBase().X, 0.0237146391591036)); num = 1.5; - X0Y0_臍.SizeBase *= num; - X0Y1_臍.SizeBase *= num; - X0Y2_臍.SizeBase *= num; - X0Y3_臍.SizeBase *= num; - X0Y4_臍.SizeBase *= num; - X0Y0_ハイライト.SizeBase *= num; - X0Y1_ハイライト.SizeBase *= num; - X0Y2_ハイライト.SizeBase *= num; - X0Y3_ハイライト.SizeBase *= num; - X0Y4_ハイライト.SizeBase *= num; + X0Y0_臍.SetSizeBase(X0Y0_臍.GetSizeBase() * num); + X0Y1_臍.SetSizeBase(X0Y1_臍.GetSizeBase() * num); + X0Y2_臍.SetSizeBase(X0Y2_臍.GetSizeBase() * num); + X0Y3_臍.SetSizeBase(X0Y3_臍.GetSizeBase() * num); + X0Y4_臍.SetSizeBase(X0Y4_臍.GetSizeBase() * num); + X0Y0_ハイライト.SetSizeBase(X0Y0_ハイライト.GetSizeBase() * num); + X0Y1_ハイライト.SetSizeBase(X0Y1_ハイライト.GetSizeBase() * num); + X0Y2_ハイライト.SetSizeBase(X0Y2_ハイライト.GetSizeBase() * num); + X0Y3_ハイライト.SetSizeBase(X0Y3_ハイライト.GetSizeBase() * num); + X0Y4_ハイライト.SetSizeBase(X0Y4_ハイライト.GetSizeBase() * num); num = 0.6; - X0Y0_臍.SizeXBase *= num; - X0Y1_臍.SizeXBase *= num; - X0Y2_臍.SizeXBase *= num; - X0Y3_臍.SizeXBase *= num; - X0Y4_臍.SizeXBase *= num; - X0Y0_ハイライト.SizeXBase *= num; - X0Y1_ハイライト.SizeXBase *= num; - X0Y2_ハイライト.SizeXBase *= num; - X0Y3_ハイライト.SizeXBase *= num; - X0Y4_ハイライト.SizeXBase *= num; + X0Y0_臍.SetSizeXBase(X0Y0_臍.GetSizeXBase() * num); + X0Y1_臍.SetSizeXBase(X0Y1_臍.GetSizeXBase() * num); + X0Y2_臍.SetSizeXBase(X0Y2_臍.GetSizeXBase() * num); + X0Y3_臍.SetSizeXBase(X0Y3_臍.GetSizeXBase() * num); + X0Y4_臍.SetSizeXBase(X0Y4_臍.GetSizeXBase() * num); + X0Y0_ハイライト.SetSizeXBase(X0Y0_ハイライト.GetSizeXBase() * num); + X0Y1_ハイライト.SetSizeXBase(X0Y1_ハイライト.GetSizeXBase() * num); + X0Y2_ハイライト.SetSizeXBase(X0Y2_ハイライト.GetSizeXBase() * num); + X0Y3_ハイライト.SetSizeXBase(X0Y3_ハイライト.GetSizeXBase() * num); + X0Y4_ハイライト.SetSizeXBase(X0Y4_ハイライト.GetSizeXBase() * num); } public override void 描画0(RenderArea Are) @@ -598,7 +599,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_腹CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹_人D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹_人D.cs index b63d41f..ba2cdad 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹_人D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹_人D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹_獣.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹_獣.cs index eb029a0..fe543eb 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹_獣.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹_獣.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -236,28 +237,28 @@ namespace SlaveMatrix X0Y4_臍CP = new ColorP(X0Y4_臍, 臍CD, DisUnit, abj: false); Intensity = e.濃度; double num = 1.0; - X0Y0_臍.BasePointBase = new Vector2D(X0Y0_臍.BasePointBase.X, 0.360579157918298); - X0Y1_臍.BasePointBase = new Vector2D(X0Y1_臍.BasePointBase.X, 0.360579157918298); - X0Y2_臍.BasePointBase = new Vector2D(X0Y2_臍.BasePointBase.X, 0.360579157918298); - X0Y3_臍.BasePointBase = new Vector2D(X0Y3_臍.BasePointBase.X, 0.360579157918298); - X0Y4_臍.BasePointBase = new Vector2D(X0Y4_臍.BasePointBase.X, 0.360579157918298); + X0Y0_臍.SetBasePointBase(new Vector2D(X0Y0_臍.GetBasePointBase().X, 0.360579157918298)); + X0Y1_臍.SetBasePointBase(new Vector2D(X0Y1_臍.GetBasePointBase().X, 0.360579157918298)); + X0Y2_臍.SetBasePointBase(new Vector2D(X0Y2_臍.GetBasePointBase().X, 0.360579157918298)); + X0Y3_臍.SetBasePointBase(new Vector2D(X0Y3_臍.GetBasePointBase().X, 0.360579157918298)); + X0Y4_臍.SetBasePointBase(new Vector2D(X0Y4_臍.GetBasePointBase().X, 0.360579157918298)); num = 1.5; - X0Y0_臍.SizeBase *= num; - X0Y1_臍.SizeBase *= num; - X0Y2_臍.SizeBase *= num; - X0Y3_臍.SizeBase *= num; - X0Y4_臍.SizeBase *= num; + X0Y0_臍.SetSizeBase(X0Y0_臍.GetSizeBase() * num); + X0Y1_臍.SetSizeBase(X0Y1_臍.GetSizeBase() * num); + X0Y2_臍.SetSizeBase(X0Y2_臍.GetSizeBase() * num); + X0Y3_臍.SetSizeBase(X0Y3_臍.GetSizeBase() * num); + X0Y4_臍.SetSizeBase(X0Y4_臍.GetSizeBase() * num); num = 0.6; - X0Y0_臍.SizeXBase *= num; - X0Y1_臍.SizeXBase *= num; - X0Y2_臍.SizeXBase *= num; - X0Y3_臍.SizeXBase *= num; - X0Y4_臍.SizeXBase *= num; + X0Y0_臍.SetSizeXBase(X0Y0_臍.GetSizeXBase() * num); + X0Y1_臍.SetSizeXBase(X0Y1_臍.GetSizeXBase() * num); + X0Y2_臍.SetSizeXBase(X0Y2_臍.GetSizeXBase() * num); + X0Y3_臍.SetSizeXBase(X0Y3_臍.GetSizeXBase() * num); + X0Y4_臍.SetSizeXBase(X0Y4_臍.GetSizeXBase() * num); } public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_腹CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹_獣D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹_獣D.cs index 7ea51f0..1be3eaf 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹_獣D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹_獣D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹板.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹板.cs index 7842ef4..5bc4552 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹板.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹板.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -578,7 +579,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_腹板4_腹板CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹板D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹板D.cs index 3760a1b..7b25820 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹板D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹板D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/マウス.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/マウス.cs index 198b25e..5b3baef 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/マウス.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/マウス.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -457,24 +458,24 @@ namespace SlaveMatrix X4Y4_上唇CP = new ColorP(X4Y4_上唇, 上唇CD, DisUnit, abj: true); X4Y4_下唇CP = new ColorP(X4Y4_下唇, 下唇CD, DisUnit, abj: true); Intensity = e.濃度; - X4Y0_上唇.BasePointBase = X4Y0_上唇.ToLocal(X4Y0_舌.ToGlobal(X4Y0_舌.JP[0].Joint)); - X4Y1_上唇.BasePointBase = X4Y1_上唇.ToLocal(X4Y1_舌.ToGlobal(X4Y1_舌.JP[0].Joint)); - X4Y2_上唇.BasePointBase = X4Y2_上唇.ToLocal(X4Y2_舌.ToGlobal(X4Y2_舌.JP[0].Joint)); - X4Y3_上唇.BasePointBase = X4Y3_上唇.ToLocal(X4Y3_舌.ToGlobal(X4Y3_舌.JP[0].Joint)); - X4Y4_上唇.BasePointBase = X4Y4_上唇.ToLocal(X4Y4_舌.ToGlobal(X4Y4_舌.JP[0].Joint)); + X4Y0_上唇.SetBasePointBase(X4Y0_上唇.ToLocal(X4Y0_舌.ToGlobal(X4Y0_舌.GetJP()[0].Joint))); + X4Y1_上唇.SetBasePointBase(X4Y1_上唇.ToLocal(X4Y1_舌.ToGlobal(X4Y1_舌.GetJP()[0].Joint))); + X4Y2_上唇.SetBasePointBase(X4Y2_上唇.ToLocal(X4Y2_舌.ToGlobal(X4Y2_舌.GetJP()[0].Joint))); + X4Y3_上唇.SetBasePointBase(X4Y3_上唇.ToLocal(X4Y3_舌.ToGlobal(X4Y3_舌.GetJP()[0].Joint))); + X4Y4_上唇.SetBasePointBase(X4Y4_上唇.ToLocal(X4Y4_舌.ToGlobal(X4Y4_舌.GetJP()[0].Joint))); 尺度B = 1.08; Body.JoinPAall(); } public override void 描画0(RenderArea Are) { - switch (Body.IndexX) + switch (Body.GetIndexX()) { case 2: Are.Draw(X2Y0_舌); break; case 3: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Are.Draw(X3Y0_舌); @@ -494,7 +495,7 @@ namespace SlaveMatrix } break; case 4: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Are.Draw(X4Y0_舌); @@ -518,7 +519,7 @@ namespace SlaveMatrix public override void 描画1(RenderArea Are) { - switch (Body.IndexX) + switch (Body.GetIndexX()) { case 0: Are.Draw(X0Y0_上唇); @@ -533,7 +534,7 @@ namespace SlaveMatrix Are.Draw(X2Y0_下唇); break; case 3: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Are.Draw(X3Y0_上唇); @@ -558,7 +559,7 @@ namespace SlaveMatrix } break; default: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Are.Draw(X4Y0_上唇); @@ -587,7 +588,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexX) + switch (Body.GetIndexX()) { case 0: X0Y0_上唇CP.Update(); @@ -603,7 +604,7 @@ namespace SlaveMatrix X2Y0_下唇CP.Update(); break; case 3: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X3Y0_舌CP.Update(); @@ -633,7 +634,7 @@ namespace SlaveMatrix } break; default: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X4Y0_舌CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/マウスD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/マウスD.cs index 163b346..3bbeed6 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/マウスD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/マウスD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/マウス処理.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/マウス処理.cs index 6d7535a..e11cc5d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/マウス処理.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/マウス処理.cs @@ -320,7 +320,7 @@ namespace SlaveMatrix 調教UI.押し(ref cd); } 調教UI.マウス.Xi = 3; - 調教UI.マウス.Yi = (調教UI.マウス.Yi - dt.Sign() * 2).Clamp(0, 調教UI.マウス.Body.CountY); + 調教UI.マウス.Yi = (調教UI.マウス.Yi - dt.Sign() * 2).Clamp(0, 調教UI.マウス.Body.GetCountY()); if (cd.c == ContactType.Mouth) { 対象.Ele.Intensity = 0.5; @@ -365,7 +365,7 @@ namespace SlaveMatrix マウス処理2.対象.Ele.尺度C = s * d; } マウス処理2.対象.Ele.位置C = Oth.GetRandomVector() * d * 0.0005; - 調教UI.マウス.X2Y0_舌.PositionCont = Oth.GetRandomVector() * d * 0.001; + 調教UI.マウス.X2Y0_舌.SetPositionCont(Oth.GetRandomVector() * d * 0.001); if (sw.IsRunning) { if (sw.ElapsedMilliseconds > 250) @@ -413,7 +413,7 @@ namespace SlaveMatrix m.ResetValue(); マウス処理2.対象.Ele.尺度C = 1.0; マウス処理2.対象.Ele.位置C = Dat.Vec2DZero; - 調教UI.マウス.X2Y0_舌.PositionCont = Dat.Vec2DZero; + 調教UI.マウス.X2Y0_舌.SetPositionCont(Dat.Vec2DZero); } }; 調教UI.Mots.Add(キスモーション.GetHashCode().ToString(), キスモーション); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ロータ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ロータ.cs index 1f430c2..b1db307 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ロータ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ロータ.cs @@ -1,5 +1,6 @@ using System.Drawing; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -258,18 +259,18 @@ namespace SlaveMatrix X0Y4_ロータCP = new ColorP(X0Y4_ロータ, ロータCD, DisUnit, abj: true); X0Y4_コードCP = new ColorP(X0Y4_コード, コードCD, DisUnit, abj: true); Intensity = e.濃度; - X0Y0_ロータ.BasePointBase = X0Y0_ロータ.ToLocal(X0Y0_ロータ.ToGlobal(X0Y0_ロータ.JP[2].Joint)); - X0Y1_ロータ.BasePointBase = X0Y1_ロータ.ToLocal(X0Y1_ロータ.ToGlobal(X0Y1_ロータ.JP[2].Joint)); - X0Y2_ロータ.BasePointBase = X0Y2_ロータ.ToLocal(X0Y2_ロータ.ToGlobal(X0Y2_ロータ.JP[2].Joint)); - X0Y3_ロータ.BasePointBase = X0Y3_ロータ.ToLocal(X0Y3_ロータ.ToGlobal(X0Y3_ロータ.JP[1].Joint)); - X0Y4_ロータ.BasePointBase = X0Y4_ロータ.ToLocal(X0Y4_ロータ.ToGlobal(X0Y4_ロータ.JP[1].Joint)); + X0Y0_ロータ.SetBasePointBase(X0Y0_ロータ.ToLocal(X0Y0_ロータ.ToGlobal(X0Y0_ロータ.GetJP()[2].Joint))); + X0Y1_ロータ.SetBasePointBase(X0Y1_ロータ.ToLocal(X0Y1_ロータ.ToGlobal(X0Y1_ロータ.GetJP()[2].Joint))); + X0Y2_ロータ.SetBasePointBase(X0Y2_ロータ.ToLocal(X0Y2_ロータ.ToGlobal(X0Y2_ロータ.GetJP()[2].Joint))); + X0Y3_ロータ.SetBasePointBase(X0Y3_ロータ.ToLocal(X0Y3_ロータ.ToGlobal(X0Y3_ロータ.GetJP()[1].Joint))); + X0Y4_ロータ.SetBasePointBase(X0Y4_ロータ.ToLocal(X0Y4_ロータ.ToGlobal(X0Y4_ロータ.GetJP()[1].Joint))); 尺度B = 1.08; Body.JoinPAall(); } public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_ロータCP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ロータD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ロータD.cs index 56d41e8..a2410c6 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ロータD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ロータD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着トップ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着トップ.cs index 3aeecc6..e5f5e91 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着トップ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着トップ.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 上着トップ : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着トップ_ドレス.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着トップ_ドレス.cs index 6e6bf35..47ebfac 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着トップ_ドレス.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着トップ_ドレス.cs @@ -686,11 +686,11 @@ namespace SlaveMatrix set { double sizeBase = sb * (0.9 + 0.25 * value); - X0Y0_左_バスト.SizeBase = sizeBase; - X0Y0_右_バスト.SizeBase = sizeBase; + X0Y0_左_バスト.SetSizeBase(sizeBase); + X0Y0_右_バスト.SetSizeBase(sizeBase); sizeBase = syb * (1.0 + 0.05 * value); - X0Y0_左_バスト.SizeYBase = sizeBase; - X0Y0_右_バスト.SizeYBase = sizeBase; + X0Y0_左_バスト.SetSizeYBase(sizeBase); + X0Y0_右_バスト.SetSizeYBase(sizeBase); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着トップ_ドレスD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着トップ_ドレスD.cs index a2d3d4b..7551baf 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着トップ_ドレスD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着トップ_ドレスD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム.cs index 716a1c3..1c6fa61 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 上着ボトム : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_クロス.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_クロス.cs index 345922d..eb9e8c3 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_クロス.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_クロス.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -813,7 +814,7 @@ namespace SlaveMatrix public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_中_下地CP.Update(); X0Y0_中_皺1CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_クロスD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_クロスD.cs index 19211d0..ba0faca 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_クロスD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_クロスD.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_クロス後.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_クロス後.cs index 3153f9f..f4dec02 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_クロス後.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_クロス後.cs @@ -243,7 +243,7 @@ namespace SlaveMatrix public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_下地CP.Update(); X0Y0_染み_染み2CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_クロス後D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_クロス後D.cs index b7d4bf1..5e7c7e2 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_クロス後D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_クロス後D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_前掛け.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_前掛け.cs index 9801b65..4654a54 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_前掛け.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_前掛け.cs @@ -474,7 +474,7 @@ namespace SlaveMatrix public override void 描画0(RenderArea Are) { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { Are.Draw(X0Y0_帯); Are.Draw(X0Y0_巻); @@ -495,7 +495,7 @@ namespace SlaveMatrix public void 前(RenderArea Are) { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { Are.Draw(X0Y0_前掛_前掛1); Are.Draw(X0Y0_前掛_前掛2); @@ -517,7 +517,7 @@ namespace SlaveMatrix public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_帯CP.Update(); X0Y0_巻CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_前掛けD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_前掛けD.cs index 0d8456a..0ead1a9 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_前掛けD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_前掛けD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ミドル.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ミドル.cs index cbc617c..eae8a45 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ミドル.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ミドル.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 上着ミドル : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ミドル_ドレスD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ミドル_ドレスD.cs index f0a9bb0..b3cff0f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ミドル_ドレスD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ミドル_ドレスD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ.cs index f8910ef..8be7248 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 下着トップ : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_クロス.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_クロス.cs index 3a38740..e50d2d4 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_クロス.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_クロス.cs @@ -555,36 +555,36 @@ namespace SlaveMatrix set { double sizeBase = sb * (0.9 + 0.24 * value); - X0Y0_カップ右_布.SizeBase = sizeBase; - X0Y0_カップ右_皺.SizeBase = sizeBase; - X0Y0_カップ右_縁_縁1.SizeBase = sizeBase; - X0Y0_カップ右_縁_縁2.SizeBase = sizeBase; - X0Y0_カップ左_布.SizeBase = sizeBase; - X0Y0_カップ左_皺.SizeBase = sizeBase; - X0Y0_カップ左_縁_縁1.SizeBase = sizeBase; - X0Y0_カップ左_縁_縁2.SizeBase = sizeBase; + X0Y0_カップ右_布.SetSizeBase(sizeBase); + X0Y0_カップ右_皺.SetSizeBase(sizeBase); + X0Y0_カップ右_縁_縁1.SetSizeBase(sizeBase); + X0Y0_カップ右_縁_縁2.SetSizeBase(sizeBase); + X0Y0_カップ左_布.SetSizeBase(sizeBase); + X0Y0_カップ左_皺.SetSizeBase(sizeBase); + X0Y0_カップ左_縁_縁1.SetSizeBase(sizeBase); + X0Y0_カップ左_縁_縁2.SetSizeBase(sizeBase); sizeBase = syb * (1.0 + 0.05 * value.Inverse()); - X0Y0_カップ右_布.SizeYBase = sizeBase; - X0Y0_カップ右_皺.SizeYBase = sizeBase; - X0Y0_カップ右_縁_縁1.SizeYBase = sizeBase; - X0Y0_カップ右_縁_縁2.SizeYBase = sizeBase; - X0Y0_カップ左_布.SizeYBase = sizeBase; - X0Y0_カップ左_皺.SizeYBase = sizeBase; - X0Y0_カップ左_縁_縁1.SizeYBase = sizeBase; - X0Y0_カップ左_縁_縁2.SizeYBase = sizeBase; - X0Y0_布_布左_布.SizeYBase = sizeBase; - X0Y0_布_布左_皺_皺1.SizeYBase = sizeBase; - X0Y0_布_布左_皺_皺2.SizeYBase = sizeBase; - X0Y0_布_布左_縁_縁1.SizeYBase = sizeBase; - X0Y0_布_布左_縁_縁2.SizeYBase = sizeBase; - X0Y0_布_布右_布.SizeYBase = sizeBase; - X0Y0_布_布右_皺_皺1.SizeYBase = sizeBase; - X0Y0_布_布右_皺_皺2.SizeYBase = sizeBase; - X0Y0_布_布右_縁_縁1.SizeYBase = sizeBase; - X0Y0_布_布右_縁_縁2.SizeYBase = sizeBase; + X0Y0_カップ右_布.SetSizeYBase(sizeBase); + X0Y0_カップ右_皺.SetSizeYBase(sizeBase); + X0Y0_カップ右_縁_縁1.SetSizeYBase(sizeBase); + X0Y0_カップ右_縁_縁2.SetSizeYBase(sizeBase); + X0Y0_カップ左_布.SetSizeYBase(sizeBase); + X0Y0_カップ左_皺.SetSizeYBase(sizeBase); + X0Y0_カップ左_縁_縁1.SetSizeYBase(sizeBase); + X0Y0_カップ左_縁_縁2.SetSizeYBase(sizeBase); + X0Y0_布_布左_布.SetSizeYBase(sizeBase); + X0Y0_布_布左_皺_皺1.SetSizeYBase(sizeBase); + X0Y0_布_布左_皺_皺2.SetSizeYBase(sizeBase); + X0Y0_布_布左_縁_縁1.SetSizeYBase(sizeBase); + X0Y0_布_布左_縁_縁2.SetSizeYBase(sizeBase); + X0Y0_布_布右_布.SetSizeYBase(sizeBase); + X0Y0_布_布右_皺_皺1.SetSizeYBase(sizeBase); + X0Y0_布_布右_皺_皺2.SetSizeYBase(sizeBase); + X0Y0_布_布右_縁_縁1.SetSizeYBase(sizeBase); + X0Y0_布_布右_縁_縁2.SetSizeYBase(sizeBase); 位置C = new Vector2D(位置C.X, -0.001); - X0Y0_布_布左_布.PositionCont = new Vector2D(X0Y0_布_布左_布.PositionCont.X, -0.005); - X0Y0_布_布右_布.PositionCont = new Vector2D(X0Y0_布_布右_布.PositionCont.X, -0.005); + X0Y0_布_布左_布.SetPositionCont(new Vector2D(X0Y0_布_布左_布.GetPositionCont().X, -0.005)); + X0Y0_布_布右_布.SetPositionCont(new Vector2D(X0Y0_布_布右_布.GetPositionCont().X, -0.005)); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_クロスD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_クロスD.cs index 0308119..f909e00 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_クロスD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_クロスD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_チューブ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_チューブ.cs index a562c53..7e59083 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_チューブ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_チューブ.cs @@ -501,11 +501,11 @@ namespace SlaveMatrix { double num = 0.9 + 0.24 * value; double sizeBase = sb * num; - X0Y0_布_布.SizeBase = sizeBase; - X0Y0_皺_皺1.SizeBase = sizeBase; - X0Y0_皺_皺2.SizeBase = sizeBase; - X0Y0_縁_縁1.SizeBase = sizeBase; - X0Y0_縁_縁2.SizeBase = sizeBase; + X0Y0_布_布.SetSizeBase(sizeBase); + X0Y0_皺_皺1.SetSizeBase(sizeBase); + X0Y0_皺_皺2.SetSizeBase(sizeBase); + X0Y0_縁_縁1.SetSizeBase(sizeBase); + X0Y0_縁_縁2.SetSizeBase(sizeBase); double num2 = syb * num; num = 1.0 + 0.05 * value; sizeBase = syb * num; @@ -513,21 +513,21 @@ namespace SlaveMatrix { num2 *= num; } - X0Y0_布_布.SizeYBase = sizeBase; - X0Y0_皺_皺1.SizeYBase = sizeBase; - X0Y0_皺_皺2.SizeYBase = sizeBase; - X0Y0_縁_縁1.SizeYBase = sizeBase; - X0Y0_縁_縁2.SizeYBase = sizeBase; - X0Y0_布_布左_布.SizeYBase = num2; - X0Y0_布_布左_皺_皺1.SizeYBase = num2; - X0Y0_布_布左_皺_皺2.SizeYBase = num2; - X0Y0_布_布左_縁_縁1.SizeYBase = num2; - X0Y0_布_布左_縁_縁2.SizeYBase = num2; - X0Y0_布_布右_布.SizeYBase = num2; - X0Y0_布_布右_皺_皺1.SizeYBase = num2; - X0Y0_布_布右_皺_皺2.SizeYBase = num2; - X0Y0_布_布右_縁_縁1.SizeYBase = num2; - X0Y0_布_布右_縁_縁2.SizeYBase = num2; + X0Y0_布_布.SetSizeYBase(sizeBase); + X0Y0_皺_皺1.SetSizeYBase(sizeBase); + X0Y0_皺_皺2.SetSizeYBase(sizeBase); + X0Y0_縁_縁1.SetSizeYBase(sizeBase); + X0Y0_縁_縁2.SetSizeYBase(sizeBase); + X0Y0_布_布左_布.SetSizeYBase(num2); + X0Y0_布_布左_皺_皺1.SetSizeYBase(num2); + X0Y0_布_布左_皺_皺2.SetSizeYBase(num2); + X0Y0_布_布左_縁_縁1.SetSizeYBase(num2); + X0Y0_布_布左_縁_縁2.SetSizeYBase(num2); + X0Y0_布_布右_布.SetSizeYBase(num2); + X0Y0_布_布右_皺_皺1.SetSizeYBase(num2); + X0Y0_布_布右_皺_皺2.SetSizeYBase(num2); + X0Y0_布_布右_縁_縁1.SetSizeYBase(num2); + X0Y0_布_布右_縁_縁2.SetSizeYBase(num2); 位置C = new Vector2D(位置C.X, -0.001 * 肥大); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_チューブD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_チューブD.cs index fbb7f54..cf30797 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_チューブD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_チューブD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_ビキニ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_ビキニ.cs index 8c432af..d0b5538 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_ビキニ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_ビキニ.cs @@ -412,34 +412,34 @@ namespace SlaveMatrix set { double sizeBase = sb * (0.9 + 0.25 * value); - X0Y0_カップ左_紐.SizeBase = sizeBase; - X0Y0_カップ左_カップ.SizeBase = sizeBase; - X0Y0_カップ左_縁_縁1.SizeBase = sizeBase; - X0Y0_カップ左_縁_縁2.SizeBase = sizeBase; - X0Y0_カップ左_縁_縁3.SizeBase = sizeBase; - X0Y0_カップ左_縁_縁4.SizeBase = sizeBase; - X0Y0_カップ右_紐.SizeBase = sizeBase; - X0Y0_カップ右_カップ.SizeBase = sizeBase; - X0Y0_カップ右_縁_縁1.SizeBase = sizeBase; - X0Y0_カップ右_縁_縁2.SizeBase = sizeBase; - X0Y0_カップ右_縁_縁3.SizeBase = sizeBase; - X0Y0_カップ右_縁_縁4.SizeBase = sizeBase; + X0Y0_カップ左_紐.SetSizeBase(sizeBase); + X0Y0_カップ左_カップ.SetSizeBase(sizeBase); + X0Y0_カップ左_縁_縁1.SetSizeBase(sizeBase); + X0Y0_カップ左_縁_縁2.SetSizeBase(sizeBase); + X0Y0_カップ左_縁_縁3.SetSizeBase(sizeBase); + X0Y0_カップ左_縁_縁4.SetSizeBase(sizeBase); + X0Y0_カップ右_紐.SetSizeBase(sizeBase); + X0Y0_カップ右_カップ.SetSizeBase(sizeBase); + X0Y0_カップ右_縁_縁1.SetSizeBase(sizeBase); + X0Y0_カップ右_縁_縁2.SetSizeBase(sizeBase); + X0Y0_カップ右_縁_縁3.SetSizeBase(sizeBase); + X0Y0_カップ右_縁_縁4.SetSizeBase(sizeBase); sizeBase = syb * (1.0 + 0.05 * value); - X0Y0_カップ左_紐.SizeYBase = sizeBase; - X0Y0_カップ左_カップ.SizeYBase = sizeBase; - X0Y0_カップ左_縁_縁1.SizeYBase = sizeBase; - X0Y0_カップ左_縁_縁2.SizeYBase = sizeBase; - X0Y0_カップ左_縁_縁3.SizeYBase = sizeBase; - X0Y0_カップ左_縁_縁4.SizeYBase = sizeBase; - X0Y0_カップ右_紐.SizeYBase = sizeBase; - X0Y0_カップ右_カップ.SizeYBase = sizeBase; - X0Y0_カップ右_縁_縁1.SizeYBase = sizeBase; - X0Y0_カップ右_縁_縁2.SizeYBase = sizeBase; - X0Y0_カップ右_縁_縁3.SizeYBase = sizeBase; - X0Y0_カップ右_縁_縁4.SizeYBase = sizeBase; + X0Y0_カップ左_紐.SetSizeYBase(sizeBase); + X0Y0_カップ左_カップ.SetSizeYBase(sizeBase); + X0Y0_カップ左_縁_縁1.SetSizeYBase(sizeBase); + X0Y0_カップ左_縁_縁2.SetSizeYBase(sizeBase); + X0Y0_カップ左_縁_縁3.SetSizeYBase(sizeBase); + X0Y0_カップ左_縁_縁4.SetSizeYBase(sizeBase); + X0Y0_カップ右_紐.SetSizeYBase(sizeBase); + X0Y0_カップ右_カップ.SetSizeYBase(sizeBase); + X0Y0_カップ右_縁_縁1.SetSizeYBase(sizeBase); + X0Y0_カップ右_縁_縁2.SetSizeYBase(sizeBase); + X0Y0_カップ右_縁_縁3.SetSizeYBase(sizeBase); + X0Y0_カップ右_縁_縁4.SetSizeYBase(sizeBase); sizeBase = 1.0 + (-0.5 * value + 0.2 * value.Inverse()); - X0Y0_カップ左_紐.SizeYBase *= sizeBase; - X0Y0_カップ右_紐.SizeYBase *= sizeBase; + X0Y0_カップ左_紐.SetSizeYBase(X0Y0_カップ左_紐.GetSizeYBase() * sizeBase); + X0Y0_カップ右_紐.SetSizeYBase(X0Y0_カップ右_紐.GetSizeYBase() * sizeBase); 位置C = new Vector2D(位置C.X, -0.003 * 肥大); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_ビキニD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_ビキニD.cs index beb6243..ed5e23e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_ビキニD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_ビキニD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_ブラ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_ブラ.cs index b6f8789..2ea2bd4 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_ブラ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_ブラ.cs @@ -2139,162 +2139,162 @@ namespace SlaveMatrix set { double sizeBase = sb * (0.9 + 0.25 * value); - X0Y0_カップ左_紐.SizeBase = sizeBase; - X0Y0_カップ左_ジャスター_ジャスター1.SizeBase = sizeBase; - X0Y0_カップ左_ジャスター_ジャスター2.SizeBase = sizeBase; - X0Y0_カップ左_ジャスター_ジャスター3.SizeBase = sizeBase; - X0Y0_カップ左_ジャスター_ジャスター4.SizeBase = sizeBase; - X0Y0_カップ左_カップ2.SizeBase = sizeBase; - X0Y0_カップ左_レース_レース1.SizeBase = sizeBase; - X0Y0_カップ左_レース_レース2.SizeBase = sizeBase; - X0Y0_カップ左_レース_レース3.SizeBase = sizeBase; - X0Y0_カップ左_レース_レース4.SizeBase = sizeBase; - X0Y0_カップ左_レース_レース5.SizeBase = sizeBase; - X0Y0_カップ左_レース_レース6.SizeBase = sizeBase; - X0Y0_カップ左_レース_レース7.SizeBase = sizeBase; - X0Y0_カップ左_レース_レース8.SizeBase = sizeBase; - X0Y0_カップ左_レース_レース9.SizeBase = sizeBase; - X0Y0_カップ左_レース_レース10.SizeBase = sizeBase; - X0Y0_カップ左_レース_レース11.SizeBase = sizeBase; - X0Y0_カップ左_レース_レース12.SizeBase = sizeBase; - X0Y0_カップ左_カップ1.SizeBase = sizeBase; - X0Y0_カップ左_柄_柄1_柄1.SizeBase = sizeBase; - X0Y0_カップ左_柄_柄1_柄2.SizeBase = sizeBase; - X0Y0_カップ左_柄_柄2_柄1.SizeBase = sizeBase; - X0Y0_カップ左_柄_柄2_柄2.SizeBase = sizeBase; - X0Y0_カップ左_柄_柄3_柄1.SizeBase = sizeBase; - X0Y0_カップ左_柄_柄3_柄2.SizeBase = sizeBase; - X0Y0_カップ左_柄_柄4_柄1.SizeBase = sizeBase; - X0Y0_カップ左_柄_柄4_柄2.SizeBase = sizeBase; - X0Y0_カップ左_柄_柄5_柄1.SizeBase = sizeBase; - X0Y0_カップ左_柄_柄5_柄2.SizeBase = sizeBase; - X0Y0_カップ左_柄_柄6_柄1.SizeBase = sizeBase; - X0Y0_カップ左_柄_柄6_柄2.SizeBase = sizeBase; - X0Y0_カップ左_柄_柄7_柄1.SizeBase = sizeBase; - X0Y0_カップ左_柄_柄7_柄2.SizeBase = sizeBase; - X0Y0_カップ左_縁_縁1.SizeBase = sizeBase; - X0Y0_カップ左_縁_縁2.SizeBase = sizeBase; - X0Y0_カップ左_縁_縁3.SizeBase = sizeBase; - X0Y0_カップ左_縁_縁4.SizeBase = sizeBase; - X0Y0_カップ右_紐.SizeBase = sizeBase; - X0Y0_カップ右_ジャスター_ジャスター1.SizeBase = sizeBase; - X0Y0_カップ右_ジャスター_ジャスター2.SizeBase = sizeBase; - X0Y0_カップ右_ジャスター_ジャスター3.SizeBase = sizeBase; - X0Y0_カップ右_ジャスター_ジャスター4.SizeBase = sizeBase; - X0Y0_カップ右_カップ2.SizeBase = sizeBase; - X0Y0_カップ右_レース_レース1.SizeBase = sizeBase; - X0Y0_カップ右_レース_レース2.SizeBase = sizeBase; - X0Y0_カップ右_レース_レース3.SizeBase = sizeBase; - X0Y0_カップ右_レース_レース4.SizeBase = sizeBase; - X0Y0_カップ右_レース_レース5.SizeBase = sizeBase; - X0Y0_カップ右_レース_レース6.SizeBase = sizeBase; - X0Y0_カップ右_レース_レース7.SizeBase = sizeBase; - X0Y0_カップ右_レース_レース8.SizeBase = sizeBase; - X0Y0_カップ右_レース_レース9.SizeBase = sizeBase; - X0Y0_カップ右_レース_レース10.SizeBase = sizeBase; - X0Y0_カップ右_レース_レース11.SizeBase = sizeBase; - X0Y0_カップ右_レース_レース12.SizeBase = sizeBase; - X0Y0_カップ右_カップ1.SizeBase = sizeBase; - X0Y0_カップ右_柄_柄1_柄1.SizeBase = sizeBase; - X0Y0_カップ右_柄_柄1_柄2.SizeBase = sizeBase; - X0Y0_カップ右_柄_柄2_柄1.SizeBase = sizeBase; - X0Y0_カップ右_柄_柄2_柄2.SizeBase = sizeBase; - X0Y0_カップ右_柄_柄3_柄1.SizeBase = sizeBase; - X0Y0_カップ右_柄_柄3_柄2.SizeBase = sizeBase; - X0Y0_カップ右_柄_柄4_柄1.SizeBase = sizeBase; - X0Y0_カップ右_柄_柄4_柄2.SizeBase = sizeBase; - X0Y0_カップ右_柄_柄5_柄1.SizeBase = sizeBase; - X0Y0_カップ右_柄_柄5_柄2.SizeBase = sizeBase; - X0Y0_カップ右_柄_柄6_柄1.SizeBase = sizeBase; - X0Y0_カップ右_柄_柄6_柄2.SizeBase = sizeBase; - X0Y0_カップ右_柄_柄7_柄1.SizeBase = sizeBase; - X0Y0_カップ右_柄_柄7_柄2.SizeBase = sizeBase; - X0Y0_カップ右_縁_縁1.SizeBase = sizeBase; - X0Y0_カップ右_縁_縁2.SizeBase = sizeBase; - X0Y0_カップ右_縁_縁3.SizeBase = sizeBase; - X0Y0_カップ右_縁_縁4.SizeBase = sizeBase; - X0Y0_リボン_リボン.SizeBase = sizeBase; - X0Y0_リボン_結び目.SizeBase = sizeBase; + X0Y0_カップ左_紐.SetSizeBase(sizeBase); + X0Y0_カップ左_ジャスター_ジャスター1.SetSizeBase(sizeBase); + X0Y0_カップ左_ジャスター_ジャスター2.SetSizeBase(sizeBase); + X0Y0_カップ左_ジャスター_ジャスター3.SetSizeBase(sizeBase); + X0Y0_カップ左_ジャスター_ジャスター4.SetSizeBase(sizeBase); + X0Y0_カップ左_カップ2.SetSizeBase(sizeBase); + X0Y0_カップ左_レース_レース1.SetSizeBase(sizeBase); + X0Y0_カップ左_レース_レース2.SetSizeBase(sizeBase); + X0Y0_カップ左_レース_レース3.SetSizeBase(sizeBase); + X0Y0_カップ左_レース_レース4.SetSizeBase(sizeBase); + X0Y0_カップ左_レース_レース5.SetSizeBase(sizeBase); + X0Y0_カップ左_レース_レース6.SetSizeBase(sizeBase); + X0Y0_カップ左_レース_レース7.SetSizeBase(sizeBase); + X0Y0_カップ左_レース_レース8.SetSizeBase(sizeBase); + X0Y0_カップ左_レース_レース9.SetSizeBase(sizeBase); + X0Y0_カップ左_レース_レース10.SetSizeBase(sizeBase); + X0Y0_カップ左_レース_レース11.SetSizeBase(sizeBase); + X0Y0_カップ左_レース_レース12.SetSizeBase(sizeBase); + X0Y0_カップ左_カップ1.SetSizeBase(sizeBase); + X0Y0_カップ左_柄_柄1_柄1.SetSizeBase(sizeBase); + X0Y0_カップ左_柄_柄1_柄2.SetSizeBase(sizeBase); + X0Y0_カップ左_柄_柄2_柄1.SetSizeBase(sizeBase); + X0Y0_カップ左_柄_柄2_柄2.SetSizeBase(sizeBase); + X0Y0_カップ左_柄_柄3_柄1.SetSizeBase(sizeBase); + X0Y0_カップ左_柄_柄3_柄2.SetSizeBase(sizeBase); + X0Y0_カップ左_柄_柄4_柄1.SetSizeBase(sizeBase); + X0Y0_カップ左_柄_柄4_柄2.SetSizeBase(sizeBase); + X0Y0_カップ左_柄_柄5_柄1.SetSizeBase(sizeBase); + X0Y0_カップ左_柄_柄5_柄2.SetSizeBase(sizeBase); + X0Y0_カップ左_柄_柄6_柄1.SetSizeBase(sizeBase); + X0Y0_カップ左_柄_柄6_柄2.SetSizeBase(sizeBase); + X0Y0_カップ左_柄_柄7_柄1.SetSizeBase(sizeBase); + X0Y0_カップ左_柄_柄7_柄2.SetSizeBase(sizeBase); + X0Y0_カップ左_縁_縁1.SetSizeBase(sizeBase); + X0Y0_カップ左_縁_縁2.SetSizeBase(sizeBase); + X0Y0_カップ左_縁_縁3.SetSizeBase(sizeBase); + X0Y0_カップ左_縁_縁4.SetSizeBase(sizeBase); + X0Y0_カップ右_紐.SetSizeBase(sizeBase); + X0Y0_カップ右_ジャスター_ジャスター1.SetSizeBase(sizeBase); + X0Y0_カップ右_ジャスター_ジャスター2.SetSizeBase(sizeBase); + X0Y0_カップ右_ジャスター_ジャスター3.SetSizeBase(sizeBase); + X0Y0_カップ右_ジャスター_ジャスター4.SetSizeBase(sizeBase); + X0Y0_カップ右_カップ2.SetSizeBase(sizeBase); + X0Y0_カップ右_レース_レース1.SetSizeBase(sizeBase); + X0Y0_カップ右_レース_レース2.SetSizeBase(sizeBase); + X0Y0_カップ右_レース_レース3.SetSizeBase(sizeBase); + X0Y0_カップ右_レース_レース4.SetSizeBase(sizeBase); + X0Y0_カップ右_レース_レース5.SetSizeBase(sizeBase); + X0Y0_カップ右_レース_レース6.SetSizeBase(sizeBase); + X0Y0_カップ右_レース_レース7.SetSizeBase(sizeBase); + X0Y0_カップ右_レース_レース8.SetSizeBase(sizeBase); + X0Y0_カップ右_レース_レース9.SetSizeBase(sizeBase); + X0Y0_カップ右_レース_レース10.SetSizeBase(sizeBase); + X0Y0_カップ右_レース_レース11.SetSizeBase(sizeBase); + X0Y0_カップ右_レース_レース12.SetSizeBase(sizeBase); + X0Y0_カップ右_カップ1.SetSizeBase(sizeBase); + X0Y0_カップ右_柄_柄1_柄1.SetSizeBase(sizeBase); + X0Y0_カップ右_柄_柄1_柄2.SetSizeBase(sizeBase); + X0Y0_カップ右_柄_柄2_柄1.SetSizeBase(sizeBase); + X0Y0_カップ右_柄_柄2_柄2.SetSizeBase(sizeBase); + X0Y0_カップ右_柄_柄3_柄1.SetSizeBase(sizeBase); + X0Y0_カップ右_柄_柄3_柄2.SetSizeBase(sizeBase); + X0Y0_カップ右_柄_柄4_柄1.SetSizeBase(sizeBase); + X0Y0_カップ右_柄_柄4_柄2.SetSizeBase(sizeBase); + X0Y0_カップ右_柄_柄5_柄1.SetSizeBase(sizeBase); + X0Y0_カップ右_柄_柄5_柄2.SetSizeBase(sizeBase); + X0Y0_カップ右_柄_柄6_柄1.SetSizeBase(sizeBase); + X0Y0_カップ右_柄_柄6_柄2.SetSizeBase(sizeBase); + X0Y0_カップ右_柄_柄7_柄1.SetSizeBase(sizeBase); + X0Y0_カップ右_柄_柄7_柄2.SetSizeBase(sizeBase); + X0Y0_カップ右_縁_縁1.SetSizeBase(sizeBase); + X0Y0_カップ右_縁_縁2.SetSizeBase(sizeBase); + X0Y0_カップ右_縁_縁3.SetSizeBase(sizeBase); + X0Y0_カップ右_縁_縁4.SetSizeBase(sizeBase); + X0Y0_リボン_リボン.SetSizeBase(sizeBase); + X0Y0_リボン_結び目.SetSizeBase(sizeBase); sizeBase = syb * (1.0 + 0.05 * value); - X0Y0_カップ左_紐.SizeYBase = sizeBase; - X0Y0_カップ左_ジャスター_ジャスター1.SizeYBase = sizeBase; - X0Y0_カップ左_ジャスター_ジャスター2.SizeYBase = sizeBase; - X0Y0_カップ左_ジャスター_ジャスター3.SizeYBase = sizeBase; - X0Y0_カップ左_ジャスター_ジャスター4.SizeYBase = sizeBase; - X0Y0_カップ左_カップ2.SizeYBase = sizeBase; - X0Y0_カップ左_レース_レース1.SizeYBase = sizeBase; - X0Y0_カップ左_レース_レース2.SizeYBase = sizeBase; - X0Y0_カップ左_レース_レース3.SizeYBase = sizeBase; - X0Y0_カップ左_レース_レース4.SizeYBase = sizeBase; - X0Y0_カップ左_レース_レース5.SizeYBase = sizeBase; - X0Y0_カップ左_レース_レース6.SizeYBase = sizeBase; - X0Y0_カップ左_レース_レース7.SizeYBase = sizeBase; - X0Y0_カップ左_レース_レース8.SizeYBase = sizeBase; - X0Y0_カップ左_レース_レース9.SizeYBase = sizeBase; - X0Y0_カップ左_レース_レース10.SizeYBase = sizeBase; - X0Y0_カップ左_レース_レース11.SizeYBase = sizeBase; - X0Y0_カップ左_レース_レース12.SizeYBase = sizeBase; - X0Y0_カップ左_カップ1.SizeYBase = sizeBase; - X0Y0_カップ左_柄_柄1_柄1.SizeYBase = sizeBase; - X0Y0_カップ左_柄_柄1_柄2.SizeYBase = sizeBase; - X0Y0_カップ左_柄_柄2_柄1.SizeYBase = sizeBase; - X0Y0_カップ左_柄_柄2_柄2.SizeYBase = sizeBase; - X0Y0_カップ左_柄_柄3_柄1.SizeYBase = sizeBase; - X0Y0_カップ左_柄_柄3_柄2.SizeYBase = sizeBase; - X0Y0_カップ左_柄_柄4_柄1.SizeYBase = sizeBase; - X0Y0_カップ左_柄_柄4_柄2.SizeYBase = sizeBase; - X0Y0_カップ左_柄_柄5_柄1.SizeYBase = sizeBase; - X0Y0_カップ左_柄_柄5_柄2.SizeYBase = sizeBase; - X0Y0_カップ左_柄_柄6_柄1.SizeYBase = sizeBase; - X0Y0_カップ左_柄_柄6_柄2.SizeYBase = sizeBase; - X0Y0_カップ左_柄_柄7_柄1.SizeYBase = sizeBase; - X0Y0_カップ左_柄_柄7_柄2.SizeYBase = sizeBase; - X0Y0_カップ左_縁_縁1.SizeYBase = sizeBase; - X0Y0_カップ左_縁_縁2.SizeYBase = sizeBase; - X0Y0_カップ左_縁_縁3.SizeYBase = sizeBase; - X0Y0_カップ左_縁_縁4.SizeYBase = sizeBase; - X0Y0_カップ右_紐.SizeYBase = sizeBase; - X0Y0_カップ右_ジャスター_ジャスター1.SizeYBase = sizeBase; - X0Y0_カップ右_ジャスター_ジャスター2.SizeYBase = sizeBase; - X0Y0_カップ右_ジャスター_ジャスター3.SizeYBase = sizeBase; - X0Y0_カップ右_ジャスター_ジャスター4.SizeYBase = sizeBase; - X0Y0_カップ右_カップ2.SizeYBase = sizeBase; - X0Y0_カップ右_レース_レース1.SizeYBase = sizeBase; - X0Y0_カップ右_レース_レース2.SizeYBase = sizeBase; - X0Y0_カップ右_レース_レース3.SizeYBase = sizeBase; - X0Y0_カップ右_レース_レース4.SizeYBase = sizeBase; - X0Y0_カップ右_レース_レース5.SizeYBase = sizeBase; - X0Y0_カップ右_レース_レース6.SizeYBase = sizeBase; - X0Y0_カップ右_レース_レース7.SizeYBase = sizeBase; - X0Y0_カップ右_レース_レース8.SizeYBase = sizeBase; - X0Y0_カップ右_レース_レース9.SizeYBase = sizeBase; - X0Y0_カップ右_レース_レース10.SizeYBase = sizeBase; - X0Y0_カップ右_レース_レース11.SizeYBase = sizeBase; - X0Y0_カップ右_レース_レース12.SizeYBase = sizeBase; - X0Y0_カップ右_カップ1.SizeYBase = sizeBase; - X0Y0_カップ右_柄_柄1_柄1.SizeYBase = sizeBase; - X0Y0_カップ右_柄_柄1_柄2.SizeYBase = sizeBase; - X0Y0_カップ右_柄_柄2_柄1.SizeYBase = sizeBase; - X0Y0_カップ右_柄_柄2_柄2.SizeYBase = sizeBase; - X0Y0_カップ右_柄_柄3_柄1.SizeYBase = sizeBase; - X0Y0_カップ右_柄_柄3_柄2.SizeYBase = sizeBase; - X0Y0_カップ右_柄_柄4_柄1.SizeYBase = sizeBase; - X0Y0_カップ右_柄_柄4_柄2.SizeYBase = sizeBase; - X0Y0_カップ右_柄_柄5_柄1.SizeYBase = sizeBase; - X0Y0_カップ右_柄_柄5_柄2.SizeYBase = sizeBase; - X0Y0_カップ右_柄_柄6_柄1.SizeYBase = sizeBase; - X0Y0_カップ右_柄_柄6_柄2.SizeYBase = sizeBase; - X0Y0_カップ右_柄_柄7_柄1.SizeYBase = sizeBase; - X0Y0_カップ右_柄_柄7_柄2.SizeYBase = sizeBase; - X0Y0_カップ右_縁_縁1.SizeYBase = sizeBase; - X0Y0_カップ右_縁_縁2.SizeYBase = sizeBase; - X0Y0_カップ右_縁_縁3.SizeYBase = sizeBase; - X0Y0_カップ右_縁_縁4.SizeYBase = sizeBase; - X0Y0_リボン_リボン.SizeYBase = sizeBase; - X0Y0_リボン_結び目.SizeYBase = sizeBase; + X0Y0_カップ左_紐.SetSizeYBase(sizeBase); + X0Y0_カップ左_ジャスター_ジャスター1.SetSizeYBase(sizeBase); + X0Y0_カップ左_ジャスター_ジャスター2.SetSizeYBase(sizeBase); + X0Y0_カップ左_ジャスター_ジャスター3.SetSizeYBase(sizeBase); + X0Y0_カップ左_ジャスター_ジャスター4.SetSizeYBase(sizeBase); + X0Y0_カップ左_カップ2.SetSizeYBase(sizeBase); + X0Y0_カップ左_レース_レース1.SetSizeYBase(sizeBase); + X0Y0_カップ左_レース_レース2.SetSizeYBase(sizeBase); + X0Y0_カップ左_レース_レース3.SetSizeYBase(sizeBase); + X0Y0_カップ左_レース_レース4.SetSizeYBase(sizeBase); + X0Y0_カップ左_レース_レース5.SetSizeYBase(sizeBase); + X0Y0_カップ左_レース_レース6.SetSizeYBase(sizeBase); + X0Y0_カップ左_レース_レース7.SetSizeYBase(sizeBase); + X0Y0_カップ左_レース_レース8.SetSizeYBase(sizeBase); + X0Y0_カップ左_レース_レース9.SetSizeYBase(sizeBase); + X0Y0_カップ左_レース_レース10.SetSizeYBase(sizeBase); + X0Y0_カップ左_レース_レース11.SetSizeYBase(sizeBase); + X0Y0_カップ左_レース_レース12.SetSizeYBase(sizeBase); + X0Y0_カップ左_カップ1.SetSizeYBase(sizeBase); + X0Y0_カップ左_柄_柄1_柄1.SetSizeYBase(sizeBase); + X0Y0_カップ左_柄_柄1_柄2.SetSizeYBase(sizeBase); + X0Y0_カップ左_柄_柄2_柄1.SetSizeYBase(sizeBase); + X0Y0_カップ左_柄_柄2_柄2.SetSizeYBase(sizeBase); + X0Y0_カップ左_柄_柄3_柄1.SetSizeYBase(sizeBase); + X0Y0_カップ左_柄_柄3_柄2.SetSizeYBase(sizeBase); + X0Y0_カップ左_柄_柄4_柄1.SetSizeYBase(sizeBase); + X0Y0_カップ左_柄_柄4_柄2.SetSizeYBase(sizeBase); + X0Y0_カップ左_柄_柄5_柄1.SetSizeYBase(sizeBase); + X0Y0_カップ左_柄_柄5_柄2.SetSizeYBase(sizeBase); + X0Y0_カップ左_柄_柄6_柄1.SetSizeYBase(sizeBase); + X0Y0_カップ左_柄_柄6_柄2.SetSizeYBase(sizeBase); + X0Y0_カップ左_柄_柄7_柄1.SetSizeYBase(sizeBase); + X0Y0_カップ左_柄_柄7_柄2.SetSizeYBase(sizeBase); + X0Y0_カップ左_縁_縁1.SetSizeYBase(sizeBase); + X0Y0_カップ左_縁_縁2.SetSizeYBase(sizeBase); + X0Y0_カップ左_縁_縁3.SetSizeYBase(sizeBase); + X0Y0_カップ左_縁_縁4.SetSizeYBase(sizeBase); + X0Y0_カップ右_紐.SetSizeYBase(sizeBase); + X0Y0_カップ右_ジャスター_ジャスター1.SetSizeYBase(sizeBase); + X0Y0_カップ右_ジャスター_ジャスター2.SetSizeYBase(sizeBase); + X0Y0_カップ右_ジャスター_ジャスター3.SetSizeYBase(sizeBase); + X0Y0_カップ右_ジャスター_ジャスター4.SetSizeYBase(sizeBase); + X0Y0_カップ右_カップ2.SetSizeYBase(sizeBase); + X0Y0_カップ右_レース_レース1.SetSizeYBase(sizeBase); + X0Y0_カップ右_レース_レース2.SetSizeYBase(sizeBase); + X0Y0_カップ右_レース_レース3.SetSizeYBase(sizeBase); + X0Y0_カップ右_レース_レース4.SetSizeYBase(sizeBase); + X0Y0_カップ右_レース_レース5.SetSizeYBase(sizeBase); + X0Y0_カップ右_レース_レース6.SetSizeYBase(sizeBase); + X0Y0_カップ右_レース_レース7.SetSizeYBase(sizeBase); + X0Y0_カップ右_レース_レース8.SetSizeYBase(sizeBase); + X0Y0_カップ右_レース_レース9.SetSizeYBase(sizeBase); + X0Y0_カップ右_レース_レース10.SetSizeYBase(sizeBase); + X0Y0_カップ右_レース_レース11.SetSizeYBase(sizeBase); + X0Y0_カップ右_レース_レース12.SetSizeYBase(sizeBase); + X0Y0_カップ右_カップ1.SetSizeYBase(sizeBase); + X0Y0_カップ右_柄_柄1_柄1.SetSizeYBase(sizeBase); + X0Y0_カップ右_柄_柄1_柄2.SetSizeYBase(sizeBase); + X0Y0_カップ右_柄_柄2_柄1.SetSizeYBase(sizeBase); + X0Y0_カップ右_柄_柄2_柄2.SetSizeYBase(sizeBase); + X0Y0_カップ右_柄_柄3_柄1.SetSizeYBase(sizeBase); + X0Y0_カップ右_柄_柄3_柄2.SetSizeYBase(sizeBase); + X0Y0_カップ右_柄_柄4_柄1.SetSizeYBase(sizeBase); + X0Y0_カップ右_柄_柄4_柄2.SetSizeYBase(sizeBase); + X0Y0_カップ右_柄_柄5_柄1.SetSizeYBase(sizeBase); + X0Y0_カップ右_柄_柄5_柄2.SetSizeYBase(sizeBase); + X0Y0_カップ右_柄_柄6_柄1.SetSizeYBase(sizeBase); + X0Y0_カップ右_柄_柄6_柄2.SetSizeYBase(sizeBase); + X0Y0_カップ右_柄_柄7_柄1.SetSizeYBase(sizeBase); + X0Y0_カップ右_柄_柄7_柄2.SetSizeYBase(sizeBase); + X0Y0_カップ右_縁_縁1.SetSizeYBase(sizeBase); + X0Y0_カップ右_縁_縁2.SetSizeYBase(sizeBase); + X0Y0_カップ右_縁_縁3.SetSizeYBase(sizeBase); + X0Y0_カップ右_縁_縁4.SetSizeYBase(sizeBase); + X0Y0_リボン_リボン.SetSizeYBase(sizeBase); + X0Y0_リボン_結び目.SetSizeYBase(sizeBase); sizeBase = 1.0 + (-0.5 * value + 0.2 * value.Inverse()); - X0Y0_カップ左_紐.SizeYBase *= sizeBase; - X0Y0_カップ右_紐.SizeYBase *= sizeBase; + X0Y0_カップ左_紐.SetSizeYBase(X0Y0_カップ左_紐.GetSizeYBase() * sizeBase); + X0Y0_カップ右_紐.SetSizeYBase(X0Y0_カップ右_紐.GetSizeYBase() * sizeBase); 位置C = new Vector2D(位置C.X, -0.003 * 肥大); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_ブラD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_ブラD.cs index 1f6883e..6d24de9 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_ブラD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_ブラD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_マイクロ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_マイクロ.cs index 8397e27..3bb7249 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_マイクロ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_マイクロ.cs @@ -412,34 +412,34 @@ namespace SlaveMatrix set { double sizeBase = sb * (0.9 + 0.25 * value); - X0Y0_カップ左_紐.SizeBase = sizeBase; - X0Y0_カップ左_カップ.SizeBase = sizeBase; - X0Y0_カップ左_縁_縁1.SizeBase = sizeBase; - X0Y0_カップ左_縁_縁2.SizeBase = sizeBase; - X0Y0_カップ左_縁_縁3.SizeBase = sizeBase; - X0Y0_カップ左_縁_縁4.SizeBase = sizeBase; - X0Y0_カップ右_紐.SizeBase = sizeBase; - X0Y0_カップ右_カップ.SizeBase = sizeBase; - X0Y0_カップ右_縁_縁1.SizeBase = sizeBase; - X0Y0_カップ右_縁_縁2.SizeBase = sizeBase; - X0Y0_カップ右_縁_縁3.SizeBase = sizeBase; - X0Y0_カップ右_縁_縁4.SizeBase = sizeBase; + X0Y0_カップ左_紐.SetSizeBase(sizeBase); + X0Y0_カップ左_カップ.SetSizeBase(sizeBase); + X0Y0_カップ左_縁_縁1.SetSizeBase(sizeBase); + X0Y0_カップ左_縁_縁2.SetSizeBase(sizeBase); + X0Y0_カップ左_縁_縁3.SetSizeBase(sizeBase); + X0Y0_カップ左_縁_縁4.SetSizeBase(sizeBase); + X0Y0_カップ右_紐.SetSizeBase(sizeBase); + X0Y0_カップ右_カップ.SetSizeBase(sizeBase); + X0Y0_カップ右_縁_縁1.SetSizeBase(sizeBase); + X0Y0_カップ右_縁_縁2.SetSizeBase(sizeBase); + X0Y0_カップ右_縁_縁3.SetSizeBase(sizeBase); + X0Y0_カップ右_縁_縁4.SetSizeBase(sizeBase); sizeBase = syb * (1.0 + 0.05 * value); - X0Y0_カップ左_紐.SizeYBase = sizeBase; - X0Y0_カップ左_カップ.SizeYBase = sizeBase; - X0Y0_カップ左_縁_縁1.SizeYBase = sizeBase; - X0Y0_カップ左_縁_縁2.SizeYBase = sizeBase; - X0Y0_カップ左_縁_縁3.SizeYBase = sizeBase; - X0Y0_カップ左_縁_縁4.SizeYBase = sizeBase; - X0Y0_カップ右_紐.SizeYBase = sizeBase; - X0Y0_カップ右_カップ.SizeYBase = sizeBase; - X0Y0_カップ右_縁_縁1.SizeYBase = sizeBase; - X0Y0_カップ右_縁_縁2.SizeYBase = sizeBase; - X0Y0_カップ右_縁_縁3.SizeYBase = sizeBase; - X0Y0_カップ右_縁_縁4.SizeYBase = sizeBase; + X0Y0_カップ左_紐.SetSizeYBase(sizeBase); + X0Y0_カップ左_カップ.SetSizeYBase(sizeBase); + X0Y0_カップ左_縁_縁1.SetSizeYBase(sizeBase); + X0Y0_カップ左_縁_縁2.SetSizeYBase(sizeBase); + X0Y0_カップ左_縁_縁3.SetSizeYBase(sizeBase); + X0Y0_カップ左_縁_縁4.SetSizeYBase(sizeBase); + X0Y0_カップ右_紐.SetSizeYBase(sizeBase); + X0Y0_カップ右_カップ.SetSizeYBase(sizeBase); + X0Y0_カップ右_縁_縁1.SetSizeYBase(sizeBase); + X0Y0_カップ右_縁_縁2.SetSizeYBase(sizeBase); + X0Y0_カップ右_縁_縁3.SetSizeYBase(sizeBase); + X0Y0_カップ右_縁_縁4.SetSizeYBase(sizeBase); sizeBase = 1.0 + (-0.5 * value + 0.0 * value.Inverse()); - X0Y0_カップ左_紐.SizeYBase *= sizeBase; - X0Y0_カップ右_紐.SizeYBase *= sizeBase; + X0Y0_カップ左_紐.SetSizeYBase(X0Y0_カップ左_紐.GetSizeYBase() * sizeBase); + X0Y0_カップ右_紐.SetSizeYBase(X0Y0_カップ右_紐.GetSizeYBase() * sizeBase); 位置C = new Vector2D(位置C.X, -0.003 * 肥大 + -0.003 * value.Inverse()); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_マイクロD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_マイクロD.cs index fab38e3..8e2ba18 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_マイクロD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_マイクロD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着ボトム.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着ボトム.cs index 5fbb132..202cf9e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着ボトム.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着ボトム.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 下着ボトム : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着ボトム_ノーマル.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着ボトム_ノーマル.cs index 3eab405..16e9797 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着ボトム_ノーマル.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着ボトム_ノーマル.cs @@ -3462,16 +3462,16 @@ namespace SlaveMatrix Intensity = e.濃度; 尺度YB = 0.95; double y = 0.0005; - X0Y0_下地.BasePointBase = X0Y0_下地.BasePointBase.AddY(y); - X0Y1_下地.BasePointBase = X0Y1_下地.BasePointBase.AddY(y); - X0Y2_下地.BasePointBase = X0Y2_下地.BasePointBase.AddY(y); - X0Y3_下地.BasePointBase = X0Y3_下地.BasePointBase.AddY(y); - X0Y4_下地.BasePointBase = X0Y4_下地.BasePointBase.AddY(y); + X0Y0_下地.SetBasePointBase(X0Y0_下地.GetBasePointBase().AddY(y)); + X0Y1_下地.SetBasePointBase(X0Y1_下地.GetBasePointBase().AddY(y)); + X0Y2_下地.SetBasePointBase(X0Y2_下地.GetBasePointBase().AddY(y)); + X0Y3_下地.SetBasePointBase(X0Y3_下地.GetBasePointBase().AddY(y)); + X0Y4_下地.SetBasePointBase(X0Y4_下地.GetBasePointBase().AddY(y)); } public override void 描画0(RenderArea Are) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Are.Draw(X0Y0_紐左); @@ -3498,7 +3498,7 @@ namespace SlaveMatrix public override void 描画1(RenderArea Are) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Are.Draw(X0Y0_下地); @@ -3774,7 +3774,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_紐左CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着ボトム_ノーマルD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着ボトム_ノーマルD.cs index 6bd0f2b..8070eea 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着ボトム_ノーマルD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着ボトム_ノーマルD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着ボトム_マイクロ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着ボトム_マイクロ.cs index cea96f9..3c594aa 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着ボトム_マイクロ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着ボトム_マイクロ.cs @@ -2282,16 +2282,16 @@ namespace SlaveMatrix Intensity = e.濃度; 尺度YB = 0.95; double y = 0.0005; - X0Y0_下地.BasePointBase = X0Y0_下地.BasePointBase.AddY(y); - X0Y1_下地.BasePointBase = X0Y1_下地.BasePointBase.AddY(y); - X0Y2_下地.BasePointBase = X0Y2_下地.BasePointBase.AddY(y); - X0Y3_下地.BasePointBase = X0Y3_下地.BasePointBase.AddY(y); - X0Y4_下地.BasePointBase = X0Y4_下地.BasePointBase.AddY(y); + X0Y0_下地.SetBasePointBase(X0Y0_下地.GetBasePointBase().AddY(y)); + X0Y1_下地.SetBasePointBase(X0Y1_下地.GetBasePointBase().AddY(y)); + X0Y2_下地.SetBasePointBase(X0Y2_下地.GetBasePointBase().AddY(y)); + X0Y3_下地.SetBasePointBase(X0Y3_下地.GetBasePointBase().AddY(y)); + X0Y4_下地.SetBasePointBase(X0Y4_下地.GetBasePointBase().AddY(y)); } public override void 描画0(RenderArea Are) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Are.Draw(X0Y0_紐左); @@ -2318,7 +2318,7 @@ namespace SlaveMatrix public override void 描画1(RenderArea Are) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Are.Draw(X0Y0_下地); @@ -2509,7 +2509,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_紐左CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着ボトム_マイクロD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着ボトム_マイクロD.cs index 6763f33..32174c7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着ボトム_マイクロD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着ボトム_マイクロD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着乳首.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着乳首.cs index 3399e1b..0a20af1 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着乳首.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着乳首.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -165,13 +166,13 @@ namespace SlaveMatrix { get { - return Body.CurJoinRoot.SizeBase; + return Body.GetCurJoinRoot().GetSizeBase(); } set { foreach (Par item in Body.EnumAllPar()) { - item.SizeBase = value; + item.SetSizeBase(value); } Body.JoinP(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着乳首D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着乳首D.cs index f73fe70..0d5d2a2 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着乳首D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着乳首D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着陰核.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着陰核.cs index 9fb1945..30ab319 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着陰核.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着陰核.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着陰核D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着陰核D.cs index 47387d4..989c712 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着陰核D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着陰核D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/乳房.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/乳房.cs index f95bdb4..4b44956 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/乳房.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/乳房.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -713,26 +714,26 @@ namespace SlaveMatrix 尺度YB_ = syb * (1.0 + 0.05 * バスト_); if (バスト_ <= 0.2) { - X0Y0_乳房.OP.OutlineFalse(); - X0Y1_乳房.OP.OutlineFalse(); - X0Y2_乳房.OP.OutlineFalse(); - X0Y3_乳房.OP.OutlineFalse(); - X0Y4_乳房.OP.OutlineFalse(); - X0Y0_乳房.OP[右 ? 1 : 3].Outline = true; - X0Y1_乳房.OP[右 ? 1 : 3].Outline = true; - X0Y2_乳房.OP[右 ? 1 : 3].Outline = true; - X0Y3_乳房.OP[右 ? 1 : 3].Outline = true; - X0Y4_乳房.OP[右 ? 1 : 3].Outline = true; - X0Y0_乳房.OP[(!右) ? 4 : 0].Outline = true; - X0Y1_乳房.OP[(!右) ? 4 : 0].Outline = true; - X0Y2_乳房.OP[(!右) ? 4 : 0].Outline = true; - X0Y3_乳房.OP[(!右) ? 4 : 0].Outline = true; - X0Y4_乳房.OP[(!右) ? 4 : 0].Outline = true; - X0Y0_淫タトゥ_タトゥ4.OP[右 ? 2 : 0].Outline = false; - X0Y1_淫タトゥ_タトゥ4.OP[右 ? 2 : 0].Outline = false; - X0Y2_淫タトゥ_タトゥ4.OP[右 ? 2 : 0].Outline = false; - X0Y3_淫タトゥ_タトゥ4.OP[右 ? 2 : 0].Outline = false; - X0Y4_淫タトゥ_タトゥ4.OP[右 ? 2 : 0].Outline = false; + X0Y0_乳房.GetOP().OutlineFalse(); + X0Y1_乳房.GetOP().OutlineFalse(); + X0Y2_乳房.GetOP().OutlineFalse(); + X0Y3_乳房.GetOP().OutlineFalse(); + X0Y4_乳房.GetOP().OutlineFalse(); + X0Y0_乳房.GetOP()[右 ? 1 : 3].Outline = true; + X0Y1_乳房.GetOP()[右 ? 1 : 3].Outline = true; + X0Y2_乳房.GetOP()[右 ? 1 : 3].Outline = true; + X0Y3_乳房.GetOP()[右 ? 1 : 3].Outline = true; + X0Y4_乳房.GetOP()[右 ? 1 : 3].Outline = true; + X0Y0_乳房.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y1_乳房.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y2_乳房.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y3_乳房.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y4_乳房.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y0_淫タトゥ_タトゥ4.GetOP()[右 ? 2 : 0].Outline = false; + X0Y1_淫タトゥ_タトゥ4.GetOP()[右 ? 2 : 0].Outline = false; + X0Y2_淫タトゥ_タトゥ4.GetOP()[右 ? 2 : 0].Outline = false; + X0Y3_淫タトゥ_タトゥ4.GetOP()[右 ? 2 : 0].Outline = false; + X0Y4_淫タトゥ_タトゥ4.GetOP()[右 ? 2 : 0].Outline = false; } } } @@ -741,13 +742,13 @@ namespace SlaveMatrix { get { - return Body.CurJoinRoot.SizeBase; + return Body.GetCurJoinRoot().GetSizeBase(); } set { foreach (Par item in Body.EnumAllPar()) { - item.SizeBase = value; + item.SetSizeBase(value); } Body.JoinP(); } @@ -757,13 +758,13 @@ namespace SlaveMatrix { get { - return Body.CurJoinRoot.SizeYBase; + return Body.GetCurJoinRoot().GetSizeYBase(); } set { foreach (Par item in Body.EnumAllPar()) { - item.SizeYBase = value; + item.SetSizeYBase(value); } Body.JoinP(); } @@ -1006,7 +1007,7 @@ namespace SlaveMatrix public override void 描画0(RenderArea Are) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Are.Draw(X0Y0_乳房); @@ -1094,7 +1095,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_乳房CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/乳房D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/乳房D.cs index cac6dc3..a565af5 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/乳房D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/乳房D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅.cs index e06e6d2..318b2ee 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 前翅 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_甲.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_甲.cs index 456e6a6..bd323c7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_甲.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_甲.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -236,7 +237,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -688,18 +689,18 @@ namespace SlaveMatrix { double num = value.Inverse(); double num2 = (右 ? (-1.0) : 1.0); - X0Y0_前翅_前翅軸_軸1.AngleCont = num2 * -95.0 * num; - X0Y0_前翅_前翅軸_軸2.AngleCont = num2 * -28.0 * num; - X0Y0_前翅_前翅軸_軸3.AngleCont = num2 * -178.0 * num; - X0Y0_前翅_前翅甲_甲1.AngleCont = num2 * -45.0 * num; - X0Y0_甲付根.AngleCont = num2 * 6.0 * num; - X0Y0_前翅_前翅軸_軸3.SizeXCont = 0.7 + 0.3 * value; - X0Y1_前翅_前翅軸_軸1.AngleCont = num2 * -95.0 * num; - X0Y1_前翅_前翅軸_軸2.AngleCont = num2 * -28.0 * num; - X0Y1_前翅_前翅軸_軸3.AngleCont = num2 * -178.0 * num; - X0Y1_前翅_前翅甲_甲1.AngleCont = num2 * -45.0 * num; - X0Y1_甲付根.AngleCont = num2 * 6.0 * num; - X0Y1_前翅_前翅軸_軸3.SizeXCont = 0.7 + 0.3 * value; + X0Y0_前翅_前翅軸_軸1.SetAngleCont(num2 * -95.0 * num); + X0Y0_前翅_前翅軸_軸2.SetAngleCont(num2 * -28.0 * num); + X0Y0_前翅_前翅軸_軸3.SetAngleCont(num2 * -178.0 * num); + X0Y0_前翅_前翅甲_甲1.SetAngleCont(num2 * -45.0 * num); + X0Y0_甲付根.SetAngleCont(num2 * 6.0 * num); + X0Y0_前翅_前翅軸_軸3.SetSizeXCont(0.7 + 0.3 * value); + X0Y1_前翅_前翅軸_軸1.SetAngleCont(num2 * -95.0 * num); + X0Y1_前翅_前翅軸_軸2.SetAngleCont(num2 * -28.0 * num); + X0Y1_前翅_前翅軸_軸3.SetAngleCont(num2 * -178.0 * num); + X0Y1_前翅_前翅甲_甲1.SetAngleCont(num2 * -45.0 * num); + X0Y1_甲付根.SetAngleCont(num2 * 6.0 * num); + X0Y1_前翅_前翅軸_軸3.SetSizeXCont(0.7 + 0.3 * value); } } @@ -910,24 +911,24 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_付根_付根0.AngleBase = num * 21.0; - X0Y1_付根_付根0.AngleBase = num * 21.0; - X0Y0_前翅_前翅軸_軸1.AngleBase = num * 18.0; - X0Y1_前翅_前翅軸_軸1.AngleBase = num * 18.0; - X0Y0_前翅_前翅軸_軸2.AngleBase = num * -24.0; - X0Y1_前翅_前翅軸_軸2.AngleBase = num * -24.0; - X0Y0_前翅_前翅軸_軸3.AngleBase = num * 13.0; - X0Y1_前翅_前翅軸_軸3.AngleBase = num * 13.0; - X0Y0_前翅_前翅甲_甲1.AngleBase = num * -4.0; - X0Y1_前翅_前翅甲_甲1.AngleBase = num * -4.0; - X0Y0_甲付根.AngleBase = num * 5.0; - X0Y1_甲付根.AngleBase = num * 5.0; + X0Y0_付根_付根0.SetAngleBase(num * 21.0); + X0Y1_付根_付根0.SetAngleBase(num * 21.0); + X0Y0_前翅_前翅軸_軸1.SetAngleBase(num * 18.0); + X0Y1_前翅_前翅軸_軸1.SetAngleBase(num * 18.0); + X0Y0_前翅_前翅軸_軸2.SetAngleBase(num * -24.0); + X0Y1_前翅_前翅軸_軸2.SetAngleBase(num * -24.0); + X0Y0_前翅_前翅軸_軸3.SetAngleBase(num * 13.0); + X0Y1_前翅_前翅軸_軸3.SetAngleBase(num * 13.0); + X0Y0_前翅_前翅甲_甲1.SetAngleBase(num * -4.0); + X0Y1_前翅_前翅甲_甲1.SetAngleBase(num * -4.0); + X0Y0_甲付根.SetAngleBase(num * 5.0); + X0Y1_甲付根.SetAngleBase(num * 5.0); Body.JoinPAall(); } public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_前翅_前翅軸_軸1CP.Update(); X0Y0_前翅_前翅軸_軸2CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_甲D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_甲D.cs index 970c4b5..d1d273c 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_甲D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_甲D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_羽.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_羽.cs index b31209c..5e23115 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_羽.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_羽.cs @@ -323,7 +323,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -1108,14 +1108,14 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_前翅_前翅.AngleBase = num * 14.0; - X0Y1_前翅_前翅.AngleBase = num * 14.0; + X0Y0_前翅_前翅.SetAngleBase(num * 14.0); + X0Y1_前翅_前翅.SetAngleBase(num * 14.0); Body.JoinPAall(); } public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_前翅_前翅CP.Update(); X0Y0_前翅_翅脈1CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_羽D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_羽D.cs index cddba77..9026d22 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_羽D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_羽D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_草.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_草.cs index 012d4f9..6959bc4 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_草.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_草.cs @@ -133,7 +133,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -393,8 +393,8 @@ namespace SlaveMatrix { double num = value.Inverse(); double num2 = (右 ? (-1.0) : 1.0); - X0Y0_前翅_前翅1.AngleCont = num2 * -102.15 * num; - X0Y1_前翅_前翅1.AngleCont = num2 * -102.15 * num; + X0Y0_前翅_前翅1.SetAngleCont(num2 * -102.15 * num); + X0Y1_前翅_前翅1.SetAngleCont(num2 * -102.15 * num); } } @@ -508,14 +508,14 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_前翅_前翅1.AngleBase = num * 10.0; - X0Y1_前翅_前翅1.AngleBase = num * 10.0; + X0Y0_前翅_前翅1.SetAngleBase(num * 10.0); + X0Y1_前翅_前翅1.SetAngleBase(num * 10.0); Body.JoinPAall(); } public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_前翅_前翅1CP.Update(); X0Y0_前翅_翅脈線1CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_草D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_草D.cs index bcf0f9d..cf00965 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_草D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_草D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_蝶.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_蝶.cs index 61a16f8..1fdb4dd 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_蝶.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_蝶.cs @@ -225,7 +225,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -823,14 +823,14 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_前翅_前翅.AngleBase = num * 29.0; - X0Y1_前翅_前翅.AngleBase = num * 29.0; + X0Y0_前翅_前翅.SetAngleBase(num * 29.0); + X0Y1_前翅_前翅.SetAngleBase(num * 29.0); Body.JoinPAall(); } public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_前翅_前翅CP.Update(); X0Y0_前翅_水青_柄CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_蝶D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_蝶D.cs index f538d9f..b24f657 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_蝶D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_蝶D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪.cs index 1554a96..0dc615d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 前髪 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグ.cs index 91e99d0..5e60a25 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグ.cs @@ -778,37 +778,37 @@ namespace SlaveMatrix set { double num = 0.9 + 0.15 * value; - X0Y0_髪左1.SizeYBase *= num; - X0Y0_髪左2.SizeYBase *= num; - X0Y0_髪左3.SizeYBase *= num; - X0Y0_編み左_編節1_髪節.SizeYBase *= num; - X0Y0_編み左_編節1_髪編目.SizeYBase *= num; - X0Y0_編み左_編節2_髪節.SizeYBase *= num; - X0Y0_編み左_編節2_髪編目.SizeYBase *= num; - X0Y0_編み左_編節3_髪節.SizeYBase *= num; - X0Y0_編み左_編節3_髪編目.SizeYBase *= num; - X0Y0_髪ハネ左.SizeYBase *= num; - X0Y0_髪左4.SizeYBase *= num; - X0Y0_髪左5.SizeYBase *= num; - X0Y0_ハイライト左.SizeYBase *= num; - X0Y0_髪頭頂横左1.SizeYBase *= num; - X0Y0_髪頭頂横左2.SizeYBase *= num; - X0Y0_髪右1.SizeYBase *= num; - X0Y0_髪右2.SizeYBase *= num; - X0Y0_髪右3.SizeYBase *= num; - X0Y0_編み右_編節1_髪節.SizeYBase *= num; - X0Y0_編み右_編節1_髪編目.SizeYBase *= num; - X0Y0_編み右_編節2_髪節.SizeYBase *= num; - X0Y0_編み右_編節2_髪編目.SizeYBase *= num; - X0Y0_編み右_編節3_髪節.SizeYBase *= num; - X0Y0_編み右_編節3_髪編目.SizeYBase *= num; - X0Y0_髪ハネ右.SizeYBase *= num; - X0Y0_髪右4.SizeYBase *= num; - X0Y0_髪右5.SizeYBase *= num; - X0Y0_髪中央.SizeYBase *= num; - X0Y0_ハイライト右.SizeYBase *= num; - X0Y0_髪頭頂横右1.SizeYBase *= num; - X0Y0_髪頭頂横右2.SizeYBase *= num; + X0Y0_髪左1.SetSizeYBase(X0Y0_髪左1.GetSizeYBase() * num); + X0Y0_髪左2.SetSizeYBase(X0Y0_髪左2.GetSizeYBase() * num); + X0Y0_髪左3.SetSizeYBase(X0Y0_髪左3.GetSizeYBase() * num); + X0Y0_編み左_編節1_髪節.SetSizeYBase(X0Y0_編み左_編節1_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節1_髪編目.SetSizeYBase(X0Y0_編み左_編節1_髪編目.GetSizeYBase() * num); + X0Y0_編み左_編節2_髪節.SetSizeYBase(X0Y0_編み左_編節2_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節2_髪編目.SetSizeYBase(X0Y0_編み左_編節2_髪編目.GetSizeYBase() * num); + X0Y0_編み左_編節3_髪節.SetSizeYBase(X0Y0_編み左_編節3_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節3_髪編目.SetSizeYBase(X0Y0_編み左_編節3_髪編目.GetSizeYBase() * num); + X0Y0_髪ハネ左.SetSizeYBase(X0Y0_髪ハネ左.GetSizeYBase() * num); + X0Y0_髪左4.SetSizeYBase(X0Y0_髪左4.GetSizeYBase() * num); + X0Y0_髪左5.SetSizeYBase(X0Y0_髪左5.GetSizeYBase() * num); + X0Y0_ハイライト左.SetSizeYBase(X0Y0_ハイライト左.GetSizeYBase() * num); + X0Y0_髪頭頂横左1.SetSizeYBase(X0Y0_髪頭頂横左1.GetSizeYBase() * num); + X0Y0_髪頭頂横左2.SetSizeYBase(X0Y0_髪頭頂横左2.GetSizeYBase() * num); + X0Y0_髪右1.SetSizeYBase(X0Y0_髪右1.GetSizeYBase() * num); + X0Y0_髪右2.SetSizeYBase(X0Y0_髪右2.GetSizeYBase() * num); + X0Y0_髪右3.SetSizeYBase(X0Y0_髪右3.GetSizeYBase() * num); + X0Y0_編み右_編節1_髪節.SetSizeYBase(X0Y0_編み右_編節1_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節1_髪編目.SetSizeYBase(X0Y0_編み右_編節1_髪編目.GetSizeYBase() * num); + X0Y0_編み右_編節2_髪節.SetSizeYBase(X0Y0_編み右_編節2_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節2_髪編目.SetSizeYBase(X0Y0_編み右_編節2_髪編目.GetSizeYBase() * num); + X0Y0_編み右_編節3_髪節.SetSizeYBase(X0Y0_編み右_編節3_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節3_髪編目.SetSizeYBase(X0Y0_編み右_編節3_髪編目.GetSizeYBase() * num); + X0Y0_髪ハネ右.SetSizeYBase(X0Y0_髪ハネ右.GetSizeYBase() * num); + X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num); + X0Y0_髪右5.SetSizeYBase(X0Y0_髪右5.GetSizeYBase() * num); + X0Y0_髪中央.SetSizeYBase(X0Y0_髪中央.GetSizeYBase() * num); + X0Y0_ハイライト右.SetSizeYBase(X0Y0_ハイライト右.GetSizeYBase() * num); + X0Y0_髪頭頂横右1.SetSizeYBase(X0Y0_髪頭頂横右1.GetSizeYBase() * num); + X0Y0_髪頭頂横右2.SetSizeYBase(X0Y0_髪頭頂横右2.GetSizeYBase() * num); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグD.cs index 9a2c068..0bfe21d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグ中寄.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグ中寄.cs index 18af6da..5ad1383 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグ中寄.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグ中寄.cs @@ -778,37 +778,37 @@ namespace SlaveMatrix set { double num = 0.9 + 0.15 * value; - X0Y0_髪左1.SizeYBase *= num; - X0Y0_髪左2.SizeYBase *= num; - X0Y0_髪左3.SizeYBase *= num; - X0Y0_編み左_編節1_髪節.SizeYBase *= num; - X0Y0_編み左_編節1_髪編目.SizeYBase *= num; - X0Y0_編み左_編節2_髪節.SizeYBase *= num; - X0Y0_編み左_編節2_髪編目.SizeYBase *= num; - X0Y0_編み左_編節3_髪節.SizeYBase *= num; - X0Y0_編み左_編節3_髪編目.SizeYBase *= num; - X0Y0_髪ハネ左.SizeYBase *= num; - X0Y0_髪左4.SizeYBase *= num; - X0Y0_髪左5.SizeYBase *= num; - X0Y0_ハイライト左.SizeYBase *= num; - X0Y0_髪頭頂横左1.SizeYBase *= num; - X0Y0_髪頭頂横左2.SizeYBase *= num; - X0Y0_髪右1.SizeYBase *= num; - X0Y0_髪右2.SizeYBase *= num; - X0Y0_髪右3.SizeYBase *= num; - X0Y0_編み右_編節1_髪節.SizeYBase *= num; - X0Y0_編み右_編節1_髪編目.SizeYBase *= num; - X0Y0_編み右_編節2_髪節.SizeYBase *= num; - X0Y0_編み右_編節2_髪編目.SizeYBase *= num; - X0Y0_編み右_編節3_髪節.SizeYBase *= num; - X0Y0_編み右_編節3_髪編目.SizeYBase *= num; - X0Y0_髪ハネ右.SizeYBase *= num; - X0Y0_髪右4.SizeYBase *= num; - X0Y0_髪右5.SizeYBase *= num; - X0Y0_髪中央.SizeYBase *= num; - X0Y0_ハイライト右.SizeYBase *= num; - X0Y0_髪頭頂横右1.SizeYBase *= num; - X0Y0_髪頭頂横右2.SizeYBase *= num; + X0Y0_髪左1.SetSizeYBase(X0Y0_髪左1.GetSizeYBase() * num); + X0Y0_髪左2.SetSizeYBase(X0Y0_髪左2.GetSizeYBase() * num); + X0Y0_髪左3.SetSizeYBase(X0Y0_髪左3.GetSizeYBase() * num); + X0Y0_編み左_編節1_髪節.SetSizeYBase(X0Y0_編み左_編節1_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節1_髪編目.SetSizeYBase(X0Y0_編み左_編節1_髪編目.GetSizeYBase() * num); + X0Y0_編み左_編節2_髪節.SetSizeYBase(X0Y0_編み左_編節2_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節2_髪編目.SetSizeYBase(X0Y0_編み左_編節2_髪編目.GetSizeYBase() * num); + X0Y0_編み左_編節3_髪節.SetSizeYBase(X0Y0_編み左_編節3_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節3_髪編目.SetSizeYBase(X0Y0_編み左_編節3_髪編目.GetSizeYBase() * num); + X0Y0_髪ハネ左.SetSizeYBase(X0Y0_髪ハネ左.GetSizeYBase() * num); + X0Y0_髪左4.SetSizeYBase(X0Y0_髪左4.GetSizeYBase() * num); + X0Y0_髪左5.SetSizeYBase(X0Y0_髪左5.GetSizeYBase() * num); + X0Y0_ハイライト左.SetSizeYBase(X0Y0_ハイライト左.GetSizeYBase() * num); + X0Y0_髪頭頂横左1.SetSizeYBase(X0Y0_髪頭頂横左1.GetSizeYBase() * num); + X0Y0_髪頭頂横左2.SetSizeYBase(X0Y0_髪頭頂横左2.GetSizeYBase() * num); + X0Y0_髪右1.SetSizeYBase(X0Y0_髪右1.GetSizeYBase() * num); + X0Y0_髪右2.SetSizeYBase(X0Y0_髪右2.GetSizeYBase() * num); + X0Y0_髪右3.SetSizeYBase(X0Y0_髪右3.GetSizeYBase() * num); + X0Y0_編み右_編節1_髪節.SetSizeYBase(X0Y0_編み右_編節1_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節1_髪編目.SetSizeYBase(X0Y0_編み右_編節1_髪編目.GetSizeYBase() * num); + X0Y0_編み右_編節2_髪節.SetSizeYBase(X0Y0_編み右_編節2_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節2_髪編目.SetSizeYBase(X0Y0_編み右_編節2_髪編目.GetSizeYBase() * num); + X0Y0_編み右_編節3_髪節.SetSizeYBase(X0Y0_編み右_編節3_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節3_髪編目.SetSizeYBase(X0Y0_編み右_編節3_髪編目.GetSizeYBase() * num); + X0Y0_髪ハネ右.SetSizeYBase(X0Y0_髪ハネ右.GetSizeYBase() * num); + X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num); + X0Y0_髪右5.SetSizeYBase(X0Y0_髪右5.GetSizeYBase() * num); + X0Y0_髪中央.SetSizeYBase(X0Y0_髪中央.GetSizeYBase() * num); + X0Y0_ハイライト右.SetSizeYBase(X0Y0_ハイライト右.GetSizeYBase() * num); + X0Y0_髪頭頂横右1.SetSizeYBase(X0Y0_髪頭頂横右1.GetSizeYBase() * num); + X0Y0_髪頭頂横右2.SetSizeYBase(X0Y0_髪頭頂横右2.GetSizeYBase() * num); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグ中寄D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグ中寄D.cs index f6f4e3d..d825d92 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグ中寄D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグ中寄D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグ分け.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグ分け.cs index 022f207..86b005a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグ分け.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグ分け.cs @@ -778,37 +778,37 @@ namespace SlaveMatrix set { double num = 0.9 + 0.2 * value; - X0Y0_髪左1.SizeYBase *= num; - X0Y0_髪左2.SizeYBase *= num; - X0Y0_髪左3.SizeYBase *= num; - X0Y0_髪左4.SizeYBase *= num; - X0Y0_編み左_編節1_髪節.SizeYBase *= num; - X0Y0_編み左_編節1_髪編目.SizeYBase *= num; - X0Y0_編み左_編節2_髪節.SizeYBase *= num; - X0Y0_編み左_編節2_髪編目.SizeYBase *= num; - X0Y0_編み左_編節3_髪節.SizeYBase *= num; - X0Y0_編み左_編節3_髪編目.SizeYBase *= num; - X0Y0_髪ハネ左.SizeYBase *= num; - X0Y0_髪左5.SizeYBase *= num; - X0Y0_ハイライト左.SizeYBase *= num; - X0Y0_髪頭頂横左1.SizeYBase *= num; - X0Y0_髪頭頂横左2.SizeYBase *= num; - X0Y0_髪右1.SizeYBase *= num; - X0Y0_髪右2.SizeYBase *= num; - X0Y0_髪右3.SizeYBase *= num; - X0Y0_髪右4.SizeYBase *= num; - X0Y0_編み右_編節1_髪節.SizeYBase *= num; - X0Y0_編み右_編節1_髪編目.SizeYBase *= num; - X0Y0_編み右_編節2_髪節.SizeYBase *= num; - X0Y0_編み右_編節2_髪編目.SizeYBase *= num; - X0Y0_編み右_編節3_髪節.SizeYBase *= num; - X0Y0_編み右_編節3_髪編目.SizeYBase *= num; - X0Y0_髪ハネ右.SizeYBase *= num; - X0Y0_髪右5.SizeYBase *= num; - X0Y0_ハイライト右.SizeYBase *= num; - X0Y0_髪中央.SizeYBase *= num; - X0Y0_髪頭頂横右1.SizeYBase *= num; - X0Y0_髪頭頂横右2.SizeYBase *= num; + X0Y0_髪左1.SetSizeYBase(X0Y0_髪左1.GetSizeYBase() * num); + X0Y0_髪左2.SetSizeYBase(X0Y0_髪左2.GetSizeYBase() * num); + X0Y0_髪左3.SetSizeYBase(X0Y0_髪左3.GetSizeYBase() * num); + X0Y0_髪左4.SetSizeYBase(X0Y0_髪左4.GetSizeYBase() * num); + X0Y0_編み左_編節1_髪節.SetSizeYBase(X0Y0_編み左_編節1_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節1_髪編目.SetSizeYBase(X0Y0_編み左_編節1_髪編目.GetSizeYBase() * num); + X0Y0_編み左_編節2_髪節.SetSizeYBase(X0Y0_編み左_編節2_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節2_髪編目.SetSizeYBase(X0Y0_編み左_編節2_髪編目.GetSizeYBase() * num); + X0Y0_編み左_編節3_髪節.SetSizeYBase(X0Y0_編み左_編節3_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節3_髪編目.SetSizeYBase(X0Y0_編み左_編節3_髪編目.GetSizeYBase() * num); + X0Y0_髪ハネ左.SetSizeYBase(X0Y0_髪ハネ左.GetSizeYBase() * num); + X0Y0_髪左5.SetSizeYBase(X0Y0_髪左5.GetSizeYBase() * num); + X0Y0_ハイライト左.SetSizeYBase(X0Y0_ハイライト左.GetSizeYBase() * num); + X0Y0_髪頭頂横左1.SetSizeYBase(X0Y0_髪頭頂横左1.GetSizeYBase() * num); + X0Y0_髪頭頂横左2.SetSizeYBase(X0Y0_髪頭頂横左2.GetSizeYBase() * num); + X0Y0_髪右1.SetSizeYBase(X0Y0_髪右1.GetSizeYBase() * num); + X0Y0_髪右2.SetSizeYBase(X0Y0_髪右2.GetSizeYBase() * num); + X0Y0_髪右3.SetSizeYBase(X0Y0_髪右3.GetSizeYBase() * num); + X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num); + X0Y0_編み右_編節1_髪節.SetSizeYBase(X0Y0_編み右_編節1_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節1_髪編目.SetSizeYBase(X0Y0_編み右_編節1_髪編目.GetSizeYBase() * num); + X0Y0_編み右_編節2_髪節.SetSizeYBase(X0Y0_編み右_編節2_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節2_髪編目.SetSizeYBase(X0Y0_編み右_編節2_髪編目.GetSizeYBase() * num); + X0Y0_編み右_編節3_髪節.SetSizeYBase(X0Y0_編み右_編節3_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節3_髪編目.SetSizeYBase(X0Y0_編み右_編節3_髪編目.GetSizeYBase() * num); + X0Y0_髪ハネ右.SetSizeYBase(X0Y0_髪ハネ右.GetSizeYBase() * num); + X0Y0_髪右5.SetSizeYBase(X0Y0_髪右5.GetSizeYBase() * num); + X0Y0_ハイライト右.SetSizeYBase(X0Y0_ハイライト右.GetSizeYBase() * num); + X0Y0_髪中央.SetSizeYBase(X0Y0_髪中央.GetSizeYBase() * num); + X0Y0_髪頭頂横右1.SetSizeYBase(X0Y0_髪頭頂横右1.GetSizeYBase() * num); + X0Y0_髪頭頂横右2.SetSizeYBase(X0Y0_髪頭頂横右2.GetSizeYBase() * num); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグ分けD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグ分けD.cs index 0c53ea4..71cdc35 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグ分けD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグ分けD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_パッツン.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_パッツン.cs index 0b70dda..3e9c48c 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_パッツン.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_パッツン.cs @@ -778,37 +778,37 @@ namespace SlaveMatrix set { double num = 0.9 + 0.15 * value; - X0Y0_髪左1.SizeYBase *= num; - X0Y0_髪左2.SizeYBase *= num; - X0Y0_髪左3.SizeYBase *= num; - X0Y0_編み左_編節1_髪節.SizeYBase *= num; - X0Y0_編み左_編節1_髪編目.SizeYBase *= num; - X0Y0_編み左_編節2_髪節.SizeYBase *= num; - X0Y0_編み左_編節2_髪編目.SizeYBase *= num; - X0Y0_編み左_編節3_髪節.SizeYBase *= num; - X0Y0_編み左_編節3_髪編目.SizeYBase *= num; - X0Y0_髪ハネ左.SizeYBase *= num; - X0Y0_髪左4.SizeYBase *= num; - X0Y0_髪左5.SizeYBase *= num; - X0Y0_ハイライト左.SizeYBase *= num; - X0Y0_髪頭頂横左1.SizeYBase *= num; - X0Y0_髪頭頂横左2.SizeYBase *= num; - X0Y0_髪右1.SizeYBase *= num; - X0Y0_髪右2.SizeYBase *= num; - X0Y0_髪右3.SizeYBase *= num; - X0Y0_編み右_編節1_髪節.SizeYBase *= num; - X0Y0_編み右_編節1_髪編目.SizeYBase *= num; - X0Y0_編み右_編節2_髪節.SizeYBase *= num; - X0Y0_編み右_編節2_髪編目.SizeYBase *= num; - X0Y0_編み右_編節3_髪節.SizeYBase *= num; - X0Y0_編み右_編節3_髪編目.SizeYBase *= num; - X0Y0_髪ハネ右.SizeYBase *= num; - X0Y0_髪右4.SizeYBase *= num; - X0Y0_髪右5.SizeYBase *= num; - X0Y0_ハイライト右.SizeYBase *= num; - X0Y0_髪中央.SizeYBase *= num; - X0Y0_髪頭頂横右1.SizeYBase *= num; - X0Y0_髪頭頂横右2.SizeYBase *= num; + X0Y0_髪左1.SetSizeYBase(X0Y0_髪左1.GetSizeYBase() * num); + X0Y0_髪左2.SetSizeYBase(X0Y0_髪左2.GetSizeYBase() * num); + X0Y0_髪左3.SetSizeYBase(X0Y0_髪左3.GetSizeYBase() * num); + X0Y0_編み左_編節1_髪節.SetSizeYBase(X0Y0_編み左_編節1_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節1_髪編目.SetSizeYBase(X0Y0_編み左_編節1_髪編目.GetSizeYBase() * num); + X0Y0_編み左_編節2_髪節.SetSizeYBase(X0Y0_編み左_編節2_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節2_髪編目.SetSizeYBase(X0Y0_編み左_編節2_髪編目.GetSizeYBase() * num); + X0Y0_編み左_編節3_髪節.SetSizeYBase(X0Y0_編み左_編節3_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節3_髪編目.SetSizeYBase(X0Y0_編み左_編節3_髪編目.GetSizeYBase() * num); + X0Y0_髪ハネ左.SetSizeYBase(X0Y0_髪ハネ左.GetSizeYBase() * num); + X0Y0_髪左4.SetSizeYBase(X0Y0_髪左4.GetSizeYBase() * num); + X0Y0_髪左5.SetSizeYBase(X0Y0_髪左5.GetSizeYBase() * num); + X0Y0_ハイライト左.SetSizeYBase(X0Y0_ハイライト左.GetSizeYBase() * num); + X0Y0_髪頭頂横左1.SetSizeYBase(X0Y0_髪頭頂横左1.GetSizeYBase() * num); + X0Y0_髪頭頂横左2.SetSizeYBase(X0Y0_髪頭頂横左2.GetSizeYBase() * num); + X0Y0_髪右1.SetSizeYBase(X0Y0_髪右1.GetSizeYBase() * num); + X0Y0_髪右2.SetSizeYBase(X0Y0_髪右2.GetSizeYBase() * num); + X0Y0_髪右3.SetSizeYBase(X0Y0_髪右3.GetSizeYBase() * num); + X0Y0_編み右_編節1_髪節.SetSizeYBase(X0Y0_編み右_編節1_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節1_髪編目.SetSizeYBase(X0Y0_編み右_編節1_髪編目.GetSizeYBase() * num); + X0Y0_編み右_編節2_髪節.SetSizeYBase(X0Y0_編み右_編節2_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節2_髪編目.SetSizeYBase(X0Y0_編み右_編節2_髪編目.GetSizeYBase() * num); + X0Y0_編み右_編節3_髪節.SetSizeYBase(X0Y0_編み右_編節3_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節3_髪編目.SetSizeYBase(X0Y0_編み右_編節3_髪編目.GetSizeYBase() * num); + X0Y0_髪ハネ右.SetSizeYBase(X0Y0_髪ハネ右.GetSizeYBase() * num); + X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num); + X0Y0_髪右5.SetSizeYBase(X0Y0_髪右5.GetSizeYBase() * num); + X0Y0_ハイライト右.SetSizeYBase(X0Y0_ハイライト右.GetSizeYBase() * num); + X0Y0_髪中央.SetSizeYBase(X0Y0_髪中央.GetSizeYBase() * num); + X0Y0_髪頭頂横右1.SetSizeYBase(X0Y0_髪頭頂横右1.GetSizeYBase() * num); + X0Y0_髪頭頂横右2.SetSizeYBase(X0Y0_髪頭頂横右2.GetSizeYBase() * num); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_パッツンD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_パッツンD.cs index 1b7df5b..f79c200 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_パッツンD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_パッツンD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_モジャ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_モジャ.cs index 05c7675..3293599 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_モジャ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_モジャ.cs @@ -778,37 +778,37 @@ namespace SlaveMatrix set { double num = 0.9 + 0.15 * value; - X0Y0_髪左1.SizeYBase *= num; - X0Y0_髪左2.SizeYBase *= num; - X0Y0_髪左3.SizeYBase *= num; - X0Y0_編み左_編節1_髪節.SizeYBase *= num; - X0Y0_編み左_編節1_髪編目.SizeYBase *= num; - X0Y0_編み左_編節2_髪節.SizeYBase *= num; - X0Y0_編み左_編節2_髪編目.SizeYBase *= num; - X0Y0_編み左_編節3_髪節.SizeYBase *= num; - X0Y0_編み左_編節3_髪編目.SizeYBase *= num; - X0Y0_髪ハネ左.SizeYBase *= num; - X0Y0_髪左4.SizeYBase *= num; - X0Y0_髪左5.SizeYBase *= num; - X0Y0_ハイライト左.SizeYBase *= num; - X0Y0_髪頭頂横左1.SizeYBase *= num; - X0Y0_髪頭頂横左2.SizeYBase *= num; - X0Y0_髪右1.SizeYBase *= num; - X0Y0_髪右2.SizeYBase *= num; - X0Y0_髪右3.SizeYBase *= num; - X0Y0_編み右_編節1_髪節.SizeYBase *= num; - X0Y0_編み右_編節1_髪編目.SizeYBase *= num; - X0Y0_編み右_編節2_髪節.SizeYBase *= num; - X0Y0_編み右_編節2_髪編目.SizeYBase *= num; - X0Y0_編み右_編節3_髪節.SizeYBase *= num; - X0Y0_編み右_編節3_髪編目.SizeYBase *= num; - X0Y0_髪ハネ右.SizeYBase *= num; - X0Y0_髪右4.SizeYBase *= num; - X0Y0_髪右5.SizeYBase *= num; - X0Y0_ハイライト右.SizeYBase *= num; - X0Y0_髪中央.SizeYBase *= num; - X0Y0_髪頭頂横右1.SizeYBase *= num; - X0Y0_髪頭頂横右2.SizeYBase *= num; + X0Y0_髪左1.SetSizeYBase(X0Y0_髪左1.GetSizeYBase() * num); + X0Y0_髪左2.SetSizeYBase(X0Y0_髪左2.GetSizeYBase() * num); + X0Y0_髪左3.SetSizeYBase(X0Y0_髪左3.GetSizeYBase() * num); + X0Y0_編み左_編節1_髪節.SetSizeYBase(X0Y0_編み左_編節1_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節1_髪編目.SetSizeYBase(X0Y0_編み左_編節1_髪編目.GetSizeYBase() * num); + X0Y0_編み左_編節2_髪節.SetSizeYBase(X0Y0_編み左_編節2_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節2_髪編目.SetSizeYBase(X0Y0_編み左_編節2_髪編目.GetSizeYBase() * num); + X0Y0_編み左_編節3_髪節.SetSizeYBase(X0Y0_編み左_編節3_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節3_髪編目.SetSizeYBase(X0Y0_編み左_編節3_髪編目.GetSizeYBase() * num); + X0Y0_髪ハネ左.SetSizeYBase(X0Y0_髪ハネ左.GetSizeYBase() * num); + X0Y0_髪左4.SetSizeYBase(X0Y0_髪左4.GetSizeYBase() * num); + X0Y0_髪左5.SetSizeYBase(X0Y0_髪左5.GetSizeYBase() * num); + X0Y0_ハイライト左.SetSizeYBase(X0Y0_ハイライト左.GetSizeYBase() * num); + X0Y0_髪頭頂横左1.SetSizeYBase(X0Y0_髪頭頂横左1.GetSizeYBase() * num); + X0Y0_髪頭頂横左2.SetSizeYBase(X0Y0_髪頭頂横左2.GetSizeYBase() * num); + X0Y0_髪右1.SetSizeYBase(X0Y0_髪右1.GetSizeYBase() * num); + X0Y0_髪右2.SetSizeYBase(X0Y0_髪右2.GetSizeYBase() * num); + X0Y0_髪右3.SetSizeYBase(X0Y0_髪右3.GetSizeYBase() * num); + X0Y0_編み右_編節1_髪節.SetSizeYBase(X0Y0_編み右_編節1_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節1_髪編目.SetSizeYBase(X0Y0_編み右_編節1_髪編目.GetSizeYBase() * num); + X0Y0_編み右_編節2_髪節.SetSizeYBase(X0Y0_編み右_編節2_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節2_髪編目.SetSizeYBase(X0Y0_編み右_編節2_髪編目.GetSizeYBase() * num); + X0Y0_編み右_編節3_髪節.SetSizeYBase(X0Y0_編み右_編節3_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節3_髪編目.SetSizeYBase(X0Y0_編み右_編節3_髪編目.GetSizeYBase() * num); + X0Y0_髪ハネ右.SetSizeYBase(X0Y0_髪ハネ右.GetSizeYBase() * num); + X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num); + X0Y0_髪右5.SetSizeYBase(X0Y0_髪右5.GetSizeYBase() * num); + X0Y0_ハイライト右.SetSizeYBase(X0Y0_ハイライト右.GetSizeYBase() * num); + X0Y0_髪中央.SetSizeYBase(X0Y0_髪中央.GetSizeYBase() * num); + X0Y0_髪頭頂横右1.SetSizeYBase(X0Y0_髪頭頂横右1.GetSizeYBase() * num); + X0Y0_髪頭頂横右2.SetSizeYBase(X0Y0_髪頭頂横右2.GetSizeYBase() * num); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_モジャD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_モジャD.cs index 407561b..cdeecf0 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_モジャD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_モジャD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_三分1.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_三分1.cs index 15ce21b..6a4bc5f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_三分1.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_三分1.cs @@ -820,39 +820,39 @@ namespace SlaveMatrix set { double num = 0.9 + 0.2 * value; - X0Y0_髪基.SizeYBase *= num; - X0Y0_髪左1.SizeYBase *= num; - X0Y0_髪左2.SizeYBase *= num; - X0Y0_髪左3.SizeYBase *= num; - X0Y0_髪左4.SizeYBase *= num; - X0Y0_編み左_編節1_髪節.SizeYBase *= num; - X0Y0_編み左_編節1_髪編目.SizeYBase *= num; - X0Y0_編み左_編節2_髪節.SizeYBase *= num; - X0Y0_編み左_編節2_髪編目.SizeYBase *= num; - X0Y0_編み左_編節3_髪節.SizeYBase *= num; - X0Y0_編み左_編節3_髪編目.SizeYBase *= num; - X0Y0_髪ハネ左.SizeYBase *= num; - X0Y0_髪左5.SizeYBase *= num; - X0Y0_ハイライト左.SizeYBase *= num; - X0Y0_髪頭頂横左1.SizeYBase *= num; - X0Y0_髪頭頂横左2.SizeYBase *= num; - X0Y0_髪右1.SizeYBase *= num; - X0Y0_髪右2.SizeYBase *= num; - X0Y0_髪右3.SizeYBase *= num; - X0Y0_髪右4.SizeYBase *= num; - X0Y0_編み右_編節1_髪節.SizeYBase *= num; - X0Y0_編み右_編節1_髪編目.SizeYBase *= num; - X0Y0_編み右_編節2_髪節.SizeYBase *= num; - X0Y0_編み右_編節2_髪編目.SizeYBase *= num; - X0Y0_編み右_編節3_髪節.SizeYBase *= num; - X0Y0_編み右_編節3_髪編目.SizeYBase *= num; - X0Y0_髪ハネ右.SizeYBase *= num; - X0Y0_髪右5.SizeYBase *= num; - X0Y0_ハイライト右.SizeYBase *= num; - X0Y0_髪右6.SizeYBase *= num; - X0Y0_髪左6.SizeYBase *= num; - X0Y0_髪頭頂横右1.SizeYBase *= num; - X0Y0_髪頭頂横右2.SizeYBase *= num; + X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num); + X0Y0_髪左1.SetSizeYBase(X0Y0_髪左1.GetSizeYBase() * num); + X0Y0_髪左2.SetSizeYBase(X0Y0_髪左2.GetSizeYBase() * num); + X0Y0_髪左3.SetSizeYBase(X0Y0_髪左3.GetSizeYBase() * num); + X0Y0_髪左4.SetSizeYBase(X0Y0_髪左4.GetSizeYBase() * num); + X0Y0_編み左_編節1_髪節.SetSizeYBase(X0Y0_編み左_編節1_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節1_髪編目.SetSizeYBase(X0Y0_編み左_編節1_髪編目.GetSizeYBase() * num); + X0Y0_編み左_編節2_髪節.SetSizeYBase(X0Y0_編み左_編節2_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節2_髪編目.SetSizeYBase(X0Y0_編み左_編節2_髪編目.GetSizeYBase() * num); + X0Y0_編み左_編節3_髪節.SetSizeYBase(X0Y0_編み左_編節3_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節3_髪編目.SetSizeYBase(X0Y0_編み左_編節3_髪編目.GetSizeYBase() * num); + X0Y0_髪ハネ左.SetSizeYBase(X0Y0_髪ハネ左.GetSizeYBase() * num); + X0Y0_髪左5.SetSizeYBase(X0Y0_髪左5.GetSizeYBase() * num); + X0Y0_ハイライト左.SetSizeYBase(X0Y0_ハイライト左.GetSizeYBase() * num); + X0Y0_髪頭頂横左1.SetSizeYBase(X0Y0_髪頭頂横左1.GetSizeYBase() * num); + X0Y0_髪頭頂横左2.SetSizeYBase(X0Y0_髪頭頂横左2.GetSizeYBase() * num); + X0Y0_髪右1.SetSizeYBase(X0Y0_髪右1.GetSizeYBase() * num); + X0Y0_髪右2.SetSizeYBase(X0Y0_髪右2.GetSizeYBase() * num); + X0Y0_髪右3.SetSizeYBase(X0Y0_髪右3.GetSizeYBase() * num); + X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num); + X0Y0_編み右_編節1_髪節.SetSizeYBase(X0Y0_編み右_編節1_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節1_髪編目.SetSizeYBase(X0Y0_編み右_編節1_髪編目.GetSizeYBase() * num); + X0Y0_編み右_編節2_髪節.SetSizeYBase(X0Y0_編み右_編節2_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節2_髪編目.SetSizeYBase(X0Y0_編み右_編節2_髪編目.GetSizeYBase() * num); + X0Y0_編み右_編節3_髪節.SetSizeYBase(X0Y0_編み右_編節3_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節3_髪編目.SetSizeYBase(X0Y0_編み右_編節3_髪編目.GetSizeYBase() * num); + X0Y0_髪ハネ右.SetSizeYBase(X0Y0_髪ハネ右.GetSizeYBase() * num); + X0Y0_髪右5.SetSizeYBase(X0Y0_髪右5.GetSizeYBase() * num); + X0Y0_ハイライト右.SetSizeYBase(X0Y0_ハイライト右.GetSizeYBase() * num); + X0Y0_髪右6.SetSizeYBase(X0Y0_髪右6.GetSizeYBase() * num); + X0Y0_髪左6.SetSizeYBase(X0Y0_髪左6.GetSizeYBase() * num); + X0Y0_髪頭頂横右1.SetSizeYBase(X0Y0_髪頭頂横右1.GetSizeYBase() * num); + X0Y0_髪頭頂横右2.SetSizeYBase(X0Y0_髪頭頂横右2.GetSizeYBase() * num); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_三分1D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_三分1D.cs index 2cf0092..bd880e7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_三分1D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_三分1D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_三分2.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_三分2.cs index 847e817..ff5d50d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_三分2.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_三分2.cs @@ -778,12 +778,12 @@ namespace SlaveMatrix set { double num = 0.9 + 0.2 * value; - X0Y0_髪左1.SizeYBase *= num; - X0Y0_髪左2.SizeYBase *= num; - X0Y0_髪右1.SizeYBase *= num; - X0Y0_髪右2.SizeYBase *= num; - X0Y0_髪左5.SizeYBase *= num; - X0Y0_髪中央.SizeYBase *= num; + X0Y0_髪左1.SetSizeYBase(X0Y0_髪左1.GetSizeYBase() * num); + X0Y0_髪左2.SetSizeYBase(X0Y0_髪左2.GetSizeYBase() * num); + X0Y0_髪右1.SetSizeYBase(X0Y0_髪右1.GetSizeYBase() * num); + X0Y0_髪右2.SetSizeYBase(X0Y0_髪右2.GetSizeYBase() * num); + X0Y0_髪左5.SetSizeYBase(X0Y0_髪左5.GetSizeYBase() * num); + X0Y0_髪中央.SetSizeYBase(X0Y0_髪中央.GetSizeYBase() * num); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_三分2D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_三分2D.cs index 36fe6f4..84ff5a1 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_三分2D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_三分2D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ片.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ片.cs index 33d8a48..561d819 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ片.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ片.cs @@ -715,9 +715,9 @@ namespace SlaveMatrix set { double num = 0.9 + 0.2 * value; - X0Y0_髪左3.SizeYBase *= num; - X0Y0_髪右3.SizeYBase *= num; - X0Y0_髪右4.SizeYBase *= num; + X0Y0_髪左3.SetSizeYBase(X0Y0_髪左3.GetSizeYBase() * num); + X0Y0_髪右3.SetSizeYBase(X0Y0_髪右3.GetSizeYBase() * num); + X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ片D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ片D.cs index 3a2c497..db7296b 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ片D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ片D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ短1.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ短1.cs index 113660c..abff798 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ短1.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ短1.cs @@ -736,10 +736,10 @@ namespace SlaveMatrix set { double num = 0.9 + 0.2 * value; - X0Y0_髪左3.SizeYBase *= num; - X0Y0_髪左4.SizeYBase *= num; - X0Y0_髪右3.SizeYBase *= num; - X0Y0_髪右4.SizeYBase *= num; + X0Y0_髪左3.SetSizeYBase(X0Y0_髪左3.GetSizeYBase() * num); + X0Y0_髪左4.SetSizeYBase(X0Y0_髪左4.GetSizeYBase() * num); + X0Y0_髪右3.SetSizeYBase(X0Y0_髪右3.GetSizeYBase() * num); + X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ短1D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ短1D.cs index ffc5861..4b5c2e1 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ短1D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ短1D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ短2.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ短2.cs index fd37514..80fa111 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ短2.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ短2.cs @@ -736,10 +736,10 @@ namespace SlaveMatrix set { double num = 0.9 + 0.2 * value; - X0Y0_髪左3.SizeYBase *= num; - X0Y0_髪左4.SizeYBase *= num; - X0Y0_髪右3.SizeYBase *= num; - X0Y0_髪右4.SizeYBase *= num; + X0Y0_髪左3.SetSizeYBase(X0Y0_髪左3.GetSizeYBase() * num); + X0Y0_髪左4.SetSizeYBase(X0Y0_髪左4.GetSizeYBase() * num); + X0Y0_髪右3.SetSizeYBase(X0Y0_髪右3.GetSizeYBase() * num); + X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ短2D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ短2D.cs index e1a0e08..0604a99 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ短2D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ短2D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ長1.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ長1.cs index 53bda88..e381ce7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ長1.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ長1.cs @@ -736,10 +736,10 @@ namespace SlaveMatrix set { double num = 0.9 + 0.2 * value; - X0Y0_髪左3.SizeYBase *= num; - X0Y0_髪左4.SizeYBase *= num; - X0Y0_髪右3.SizeYBase *= num; - X0Y0_髪右4.SizeYBase *= num; + X0Y0_髪左3.SetSizeYBase(X0Y0_髪左3.GetSizeYBase() * num); + X0Y0_髪左4.SetSizeYBase(X0Y0_髪左4.GetSizeYBase() * num); + X0Y0_髪右3.SetSizeYBase(X0Y0_髪右3.GetSizeYBase() * num); + X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ長1D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ長1D.cs index 6db6b47..61bb3d6 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ長1D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ長1D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ長2.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ長2.cs index e9f2df5..a463c02 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ長2.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ長2.cs @@ -736,10 +736,10 @@ namespace SlaveMatrix set { double num = 0.9 + 0.2 * value; - X0Y0_髪左3.SizeYBase *= num; - X0Y0_髪左4.SizeYBase *= num; - X0Y0_髪右3.SizeYBase *= num; - X0Y0_髪右4.SizeYBase *= num; + X0Y0_髪左3.SetSizeYBase(X0Y0_髪左3.GetSizeYBase() * num); + X0Y0_髪左4.SetSizeYBase(X0Y0_髪左4.GetSizeYBase() * num); + X0Y0_髪右3.SetSizeYBase(X0Y0_髪右3.GetSizeYBase() * num); + X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ長2D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ長2D.cs index 6f4a40c..cbbe915 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ長2D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_上げ長2D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_中分け1.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_中分け1.cs index 27da79c..ccab950 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_中分け1.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_中分け1.cs @@ -652,10 +652,10 @@ namespace SlaveMatrix set { double num = 0.9 + 0.2 * value; - X0Y0_髪左2.SizeYBase *= num; - X0Y0_髪左4.SizeYBase *= num; - X0Y0_髪右2.SizeYBase *= num; - X0Y0_髪右4.SizeYBase *= num; + X0Y0_髪左2.SetSizeYBase(X0Y0_髪左2.GetSizeYBase() * num); + X0Y0_髪左4.SetSizeYBase(X0Y0_髪左4.GetSizeYBase() * num); + X0Y0_髪右2.SetSizeYBase(X0Y0_髪右2.GetSizeYBase() * num); + X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_中分け1D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_中分け1D.cs index 27862ab..170b527 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_中分け1D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_中分け1D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_中分け2.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_中分け2.cs index 06658e5..3447d3c 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_中分け2.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_中分け2.cs @@ -652,8 +652,8 @@ namespace SlaveMatrix set { double num = 0.9 + 0.2 * value; - X0Y0_髪左4.SizeYBase *= num; - X0Y0_髪右4.SizeYBase *= num; + X0Y0_髪左4.SetSizeYBase(X0Y0_髪左4.GetSizeYBase() * num); + X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_中分け2D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_中分け2D.cs index 2cf0d95..2465a44 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_中分け2D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_中分け2D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_二分1.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_二分1.cs index 76d54e6..478772d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_二分1.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_二分1.cs @@ -778,37 +778,37 @@ namespace SlaveMatrix set { double num = 0.9 + 0.2 * value; - X0Y0_髪基.SizeYBase *= num; - X0Y0_髪左1.SizeYBase *= num; - X0Y0_髪左2.SizeYBase *= num; - X0Y0_髪左3.SizeYBase *= num; - X0Y0_髪左4.SizeYBase *= num; - X0Y0_編み左_編節1_髪節.SizeYBase *= num; - X0Y0_編み左_編節1_髪編目.SizeYBase *= num; - X0Y0_編み左_編節2_髪節.SizeYBase *= num; - X0Y0_編み左_編節2_髪編目.SizeYBase *= num; - X0Y0_編み左_編節3_髪節.SizeYBase *= num; - X0Y0_編み左_編節3_髪編目.SizeYBase *= num; - X0Y0_髪ハネ左.SizeYBase *= num; - X0Y0_髪左5.SizeYBase *= num; - X0Y0_ハイライト左.SizeYBase *= num; - X0Y0_髪頭頂横左1.SizeYBase *= num; - X0Y0_髪頭頂横左2.SizeYBase *= num; - X0Y0_髪右1.SizeYBase *= num; - X0Y0_髪右2.SizeYBase *= num; - X0Y0_髪右3.SizeYBase *= num; - X0Y0_髪右4.SizeYBase *= num; - X0Y0_編み右_編節1_髪節.SizeYBase *= num; - X0Y0_編み右_編節1_髪編目.SizeYBase *= num; - X0Y0_編み右_編節2_髪節.SizeYBase *= num; - X0Y0_編み右_編節2_髪編目.SizeYBase *= num; - X0Y0_編み右_編節3_髪節.SizeYBase *= num; - X0Y0_編み右_編節3_髪編目.SizeYBase *= num; - X0Y0_髪ハネ右.SizeYBase *= num; - X0Y0_髪右5.SizeYBase *= num; - X0Y0_ハイライト右.SizeYBase *= num; - X0Y0_髪頭頂横右1.SizeYBase *= num; - X0Y0_髪頭頂横右2.SizeYBase *= num; + X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num); + X0Y0_髪左1.SetSizeYBase(X0Y0_髪左1.GetSizeYBase() * num); + X0Y0_髪左2.SetSizeYBase(X0Y0_髪左2.GetSizeYBase() * num); + X0Y0_髪左3.SetSizeYBase(X0Y0_髪左3.GetSizeYBase() * num); + X0Y0_髪左4.SetSizeYBase(X0Y0_髪左4.GetSizeYBase() * num); + X0Y0_編み左_編節1_髪節.SetSizeYBase(X0Y0_編み左_編節1_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節1_髪編目.SetSizeYBase(X0Y0_編み左_編節1_髪編目.GetSizeYBase() * num); + X0Y0_編み左_編節2_髪節.SetSizeYBase(X0Y0_編み左_編節2_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節2_髪編目.SetSizeYBase(X0Y0_編み左_編節2_髪編目.GetSizeYBase() * num); + X0Y0_編み左_編節3_髪節.SetSizeYBase(X0Y0_編み左_編節3_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節3_髪編目.SetSizeYBase(X0Y0_編み左_編節3_髪編目.GetSizeYBase() * num); + X0Y0_髪ハネ左.SetSizeYBase(X0Y0_髪ハネ左.GetSizeYBase() * num); + X0Y0_髪左5.SetSizeYBase(X0Y0_髪左5.GetSizeYBase() * num); + X0Y0_ハイライト左.SetSizeYBase(X0Y0_ハイライト左.GetSizeYBase() * num); + X0Y0_髪頭頂横左1.SetSizeYBase(X0Y0_髪頭頂横左1.GetSizeYBase() * num); + X0Y0_髪頭頂横左2.SetSizeYBase(X0Y0_髪頭頂横左2.GetSizeYBase() * num); + X0Y0_髪右1.SetSizeYBase(X0Y0_髪右1.GetSizeYBase() * num); + X0Y0_髪右2.SetSizeYBase(X0Y0_髪右2.GetSizeYBase() * num); + X0Y0_髪右3.SetSizeYBase(X0Y0_髪右3.GetSizeYBase() * num); + X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num); + X0Y0_編み右_編節1_髪節.SetSizeYBase(X0Y0_編み右_編節1_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節1_髪編目.SetSizeYBase(X0Y0_編み右_編節1_髪編目.GetSizeYBase() * num); + X0Y0_編み右_編節2_髪節.SetSizeYBase(X0Y0_編み右_編節2_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節2_髪編目.SetSizeYBase(X0Y0_編み右_編節2_髪編目.GetSizeYBase() * num); + X0Y0_編み右_編節3_髪節.SetSizeYBase(X0Y0_編み右_編節3_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節3_髪編目.SetSizeYBase(X0Y0_編み右_編節3_髪編目.GetSizeYBase() * num); + X0Y0_髪ハネ右.SetSizeYBase(X0Y0_髪ハネ右.GetSizeYBase() * num); + X0Y0_髪右5.SetSizeYBase(X0Y0_髪右5.GetSizeYBase() * num); + X0Y0_ハイライト右.SetSizeYBase(X0Y0_ハイライト右.GetSizeYBase() * num); + X0Y0_髪頭頂横右1.SetSizeYBase(X0Y0_髪頭頂横右1.GetSizeYBase() * num); + X0Y0_髪頭頂横右2.SetSizeYBase(X0Y0_髪頭頂横右2.GetSizeYBase() * num); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_二分1D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_二分1D.cs index a6d891f..0491197 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_二分1D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_二分1D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_二分2.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_二分2.cs index 86a6a0b..70d335d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_二分2.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_二分2.cs @@ -736,10 +736,10 @@ namespace SlaveMatrix set { double num = 0.9 + 0.2 * value; - X0Y0_髪左1.SizeYBase *= num; - X0Y0_髪左2.SizeYBase *= num; - X0Y0_髪右1.SizeYBase *= num; - X0Y0_髪右2.SizeYBase *= num; + X0Y0_髪左1.SetSizeYBase(X0Y0_髪左1.GetSizeYBase() * num); + X0Y0_髪左2.SetSizeYBase(X0Y0_髪左2.GetSizeYBase() * num); + X0Y0_髪右1.SetSizeYBase(X0Y0_髪右1.GetSizeYBase() * num); + X0Y0_髪右2.SetSizeYBase(X0Y0_髪右2.GetSizeYBase() * num); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_二分2D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_二分2D.cs index 78168fd..5ae3e90 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_二分2D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_二分2D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_横流し.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_横流し.cs index e31f632..ce1625e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_横流し.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_横流し.cs @@ -734,35 +734,35 @@ namespace SlaveMatrix set { double num = 0.9 + 0.2 * value; - X0Y0_髪基.SizeYBase *= num; - X0Y0_髪左1.SizeYBase *= num; - X0Y0_髪左2.SizeYBase *= num; - X0Y0_編み左_編節1_髪節.SizeYBase *= num; - X0Y0_編み左_編節1_髪編目.SizeYBase *= num; - X0Y0_編み左_編節2_髪節.SizeYBase *= num; - X0Y0_編み左_編節2_髪編目.SizeYBase *= num; - X0Y0_編み左_編節3_髪節.SizeYBase *= num; - X0Y0_編み左_編節3_髪編目.SizeYBase *= num; - X0Y0_髪ハネ左.SizeYBase *= num; - X0Y0_髪右1.SizeYBase *= num; - X0Y0_編み右_編節1_髪節.SizeYBase *= num; - X0Y0_編み右_編節1_髪編目.SizeYBase *= num; - X0Y0_編み右_編節2_髪節.SizeYBase *= num; - X0Y0_編み右_編節2_髪編目.SizeYBase *= num; - X0Y0_編み右_編節3_髪節.SizeYBase *= num; - X0Y0_編み右_編節3_髪編目.SizeYBase *= num; - X0Y0_髪ハネ右.SizeYBase *= num; - X0Y0_髪右2.SizeYBase *= num; - X0Y0_髪右3.SizeYBase *= num; - X0Y0_髪右4.SizeYBase *= num; - X0Y0_髪右5.SizeYBase *= num; - X0Y0_髪左3.SizeYBase *= num; - X0Y0_髪右6.SizeYBase *= num; - X0Y0_ハイライト.SizeYBase *= num; - X0Y0_髪頭頂横左1.SizeYBase *= num; - X0Y0_髪頭頂横左2.SizeYBase *= num; - X0Y0_髪頭頂横右1.SizeYBase *= num; - X0Y0_髪頭頂横右2.SizeYBase *= num; + X0Y0_髪基.SetSizeYBase(X0Y0_髪基.GetSizeYBase() * num); + X0Y0_髪左1.SetSizeYBase(X0Y0_髪左1.GetSizeYBase() * num); + X0Y0_髪左2.SetSizeYBase(X0Y0_髪左2.GetSizeYBase() * num); + X0Y0_編み左_編節1_髪節.SetSizeYBase(X0Y0_編み左_編節1_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節1_髪編目.SetSizeYBase(X0Y0_編み左_編節1_髪編目.GetSizeYBase() * num); + X0Y0_編み左_編節2_髪節.SetSizeYBase(X0Y0_編み左_編節2_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節2_髪編目.SetSizeYBase(X0Y0_編み左_編節2_髪編目.GetSizeYBase() * num); + X0Y0_編み左_編節3_髪節.SetSizeYBase(X0Y0_編み左_編節3_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節3_髪編目.SetSizeYBase(X0Y0_編み左_編節3_髪編目.GetSizeYBase() * num); + X0Y0_髪ハネ左.SetSizeYBase(X0Y0_髪ハネ左.GetSizeYBase() * num); + X0Y0_髪右1.SetSizeYBase(X0Y0_髪右1.GetSizeYBase() * num); + X0Y0_編み右_編節1_髪節.SetSizeYBase(X0Y0_編み右_編節1_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節1_髪編目.SetSizeYBase(X0Y0_編み右_編節1_髪編目.GetSizeYBase() * num); + X0Y0_編み右_編節2_髪節.SetSizeYBase(X0Y0_編み右_編節2_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節2_髪編目.SetSizeYBase(X0Y0_編み右_編節2_髪編目.GetSizeYBase() * num); + X0Y0_編み右_編節3_髪節.SetSizeYBase(X0Y0_編み右_編節3_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節3_髪編目.SetSizeYBase(X0Y0_編み右_編節3_髪編目.GetSizeYBase() * num); + X0Y0_髪ハネ右.SetSizeYBase(X0Y0_髪ハネ右.GetSizeYBase() * num); + X0Y0_髪右2.SetSizeYBase(X0Y0_髪右2.GetSizeYBase() * num); + X0Y0_髪右3.SetSizeYBase(X0Y0_髪右3.GetSizeYBase() * num); + X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num); + X0Y0_髪右5.SetSizeYBase(X0Y0_髪右5.GetSizeYBase() * num); + X0Y0_髪左3.SetSizeYBase(X0Y0_髪左3.GetSizeYBase() * num); + X0Y0_髪右6.SetSizeYBase(X0Y0_髪右6.GetSizeYBase() * num); + X0Y0_ハイライト.SetSizeYBase(X0Y0_ハイライト.GetSizeYBase() * num); + X0Y0_髪頭頂横左1.SetSizeYBase(X0Y0_髪頭頂横左1.GetSizeYBase() * num); + X0Y0_髪頭頂横左2.SetSizeYBase(X0Y0_髪頭頂横左2.GetSizeYBase() * num); + X0Y0_髪頭頂横右1.SetSizeYBase(X0Y0_髪頭頂横右1.GetSizeYBase() * num); + X0Y0_髪頭頂横右2.SetSizeYBase(X0Y0_髪頭頂横右2.GetSizeYBase() * num); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_横流しD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_横流しD.cs index 7d4b3cd..92ee592 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_横流しD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_横流しD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_目隠れ1.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_目隠れ1.cs index 7d5c796..c5df9b6 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_目隠れ1.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_目隠れ1.cs @@ -694,33 +694,33 @@ namespace SlaveMatrix set { double num = 0.9 + 0.2 * value; - X0Y0_髪左1.SizeYBase *= num; - X0Y0_髪左2.SizeYBase *= num; - X0Y0_編み左_編節1_髪節.SizeYBase *= num; - X0Y0_編み左_編節1_髪編目.SizeYBase *= num; - X0Y0_編み左_編節2_髪節.SizeYBase *= num; - X0Y0_編み左_編節2_髪編目.SizeYBase *= num; - X0Y0_編み左_編節3_髪節.SizeYBase *= num; - X0Y0_編み左_編節3_髪編目.SizeYBase *= num; - X0Y0_髪ハネ左.SizeYBase *= num; - X0Y0_髪左3.SizeYBase *= num; - X0Y0_髪左4.SizeYBase *= num; - X0Y0_髪右1.SizeYBase *= num; - X0Y0_髪右2.SizeYBase *= num; - X0Y0_髪右3.SizeYBase *= num; - X0Y0_髪右4.SizeYBase *= num; - X0Y0_編み右_編節1_髪節.SizeYBase *= num; - X0Y0_編み右_編節1_髪編目.SizeYBase *= num; - X0Y0_編み右_編節2_髪節.SizeYBase *= num; - X0Y0_編み右_編節2_髪編目.SizeYBase *= num; - X0Y0_編み右_編節3_髪節.SizeYBase *= num; - X0Y0_編み右_編節3_髪編目.SizeYBase *= num; - X0Y0_髪ハネ右.SizeYBase *= num; - X0Y0_髪右5.SizeYBase *= num; - X0Y0_髪右6.SizeYBase *= num; - X0Y0_髪右7.SizeYBase *= num; - X0Y0_ハイライト左.SizeYBase *= num; - X0Y0_ハイライト右.SizeYBase *= num; + X0Y0_髪左1.SetSizeYBase(X0Y0_髪左1.GetSizeYBase() * num); + X0Y0_髪左2.SetSizeYBase(X0Y0_髪左2.GetSizeYBase() * num); + X0Y0_編み左_編節1_髪節.SetSizeYBase(X0Y0_編み左_編節1_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節1_髪編目.SetSizeYBase(X0Y0_編み左_編節1_髪編目.GetSizeYBase() * num); + X0Y0_編み左_編節2_髪節.SetSizeYBase(X0Y0_編み左_編節2_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節2_髪編目.SetSizeYBase(X0Y0_編み左_編節2_髪編目.GetSizeYBase() * num); + X0Y0_編み左_編節3_髪節.SetSizeYBase(X0Y0_編み左_編節3_髪節.GetSizeYBase() * num); + X0Y0_編み左_編節3_髪編目.SetSizeYBase(X0Y0_編み左_編節3_髪編目.GetSizeYBase() * num); + X0Y0_髪ハネ左.SetSizeYBase(X0Y0_髪ハネ左.GetSizeYBase() * num); + X0Y0_髪左3.SetSizeYBase(X0Y0_髪左3.GetSizeYBase() * num); + X0Y0_髪左4.SetSizeYBase(X0Y0_髪左4.GetSizeYBase() * num); + X0Y0_髪右1.SetSizeYBase(X0Y0_髪右1.GetSizeYBase() * num); + X0Y0_髪右2.SetSizeYBase(X0Y0_髪右2.GetSizeYBase() * num); + X0Y0_髪右3.SetSizeYBase(X0Y0_髪右3.GetSizeYBase() * num); + X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num); + X0Y0_編み右_編節1_髪節.SetSizeYBase(X0Y0_編み右_編節1_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節1_髪編目.SetSizeYBase(X0Y0_編み右_編節1_髪編目.GetSizeYBase() * num); + X0Y0_編み右_編節2_髪節.SetSizeYBase(X0Y0_編み右_編節2_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節2_髪編目.SetSizeYBase(X0Y0_編み右_編節2_髪編目.GetSizeYBase() * num); + X0Y0_編み右_編節3_髪節.SetSizeYBase(X0Y0_編み右_編節3_髪節.GetSizeYBase() * num); + X0Y0_編み右_編節3_髪編目.SetSizeYBase(X0Y0_編み右_編節3_髪編目.GetSizeYBase() * num); + X0Y0_髪ハネ右.SetSizeYBase(X0Y0_髪ハネ右.GetSizeYBase() * num); + X0Y0_髪右5.SetSizeYBase(X0Y0_髪右5.GetSizeYBase() * num); + X0Y0_髪右6.SetSizeYBase(X0Y0_髪右6.GetSizeYBase() * num); + X0Y0_髪右7.SetSizeYBase(X0Y0_髪右7.GetSizeYBase() * num); + X0Y0_ハイライト左.SetSizeYBase(X0Y0_ハイライト左.GetSizeYBase() * num); + X0Y0_ハイライト右.SetSizeYBase(X0Y0_ハイライト右.GetSizeYBase() * num); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_目隠れ1D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_目隠れ1D.cs index 86dc9c0..39c1160 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_目隠れ1D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_目隠れ1D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_目隠れ2.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_目隠れ2.cs index b8609a1..c36cfd8 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_目隠れ2.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_目隠れ2.cs @@ -736,10 +736,10 @@ namespace SlaveMatrix set { double num = 0.9 + 0.2 * value; - X0Y0_髪左4.SizeYBase *= num; - X0Y0_髪左5.SizeYBase *= num; - X0Y0_髪右4.SizeYBase *= num; - X0Y0_髪右5.SizeYBase *= num; + X0Y0_髪左4.SetSizeYBase(X0Y0_髪左4.GetSizeYBase() * num); + X0Y0_髪左5.SetSizeYBase(X0Y0_髪左5.GetSizeYBase() * num); + X0Y0_髪右4.SetSizeYBase(X0Y0_髪右4.GetSizeYBase() * num); + X0Y0_髪右5.SetSizeYBase(X0Y0_髪右5.GetSizeYBase() * num); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_目隠れ2D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_目隠れ2D.cs index 75b66ee..2328128 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_目隠れ2D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_目隠れ2D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/半身.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/半身.cs index 9c21423..c953404 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/半身.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/半身.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 半身 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/単目.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/単目.cs index 23963ef..96135f8 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/単目.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/単目.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -195,13 +196,13 @@ namespace SlaveMatrix { get { - return X0Y0_黒目_黒目.PositionCont; + return X0Y0_黒目_黒目.GetPositionCont(); } set { - X0Y0_黒目_黒目.PositionCont = value; - X0Y0_黒目_瞳孔.PositionCont = value; - X0Y0_黒目_ハート.PositionCont = value; + X0Y0_黒目_黒目.SetPositionCont(value); + X0Y0_黒目_瞳孔.SetPositionCont(value); + X0Y0_黒目_ハート.SetPositionCont(value); } } @@ -304,14 +305,14 @@ namespace SlaveMatrix public void 猫目() { - X0Y0_黒目_瞳孔.SizeXBase *= 0.25; - X0Y0_黒目_瞳孔.SizeYBase *= 1.5; + X0Y0_黒目_瞳孔.SetSizeXBase(X0Y0_黒目_瞳孔.GetSizeXBase() * 0.25); + X0Y0_黒目_瞳孔.SetSizeYBase(X0Y0_黒目_瞳孔.GetSizeYBase() * 1.5); } public void 蛸目() { - X0Y0_黒目_瞳孔.SizeXBase *= 2.0; - X0Y0_黒目_瞳孔.SizeYBase *= 0.5; + X0Y0_黒目_瞳孔.SetSizeXBase(X0Y0_黒目_瞳孔.GetSizeXBase() * 2.0); + X0Y0_黒目_瞳孔.SetSizeYBase(X0Y0_黒目_瞳孔.GetSizeYBase() * 0.5); } public override void 色更新() diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/単目D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/単目D.cs index b34b782..7b71e41 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/単目D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/単目D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/単眼眉.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/単眼眉.cs index 0ff62c2..6867023 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/単眼眉.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/単眼眉.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -173,7 +174,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_眉CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/単眼眉D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/単眼眉D.cs index 0ef24a5..dce9c4a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/単眼眉D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/単眼眉D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/単瞼.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/単瞼.cs index 1832cec..9b1d8b0 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/単瞼.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/単瞼.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -1042,26 +1043,26 @@ namespace SlaveMatrix set { double num = 0.9 + 0.55 * value; - X0Y0_瞼上.PenWidth *= num; - X0Y1_瞼上.PenWidth *= num; - X0Y2_瞼上.PenWidth *= num; - X0Y3_瞼上.PenWidth *= num; - X0Y4_瞼上.PenWidth *= num; - X1Y0_瞼上.PenWidth *= num; - X1Y1_瞼上.PenWidth *= num; - X1Y2_瞼上.PenWidth *= num; - X1Y3_瞼上.PenWidth *= num; - X1Y4_瞼上.PenWidth *= num; - X0Y0_瞼下.PenWidth *= num; - X0Y1_瞼下.PenWidth *= num; - X0Y2_瞼下.PenWidth *= num; - X0Y3_瞼下.PenWidth *= num; - X0Y4_瞼下.PenWidth *= num; - X1Y0_瞼下.PenWidth *= num; - X1Y1_瞼下.PenWidth *= num; - X1Y2_瞼下.PenWidth *= num; - X1Y3_瞼下.PenWidth *= num; - X1Y4_瞼下.PenWidth *= num; + X0Y0_瞼上.SetPenWidth(X0Y0_瞼上.GetPenWidth() * num); + X0Y1_瞼上.SetPenWidth(X0Y1_瞼上.GetPenWidth() * num); + X0Y2_瞼上.SetPenWidth(X0Y2_瞼上.GetPenWidth() * num); + X0Y3_瞼上.SetPenWidth(X0Y3_瞼上.GetPenWidth() * num); + X0Y4_瞼上.SetPenWidth(X0Y4_瞼上.GetPenWidth() * num); + X1Y0_瞼上.SetPenWidth(X1Y0_瞼上.GetPenWidth() * num); + X1Y1_瞼上.SetPenWidth(X1Y1_瞼上.GetPenWidth() * num); + X1Y2_瞼上.SetPenWidth(X1Y2_瞼上.GetPenWidth() * num); + X1Y3_瞼上.SetPenWidth(X1Y3_瞼上.GetPenWidth() * num); + X1Y4_瞼上.SetPenWidth(X1Y4_瞼上.GetPenWidth() * num); + X0Y0_瞼下.SetPenWidth(X0Y0_瞼下.GetPenWidth() * num); + X0Y1_瞼下.SetPenWidth(X0Y1_瞼下.GetPenWidth() * num); + X0Y2_瞼下.SetPenWidth(X0Y2_瞼下.GetPenWidth() * num); + X0Y3_瞼下.SetPenWidth(X0Y3_瞼下.GetPenWidth() * num); + X0Y4_瞼下.SetPenWidth(X0Y4_瞼下.GetPenWidth() * num); + X1Y0_瞼下.SetPenWidth(X1Y0_瞼下.GetPenWidth() * num); + X1Y1_瞼下.SetPenWidth(X1Y1_瞼下.GetPenWidth() * num); + X1Y2_瞼下.SetPenWidth(X1Y2_瞼下.GetPenWidth() * num); + X1Y3_瞼下.SetPenWidth(X1Y3_瞼下.GetPenWidth() * num); + X1Y4_瞼下.SetPenWidth(X1Y4_瞼下.GetPenWidth() * num); } } @@ -1261,9 +1262,9 @@ namespace SlaveMatrix double rate = 0.98 + 0.06 * サイズ_; foreach (Par item in Body.EnumAllPar()) { - Vector2D center = item.OP.GetCenter(); - item.OP.ScalingXY(center, rate); - item.JP.ScalingXY(center, rate); + Vector2D center = item.GetOP().GetCenter(); + item.GetOP().ScalingXY(center, rate); + item.GetJP().ScalingXY(center, rate); } } } @@ -1606,16 +1607,16 @@ namespace SlaveMatrix { double num = 0.0; double num2 = 1.5; - Vector2D value = p.BasePointBase + (p.OP[0].ps[0] - p.BasePointBase) * (num + (num2 - num) * d); - p.OP[2].ps[2] = value; - p.OP[0].ps[0] = value; + Vector2D value = p.GetBasePointBase() + (p.GetOP()[0].ps[0] - p.GetBasePointBase()) * (num + (num2 - num) * d); + p.GetOP()[2].ps[2] = value; + p.GetOP()[0].ps[0] = value; } public override void 色更新() { - if (Body.IndexX == 0) + if (Body.GetIndexX() == 0) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_瞼下CP.Update(); @@ -1696,7 +1697,7 @@ namespace SlaveMatrix } else { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X1Y0_瞼下CP.Update(); @@ -1779,9 +1780,9 @@ namespace SlaveMatrix public override void 色更新(Vector2D[] mm) { - if (Body.IndexX == 0) + if (Body.GetIndexX() == 0) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_瞼下CP.Update(mm); @@ -1862,7 +1863,7 @@ namespace SlaveMatrix } else { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X1Y0_瞼下CP.Update(mm); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/単瞼D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/単瞼D.cs index d1e9fae..3008812 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/単瞼D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/単瞼D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/単足_植.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/単足_植.cs index 54478b7..db487ef 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/単足_植.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/単足_植.cs @@ -1,6 +1,7 @@ using System.Collections.Generic; using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -1163,7 +1164,7 @@ namespace SlaveMatrix public override void SetAngle0() { _ = 右; - X0Y0_幹下.AngleBase = 10.0.GetRanAngle(); + X0Y0_幹下.SetAngleBase(10.0.GetRanAngle()); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/単足_植D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/単足_植D.cs index 1a8f6cd..aa52a58 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/単足_植D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/単足_植D.cs @@ -2,6 +2,7 @@ using System; using System.Collections.Generic; using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/単足_粘D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/単足_粘D.cs index 2c65744..53119ed 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/単足_粘D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/単足_粘D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/双目.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/双目.cs index ef4f4b8..42e0055 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/双目.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/双目.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -195,13 +196,13 @@ namespace SlaveMatrix { get { - return X0Y0_黒目_黒目.PositionCont; + return X0Y0_黒目_黒目.GetPositionCont(); } set { - X0Y0_黒目_黒目.PositionCont = value; - X0Y0_黒目_瞳孔.PositionCont = value; - X0Y0_黒目_ハート.PositionCont = value; + X0Y0_黒目_黒目.SetPositionCont(value); + X0Y0_黒目_瞳孔.SetPositionCont(value); + X0Y0_黒目_ハート.SetPositionCont(value); } } @@ -303,14 +304,14 @@ namespace SlaveMatrix public void 猫目() { - X0Y0_黒目_瞳孔.SizeXBase *= 0.25; - X0Y0_黒目_瞳孔.SizeYBase *= 1.5; + X0Y0_黒目_瞳孔.SetSizeXBase(X0Y0_黒目_瞳孔.GetSizeXBase() * 0.25); + X0Y0_黒目_瞳孔.SetSizeYBase(X0Y0_黒目_瞳孔.GetSizeYBase() * 1.5); } public void 蛸目() { - X0Y0_黒目_瞳孔.SizeXBase *= 2.0; - X0Y0_黒目_瞳孔.SizeYBase *= 0.5; + X0Y0_黒目_瞳孔.SetSizeXBase(X0Y0_黒目_瞳孔.GetSizeXBase() * 2.0); + X0Y0_黒目_瞳孔.SetSizeYBase(X0Y0_黒目_瞳孔.GetSizeYBase() * 0.5); } public override void 色更新() diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/双目D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/双目D.cs index fad849f..fc33b10 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/双目D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/双目D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/双瞼.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/双瞼.cs index 1b5d156..9612c9a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/双瞼.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/双瞼.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 双瞼 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/口.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/口.cs index 3ae1c19..67bb901 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/口.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/口.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 口 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/口_裂け.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/口_裂け.cs index 0c4da3a..1bed4f9 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/口_裂け.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/口_裂け.cs @@ -794,25 +794,25 @@ namespace SlaveMatrix ハイライト濃度 = e.ハイライト濃度; Intensity = e.濃度; double y = 1.5E-05; - X0Y0_口.BasePointBase = X0Y0_口.BasePointBase.AddY(y); - X0Y1_口.BasePointBase = X0Y1_口.BasePointBase.AddY(y); - X0Y2_口.BasePointBase = X0Y2_口.BasePointBase.AddY(y); - X0Y3_口.BasePointBase = X0Y3_口.BasePointBase.AddY(y); - X0Y4_口.BasePointBase = X0Y4_口.BasePointBase.AddY(y); - X0Y5_口.BasePointBase = X0Y5_口.BasePointBase.AddY(y); - X0Y6_口.BasePointBase = X0Y6_口.BasePointBase.AddY(y); - X0Y7_口.BasePointBase = X0Y7_口.BasePointBase.AddY(y); - X0Y8_口.BasePointBase = X0Y8_口.BasePointBase.AddY(y); - X0Y9_口.BasePointBase = X0Y9_口.BasePointBase.AddY(y); - X0Y10_口.BasePointBase = X0Y10_口.BasePointBase.AddY(y); - X0Y11_口.BasePointBase = X0Y11_口.BasePointBase.AddY(y); - X0Y12_口.BasePointBase = X0Y12_口.BasePointBase.AddY(y); - X0Y13_口.BasePointBase = X0Y13_口.BasePointBase.AddY(y); + X0Y0_口.SetBasePointBase(X0Y0_口.GetBasePointBase().AddY(y)); + X0Y1_口.SetBasePointBase(X0Y1_口.GetBasePointBase().AddY(y)); + X0Y2_口.SetBasePointBase(X0Y2_口.GetBasePointBase().AddY(y)); + X0Y3_口.SetBasePointBase(X0Y3_口.GetBasePointBase().AddY(y)); + X0Y4_口.SetBasePointBase(X0Y4_口.GetBasePointBase().AddY(y)); + X0Y5_口.SetBasePointBase(X0Y5_口.GetBasePointBase().AddY(y)); + X0Y6_口.SetBasePointBase(X0Y6_口.GetBasePointBase().AddY(y)); + X0Y7_口.SetBasePointBase(X0Y7_口.GetBasePointBase().AddY(y)); + X0Y8_口.SetBasePointBase(X0Y8_口.GetBasePointBase().AddY(y)); + X0Y9_口.SetBasePointBase(X0Y9_口.GetBasePointBase().AddY(y)); + X0Y10_口.SetBasePointBase(X0Y10_口.GetBasePointBase().AddY(y)); + X0Y11_口.SetBasePointBase(X0Y11_口.GetBasePointBase().AddY(y)); + X0Y12_口.SetBasePointBase(X0Y12_口.GetBasePointBase().AddY(y)); + X0Y13_口.SetBasePointBase(X0Y13_口.GetBasePointBase().AddY(y)); } public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_口CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/口_裂けD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/口_裂けD.cs index 87cd441..007443d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/口_裂けD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/口_裂けD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/口_通常.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/口_通常.cs index 2e59071..2ca4496 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/口_通常.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/口_通常.cs @@ -1053,7 +1053,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_口CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/口_通常D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/口_通常D.cs index f672a25..7b5f691 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/口_通常D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/口_通常D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/吹出し.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/吹出し.cs index a2e12a9..e24a0ce 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/吹出し.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/吹出し.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -99,7 +100,7 @@ namespace SlaveMatrix 吹出しCD.線 = Col.Black; 吹出しCD.色 = new Color2(ref Col.White, ref Col.Empty); X0Y0_吹出しCP = new ColorP(X0Y0_吹出し, 吹出しCD, DisUnit, abj: true); - X0Y0_吹出し.BasePointBase = X0Y0_吹出し.BasePointBase.AddX(-0.015); + X0Y0_吹出し.SetBasePointBase(X0Y0_吹出し.GetBasePointBase().AddX(-0.015)); } public override void 色更新() diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/呼気.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/呼気.cs index 6a221c4..e0dd1e7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/呼気.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/呼気.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -516,7 +517,7 @@ namespace SlaveMatrix public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_呼気左1_呼気1CP.Update(); X0Y0_呼気左1_呼気2CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/呼気D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/呼気D.cs index 7320a34..69b9fd9 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/呼気D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/呼気D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/咳D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/咳D.cs index 8c622a8..747ea65 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/咳D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/咳D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/噴乳.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/噴乳.cs index 4ebcc3f..f7e8419 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/噴乳.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/噴乳.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -462,7 +463,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_母乳垂れ1CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/噴乳D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/噴乳D.cs index 4d1ed48..4ada4a8 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/噴乳D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/噴乳D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足胴.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足胴.cs index c436e70..1d1809c 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足胴.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足胴.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足胴D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足胴D.cs index baec8cb..db3b5f9 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足胴D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足胴D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足胸.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足胸.cs index 6842c5c..24a457e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足胸.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足胸.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足胸D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足胸D.cs index 31df30a..9fbd5b3 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足胸D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足胸D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足脇.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足脇.cs index 0a78c1c..18e835c 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足脇.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足脇.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; using System.Linq; namespace SlaveMatrix diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足脇D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足脇D.cs index 5021eb5..4191985 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足脇D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足脇D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足腰.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足腰.cs index 5211158..03222f3 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足腰.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足腰.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -1899,28 +1900,28 @@ namespace SlaveMatrix Intensity = e.濃度; 尺度YB = 0.96; double num = 1.0025; - X0Y0_臍.BasePointBase = new Vector2D(X0Y0_臍.BasePointBase.X, 0.363998381176966); - X0Y1_臍.BasePointBase = new Vector2D(X0Y1_臍.BasePointBase.X, 0.363099175689868); - X0Y2_臍.BasePointBase = new Vector2D(X0Y2_臍.BasePointBase.X, 0.362199970202771); - X0Y3_臍.BasePointBase = new Vector2D(X0Y3_臍.BasePointBase.X, 0.361300764715674); - X0Y4_臍.BasePointBase = new Vector2D(X0Y4_臍.BasePointBase.X, 0.360401559228577); + X0Y0_臍.SetBasePointBase(new Vector2D(X0Y0_臍.GetBasePointBase().X, 0.363998381176966)); + X0Y1_臍.SetBasePointBase(new Vector2D(X0Y1_臍.GetBasePointBase().X, 0.363099175689868)); + X0Y2_臍.SetBasePointBase(new Vector2D(X0Y2_臍.GetBasePointBase().X, 0.362199970202771)); + X0Y3_臍.SetBasePointBase(new Vector2D(X0Y3_臍.GetBasePointBase().X, 0.361300764715674)); + X0Y4_臍.SetBasePointBase(new Vector2D(X0Y4_臍.GetBasePointBase().X, 0.360401559228577)); num = 1.5; - X0Y0_臍.SizeBase *= num; - X0Y1_臍.SizeBase *= num; - X0Y2_臍.SizeBase *= num; - X0Y3_臍.SizeBase *= num; - X0Y4_臍.SizeBase *= num; + X0Y0_臍.SetSizeBase(X0Y0_臍.GetSizeBase() * num); + X0Y1_臍.SetSizeBase(X0Y1_臍.GetSizeBase() * num); + X0Y2_臍.SetSizeBase(X0Y2_臍.GetSizeBase() * num); + X0Y3_臍.SetSizeBase(X0Y3_臍.GetSizeBase() * num); + X0Y4_臍.SetSizeBase(X0Y4_臍.GetSizeBase() * num); num = 0.6; - X0Y0_臍.SizeXBase *= num; - X0Y1_臍.SizeXBase *= num; - X0Y2_臍.SizeXBase *= num; - X0Y3_臍.SizeXBase *= num; - X0Y4_臍.SizeXBase *= num; + X0Y0_臍.SetSizeXBase(X0Y0_臍.GetSizeXBase() * num); + X0Y1_臍.SetSizeXBase(X0Y1_臍.GetSizeXBase() * num); + X0Y2_臍.SetSizeXBase(X0Y2_臍.GetSizeXBase() * num); + X0Y3_臍.SetSizeXBase(X0Y3_臍.GetSizeXBase() * num); + X0Y4_臍.SetSizeXBase(X0Y4_臍.GetSizeXBase() * num); } public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_WaistCP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足腰D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足腰D.cs index a7ac2fc..9a96652 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足腰D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/四足腰D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/基髪.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/基髪.cs index adc68b9..352958f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/基髪.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/基髪.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/基髪D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/基髪D.cs index 881d57d..fa3af0a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/基髪D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/基髪D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/多足_蛸.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/多足_蛸.cs index 77ba5db..ba6fda0 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/多足_蛸.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/多足_蛸.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/多足_蛸D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/多足_蛸D.cs index 7dd7263..b92ea36 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/多足_蛸D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/多足_蛸D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/多足_蜘.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/多足_蜘.cs index bd4b64b..6bd9f02 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/多足_蜘.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/多足_蜘.cs @@ -1,6 +1,7 @@ using System.Collections.Generic; using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/多足_蜘D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/多足_蜘D.cs index 533a974..397b841 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/多足_蜘D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/多足_蜘D.cs @@ -2,6 +2,7 @@ using System; using System.Collections.Generic; using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/多足_蠍.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/多足_蠍.cs index 4970b22..e42ba44 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/多足_蠍.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/多足_蠍.cs @@ -1,6 +1,7 @@ using System.Collections.Generic; using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -941,8 +942,8 @@ namespace SlaveMatrix set { くぱぁ_ = value; - X0Y0_生殖口蓋左.AngleBase = 18.0 * くぱぁ_; - X0Y0_生殖口蓋右.AngleBase = -18.0 * くぱぁ_; + X0Y0_生殖口蓋左.SetAngleBase(18.0 * くぱぁ_); + X0Y0_生殖口蓋右.SetAngleBase(-18.0 * くぱぁ_); } } @@ -1296,23 +1297,23 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_基節_基節左0.AngleBase = num * 39.0; - X0Y0_基節_基節左1.AngleBase = num * 22.0; - X0Y0_基節_基節左2.AngleBase = num * -11.0; - X0Y0_基節_基節左3.AngleBase = num * -36.0; - X0Y0_基節_基節左4.AngleBase = num * -45.0; - X0Y0_基節_基節右0.AngleBase = num * -39.0; - X0Y0_基節_基節右1.AngleBase = num * -22.0; - X0Y0_基節_基節右2.AngleBase = num * 11.0; - X0Y0_基節_基節右3.AngleBase = num * 36.0; - X0Y0_基節_基節右4.AngleBase = num * 45.0; + X0Y0_基節_基節左0.SetAngleBase(num * 39.0); + X0Y0_基節_基節左1.SetAngleBase(num * 22.0); + X0Y0_基節_基節左2.SetAngleBase(num * -11.0); + X0Y0_基節_基節左3.SetAngleBase(num * -36.0); + X0Y0_基節_基節左4.SetAngleBase(num * -45.0); + X0Y0_基節_基節右0.SetAngleBase(num * -39.0); + X0Y0_基節_基節右1.SetAngleBase(num * -22.0); + X0Y0_基節_基節右2.SetAngleBase(num * 11.0); + X0Y0_基節_基節右3.SetAngleBase(num * 36.0); + X0Y0_基節_基節右4.SetAngleBase(num * 45.0); double maxAngle = 10.0; - X0Y0_前腹_腹節7_節0.AngleBase = maxAngle.GetRanAngle(); - X0Y0_前腹_腹節6_節0.AngleBase = maxAngle.GetRanAngle(); - X0Y0_前腹_腹節5_節0.AngleBase = maxAngle.GetRanAngle(); - X0Y0_前腹_腹節4_節0.AngleBase = maxAngle.GetRanAngle(); - X0Y0_前腹_腹節3_節0.AngleBase = maxAngle.GetRanAngle(); - X0Y0_前腹_腹節2_節0.AngleBase = maxAngle.GetRanAngle(); + X0Y0_前腹_腹節7_節0.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_前腹_腹節6_節0.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_前腹_腹節5_節0.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_前腹_腹節4_節0.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_前腹_腹節3_節0.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_前腹_腹節2_節0.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/多足_蠍D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/多足_蠍D.cs index 1fb9188..f5f3201 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/多足_蠍D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/多足_蠍D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/大顎.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/大顎.cs index 198c8c6..53d128c 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/大顎.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/大顎.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -113,7 +114,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -537,9 +538,9 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_牙.AngleBase = num * -22.0; - X0Y1_牙.AngleBase = num * -22.0; - X0Y0_輪_革.AngleBase = num * -21.0; + X0Y0_牙.SetAngleBase(num * -22.0); + X0Y1_牙.SetAngleBase(num * -22.0); + X0Y0_輪_革.SetAngleBase(num * -21.0); Body.JoinPAall(); } @@ -563,7 +564,7 @@ namespace SlaveMatrix public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_棘_棘1CP.Update(); X0Y0_棘_棘2CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/大顎D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/大顎D.cs index f69ee8f..7e88382 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/大顎D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/大顎D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/大顎上.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/大顎上.cs index fcc56ca..4466268 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/大顎上.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/大顎上.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/大顎基.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/大顎基.cs index 1906047..5ea90de 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/大顎基.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/大顎基.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/大顎基D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/大顎基D.cs index bb3b7c6..8b380e4 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/大顎基D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/大顎基D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/射精.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/射精.cs index c9fd6cc..5143fb7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/射精.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/射精.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -382,9 +383,9 @@ namespace SlaveMatrix public override void 色更新() { - if (Body.IndexX == 0) + if (Body.GetIndexX() == 0) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_精液CP.Update(); @@ -410,7 +411,7 @@ namespace SlaveMatrix } return; } - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X1Y0_精液CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾.cs index 4e225fd..8071ba4 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾.cs @@ -1,5 +1,6 @@ using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ウ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ウ.cs index 02a3020..ab195bc 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ウ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ウ.cs @@ -1,6 +1,7 @@ using System.Collections.Generic; using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -4256,27 +4257,27 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 20.0; - X0Y0_尾20_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾19_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾18_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾17_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾16_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾15_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾14_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾13_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾12_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾11_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾10_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾9_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾8_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾7_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾6_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾5_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾4_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾3_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾2_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾1_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾0_尾.AngleBase = maxAngle.GetRanAngle(); + X0Y0_尾20_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾19_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾18_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾17_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾16_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾15_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾14_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾13_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾12_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾11_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾10_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾9_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾8_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾7_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾6_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾5_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾4_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾3_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾2_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾1_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾0_尾.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); if (尾先_接続 != null) { @@ -4286,7 +4287,7 @@ namespace SlaveMatrix public override void Set尾先角度() { - X0Y0_尾20_尾.AngleBase = 0.0; + X0Y0_尾20_尾.SetAngleBase(0.0); } public override bool Is革(Par p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ウD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ウD.cs index 282472b..630f6ce 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ウD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ウD.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ガ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ガ.cs index 9afc708..ef4e18a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ガ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ガ.cs @@ -2689,17 +2689,17 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 20.0; - X0Y0_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾9_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾8_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾7_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾6_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾5_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾4_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾3_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾2_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾1_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾0_尾.AngleBase = maxAngle.GetRanAngle(); + X0Y0_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾9_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾8_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾7_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾6_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾5_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾4_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾3_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾2_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾1_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾0_尾.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ガD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ガD.cs index b6bd779..a6393e0 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ガD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ガD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ヘ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ヘ.cs index b0c172f..a76fb47 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ヘ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ヘ.cs @@ -1,6 +1,7 @@ using System.Collections.Generic; using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -6897,42 +6898,42 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 20.0; - X0Y0_尾35_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾34_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾33_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾32_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾31_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾30_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾29_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾28_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾27_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾26_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾25_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾24_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾23_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾22_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾21_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾20_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾19_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾18_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾17_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾16_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾15_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾14_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾13_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾12_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾11_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾10_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾9_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾8_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾7_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾6_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾5_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾4_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾3_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾2_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾1_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾0_尾.AngleBase = maxAngle.GetRanAngle(); + X0Y0_尾35_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾34_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾33_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾32_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾31_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾30_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾29_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾28_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾27_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾26_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾25_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾24_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾23_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾22_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾21_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾20_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾19_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾18_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾17_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾16_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾15_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾14_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾13_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾12_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾11_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾10_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾9_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾8_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾7_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾6_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾5_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾4_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾3_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾2_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾1_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾0_尾.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); if (尾先_接続 != null) { @@ -6942,22 +6943,22 @@ namespace SlaveMatrix public override void Set尾先角度() { - X0Y0_尾35_尾.AngleBase = 0.0; - X0Y0_尾34_尾.AngleBase = 0.0; - X0Y0_尾33_尾.AngleBase = 0.0; - X0Y0_尾32_尾.AngleBase = 0.0; - X0Y0_尾31_尾.AngleBase = 0.0; - X0Y0_尾30_尾.AngleBase = 0.0; - X0Y0_尾29_尾.AngleBase = 0.0; - X0Y0_尾28_尾.AngleBase = 0.0; - X0Y0_尾27_尾.AngleBase = 0.0; - X0Y0_尾26_尾.AngleBase = 0.0; - X0Y0_尾25_尾.AngleBase = 0.0; - X0Y0_尾24_尾.AngleBase = 0.0; - X0Y0_尾23_尾.AngleBase = 0.0; - X0Y0_尾22_尾.AngleBase = 0.0; - X0Y0_尾21_尾.AngleBase = 0.0; - X0Y0_尾20_尾.AngleBase = 0.0; + X0Y0_尾35_尾.SetAngleBase(0.0); + X0Y0_尾34_尾.SetAngleBase(0.0); + X0Y0_尾33_尾.SetAngleBase(0.0); + X0Y0_尾32_尾.SetAngleBase(0.0); + X0Y0_尾31_尾.SetAngleBase(0.0); + X0Y0_尾30_尾.SetAngleBase(0.0); + X0Y0_尾29_尾.SetAngleBase(0.0); + X0Y0_尾28_尾.SetAngleBase(0.0); + X0Y0_尾27_尾.SetAngleBase(0.0); + X0Y0_尾26_尾.SetAngleBase(0.0); + X0Y0_尾25_尾.SetAngleBase(0.0); + X0Y0_尾24_尾.SetAngleBase(0.0); + X0Y0_尾23_尾.SetAngleBase(0.0); + X0Y0_尾22_尾.SetAngleBase(0.0); + X0Y0_尾21_尾.SetAngleBase(0.0); + X0Y0_尾20_尾.SetAngleBase(0.0); } public override bool Is革(Par p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ヘD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ヘD.cs index b52b489..f00540c 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ヘD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ヘD.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_悪.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_悪.cs index 25bc49b..9930c75 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_悪.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_悪.cs @@ -838,25 +838,25 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 20.0; - X0Y0_尾0.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾1.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾2.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾3.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾4.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾5.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾6.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾7.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾8.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾9.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾10.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾11.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾12.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾13.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾14.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾15.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾16.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾17.AngleBase = maxAngle.GetRanAngle(); - X0Y0_先端_尾.AngleBase = maxAngle.GetRanAngle(); + X0Y0_尾0.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾1.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾2.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾3.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾4.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾5.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾6.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾7.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾8.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾9.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾10.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾11.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾12.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾13.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾14.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾15.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾16.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾17.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_先端_尾.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_悪D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_悪D.cs index a7978d2..f890d8a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_悪D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_悪D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_根.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_根.cs index b68e342..278c24c 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_根.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_根.cs @@ -1729,25 +1729,25 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 20.0; - X0Y0_尾0_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾1_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾2_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾3_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾4_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾5_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾6_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾7_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾8_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾9_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾10_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾11_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾12_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾13_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾14_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾15_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾16_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾17_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾18.AngleBase = maxAngle.GetRanAngle(); + X0Y0_尾0_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾1_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾2_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾3_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾4_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾5_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾6_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾7_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾8_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾9_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾10_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾11_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾12_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾13_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾14_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾15_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾16_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾17_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾18.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_根D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_根D.cs index df31f06..23d80f5 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_根D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_根D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_淫.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_淫.cs index 7922c4a..f4903b9 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_淫.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_淫.cs @@ -838,25 +838,25 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 20.0; - X0Y0_尾0.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾1.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾2.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾3.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾4.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾5.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾6.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾7.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾8.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾9.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾10.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾11.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾12.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾13.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾14.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾15.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾16.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾17.AngleBase = maxAngle.GetRanAngle(); - X0Y0_先端_尾.AngleBase = maxAngle.GetRanAngle(); + X0Y0_尾0.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾1.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾2.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾3.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾4.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾5.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾6.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾7.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾8.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾9.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾10.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾11.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾12.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾13.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾14.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾15.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾16.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾17.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_先端_尾.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_淫D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_淫D.cs index 0c06af2..b6ec21e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_淫D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_淫D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_牛.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_牛.cs index 6abf308..e5e9673 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_牛.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_牛.cs @@ -1283,54 +1283,54 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 20.0; - X0Y0_尾0.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾1.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾2.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾3.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾4.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾5.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾6.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾7.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_尾0.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_尾1.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_尾2.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_尾3.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_尾4.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_中央_尾0.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_中央_尾1.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_中央_尾2.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_中央_尾3.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_中央_尾4.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_中央_尾5.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_中央_尾6.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_左2_尾0.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_左2_尾1.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_左2_尾2.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_左2_尾3.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_左2_尾4.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_左2_尾5.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_左2_尾6.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_左1_尾0.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_左1_尾1.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_左1_尾2.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_左1_尾3.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_左1_尾4.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_左1_尾5.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_左1_尾6.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_右2_尾0.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_右2_尾1.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_右2_尾2.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_右2_尾3.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_右2_尾4.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_右2_尾5.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_右2_尾6.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_右1_尾0.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_右1_尾1.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_右1_尾2.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_右1_尾3.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_右1_尾4.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_右1_尾5.AngleBase = maxAngle.GetRanAngle(); - X0Y0_毛尾_右1_尾6.AngleBase = maxAngle.GetRanAngle(); + X0Y0_尾0.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾1.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾2.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾3.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾4.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾5.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾6.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾7.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_尾0.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_尾1.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_尾2.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_尾3.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_尾4.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_中央_尾0.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_中央_尾1.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_中央_尾2.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_中央_尾3.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_中央_尾4.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_中央_尾5.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_中央_尾6.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_左2_尾0.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_左2_尾1.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_左2_尾2.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_左2_尾3.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_左2_尾4.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_左2_尾5.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_左2_尾6.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_左1_尾0.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_左1_尾1.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_左1_尾2.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_左1_尾3.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_左1_尾4.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_左1_尾5.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_左1_尾6.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_右2_尾0.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_右2_尾1.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_右2_尾2.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_右2_尾3.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_右2_尾4.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_右2_尾5.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_右2_尾6.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_右1_尾0.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_右1_尾1.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_右1_尾2.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_右1_尾3.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_右1_尾4.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_右1_尾5.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_毛尾_右1_尾6.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_牛D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_牛D.cs index 2fce063..c2dbdb7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_牛D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_牛D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_犬.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_犬.cs index b0fa36a..04db923 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_犬.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_犬.cs @@ -310,14 +310,14 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 20.0; - X0Y0_尾0.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾1.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾2.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾3.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾4.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾5.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾6.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾7.AngleBase = maxAngle.GetRanAngle(); + X0Y0_尾0.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾1.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾2.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾3.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾4.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾5.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾6.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾7.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_犬D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_犬D.cs index 082f995..5fac139 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_犬D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_犬D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_狐.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_狐.cs index 8b67fe0..685a17d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_狐.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_狐.cs @@ -410,18 +410,18 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 20.0; - X0Y0_尾0.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾1.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾2.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾3.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾4.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾5.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾6.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾7.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾8.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾9.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾10.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾11.AngleBase = maxAngle.GetRanAngle(); + X0Y0_尾0.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾1.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾2.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾3.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾4.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾5.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾6.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾7.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾8.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾9.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾10.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾11.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_狐D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_狐D.cs index e740d0f..b7a1d0a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_狐D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_狐D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_猫.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_猫.cs index 60ecb68..d8b9e64 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_猫.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_猫.cs @@ -458,20 +458,20 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 20.0; - X0Y0_尾0.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾1.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾2.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾3.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾4.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾5.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾6.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾7.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾8.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾9.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾10.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾11.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾12.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾13.AngleBase = maxAngle.GetRanAngle(); + X0Y0_尾0.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾1.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾2.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾3.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾4.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾5.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾6.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾7.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾8.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾9.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾10.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾11.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾12.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾13.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_猫D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_猫D.cs index 2989c08..eb7e48a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_猫D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_猫D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_短.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_短.cs index 822cd82..a401e9e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_短.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_短.cs @@ -262,12 +262,12 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 20.0; - X0Y0_尾0.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾1.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾2.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾3.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾4.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾5.AngleBase = maxAngle.GetRanAngle(); + X0Y0_尾0.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾1.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾2.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾3.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾4.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾5.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_短D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_短D.cs index be0c6d4..d9225b3 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_短D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_短D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_竜.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_竜.cs index ba7d019..d1e5122 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_竜.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_竜.cs @@ -994,24 +994,24 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 20.0; - X0Y0_尾17.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾16.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾15.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾14.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾13.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾12.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾11.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾10.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾9.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾8.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾7.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾6.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾5.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾4.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾3.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾2.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾1.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾0.AngleBase = maxAngle.GetRanAngle(); + X0Y0_尾17.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾16.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾15.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾14.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾13.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾12.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾11.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾10.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾9.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾8.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾7.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾6.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾5.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾4.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾3.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾2.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾1.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾0.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_竜D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_竜D.cs index ebd2871..8c26e13 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_竜D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_竜D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_腓.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_腓.cs index c167f26..8c54c49 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_腓.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_腓.cs @@ -5045,43 +5045,43 @@ namespace SlaveMatrix set { double sizeXCont = 0.5 + 0.5 * value; - X0Y0_頚_頚.SizeXCont = sizeXCont; - X0Y0_頚_鱗3_鱗1.SizeXCont = sizeXCont; - X0Y0_頚_鱗3_鱗2.SizeXCont = sizeXCont; - X0Y0_頚_鱗3_鱗3.SizeXCont = sizeXCont; - X0Y0_頚_鱗3_鱗4.SizeXCont = sizeXCont; - X0Y0_頚_鱗3_鱗5.SizeXCont = sizeXCont; - X0Y0_頚_鱗3_鱗6.SizeXCont = sizeXCont; - X0Y0_頚_鱗3_鱗7.SizeXCont = sizeXCont; - X0Y0_頚_鱗3_鱗8.SizeXCont = sizeXCont; - X0Y0_頚_鱗3_鱗9.SizeXCont = sizeXCont; - X0Y0_頚_鱗2_鱗1.SizeXCont = sizeXCont; - X0Y0_頚_鱗2_鱗2.SizeXCont = sizeXCont; - X0Y0_頚_鱗2_鱗3.SizeXCont = sizeXCont; - X0Y0_頚_鱗2_鱗4.SizeXCont = sizeXCont; - X0Y0_頚_鱗2_鱗5.SizeXCont = sizeXCont; - X0Y0_頚_鱗2_鱗6.SizeXCont = sizeXCont; - X0Y0_頚_鱗2_鱗7.SizeXCont = sizeXCont; - X0Y0_頚_鱗2_鱗8.SizeXCont = sizeXCont; - X0Y0_頚_鱗2_鱗9.SizeXCont = sizeXCont; - X0Y0_頚_鱗2_鱗10.SizeXCont = sizeXCont; - X0Y0_頚_鱗1_鱗1_鱗2.SizeXCont = sizeXCont; - X0Y0_頚_鱗1_鱗2_鱗2.SizeXCont = sizeXCont; - X0Y0_頚_鱗1_鱗3_鱗2.SizeXCont = sizeXCont; - X0Y0_頚_鱗1_鱗4_鱗2.SizeXCont = sizeXCont; - X0Y0_頚_鱗1_鱗5_鱗2.SizeXCont = sizeXCont; - X0Y0_頚_鱗1_鱗6_鱗2.SizeXCont = sizeXCont; - X0Y0_頚_鱗1_鱗7_鱗2.SizeXCont = sizeXCont; - X0Y0_頚_鱗1_鱗8_鱗2.SizeXCont = sizeXCont; - X0Y0_頚_鱗1_鱗9_鱗2.SizeXCont = sizeXCont; - X0Y0_頚_鱗1_鱗10_鱗2.SizeXCont = sizeXCont; - X0Y0_頚_鱗1_鱗11_鱗2.SizeXCont = sizeXCont; - X0Y0_頚_鱗1_鱗12_鱗2.SizeXCont = sizeXCont; - X0Y0_頚_鱗1_鱗13_鱗2.SizeXCont = sizeXCont; - X0Y0_頚_鱗1_鱗14_鱗2.SizeXCont = sizeXCont; - X0Y0_頚_鱗1_鱗15_鱗2.SizeXCont = sizeXCont; - X0Y0_頚_鱗1_鱗16_鱗2.SizeXCont = sizeXCont; - X0Y0_頚_鱗1_鱗17_鱗2.SizeXCont = sizeXCont; + X0Y0_頚_頚.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗3_鱗1.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗3_鱗2.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗3_鱗3.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗3_鱗4.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗3_鱗5.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗3_鱗6.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗3_鱗7.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗3_鱗8.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗3_鱗9.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗2_鱗1.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗2_鱗2.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗2_鱗3.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗2_鱗4.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗2_鱗5.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗2_鱗6.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗2_鱗7.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗2_鱗8.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗2_鱗9.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗2_鱗10.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗1_鱗1_鱗2.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗1_鱗2_鱗2.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗1_鱗3_鱗2.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗1_鱗4_鱗2.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗1_鱗5_鱗2.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗1_鱗6_鱗2.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗1_鱗7_鱗2.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗1_鱗8_鱗2.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗1_鱗9_鱗2.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗1_鱗10_鱗2.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗1_鱗11_鱗2.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗1_鱗12_鱗2.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗1_鱗13_鱗2.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗1_鱗14_鱗2.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗1_鱗15_鱗2.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗1_鱗16_鱗2.SetSizeXCont(sizeXCont); + X0Y0_頚_鱗1_鱗17_鱗2.SetSizeXCont(sizeXCont); } } @@ -6169,36 +6169,36 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 20.0; - X0Y0_尾1_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾2_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾3_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾4_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾5_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾6_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾7_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾8_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾9_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾10_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾11_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾12_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾13_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾14_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾15_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾16_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾17_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾18_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾19_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾20_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾21_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾22_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾23_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾24_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾25_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾26_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾27_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾28_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾29_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾30_尾.AngleBase = maxAngle.GetRanAngle(); + X0Y0_尾1_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾2_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾3_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾4_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾5_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾6_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾7_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾8_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾9_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾10_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾11_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾12_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾13_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾14_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾15_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾16_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾17_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾18_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾19_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾20_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾21_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾22_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾23_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾24_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾25_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾26_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾27_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾28_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾29_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾30_尾.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_腓D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_腓D.cs index 529f8c8..3314f2e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_腓D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_腓D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_虫.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_虫.cs index 463a566..65c5a32 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_虫.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_虫.cs @@ -819,17 +819,17 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 20.0; - X0Y0_尾10.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾9.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾8.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾7.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾6.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾5.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾4.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾3.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾2.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾1.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾0.AngleBase = maxAngle.GetRanAngle(); + X0Y0_尾10.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾9.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾8.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾7.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾6.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾5.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾4.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾3.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾2.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾1.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾0.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_虫D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_虫D.cs index 599e53c..e3ca58e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_虫D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_虫D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蛇.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蛇.cs index b84b95e..feaab51 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蛇.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蛇.cs @@ -6166,50 +6166,50 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 20.0; - X0Y0_尾1_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾2_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾3_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾4_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾5_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾6_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾7_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾8_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾9_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾10_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾11_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾12_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾13_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾14_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾15_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾16_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾17_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾18_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾19_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾20_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾21_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾22_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾23_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾24_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾25_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾26_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾27_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾28_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾29_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾30_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾31_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾32_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾33_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾34_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾35_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾36_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾37_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾38_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾39_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾40_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾41_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾42_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾43_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾44_尾.AngleBase = maxAngle.GetRanAngle(); + X0Y0_尾1_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾2_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾3_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾4_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾5_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾6_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾7_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾8_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾9_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾10_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾11_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾12_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾13_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾14_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾15_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾16_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾17_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾18_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾19_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾20_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾21_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾22_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾23_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾24_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾25_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾26_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾27_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾28_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾29_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾30_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾31_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾32_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾33_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾34_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾35_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾36_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾37_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾38_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾39_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾40_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾41_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾42_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾43_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾44_尾.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蛇D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蛇D.cs index 9acea88..3d4c086 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蛇D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蛇D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蜘.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蜘.cs index 27b9c39..0a7c9b9 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蜘.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蜘.cs @@ -1,6 +1,7 @@ using System.Collections.Generic; using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蜘D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蜘D.cs index bdd0f72..36f45dd 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蜘D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蜘D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蟲.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蟲.cs index 8817ecd..a934bbc 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蟲.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蟲.cs @@ -1,6 +1,7 @@ using System.Collections.Generic; using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -2016,12 +2017,12 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 20.0; - X0Y0_尾5_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾4_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾3_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾2_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾1_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾0_尾.AngleBase = maxAngle.GetRanAngle(); + X0Y0_尾5_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾4_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾3_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾2_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾1_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾0_尾.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蟲D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蟲D.cs index b1edbee..a0a2675 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蟲D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蟲D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蠍.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蠍.cs index 8532e1a..a3f57bd 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蠍.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蠍.cs @@ -1100,12 +1100,12 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 20.0; - X0Y0_節1_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節2_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節3_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節4_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節5_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_針_尾針.AngleBase = maxAngle.GetRanAngle(); + X0Y0_節1_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節2_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節3_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節4_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節5_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_針_尾針.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蠍D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蠍D.cs index c71005b..3e6b87d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蠍D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_蠍D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_馬.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_馬.cs index 7f5a44c..93a7d94 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_馬.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_馬.cs @@ -1089,46 +1089,46 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 20.0; - X0Y0_尾0.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾1.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾2.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾3.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾4.AngleBase = maxAngle.GetRanAngle(); - X0Y0_中央_尾0.AngleBase = maxAngle.GetRanAngle(); - X0Y0_中央_尾1.AngleBase = maxAngle.GetRanAngle(); - X0Y0_中央_尾2.AngleBase = maxAngle.GetRanAngle(); - X0Y0_中央_尾3.AngleBase = maxAngle.GetRanAngle(); - X0Y0_中央_尾4.AngleBase = maxAngle.GetRanAngle(); - X0Y0_中央_尾5.AngleBase = maxAngle.GetRanAngle(); - X0Y0_中央_尾6.AngleBase = maxAngle.GetRanAngle(); - X0Y0_左2_尾0.AngleBase = maxAngle.GetRanAngle(); - X0Y0_左2_尾1.AngleBase = maxAngle.GetRanAngle(); - X0Y0_左2_尾2.AngleBase = maxAngle.GetRanAngle(); - X0Y0_左2_尾3.AngleBase = maxAngle.GetRanAngle(); - X0Y0_左2_尾4.AngleBase = maxAngle.GetRanAngle(); - X0Y0_左2_尾5.AngleBase = maxAngle.GetRanAngle(); - X0Y0_左2_尾6.AngleBase = maxAngle.GetRanAngle(); - X0Y0_左1_尾0.AngleBase = maxAngle.GetRanAngle(); - X0Y0_左1_尾1.AngleBase = maxAngle.GetRanAngle(); - X0Y0_左1_尾2.AngleBase = maxAngle.GetRanAngle(); - X0Y0_左1_尾3.AngleBase = maxAngle.GetRanAngle(); - X0Y0_左1_尾4.AngleBase = maxAngle.GetRanAngle(); - X0Y0_左1_尾5.AngleBase = maxAngle.GetRanAngle(); - X0Y0_左1_尾6.AngleBase = maxAngle.GetRanAngle(); - X0Y0_右2_尾0.AngleBase = maxAngle.GetRanAngle(); - X0Y0_右2_尾1.AngleBase = maxAngle.GetRanAngle(); - X0Y0_右2_尾2.AngleBase = maxAngle.GetRanAngle(); - X0Y0_右2_尾3.AngleBase = maxAngle.GetRanAngle(); - X0Y0_右2_尾4.AngleBase = maxAngle.GetRanAngle(); - X0Y0_右2_尾5.AngleBase = maxAngle.GetRanAngle(); - X0Y0_右2_尾6.AngleBase = maxAngle.GetRanAngle(); - X0Y0_右1_尾0.AngleBase = maxAngle.GetRanAngle(); - X0Y0_右1_尾1.AngleBase = maxAngle.GetRanAngle(); - X0Y0_右1_尾2.AngleBase = maxAngle.GetRanAngle(); - X0Y0_右1_尾3.AngleBase = maxAngle.GetRanAngle(); - X0Y0_右1_尾4.AngleBase = maxAngle.GetRanAngle(); - X0Y0_右1_尾5.AngleBase = maxAngle.GetRanAngle(); - X0Y0_右1_尾6.AngleBase = maxAngle.GetRanAngle(); + X0Y0_尾0.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾1.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾2.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾3.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾4.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_中央_尾0.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_中央_尾1.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_中央_尾2.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_中央_尾3.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_中央_尾4.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_中央_尾5.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_中央_尾6.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_左2_尾0.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_左2_尾1.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_左2_尾2.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_左2_尾3.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_左2_尾4.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_左2_尾5.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_左2_尾6.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_左1_尾0.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_左1_尾1.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_左1_尾2.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_左1_尾3.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_左1_尾4.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_左1_尾5.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_左1_尾6.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_右2_尾0.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_右2_尾1.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_右2_尾2.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_右2_尾3.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_右2_尾4.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_右2_尾5.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_右2_尾6.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_右1_尾0.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_右1_尾1.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_右1_尾2.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_右1_尾3.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_右1_尾4.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_右1_尾5.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_右1_尾6.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_馬D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_馬D.cs index 7abe2fc..b16b1e8 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_馬D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_馬D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_魚.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_魚.cs index e4d6de6..e30ac35 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_魚.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_魚.cs @@ -1,6 +1,7 @@ using System.Collections.Generic; using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -6900,44 +6901,44 @@ namespace SlaveMatrix { get { - return X0Y0_尾33_尾.OP[右 ? 2 : 3].Outline; + return X0Y0_尾33_尾.GetOP()[右 ? 2 : 3].Outline; } set { - X0Y0_尾33_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾32_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾31_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾30_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾29_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾28_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾27_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾26_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾25_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾24_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾23_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾22_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾21_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾20_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾19_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾18_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾17_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾16_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾15_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾14_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾13_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾12_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾11_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾10_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾9_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾8_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾7_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾6_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾5_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾4_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾3_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾2_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾1_尾.OP[右 ? 2 : 3].Outline = value; - X0Y0_尾0_尾.OP[右 ? 2 : 3].Outline = value; + X0Y0_尾33_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾32_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾31_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾30_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾29_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾28_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾27_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾26_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾25_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾24_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾23_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾22_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾21_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾20_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾19_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾18_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾17_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾16_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾15_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾14_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾13_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾12_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾11_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾10_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾9_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾8_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾7_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾6_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾5_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾4_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾3_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾2_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾1_尾.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_尾0_尾.GetOP()[右 ? 2 : 3].Outline = value; } } @@ -9245,46 +9246,46 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 20.0; - X0Y0_尾33_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾32_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾31_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾30_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾29_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾28_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾27_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾26_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾25_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾24_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾23_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾22_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾21_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾20_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾19_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾18_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾17_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾16_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾15_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾14_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾13_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾12_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾11_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾10_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾9_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾8_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾7_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾6_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾5_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾4_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾3_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾2_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾1_尾.AngleBase = maxAngle.GetRanAngle(); + X0Y0_尾33_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾32_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾31_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾30_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾29_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾28_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾27_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾26_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾25_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾24_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾23_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾22_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾21_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾20_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾19_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾18_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾17_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾16_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾15_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾14_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾13_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾12_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾11_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾10_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾9_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾8_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾7_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾6_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾5_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾4_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾3_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾2_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾1_尾.SetAngleBase(maxAngle.GetRanAngle()); if (ConnectionType.ToString().Contains("腿")) { - X0Y0_尾0_尾.AngleBase = 0.0; + X0Y0_尾0_尾.SetAngleBase(0.0); } else { - X0Y0_尾0_尾.AngleBase = maxAngle.GetRanAngle(); + X0Y0_尾0_尾.SetAngleBase(maxAngle.GetRanAngle()); } Body.JoinPAall(); if (尾先_接続 != null) @@ -9295,26 +9296,26 @@ namespace SlaveMatrix public override void Set尾先角度() { - X0Y0_尾33_尾.AngleBase = 0.0; - X0Y0_尾32_尾.AngleBase = 0.0; - X0Y0_尾31_尾.AngleBase = 0.0; - X0Y0_尾30_尾.AngleBase = 0.0; - X0Y0_尾29_尾.AngleBase = 0.0; - X0Y0_尾28_尾.AngleBase = 0.0; - X0Y0_尾27_尾.AngleBase = 0.0; - X0Y0_尾26_尾.AngleBase = 0.0; - X0Y0_尾25_尾.AngleBase = 0.0; - X0Y0_尾24_尾.AngleBase = 0.0; - X0Y0_尾23_尾.AngleBase = 0.0; - X0Y0_尾22_尾.AngleBase = 0.0; - X0Y0_尾21_尾.AngleBase = 0.0; - X0Y0_尾20_尾.AngleBase = 0.0; - X0Y0_尾19_尾.AngleBase = 0.0; - X0Y0_尾18_尾.AngleBase = 0.0; - X0Y0_尾17_尾.AngleBase = 0.0; - X0Y0_尾16_尾.AngleBase = 0.0; - X0Y0_尾15_尾.AngleBase = 0.0; - X0Y0_尾14_尾.AngleBase = 0.0; + X0Y0_尾33_尾.SetAngleBase(0.0); + X0Y0_尾32_尾.SetAngleBase(0.0); + X0Y0_尾31_尾.SetAngleBase(0.0); + X0Y0_尾30_尾.SetAngleBase(0.0); + X0Y0_尾29_尾.SetAngleBase(0.0); + X0Y0_尾28_尾.SetAngleBase(0.0); + X0Y0_尾27_尾.SetAngleBase(0.0); + X0Y0_尾26_尾.SetAngleBase(0.0); + X0Y0_尾25_尾.SetAngleBase(0.0); + X0Y0_尾24_尾.SetAngleBase(0.0); + X0Y0_尾23_尾.SetAngleBase(0.0); + X0Y0_尾22_尾.SetAngleBase(0.0); + X0Y0_尾21_尾.SetAngleBase(0.0); + X0Y0_尾20_尾.SetAngleBase(0.0); + X0Y0_尾19_尾.SetAngleBase(0.0); + X0Y0_尾18_尾.SetAngleBase(0.0); + X0Y0_尾17_尾.SetAngleBase(0.0); + X0Y0_尾16_尾.SetAngleBase(0.0); + X0Y0_尾15_尾.SetAngleBase(0.0); + X0Y0_尾14_尾.SetAngleBase(0.0); } public override void 描画0(RenderArea Are) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_魚D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_魚D.cs index e66494b..f0b4cd7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_魚D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_魚D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_鯨.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_鯨.cs index 8385f8c..3c2ef7d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_鯨.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_鯨.cs @@ -1,6 +1,7 @@ using System.Collections.Generic; using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -4136,40 +4137,40 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 20.0; - X0Y0_尾33_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾32_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾31_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾30_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾29_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾28_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾27_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾26_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾25_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾24_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾23_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾22_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾21_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾20_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾19_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾18_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾17_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾16_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾15_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾14_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾13_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾12_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾11_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾10_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾9_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾8_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾7_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾6_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾5_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾4_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾3_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾2_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾1_尾.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾0_尾.AngleBase = maxAngle.GetRanAngle(); + X0Y0_尾33_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾32_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾31_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾30_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾29_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾28_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾27_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾26_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾25_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾24_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾23_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾22_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾21_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾20_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾19_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾18_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾17_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾16_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾15_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾14_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾13_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾12_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾11_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾10_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾9_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾8_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾7_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾6_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾5_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾4_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾3_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾2_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾1_尾.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾0_尾.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); if (尾先_接続 != null) { @@ -4179,26 +4180,26 @@ namespace SlaveMatrix public override void Set尾先角度() { - X0Y0_尾33_尾.AngleBase = 0.0; - X0Y0_尾32_尾.AngleBase = 0.0; - X0Y0_尾31_尾.AngleBase = 0.0; - X0Y0_尾30_尾.AngleBase = 0.0; - X0Y0_尾29_尾.AngleBase = 0.0; - X0Y0_尾28_尾.AngleBase = 0.0; - X0Y0_尾27_尾.AngleBase = 0.0; - X0Y0_尾26_尾.AngleBase = 0.0; - X0Y0_尾25_尾.AngleBase = 0.0; - X0Y0_尾24_尾.AngleBase = 0.0; - X0Y0_尾23_尾.AngleBase = 0.0; - X0Y0_尾22_尾.AngleBase = 0.0; - X0Y0_尾21_尾.AngleBase = 0.0; - X0Y0_尾20_尾.AngleBase = 0.0; - X0Y0_尾19_尾.AngleBase = 0.0; - X0Y0_尾18_尾.AngleBase = 0.0; - X0Y0_尾17_尾.AngleBase = 0.0; - X0Y0_尾16_尾.AngleBase = 0.0; - X0Y0_尾15_尾.AngleBase = 0.0; - X0Y0_尾14_尾.AngleBase = 0.0; + X0Y0_尾33_尾.SetAngleBase(0.0); + X0Y0_尾32_尾.SetAngleBase(0.0); + X0Y0_尾31_尾.SetAngleBase(0.0); + X0Y0_尾30_尾.SetAngleBase(0.0); + X0Y0_尾29_尾.SetAngleBase(0.0); + X0Y0_尾28_尾.SetAngleBase(0.0); + X0Y0_尾27_尾.SetAngleBase(0.0); + X0Y0_尾26_尾.SetAngleBase(0.0); + X0Y0_尾25_尾.SetAngleBase(0.0); + X0Y0_尾24_尾.SetAngleBase(0.0); + X0Y0_尾23_尾.SetAngleBase(0.0); + X0Y0_尾22_尾.SetAngleBase(0.0); + X0Y0_尾21_尾.SetAngleBase(0.0); + X0Y0_尾20_尾.SetAngleBase(0.0); + X0Y0_尾19_尾.SetAngleBase(0.0); + X0Y0_尾18_尾.SetAngleBase(0.0); + X0Y0_尾17_尾.SetAngleBase(0.0); + X0Y0_尾16_尾.SetAngleBase(0.0); + X0Y0_尾15_尾.SetAngleBase(0.0); + X0Y0_尾14_尾.SetAngleBase(0.0); } public override bool Is革(Par p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_鯨D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_鯨D.cs index dffd2a5..87da3c8 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_鯨D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_鯨D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_鳥.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_鳥.cs index e48d100..7d1547d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_鳥.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_鳥.cs @@ -573,28 +573,28 @@ namespace SlaveMatrix { double num = value.Inverse(); double num2 = (右 ? (-1.0) : 1.0); - X0Y0_風切羽_左_羽1.AngleCont = num2 * -12.0 * num; - X0Y0_風切羽_左_羽2.AngleCont = num2 * -22.0 * num; - X0Y0_風切羽_左_羽3.AngleCont = num2 * -32.0 * num; - X0Y0_風切羽_左_羽4.AngleCont = num2 * -42.0 * num; - X0Y0_風切羽_左_羽5.AngleCont = num2 * -52.0 * num; - X0Y0_風切羽_左_羽6.AngleCont = num2 * -62.0 * num; - X0Y0_風切羽_右_羽1.AngleCont = num2 * 12.0 * num; - X0Y0_風切羽_右_羽2.AngleCont = num2 * 22.0 * num; - X0Y0_風切羽_右_羽3.AngleCont = num2 * 32.0 * num; - X0Y0_風切羽_右_羽4.AngleCont = num2 * 42.0 * num; - X0Y0_風切羽_右_羽5.AngleCont = num2 * 52.0 * num; - X0Y0_風切羽_右_羽6.AngleCont = num2 * 62.0 * num; - X0Y0_雨覆羽_左_羽1.AngleCont = num2 * -12.0 * num; - X0Y0_雨覆羽_左_羽2.AngleCont = num2 * -32.0 * num; - X0Y0_雨覆羽_左_羽3.AngleCont = num2 * -42.0 * num; - X0Y0_雨覆羽_左_羽4.AngleCont = num2 * -52.0 * num; - X0Y0_雨覆羽_左_羽5.AngleCont = num2 * -62.0 * num; - X0Y0_雨覆羽_右_羽1.AngleCont = num2 * 12.0 * num; - X0Y0_雨覆羽_右_羽2.AngleCont = num2 * 32.0 * num; - X0Y0_雨覆羽_右_羽3.AngleCont = num2 * 42.0 * num; - X0Y0_雨覆羽_右_羽4.AngleCont = num2 * 52.0 * num; - X0Y0_雨覆羽_右_羽5.AngleCont = num2 * 62.0 * num; + X0Y0_風切羽_左_羽1.SetAngleCont(num2 * -12.0 * num); + X0Y0_風切羽_左_羽2.SetAngleCont(num2 * -22.0 * num); + X0Y0_風切羽_左_羽3.SetAngleCont(num2 * -32.0 * num); + X0Y0_風切羽_左_羽4.SetAngleCont(num2 * -42.0 * num); + X0Y0_風切羽_左_羽5.SetAngleCont(num2 * -52.0 * num); + X0Y0_風切羽_左_羽6.SetAngleCont(num2 * -62.0 * num); + X0Y0_風切羽_右_羽1.SetAngleCont(num2 * 12.0 * num); + X0Y0_風切羽_右_羽2.SetAngleCont(num2 * 22.0 * num); + X0Y0_風切羽_右_羽3.SetAngleCont(num2 * 32.0 * num); + X0Y0_風切羽_右_羽4.SetAngleCont(num2 * 42.0 * num); + X0Y0_風切羽_右_羽5.SetAngleCont(num2 * 52.0 * num); + X0Y0_風切羽_右_羽6.SetAngleCont(num2 * 62.0 * num); + X0Y0_雨覆羽_左_羽1.SetAngleCont(num2 * -12.0 * num); + X0Y0_雨覆羽_左_羽2.SetAngleCont(num2 * -32.0 * num); + X0Y0_雨覆羽_左_羽3.SetAngleCont(num2 * -42.0 * num); + X0Y0_雨覆羽_左_羽4.SetAngleCont(num2 * -52.0 * num); + X0Y0_雨覆羽_左_羽5.SetAngleCont(num2 * -62.0 * num); + X0Y0_雨覆羽_右_羽1.SetAngleCont(num2 * 12.0 * num); + X0Y0_雨覆羽_右_羽2.SetAngleCont(num2 * 32.0 * num); + X0Y0_雨覆羽_右_羽3.SetAngleCont(num2 * 42.0 * num); + X0Y0_雨覆羽_右_羽4.SetAngleCont(num2 * 52.0 * num); + X0Y0_雨覆羽_右_羽5.SetAngleCont(num2 * 62.0 * num); } } @@ -726,28 +726,28 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_風切羽_左_羽1.AngleBase = num * 12.0; - X0Y0_風切羽_左_羽2.AngleBase = num * 22.0; - X0Y0_風切羽_左_羽3.AngleBase = num * 32.0; - X0Y0_風切羽_左_羽4.AngleBase = num * 42.0; - X0Y0_風切羽_左_羽5.AngleBase = num * 52.0; - X0Y0_風切羽_左_羽6.AngleBase = num * 62.0; - X0Y0_風切羽_右_羽1.AngleBase = num * -12.0; - X0Y0_風切羽_右_羽2.AngleBase = num * -22.0; - X0Y0_風切羽_右_羽3.AngleBase = num * -32.0; - X0Y0_風切羽_右_羽4.AngleBase = num * -42.0; - X0Y0_風切羽_右_羽5.AngleBase = num * -52.0; - X0Y0_風切羽_右_羽6.AngleBase = num * -62.0; - X0Y0_雨覆羽_左_羽1.AngleBase = num * 0.0; - X0Y0_雨覆羽_左_羽2.AngleBase = num * 32.0; - X0Y0_雨覆羽_左_羽3.AngleBase = num * 42.0; - X0Y0_雨覆羽_左_羽4.AngleBase = num * 52.0; - X0Y0_雨覆羽_左_羽5.AngleBase = num * 62.0; - X0Y0_雨覆羽_右_羽1.AngleBase = num * 0.0; - X0Y0_雨覆羽_右_羽2.AngleBase = num * -32.0; - X0Y0_雨覆羽_右_羽3.AngleBase = num * -42.0; - X0Y0_雨覆羽_右_羽4.AngleBase = num * -52.0; - X0Y0_雨覆羽_右_羽5.AngleBase = num * -62.0; + X0Y0_風切羽_左_羽1.SetAngleBase(num * 12.0); + X0Y0_風切羽_左_羽2.SetAngleBase(num * 22.0); + X0Y0_風切羽_左_羽3.SetAngleBase(num * 32.0); + X0Y0_風切羽_左_羽4.SetAngleBase(num * 42.0); + X0Y0_風切羽_左_羽5.SetAngleBase(num * 52.0); + X0Y0_風切羽_左_羽6.SetAngleBase(num * 62.0); + X0Y0_風切羽_右_羽1.SetAngleBase(num * -12.0); + X0Y0_風切羽_右_羽2.SetAngleBase(num * -22.0); + X0Y0_風切羽_右_羽3.SetAngleBase(num * -32.0); + X0Y0_風切羽_右_羽4.SetAngleBase(num * -42.0); + X0Y0_風切羽_右_羽5.SetAngleBase(num * -52.0); + X0Y0_風切羽_右_羽6.SetAngleBase(num * -62.0); + X0Y0_雨覆羽_左_羽1.SetAngleBase(num * 0.0); + X0Y0_雨覆羽_左_羽2.SetAngleBase(num * 32.0); + X0Y0_雨覆羽_左_羽3.SetAngleBase(num * 42.0); + X0Y0_雨覆羽_左_羽4.SetAngleBase(num * 52.0); + X0Y0_雨覆羽_左_羽5.SetAngleBase(num * 62.0); + X0Y0_雨覆羽_右_羽1.SetAngleBase(num * 0.0); + X0Y0_雨覆羽_右_羽2.SetAngleBase(num * -32.0); + X0Y0_雨覆羽_右_羽3.SetAngleBase(num * -42.0); + X0Y0_雨覆羽_右_羽4.SetAngleBase(num * -52.0); + X0Y0_雨覆羽_右_羽5.SetAngleBase(num * -62.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_鳥D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_鳥D.cs index 1c964ea..d2c0b09 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_鳥D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_鳥D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_龍.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_龍.cs index fab9688..583072d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_龍.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_龍.cs @@ -1544,47 +1544,47 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 20.0; - X0Y0_尾40.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾39.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾38.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾37.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾36.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾35.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾34.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾33.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾32.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾31.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾30.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾29.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾28.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾27.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾26.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾25.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾24.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾23.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾22.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾21.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾20.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾19.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾18.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾17.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾16.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾15.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾14.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾13.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾12.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾11.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾10.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾9.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾8.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾7.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾6.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾5.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾4.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾3.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾2.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾1.AngleBase = maxAngle.GetRanAngle(); - X0Y0_尾0.AngleBase = maxAngle.GetRanAngle(); + X0Y0_尾40.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾39.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾38.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾37.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾36.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾35.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾34.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾33.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾32.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾31.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾30.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾29.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾28.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾27.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾26.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾25.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾24.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾23.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾22.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾21.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾20.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾19.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾18.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾17.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾16.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾15.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾14.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾13.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾12.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾11.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾10.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾9.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾8.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾7.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾6.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾5.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾4.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾3.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾2.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾1.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_尾0.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_龍D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_龍D.cs index d7708cf..1dcaf8e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_龍D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_龍D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾鰭.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾鰭.cs index 49fffdd..2e255ac 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾鰭.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾鰭.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 尾鰭 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾鰭_魚.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾鰭_魚.cs index a4ce02a..5d03853 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾鰭_魚.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾鰭_魚.cs @@ -163,7 +163,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -474,14 +474,14 @@ namespace SlaveMatrix { double num = value.Inverse(); double num2 = (右 ? (-1.0) : 1.0); - X0Y0_鰭左2_鰭膜.AngleCont = num2 * -35.0 * num; - X0Y0_鰭右2_鰭膜.AngleCont = num2 * 35.0 * num; - X0Y0_鰭左1_鰭膜.AngleCont = num2 * -15.0 * num; - X0Y0_鰭右1_鰭膜.AngleCont = num2 * 15.0 * num; - X0Y1_鰭左2_鰭膜.AngleCont = num2 * -35.0 * num; - X0Y1_鰭右2_鰭膜.AngleCont = num2 * 35.0 * num; - X0Y1_鰭左1_鰭膜.AngleCont = num2 * -15.0 * num; - X0Y1_鰭右1_鰭膜.AngleCont = num2 * 15.0 * num; + X0Y0_鰭左2_鰭膜.SetAngleCont(num2 * -35.0 * num); + X0Y0_鰭右2_鰭膜.SetAngleCont(num2 * 35.0 * num); + X0Y0_鰭左1_鰭膜.SetAngleCont(num2 * -15.0 * num); + X0Y0_鰭右1_鰭膜.SetAngleCont(num2 * 15.0 * num); + X0Y1_鰭左2_鰭膜.SetAngleCont(num2 * -35.0 * num); + X0Y1_鰭右2_鰭膜.SetAngleCont(num2 * 35.0 * num); + X0Y1_鰭左1_鰭膜.SetAngleCont(num2 * -15.0 * num); + X0Y1_鰭右1_鰭膜.SetAngleCont(num2 * 15.0 * num); } } @@ -619,20 +619,20 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_鰭左2_鰭膜.AngleBase = num * 35.0; - X0Y0_鰭右2_鰭膜.AngleBase = num * -35.0; - X0Y0_鰭左1_鰭膜.AngleBase = num * 9.0; - X0Y0_鰭右1_鰭膜.AngleBase = num * -9.0; - X0Y1_鰭左2_鰭膜.AngleBase = num * 35.0; - X0Y1_鰭右2_鰭膜.AngleBase = num * -35.0; - X0Y1_鰭左1_鰭膜.AngleBase = num * 9.0; - X0Y1_鰭右1_鰭膜.AngleBase = num * -9.0; + X0Y0_鰭左2_鰭膜.SetAngleBase(num * 35.0); + X0Y0_鰭右2_鰭膜.SetAngleBase(num * -35.0); + X0Y0_鰭左1_鰭膜.SetAngleBase(num * 9.0); + X0Y0_鰭右1_鰭膜.SetAngleBase(num * -9.0); + X0Y1_鰭左2_鰭膜.SetAngleBase(num * 35.0); + X0Y1_鰭右2_鰭膜.SetAngleBase(num * -35.0); + X0Y1_鰭左1_鰭膜.SetAngleBase(num * 9.0); + X0Y1_鰭右1_鰭膜.SetAngleBase(num * -9.0); Body.JoinPAall(); } public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_鰭左2_鰭膜CP.Update(); X0Y0_鰭左2_鰭条CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾鰭_魚D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾鰭_魚D.cs index 06425c7..810056f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾鰭_魚D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾鰭_魚D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾鰭_鯨D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾鰭_鯨D.cs index 851aa26..b55eb85 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾鰭_鯨D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾鰭_鯨D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅.cs index 11e8f91..de9b045 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 後翅 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_甲.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_甲.cs index ff3a81e..e834b56 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_甲.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_甲.cs @@ -113,7 +113,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -339,13 +339,13 @@ namespace SlaveMatrix { double num = value.Inverse(); double num2 = (右 ? (-1.0) : 1.0); - X0Y0_後翅_後翅根_後翅.AngleCont = num2 * -77.0 * num; - X0Y0_後翅_後翅先_後翅.AngleCont = num2 * -180.0 * num; - X0Y1_後翅_後翅根_後翅.AngleCont = num2 * -77.0 * num; - X0Y1_後翅_後翅先_後翅.AngleCont = num2 * -180.0 * num; + X0Y0_後翅_後翅根_後翅.SetAngleCont(num2 * -77.0 * num); + X0Y0_後翅_後翅先_後翅.SetAngleCont(num2 * -180.0 * num); + X0Y1_後翅_後翅根_後翅.SetAngleCont(num2 * -77.0 * num); + X0Y1_後翅_後翅先_後翅.SetAngleCont(num2 * -180.0 * num); foreach (Par item in Body.EnumAllPar()) { - item.SizeCont = 0.35 + 0.65 * value; + item.SetSizeCont(0.35 + 0.65 * value); } } } @@ -454,14 +454,14 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_後翅_後翅根_後翅.AngleBase = num * 0.0; - X0Y1_後翅_後翅根_後翅.AngleBase = num * 0.0; + X0Y0_後翅_後翅根_後翅.SetAngleBase(num * 0.0); + X0Y1_後翅_後翅根_後翅.SetAngleBase(num * 0.0); Body.JoinPAall(); } public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_後翅_後翅根_後翅CP.Update(); X0Y0_後翅_後翅根_翅脈1CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_甲D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_甲D.cs index 6f56e77..0d11643 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_甲D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_甲D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_羽.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_羽.cs index cde8836..56d7533 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_羽.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_羽.cs @@ -373,7 +373,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -1272,14 +1272,14 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_後翅_後翅.AngleBase = num * 3.0; - X0Y1_後翅_後翅.AngleBase = num * 3.0; + X0Y0_後翅_後翅.SetAngleBase(num * 3.0); + X0Y1_後翅_後翅.SetAngleBase(num * 3.0); Body.JoinPAall(); } public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_後翅_後翅CP.Update(); X0Y0_後翅_翅脈1CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_羽D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_羽D.cs index 7787266..1aad4d1 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_羽D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_羽D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_草.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_草.cs index 6bb6863..ebe4324 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_草.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_草.cs @@ -453,7 +453,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -1257,28 +1257,28 @@ namespace SlaveMatrix { double num = value.Inverse(); double num2 = (右 ? (-1.0) : 1.0); - X0Y0_後翅_後翅1_後翅.AngleCont = num2 * -88.0 * num; - X0Y0_後翅_後翅2_後翅.AngleCont = num2 * 8.2 * num; - X0Y0_後翅_後翅3_後翅.AngleCont = num2 * 16.5 * num; - X0Y0_後翅_後翅4_後翅.AngleCont = num2 * 24.5 * num; - X0Y0_後翅_後翅5_後翅.AngleCont = num2 * 32.5 * num; - X0Y0_後翅_後翅6_後翅.AngleCont = num2 * 40.5 * num; - X0Y0_後翅_後翅7_後翅.AngleCont = num2 * 48.5 * num; - X0Y0_後翅_後翅8_後翅.AngleCont = num2 * 56.5 * num; - X0Y0_後翅_後翅9_後翅.AngleCont = num2 * 64.5 * num; - X0Y0_後翅_後翅10_後翅.AngleCont = num2 * 72.5 * num; - X0Y0_後翅_後翅11_後翅.AngleCont = num2 * 80.5 * num; - X0Y1_後翅_後翅1_後翅.AngleCont = num2 * -88.0 * num; - X0Y1_後翅_後翅2_後翅.AngleCont = num2 * 8.2 * num; - X0Y1_後翅_後翅3_後翅.AngleCont = num2 * 16.5 * num; - X0Y1_後翅_後翅4_後翅.AngleCont = num2 * 24.5 * num; - X0Y1_後翅_後翅5_後翅.AngleCont = num2 * 32.5 * num; - X0Y1_後翅_後翅6_後翅.AngleCont = num2 * 40.5 * num; - X0Y1_後翅_後翅7_後翅.AngleCont = num2 * 48.5 * num; - X0Y1_後翅_後翅8_後翅.AngleCont = num2 * 56.5 * num; - X0Y1_後翅_後翅9_後翅.AngleCont = num2 * 64.5 * num; - X0Y1_後翅_後翅10_後翅.AngleCont = num2 * 72.5 * num; - X0Y1_後翅_後翅11_後翅.AngleCont = num2 * 80.5 * num; + X0Y0_後翅_後翅1_後翅.SetAngleCont(num2 * -88.0 * num); + X0Y0_後翅_後翅2_後翅.SetAngleCont(num2 * 8.2 * num); + X0Y0_後翅_後翅3_後翅.SetAngleCont(num2 * 16.5 * num); + X0Y0_後翅_後翅4_後翅.SetAngleCont(num2 * 24.5 * num); + X0Y0_後翅_後翅5_後翅.SetAngleCont(num2 * 32.5 * num); + X0Y0_後翅_後翅6_後翅.SetAngleCont(num2 * 40.5 * num); + X0Y0_後翅_後翅7_後翅.SetAngleCont(num2 * 48.5 * num); + X0Y0_後翅_後翅8_後翅.SetAngleCont(num2 * 56.5 * num); + X0Y0_後翅_後翅9_後翅.SetAngleCont(num2 * 64.5 * num); + X0Y0_後翅_後翅10_後翅.SetAngleCont(num2 * 72.5 * num); + X0Y0_後翅_後翅11_後翅.SetAngleCont(num2 * 80.5 * num); + X0Y1_後翅_後翅1_後翅.SetAngleCont(num2 * -88.0 * num); + X0Y1_後翅_後翅2_後翅.SetAngleCont(num2 * 8.2 * num); + X0Y1_後翅_後翅3_後翅.SetAngleCont(num2 * 16.5 * num); + X0Y1_後翅_後翅4_後翅.SetAngleCont(num2 * 24.5 * num); + X0Y1_後翅_後翅5_後翅.SetAngleCont(num2 * 32.5 * num); + X0Y1_後翅_後翅6_後翅.SetAngleCont(num2 * 40.5 * num); + X0Y1_後翅_後翅7_後翅.SetAngleCont(num2 * 48.5 * num); + X0Y1_後翅_後翅8_後翅.SetAngleCont(num2 * 56.5 * num); + X0Y1_後翅_後翅9_後翅.SetAngleCont(num2 * 64.5 * num); + X0Y1_後翅_後翅10_後翅.SetAngleCont(num2 * 72.5 * num); + X0Y1_後翅_後翅11_後翅.SetAngleCont(num2 * 80.5 * num); } } @@ -1574,14 +1574,14 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_後翅_後翅1_後翅.AngleBase = num * 0.0; - X0Y1_後翅_後翅1_後翅.AngleBase = num * 0.0; + X0Y0_後翅_後翅1_後翅.SetAngleBase(num * 0.0); + X0Y1_後翅_後翅1_後翅.SetAngleBase(num * 0.0); Body.JoinPAall(); } public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_後翅_後翅1_後翅CP.Update(); X0Y0_後翅_後翅1_翅脈1CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_草D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_草D.cs index 020d3a9..37dac60 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_草D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_草D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_蝶.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_蝶.cs index 2b72778..abfca82 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_蝶.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_蝶.cs @@ -221,7 +221,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -815,14 +815,14 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_後翅_後翅.AngleBase = num * 5.0; - X0Y1_後翅_後翅.AngleBase = num * 5.0; + X0Y0_後翅_後翅.SetAngleBase(num * 5.0); + X0Y1_後翅_後翅.SetAngleBase(num * 5.0); Body.JoinPAall(); } public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_後翅_後翅CP.Update(); X0Y0_後翅_水青_柄CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_蝶D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_蝶D.cs index eaa0cc1..b2c2155 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_蝶D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_蝶D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器.cs index 5d1db63..3c474f7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 性器 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器_人.cs index e7d857e..11b65f8 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器_人.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器_人.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -1242,8 +1243,8 @@ namespace SlaveMatrix private void AreMSetPos() { - p = 接続根.Difs0.Current.GetPar(接続根.Path0); - AreM.Position = p.ToGlobal(p.JP[接続根.Index].Joint); + p = 接続根.Difs0.GetCurrent().GetPar(接続根.Path0); + AreM.Position = p.ToGlobal(p.GetJP()[接続根.Index].Joint); } public override void Dispose() @@ -1274,10 +1275,10 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexX) + switch (Body.GetIndexX()) { case 0: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_小陰唇CP.Update(); @@ -1324,7 +1325,7 @@ namespace SlaveMatrix } break; case 1: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X1Y0_小陰唇CP.Update(); @@ -1371,7 +1372,7 @@ namespace SlaveMatrix } break; case 2: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X2Y0_小陰唇CP.Update(); @@ -1418,7 +1419,7 @@ namespace SlaveMatrix } break; default: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X3Y0_小陰唇CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器_人D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器_人D.cs index d8e1828..f70caf5 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器_人D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器_人D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器_獣.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器_獣.cs index 3790213..9357a44 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器_獣.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器_獣.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -1242,8 +1243,8 @@ namespace SlaveMatrix private void AreMSetPos() { - p = 接続根.Difs0.Current.GetPar(接続根.Path0); - AreM.Position = p.ToGlobal(p.JP[接続根.Index].Joint); + p = 接続根.Difs0.GetCurrent().GetPar(接続根.Path0); + AreM.Position = p.ToGlobal(p.GetJP()[接続根.Index].Joint); } public override void Dispose() @@ -1274,10 +1275,10 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexX) + switch (Body.GetIndexX()) { case 0: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_小陰唇CP.Update(); @@ -1324,7 +1325,7 @@ namespace SlaveMatrix } break; case 1: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X1Y0_小陰唇CP.Update(); @@ -1371,7 +1372,7 @@ namespace SlaveMatrix } break; case 2: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X2Y0_小陰唇CP.Update(); @@ -1418,7 +1419,7 @@ namespace SlaveMatrix } break; default: - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X3Y0_小陰唇CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器_獣D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器_獣D.cs index 46f3e3e..bfd37ad 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器_獣D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器_獣D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器精液.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器精液.cs index cb69588..c73553a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器精液.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器精液.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 性器精液 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器精液_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器精液_人.cs index 63c7e54..22d1934 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器精液_人.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器精液_人.cs @@ -315,7 +315,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_精液CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器精液_人D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器精液_人D.cs index 2e29cc6..ffc313d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器精液_人D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器精液_人D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器精液_獣.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器精液_獣.cs index 5045eeb..489c24e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器精液_獣.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器精液_獣.cs @@ -315,7 +315,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_精液CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器精液_獣D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器精液_獣D.cs index ed2c832..9bd581d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器精液_獣D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器精液_獣D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手.cs index 8683a5b..c374de7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 手 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_人.cs index 87b25d4..0ead2c4 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_人.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_人.cs @@ -2560,227 +2560,227 @@ namespace SlaveMatrix { double num = 1.5; int num2 = (右 ? 1 : 0); - List oP = X0Y0_人指_人指3.OP; + List oP = X0Y0_人指_人指3.GetOP(); Out @out = oP[(int)((double)(oP.Count - num2) * 0.5)]; int index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y0_人指_人指3.BasePointBase) * num * value; - List oP2 = X0Y0_中指_中指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y0_人指_人指3.GetBasePointBase()) * num * value; + List oP2 = X0Y0_中指_中指3.GetOP(); @out = oP2[(int)((double)(oP2.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y0_中指_中指3.BasePointBase) * num * value; - List oP3 = X0Y0_薬指_薬指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y0_中指_中指3.GetBasePointBase()) * num * value; + List oP3 = X0Y0_薬指_薬指3.GetOP(); @out = oP3[(int)((double)(oP3.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y0_薬指_薬指3.BasePointBase) * num * value; - List oP4 = X0Y0_小指_小指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y0_薬指_薬指3.GetBasePointBase()) * num * value; + List oP4 = X0Y0_小指_小指3.GetOP(); @out = oP4[(int)((double)(oP4.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y0_小指_小指3.BasePointBase) * num * value; - List oP5 = X0Y0_親指_親指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y0_小指_小指3.GetBasePointBase()) * num * value; + List oP5 = X0Y0_親指_親指3.GetOP(); @out = oP5[(int)((double)(oP5.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y0_親指_親指3.BasePointBase) * num * 0.65 * value; - List oP6 = X0Y9_人指_人指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y0_親指_親指3.GetBasePointBase()) * num * 0.65 * value; + List oP6 = X0Y9_人指_人指3.GetOP(); @out = oP6[(int)((double)(oP6.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y9_人指_人指3.BasePointBase) * num * value; - List oP7 = X0Y9_中指_中指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y9_人指_人指3.GetBasePointBase()) * num * value; + List oP7 = X0Y9_中指_中指3.GetOP(); @out = oP7[(int)((double)(oP7.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y9_中指_中指3.BasePointBase) * num * value; - List oP8 = X0Y9_薬指_薬指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y9_中指_中指3.GetBasePointBase()) * num * value; + List oP8 = X0Y9_薬指_薬指3.GetOP(); @out = oP8[(int)((double)(oP8.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y9_薬指_薬指3.BasePointBase) * num * value; - List oP9 = X0Y9_小指_小指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y9_薬指_薬指3.GetBasePointBase()) * num * value; + List oP9 = X0Y9_小指_小指3.GetOP(); @out = oP9[(int)((double)(oP9.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y9_小指_小指3.BasePointBase) * num * value; - List oP10 = X0Y9_親指_親指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y9_小指_小指3.GetBasePointBase()) * num * value; + List oP10 = X0Y9_親指_親指3.GetOP(); @out = oP10[(int)((double)(oP10.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y9_親指_親指3.BasePointBase) * num * 0.65 * value; + @out.ps[index] += (@out.ps[index] - X0Y9_親指_親指3.GetBasePointBase()) * num * 0.65 * value; num2 = ((!右) ? 1 : 0); - List oP11 = X0Y1_人指_人指3.OP; + List oP11 = X0Y1_人指_人指3.GetOP(); @out = oP11[(int)((double)(oP11.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y1_人指_人指3.BasePointBase) * num * value; - List oP12 = X0Y1_中指_中指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y1_人指_人指3.GetBasePointBase()) * num * value; + List oP12 = X0Y1_中指_中指3.GetOP(); @out = oP12[(int)((double)(oP12.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y1_中指_中指3.BasePointBase) * num * value; - List oP13 = X0Y1_薬指_薬指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y1_中指_中指3.GetBasePointBase()) * num * value; + List oP13 = X0Y1_薬指_薬指3.GetOP(); @out = oP13[(int)((double)(oP13.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y1_薬指_薬指3.BasePointBase) * num * value; - List oP14 = X0Y1_小指_小指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y1_薬指_薬指3.GetBasePointBase()) * num * value; + List oP14 = X0Y1_小指_小指3.GetOP(); @out = oP14[(int)((double)(oP14.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y1_小指_小指3.BasePointBase) * num * value; - List oP15 = X0Y1_親指_親指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y1_小指_小指3.GetBasePointBase()) * num * value; + List oP15 = X0Y1_親指_親指3.GetOP(); @out = oP15[(int)((double)(oP15.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y1_親指_親指3.BasePointBase) * num * 0.65 * value; - List oP16 = X0Y2_人指_人指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y1_親指_親指3.GetBasePointBase()) * num * 0.65 * value; + List oP16 = X0Y2_人指_人指3.GetOP(); @out = oP16[(int)((double)(oP16.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y2_人指_人指3.BasePointBase) * num * value; - List oP17 = X0Y2_中指_中指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y2_人指_人指3.GetBasePointBase()) * num * value; + List oP17 = X0Y2_中指_中指3.GetOP(); @out = oP17[(int)((double)(oP17.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y2_中指_中指3.BasePointBase) * num * value; - List oP18 = X0Y2_薬指_薬指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y2_中指_中指3.GetBasePointBase()) * num * value; + List oP18 = X0Y2_薬指_薬指3.GetOP(); @out = oP18[(int)((double)(oP18.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y2_薬指_薬指3.BasePointBase) * num * value; - List oP19 = X0Y2_小指_小指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y2_薬指_薬指3.GetBasePointBase()) * num * value; + List oP19 = X0Y2_小指_小指3.GetOP(); @out = oP19[(int)((double)(oP19.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y2_小指_小指3.BasePointBase) * num * value; - List oP20 = X0Y2_親指_親指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y2_小指_小指3.GetBasePointBase()) * num * value; + List oP20 = X0Y2_親指_親指3.GetOP(); @out = oP20[(int)((double)(oP20.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y2_親指_親指3.BasePointBase) * num * 0.65 * value; - List oP21 = X0Y3_人指_人指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y2_親指_親指3.GetBasePointBase()) * num * 0.65 * value; + List oP21 = X0Y3_人指_人指3.GetOP(); @out = oP21[(int)((double)(oP21.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y3_人指_人指3.BasePointBase) * num * value; - List oP22 = X0Y3_中指_中指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y3_人指_人指3.GetBasePointBase()) * num * value; + List oP22 = X0Y3_中指_中指3.GetOP(); @out = oP22[(int)((double)(oP22.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y3_中指_中指3.BasePointBase) * num * value; - List oP23 = X0Y3_薬指_薬指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y3_中指_中指3.GetBasePointBase()) * num * value; + List oP23 = X0Y3_薬指_薬指3.GetOP(); @out = oP23[(int)((double)(oP23.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y3_薬指_薬指3.BasePointBase) * num * value; - List oP24 = X0Y3_小指_小指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y3_薬指_薬指3.GetBasePointBase()) * num * value; + List oP24 = X0Y3_小指_小指3.GetOP(); @out = oP24[(int)((double)(oP24.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y3_小指_小指3.BasePointBase) * num * value; - List oP25 = X0Y3_親指_親指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y3_小指_小指3.GetBasePointBase()) * num * value; + List oP25 = X0Y3_親指_親指3.GetOP(); @out = oP25[(int)((double)(oP25.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y3_親指_親指3.BasePointBase) * num * 0.65 * value; - List oP26 = X0Y4_人指_人指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y3_親指_親指3.GetBasePointBase()) * num * 0.65 * value; + List oP26 = X0Y4_人指_人指3.GetOP(); @out = oP26[(int)((double)(oP26.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y4_人指_人指3.BasePointBase) * num * value; - List oP27 = X0Y4_中指_中指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y4_人指_人指3.GetBasePointBase()) * num * value; + List oP27 = X0Y4_中指_中指3.GetOP(); @out = oP27[(int)((double)(oP27.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y4_中指_中指3.BasePointBase) * num * value; - List oP28 = X0Y4_薬指_薬指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y4_中指_中指3.GetBasePointBase()) * num * value; + List oP28 = X0Y4_薬指_薬指3.GetOP(); @out = oP28[(int)((double)(oP28.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y4_薬指_薬指3.BasePointBase) * num * value; - List oP29 = X0Y4_小指_小指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y4_薬指_薬指3.GetBasePointBase()) * num * value; + List oP29 = X0Y4_小指_小指3.GetOP(); @out = oP29[(int)((double)(oP29.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y4_小指_小指3.BasePointBase) * num * value; - List oP30 = X0Y4_親指_親指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y4_小指_小指3.GetBasePointBase()) * num * value; + List oP30 = X0Y4_親指_親指3.GetOP(); @out = oP30[(int)((double)(oP30.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y4_親指_親指3.BasePointBase) * num * 0.65 * value; - List oP31 = X0Y5_人指_人指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y4_親指_親指3.GetBasePointBase()) * num * 0.65 * value; + List oP31 = X0Y5_人指_人指3.GetOP(); @out = oP31[(int)((double)(oP31.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y5_人指_人指3.BasePointBase) * num * value; - List oP32 = X0Y5_中指_中指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y5_人指_人指3.GetBasePointBase()) * num * value; + List oP32 = X0Y5_中指_中指3.GetOP(); @out = oP32[(int)((double)(oP32.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y5_中指_中指3.BasePointBase) * num * value; - List oP33 = X0Y5_薬指_薬指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y5_中指_中指3.GetBasePointBase()) * num * value; + List oP33 = X0Y5_薬指_薬指3.GetOP(); @out = oP33[(int)((double)(oP33.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y5_薬指_薬指3.BasePointBase) * num * value; - List oP34 = X0Y5_小指_小指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y5_薬指_薬指3.GetBasePointBase()) * num * value; + List oP34 = X0Y5_小指_小指3.GetOP(); @out = oP34[(int)((double)(oP34.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y5_小指_小指3.BasePointBase) * num * value; - List oP35 = X0Y5_親指_親指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y5_小指_小指3.GetBasePointBase()) * num * value; + List oP35 = X0Y5_親指_親指3.GetOP(); @out = oP35[(int)((double)(oP35.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y5_親指_親指3.BasePointBase) * num * 0.65 * value; - List oP36 = X0Y6_人指_人指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y5_親指_親指3.GetBasePointBase()) * num * 0.65 * value; + List oP36 = X0Y6_人指_人指3.GetOP(); @out = oP36[(int)((double)(oP36.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y6_人指_人指3.BasePointBase) * num * value; - List oP37 = X0Y6_中指_中指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y6_人指_人指3.GetBasePointBase()) * num * value; + List oP37 = X0Y6_中指_中指3.GetOP(); @out = oP37[(int)((double)(oP37.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y6_中指_中指3.BasePointBase) * num * value; - List oP38 = X0Y6_薬指_薬指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y6_中指_中指3.GetBasePointBase()) * num * value; + List oP38 = X0Y6_薬指_薬指3.GetOP(); @out = oP38[(int)((double)(oP38.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y6_薬指_薬指3.BasePointBase) * num * value; - List oP39 = X0Y6_小指_小指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y6_薬指_薬指3.GetBasePointBase()) * num * value; + List oP39 = X0Y6_小指_小指3.GetOP(); @out = oP39[(int)((double)(oP39.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y6_小指_小指3.BasePointBase) * num * value; - List oP40 = X0Y6_親指_親指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y6_小指_小指3.GetBasePointBase()) * num * value; + List oP40 = X0Y6_親指_親指3.GetOP(); @out = oP40[(int)((double)(oP40.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y6_親指_親指3.BasePointBase) * num * 0.65 * value; - List oP41 = X0Y7_人指_人指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y6_親指_親指3.GetBasePointBase()) * num * 0.65 * value; + List oP41 = X0Y7_人指_人指3.GetOP(); @out = oP41[(int)((double)(oP41.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y7_人指_人指3.BasePointBase) * num * value; - List oP42 = X0Y7_中指_中指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y7_人指_人指3.GetBasePointBase()) * num * value; + List oP42 = X0Y7_中指_中指3.GetOP(); @out = oP42[(int)((double)(oP42.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y7_中指_中指3.BasePointBase) * num * value; - List oP43 = X0Y7_薬指_薬指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y7_中指_中指3.GetBasePointBase()) * num * value; + List oP43 = X0Y7_薬指_薬指3.GetOP(); @out = oP43[(int)((double)(oP43.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y7_薬指_薬指3.BasePointBase) * num * value; - List oP44 = X0Y7_小指_小指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y7_薬指_薬指3.GetBasePointBase()) * num * value; + List oP44 = X0Y7_小指_小指3.GetOP(); @out = oP44[(int)((double)(oP44.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y7_小指_小指3.BasePointBase) * num * value; - List oP45 = X0Y7_親指_親指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y7_小指_小指3.GetBasePointBase()) * num * value; + List oP45 = X0Y7_親指_親指3.GetOP(); @out = oP45[(int)((double)(oP45.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y7_親指_親指3.BasePointBase) * num * 0.65 * value; - List oP46 = X0Y8_人指_人指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y7_親指_親指3.GetBasePointBase()) * num * 0.65 * value; + List oP46 = X0Y8_人指_人指3.GetOP(); @out = oP46[(int)((double)(oP46.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y8_人指_人指3.BasePointBase) * num * value; - List oP47 = X0Y8_中指_中指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y8_人指_人指3.GetBasePointBase()) * num * value; + List oP47 = X0Y8_中指_中指3.GetOP(); @out = oP47[(int)((double)(oP47.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y8_中指_中指3.BasePointBase) * num * value; - List oP48 = X0Y8_薬指_薬指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y8_中指_中指3.GetBasePointBase()) * num * value; + List oP48 = X0Y8_薬指_薬指3.GetOP(); @out = oP48[(int)((double)(oP48.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y8_薬指_薬指3.BasePointBase) * num * value; - List oP49 = X0Y8_小指_小指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y8_薬指_薬指3.GetBasePointBase()) * num * value; + List oP49 = X0Y8_小指_小指3.GetOP(); @out = oP49[(int)((double)(oP49.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y8_小指_小指3.BasePointBase) * num * value; - List oP50 = X0Y8_親指_親指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y8_小指_小指3.GetBasePointBase()) * num * value; + List oP50 = X0Y8_親指_親指3.GetOP(); @out = oP50[(int)((double)(oP50.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y8_親指_親指3.BasePointBase) * num * 0.65 * value; - List oP51 = X0Y10_人指_人指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y8_親指_親指3.GetBasePointBase()) * num * 0.65 * value; + List oP51 = X0Y10_人指_人指3.GetOP(); @out = oP51[(int)((double)(oP51.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y10_人指_人指3.BasePointBase) * num * value; - List oP52 = X0Y10_中指_中指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y10_人指_人指3.GetBasePointBase()) * num * value; + List oP52 = X0Y10_中指_中指3.GetOP(); @out = oP52[(int)((double)(oP52.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y10_中指_中指3.BasePointBase) * num * value; - List oP53 = X0Y10_薬指_薬指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y10_中指_中指3.GetBasePointBase()) * num * value; + List oP53 = X0Y10_薬指_薬指3.GetOP(); @out = oP53[(int)((double)(oP53.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y10_薬指_薬指3.BasePointBase) * num * value; - List oP54 = X0Y10_小指_小指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y10_薬指_薬指3.GetBasePointBase()) * num * value; + List oP54 = X0Y10_小指_小指3.GetOP(); @out = oP54[(int)((double)(oP54.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y10_小指_小指3.BasePointBase) * num * value; - List oP55 = X0Y10_親指_親指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y10_小指_小指3.GetBasePointBase()) * num * value; + List oP55 = X0Y10_親指_親指3.GetOP(); @out = oP55[(int)((double)(oP55.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y10_親指_親指3.BasePointBase) * num * 0.65 * value; + @out.ps[index] += (@out.ps[index] - X0Y10_親指_親指3.GetBasePointBase()) * num * 0.65 * value; } } @@ -3662,360 +3662,360 @@ namespace SlaveMatrix public void 虫性() { - X0Y0_手.OP[右 ? 6 : 0].Outline = true; - X0Y0_人指_人指2.OP[右 ? 3 : 0].Outline = true; - X0Y0_中指_中指2.OP[右 ? 3 : 0].Outline = true; - X0Y0_薬指_薬指2.OP[右 ? 3 : 0].Outline = true; - X0Y0_小指_小指2.OP[右 ? 3 : 0].Outline = true; - X0Y0_親指_親指1.OP[右 ? 3 : 0].Outline = true; - X0Y0_親指_親指2.OP[右 ? 3 : 0].Outline = true; - X0Y0_親指_親指3.OP[右 ? 3 : 0].Outline = true; - X0Y1_手.OP[(!右) ? 10 : 0].Outline = true; - X0Y1_人指_人指1.OP[右 ? 2 : 2].Outline = true; - X0Y1_人指_人指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y1_人指_人指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y1_人指_人指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y1_中指_中指1.OP[右 ? 2 : 2].Outline = true; - X0Y1_中指_中指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y1_中指_中指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y1_中指_中指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y1_薬指_薬指1.OP[右 ? 2 : 2].Outline = true; - X0Y1_薬指_薬指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y1_薬指_薬指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y1_薬指_薬指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y1_小指_小指1.OP[右 ? 2 : 2].Outline = true; - X0Y1_小指_小指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y1_小指_小指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y1_小指_小指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y1_親指_親指1.OP[右 ? 2 : 2].Outline = true; - X0Y1_親指_親指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y1_親指_親指2.OP[右 ? 2 : 2].Outline = true; - X0Y1_親指_親指2.OP[(!右) ? 4 : 0].Outline = true; - X0Y1_親指_親指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y2_手.OP[(!右) ? 10 : 0].Outline = true; - X0Y2_人指_人指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y2_人指_人指1.OP[右 ? 2 : 2].Outline = true; - X0Y2_人指_人指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y2_人指_人指2.OP[(!右) ? 1 : 2].Outline = true; - X0Y2_人指_人指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y2_人指_人指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y2_中指_中指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y2_中指_中指1.OP[右 ? 2 : 2].Outline = true; - X0Y2_中指_中指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y2_中指_中指2.OP[(!右) ? 1 : 2].Outline = true; - X0Y2_中指_中指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y2_中指_中指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y2_薬指_薬指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y2_薬指_薬指1.OP[右 ? 2 : 2].Outline = true; - X0Y2_薬指_薬指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y2_薬指_薬指2.OP[(!右) ? 1 : 2].Outline = true; - X0Y2_薬指_薬指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y2_薬指_薬指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y2_小指_小指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y2_小指_小指1.OP[右 ? 2 : 2].Outline = true; - X0Y2_小指_小指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y2_小指_小指2.OP[(!右) ? 1 : 2].Outline = true; - X0Y2_小指_小指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y2_小指_小指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y2_親指_親指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y2_親指_親指1.OP[右 ? 2 : 2].Outline = true; - X0Y2_親指_親指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y2_親指_親指2.OP[右 ? 2 : 2].Outline = true; - X0Y2_親指_親指2.OP[(!右) ? 4 : 0].Outline = true; - X0Y2_親指_親指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y3_手.OP[(!右) ? 10 : 0].Outline = true; - X0Y3_人指_人指1.OP[右 ? 2 : 2].Outline = true; - X0Y3_人指_人指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y3_人指_人指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y3_人指_人指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y3_中指_中指1.OP[右 ? 2 : 2].Outline = true; - X0Y3_中指_中指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y3_中指_中指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y3_中指_中指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y3_薬指_薬指1.OP[右 ? 2 : 2].Outline = true; - X0Y3_薬指_薬指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y3_薬指_薬指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y3_薬指_薬指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y3_小指_小指1.OP[右 ? 2 : 2].Outline = true; - X0Y3_小指_小指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y3_小指_小指2.OP[(!右) ? 1 : 2].Outline = true; - X0Y3_小指_小指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y3_親指_親指1.OP[(!右) ? 3 : 0].Outline = true; - X0Y3_親指_親指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y3_親指_親指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y4_手.OP[(!右) ? 10 : 0].Outline = true; - X0Y4_人指_人指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y4_人指_人指1.OP[右 ? 2 : 2].Outline = true; - X0Y4_人指_人指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y4_人指_人指2.OP[(!右) ? 1 : 2].Outline = true; - X0Y4_人指_人指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y4_人指_人指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y4_中指_中指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y4_中指_中指1.OP[右 ? 2 : 2].Outline = true; - X0Y4_中指_中指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y4_中指_中指2.OP[(!右) ? 1 : 2].Outline = true; - X0Y4_中指_中指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y4_中指_中指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y4_薬指_薬指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y4_薬指_薬指1.OP[右 ? 2 : 2].Outline = true; - X0Y4_薬指_薬指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y4_薬指_薬指2.OP[(!右) ? 1 : 2].Outline = true; - X0Y4_薬指_薬指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y4_薬指_薬指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y4_小指_小指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y4_小指_小指1.OP[右 ? 2 : 2].Outline = true; - X0Y4_小指_小指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y4_小指_小指2.OP[(!右) ? 1 : 2].Outline = true; - X0Y4_小指_小指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y4_小指_小指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y4_親指_親指1.OP[右 ? 2 : 2].Outline = true; - X0Y4_親指_親指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y4_親指_親指2.OP[右 ? 2 : 2].Outline = true; - X0Y4_親指_親指2.OP[(!右) ? 4 : 0].Outline = true; - X0Y4_親指_親指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y5_手.OP[(!右) ? 10 : 0].Outline = true; - X0Y5_人指_人指1.OP[右 ? 2 : 2].Outline = true; - X0Y5_人指_人指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y5_人指_人指2.OP[右 ? 2 : 2].Outline = true; - X0Y5_人指_人指2.OP[(!右) ? 4 : 0].Outline = true; - X0Y5_人指_人指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y5_中指_中指1.OP[右 ? 2 : 2].Outline = true; - X0Y5_中指_中指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y5_中指_中指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y5_中指_中指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y5_薬指_薬指1.OP[右 ? 2 : 2].Outline = true; - X0Y5_薬指_薬指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y5_薬指_薬指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y5_薬指_薬指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y5_小指_小指1.OP[右 ? 2 : 2].Outline = true; - X0Y5_小指_小指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y5_小指_小指2.OP[(!右) ? 1 : 2].Outline = true; - X0Y5_小指_小指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y5_親指_親指1.OP[(!右) ? 3 : 0].Outline = true; - X0Y5_親指_親指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y5_親指_親指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y6_手.OP[(!右) ? 10 : 0].Outline = true; - X0Y6_手.OP[右 ? 10 : 0].Outline = true; - X0Y6_人指_人指1.OP[右 ? 4 : 0].Outline = true; - X0Y6_人指_人指1.OP[右 ? 2 : 2].Outline = true; - X0Y6_人指_人指2.OP[右 ? 3 : 0].Outline = true; - X0Y6_人指_人指2.OP[(!右) ? 1 : 2].Outline = true; - X0Y6_人指_人指3.OP[右 ? 3 : 0].Outline = true; - X0Y6_中指_中指1.OP[右 ? 4 : 0].Outline = true; - X0Y6_中指_中指1.OP[右 ? 2 : 2].Outline = true; - X0Y6_中指_中指2.OP[右 ? 3 : 0].Outline = true; - X0Y6_中指_中指3.OP[右 ? 3 : 0].Outline = true; - X0Y6_薬指_薬指1.OP[右 ? 4 : 0].Outline = true; - X0Y6_薬指_薬指1.OP[右 ? 2 : 2].Outline = true; - X0Y6_薬指_薬指2.OP[右 ? 3 : 0].Outline = true; - X0Y6_薬指_薬指3.OP[右 ? 3 : 0].Outline = true; - X0Y6_小指_小指1.OP[右 ? 4 : 0].Outline = true; - X0Y6_小指_小指1.OP[右 ? 2 : 2].Outline = true; - X0Y6_小指_小指2.OP[右 ? 3 : 0].Outline = true; - X0Y6_小指_小指2.OP[右 ? 1 : 2].Outline = true; - X0Y6_親指_親指1.OP[(!右) ? 1 : 2].Outline = true; - X0Y6_親指_親指1.OP[(!右) ? 3 : 0].Outline = true; - X0Y6_親指_親指2.OP[右 ? 2 : 2].Outline = true; - X0Y6_親指_親指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y7_手.OP[(!右) ? 6 : 0].Outline = true; - X0Y7_人指_人指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y7_人指_人指1.OP[右 ? 2 : 2].Outline = true; - X0Y7_人指_人指2.OP[(!右) ? 1 : 2].Outline = true; - X0Y7_人指_人指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y7_人指_人指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y7_中指_中指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y7_中指_中指1.OP[右 ? 2 : 2].Outline = true; - X0Y7_中指_中指2.OP[(!右) ? 1 : 2].Outline = true; - X0Y7_中指_中指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y7_中指_中指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y7_薬指_薬指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y7_薬指_薬指1.OP[右 ? 2 : 2].Outline = true; - X0Y7_薬指_薬指2.OP[(!右) ? 1 : 2].Outline = true; - X0Y7_薬指_薬指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y7_薬指_薬指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y7_小指_小指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y7_小指_小指1.OP[右 ? 2 : 2].Outline = true; - X0Y7_小指_小指2.OP[(!右) ? 1 : 2].Outline = true; - X0Y7_小指_小指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y7_小指_小指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y7_親指_親指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y7_親指_親指1.OP[右 ? 2 : 2].Outline = true; - X0Y7_親指_親指2.OP[(!右) ? 4 : 0].Outline = true; - X0Y7_親指_親指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y8_手.OP[(!右) ? 10 : 0].Outline = true; - X0Y8_人指_人指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y8_人指_人指1.OP[右 ? 2 : 2].Outline = true; - X0Y8_人指_人指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y8_人指_人指2.OP[(!右) ? 1 : 2].Outline = true; - X0Y8_人指_人指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y8_人指_人指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y8_中指_中指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y8_中指_中指1.OP[右 ? 2 : 2].Outline = true; - X0Y8_中指_中指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y8_中指_中指2.OP[(!右) ? 1 : 2].Outline = true; - X0Y8_中指_中指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y8_中指_中指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y8_薬指_薬指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y8_薬指_薬指1.OP[右 ? 2 : 2].Outline = true; - X0Y8_薬指_薬指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y8_薬指_薬指2.OP[(!右) ? 1 : 2].Outline = true; - X0Y8_薬指_薬指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y8_薬指_薬指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y8_小指_小指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y8_小指_小指1.OP[右 ? 2 : 2].Outline = true; - X0Y8_小指_小指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y8_小指_小指2.OP[(!右) ? 1 : 2].Outline = true; - X0Y8_小指_小指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y8_小指_小指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y8_親指_親指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y8_親指_親指1.OP[右 ? 2 : 2].Outline = true; - X0Y8_親指_親指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y8_親指_親指2.OP[右 ? 2 : 2].Outline = true; - X0Y8_親指_親指2.OP[(!右) ? 4 : 0].Outline = true; - X0Y8_親指_親指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y9_手.OP[(!右) ? 6 : 0].Outline = true; - X0Y9_人指_人指1.OP[右 ? 1 : 2].Outline = true; - X0Y9_人指_人指2.OP[右 ? 1 : 2].Outline = true; - X0Y9_中指_中指1.OP[右 ? 1 : 2].Outline = true; - X0Y9_中指_中指2.OP[右 ? 1 : 2].Outline = true; - X0Y9_薬指_薬指2.OP[右 ? 3 : 0].Outline = true; - X0Y9_小指_小指2.OP[右 ? 3 : 0].Outline = true; - X0Y9_親指_親指1.OP[右 ? 3 : 0].Outline = true; - X0Y9_親指_親指2.OP[右 ? 3 : 0].Outline = true; - X0Y9_親指_親指3.OP[右 ? 3 : 0].Outline = true; - X0Y10_手.OP[(!右) ? 10 : 0].Outline = true; - X0Y10_人指_人指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y10_人指_人指1.OP[右 ? 2 : 2].Outline = true; - X0Y10_人指_人指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y10_人指_人指2.OP[(!右) ? 1 : 2].Outline = true; - X0Y10_人指_人指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y10_人指_人指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y10_中指_中指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y10_中指_中指1.OP[右 ? 2 : 2].Outline = true; - X0Y10_中指_中指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y10_中指_中指2.OP[(!右) ? 1 : 2].Outline = true; - X0Y10_中指_中指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y10_中指_中指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y10_薬指_薬指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y10_薬指_薬指1.OP[右 ? 2 : 2].Outline = true; - X0Y10_薬指_薬指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y10_薬指_薬指2.OP[(!右) ? 1 : 2].Outline = true; - X0Y10_薬指_薬指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y10_薬指_薬指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y10_小指_小指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y10_小指_小指1.OP[右 ? 2 : 2].Outline = true; - X0Y10_小指_小指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y10_小指_小指2.OP[(!右) ? 1 : 2].Outline = true; - X0Y10_小指_小指2.OP[(!右) ? 3 : 0].Outline = true; - X0Y10_小指_小指3.OP[(!右) ? 3 : 0].Outline = true; - X0Y10_親指_親指1.OP[右 ? 2 : 2].Outline = true; - X0Y10_親指_親指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y10_親指_親指2.OP[右 ? 2 : 2].Outline = true; - X0Y10_親指_親指2.OP[(!右) ? 4 : 0].Outline = true; - X0Y10_親指_親指3.OP[(!右) ? 3 : 0].Outline = true; + X0Y0_手.GetOP()[右 ? 6 : 0].Outline = true; + X0Y0_人指_人指2.GetOP()[右 ? 3 : 0].Outline = true; + X0Y0_中指_中指2.GetOP()[右 ? 3 : 0].Outline = true; + X0Y0_薬指_薬指2.GetOP()[右 ? 3 : 0].Outline = true; + X0Y0_小指_小指2.GetOP()[右 ? 3 : 0].Outline = true; + X0Y0_親指_親指1.GetOP()[右 ? 3 : 0].Outline = true; + X0Y0_親指_親指2.GetOP()[右 ? 3 : 0].Outline = true; + X0Y0_親指_親指3.GetOP()[右 ? 3 : 0].Outline = true; + X0Y1_手.GetOP()[(!右) ? 10 : 0].Outline = true; + X0Y1_人指_人指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y1_人指_人指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y1_人指_人指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y1_人指_人指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y1_中指_中指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y1_中指_中指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y1_中指_中指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y1_中指_中指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y1_薬指_薬指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y1_薬指_薬指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y1_薬指_薬指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y1_薬指_薬指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y1_小指_小指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y1_小指_小指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y1_小指_小指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y1_小指_小指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y1_親指_親指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y1_親指_親指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y1_親指_親指2.GetOP()[右 ? 2 : 2].Outline = true; + X0Y1_親指_親指2.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y1_親指_親指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y2_手.GetOP()[(!右) ? 10 : 0].Outline = true; + X0Y2_人指_人指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y2_人指_人指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y2_人指_人指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y2_人指_人指2.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y2_人指_人指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y2_人指_人指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y2_中指_中指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y2_中指_中指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y2_中指_中指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y2_中指_中指2.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y2_中指_中指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y2_中指_中指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y2_薬指_薬指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y2_薬指_薬指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y2_薬指_薬指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y2_薬指_薬指2.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y2_薬指_薬指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y2_薬指_薬指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y2_小指_小指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y2_小指_小指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y2_小指_小指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y2_小指_小指2.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y2_小指_小指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y2_小指_小指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y2_親指_親指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y2_親指_親指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y2_親指_親指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y2_親指_親指2.GetOP()[右 ? 2 : 2].Outline = true; + X0Y2_親指_親指2.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y2_親指_親指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y3_手.GetOP()[(!右) ? 10 : 0].Outline = true; + X0Y3_人指_人指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y3_人指_人指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y3_人指_人指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y3_人指_人指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y3_中指_中指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y3_中指_中指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y3_中指_中指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y3_中指_中指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y3_薬指_薬指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y3_薬指_薬指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y3_薬指_薬指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y3_薬指_薬指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y3_小指_小指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y3_小指_小指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y3_小指_小指2.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y3_小指_小指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y3_親指_親指1.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y3_親指_親指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y3_親指_親指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y4_手.GetOP()[(!右) ? 10 : 0].Outline = true; + X0Y4_人指_人指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y4_人指_人指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y4_人指_人指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y4_人指_人指2.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y4_人指_人指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y4_人指_人指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y4_中指_中指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y4_中指_中指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y4_中指_中指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y4_中指_中指2.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y4_中指_中指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y4_中指_中指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y4_薬指_薬指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y4_薬指_薬指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y4_薬指_薬指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y4_薬指_薬指2.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y4_薬指_薬指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y4_薬指_薬指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y4_小指_小指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y4_小指_小指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y4_小指_小指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y4_小指_小指2.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y4_小指_小指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y4_小指_小指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y4_親指_親指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y4_親指_親指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y4_親指_親指2.GetOP()[右 ? 2 : 2].Outline = true; + X0Y4_親指_親指2.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y4_親指_親指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y5_手.GetOP()[(!右) ? 10 : 0].Outline = true; + X0Y5_人指_人指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y5_人指_人指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y5_人指_人指2.GetOP()[右 ? 2 : 2].Outline = true; + X0Y5_人指_人指2.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y5_人指_人指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y5_中指_中指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y5_中指_中指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y5_中指_中指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y5_中指_中指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y5_薬指_薬指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y5_薬指_薬指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y5_薬指_薬指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y5_薬指_薬指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y5_小指_小指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y5_小指_小指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y5_小指_小指2.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y5_小指_小指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y5_親指_親指1.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y5_親指_親指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y5_親指_親指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y6_手.GetOP()[(!右) ? 10 : 0].Outline = true; + X0Y6_手.GetOP()[右 ? 10 : 0].Outline = true; + X0Y6_人指_人指1.GetOP()[右 ? 4 : 0].Outline = true; + X0Y6_人指_人指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y6_人指_人指2.GetOP()[右 ? 3 : 0].Outline = true; + X0Y6_人指_人指2.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y6_人指_人指3.GetOP()[右 ? 3 : 0].Outline = true; + X0Y6_中指_中指1.GetOP()[右 ? 4 : 0].Outline = true; + X0Y6_中指_中指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y6_中指_中指2.GetOP()[右 ? 3 : 0].Outline = true; + X0Y6_中指_中指3.GetOP()[右 ? 3 : 0].Outline = true; + X0Y6_薬指_薬指1.GetOP()[右 ? 4 : 0].Outline = true; + X0Y6_薬指_薬指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y6_薬指_薬指2.GetOP()[右 ? 3 : 0].Outline = true; + X0Y6_薬指_薬指3.GetOP()[右 ? 3 : 0].Outline = true; + X0Y6_小指_小指1.GetOP()[右 ? 4 : 0].Outline = true; + X0Y6_小指_小指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y6_小指_小指2.GetOP()[右 ? 3 : 0].Outline = true; + X0Y6_小指_小指2.GetOP()[右 ? 1 : 2].Outline = true; + X0Y6_親指_親指1.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y6_親指_親指1.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y6_親指_親指2.GetOP()[右 ? 2 : 2].Outline = true; + X0Y6_親指_親指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y7_手.GetOP()[(!右) ? 6 : 0].Outline = true; + X0Y7_人指_人指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y7_人指_人指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y7_人指_人指2.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y7_人指_人指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y7_人指_人指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y7_中指_中指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y7_中指_中指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y7_中指_中指2.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y7_中指_中指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y7_中指_中指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y7_薬指_薬指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y7_薬指_薬指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y7_薬指_薬指2.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y7_薬指_薬指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y7_薬指_薬指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y7_小指_小指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y7_小指_小指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y7_小指_小指2.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y7_小指_小指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y7_小指_小指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y7_親指_親指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y7_親指_親指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y7_親指_親指2.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y7_親指_親指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y8_手.GetOP()[(!右) ? 10 : 0].Outline = true; + X0Y8_人指_人指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y8_人指_人指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y8_人指_人指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y8_人指_人指2.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y8_人指_人指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y8_人指_人指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y8_中指_中指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y8_中指_中指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y8_中指_中指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y8_中指_中指2.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y8_中指_中指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y8_中指_中指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y8_薬指_薬指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y8_薬指_薬指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y8_薬指_薬指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y8_薬指_薬指2.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y8_薬指_薬指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y8_薬指_薬指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y8_小指_小指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y8_小指_小指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y8_小指_小指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y8_小指_小指2.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y8_小指_小指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y8_小指_小指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y8_親指_親指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y8_親指_親指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y8_親指_親指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y8_親指_親指2.GetOP()[右 ? 2 : 2].Outline = true; + X0Y8_親指_親指2.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y8_親指_親指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y9_手.GetOP()[(!右) ? 6 : 0].Outline = true; + X0Y9_人指_人指1.GetOP()[右 ? 1 : 2].Outline = true; + X0Y9_人指_人指2.GetOP()[右 ? 1 : 2].Outline = true; + X0Y9_中指_中指1.GetOP()[右 ? 1 : 2].Outline = true; + X0Y9_中指_中指2.GetOP()[右 ? 1 : 2].Outline = true; + X0Y9_薬指_薬指2.GetOP()[右 ? 3 : 0].Outline = true; + X0Y9_小指_小指2.GetOP()[右 ? 3 : 0].Outline = true; + X0Y9_親指_親指1.GetOP()[右 ? 3 : 0].Outline = true; + X0Y9_親指_親指2.GetOP()[右 ? 3 : 0].Outline = true; + X0Y9_親指_親指3.GetOP()[右 ? 3 : 0].Outline = true; + X0Y10_手.GetOP()[(!右) ? 10 : 0].Outline = true; + X0Y10_人指_人指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y10_人指_人指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y10_人指_人指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y10_人指_人指2.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y10_人指_人指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y10_人指_人指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y10_中指_中指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y10_中指_中指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y10_中指_中指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y10_中指_中指2.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y10_中指_中指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y10_中指_中指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y10_薬指_薬指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y10_薬指_薬指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y10_薬指_薬指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y10_薬指_薬指2.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y10_薬指_薬指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y10_薬指_薬指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y10_小指_小指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y10_小指_小指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y10_小指_小指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y10_小指_小指2.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y10_小指_小指2.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y10_小指_小指3.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y10_親指_親指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y10_親指_親指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y10_親指_親指2.GetOP()[右 ? 2 : 2].Outline = true; + X0Y10_親指_親指2.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y10_親指_親指3.GetOP()[(!右) ? 3 : 0].Outline = true; } public void 虫手() { - X0Y0_人指_人指1.SizeBase *= 1.5; - X0Y0_人指_人指3.SizeBase *= 1.5; - X0Y0_人指_人指2.SizeBase *= 1.5; - X0Y0_小指_小指1.SizeBase *= 1.5; - X0Y0_小指_小指3.SizeBase *= 1.5; - X0Y0_小指_小指2.SizeBase *= 1.5; - X0Y0_親指_親指1.SizeBase *= 1.5; - X0Y0_親指_親指2.SizeBase *= 1.5; - X0Y0_親指_親指3.SizeBase *= 1.5; - X0Y1_人指_人指1.SizeBase *= 1.5; - X0Y1_人指_人指3.SizeBase *= 1.5; - X0Y1_人指_人指2.SizeBase *= 1.5; - X0Y1_小指_小指1.SizeBase *= 1.5; - X0Y1_小指_小指3.SizeBase *= 1.5; - X0Y1_小指_小指2.SizeBase *= 1.5; - X0Y1_親指_親指1.SizeBase *= 1.5; - X0Y1_親指_親指2.SizeBase *= 1.5; - X0Y1_親指_親指3.SizeBase *= 1.5; - X0Y2_人指_人指1.SizeBase *= 1.5; - X0Y2_人指_人指3.SizeBase *= 1.5; - X0Y2_人指_人指2.SizeBase *= 1.5; - X0Y2_小指_小指1.SizeBase *= 1.5; - X0Y2_小指_小指3.SizeBase *= 1.5; - X0Y2_小指_小指2.SizeBase *= 1.5; - X0Y2_親指_親指1.SizeBase *= 1.5; - X0Y2_親指_親指2.SizeBase *= 1.5; - X0Y2_親指_親指3.SizeBase *= 1.5; - X0Y3_人指_人指1.SizeBase *= 1.5; - X0Y3_人指_人指3.SizeBase *= 1.5; - X0Y3_人指_人指2.SizeBase *= 1.5; - X0Y3_小指_小指1.SizeBase *= 1.5; - X0Y3_小指_小指3.SizeBase *= 1.5; - X0Y3_小指_小指2.SizeBase *= 1.5; - X0Y3_親指_親指1.SizeBase *= 1.5; - X0Y3_親指_親指2.SizeBase *= 1.5; - X0Y3_親指_親指3.SizeBase *= 1.5; - X0Y4_人指_人指1.SizeBase *= 1.5; - X0Y4_人指_人指3.SizeBase *= 1.5; - X0Y4_人指_人指2.SizeBase *= 1.5; - X0Y4_小指_小指1.SizeBase *= 1.5; - X0Y4_小指_小指3.SizeBase *= 1.5; - X0Y4_小指_小指2.SizeBase *= 1.5; - X0Y4_親指_親指1.SizeBase *= 1.5; - X0Y4_親指_親指2.SizeBase *= 1.5; - X0Y4_親指_親指3.SizeBase *= 1.5; - X0Y5_人指_人指1.SizeBase *= 1.5; - X0Y5_人指_人指3.SizeBase *= 1.5; - X0Y5_人指_人指2.SizeBase *= 1.5; - X0Y5_小指_小指1.SizeBase *= 1.5; - X0Y5_小指_小指3.SizeBase *= 1.5; - X0Y5_小指_小指2.SizeBase *= 1.5; - X0Y5_親指_親指1.SizeBase *= 1.5; - X0Y5_親指_親指2.SizeBase *= 1.5; - X0Y5_親指_親指3.SizeBase *= 1.5; - X0Y6_人指_人指1.SizeBase *= 1.5; - X0Y6_人指_人指3.SizeBase *= 1.5; - X0Y6_人指_人指2.SizeBase *= 1.5; - X0Y6_小指_小指1.SizeBase *= 1.5; - X0Y6_小指_小指3.SizeBase *= 1.5; - X0Y6_小指_小指2.SizeBase *= 1.5; - X0Y6_親指_親指1.SizeBase *= 1.5; - X0Y6_親指_親指2.SizeBase *= 1.5; - X0Y6_親指_親指3.SizeBase *= 1.5; - X0Y7_人指_人指1.SizeBase *= 1.5; - X0Y7_人指_人指3.SizeBase *= 1.5; - X0Y7_人指_人指2.SizeBase *= 1.5; - X0Y7_小指_小指1.SizeBase *= 1.5; - X0Y7_小指_小指3.SizeBase *= 1.5; - X0Y7_小指_小指2.SizeBase *= 1.5; - X0Y7_親指_親指1.SizeBase *= 1.5; - X0Y7_親指_親指2.SizeBase *= 1.5; - X0Y7_親指_親指3.SizeBase *= 1.5; - X0Y8_人指_人指1.SizeBase *= 1.5; - X0Y8_人指_人指3.SizeBase *= 1.5; - X0Y8_人指_人指2.SizeBase *= 1.5; - X0Y8_小指_小指1.SizeBase *= 1.5; - X0Y8_小指_小指3.SizeBase *= 1.5; - X0Y8_小指_小指2.SizeBase *= 1.5; - X0Y8_親指_親指1.SizeBase *= 1.5; - X0Y8_親指_親指2.SizeBase *= 1.5; - X0Y8_親指_親指3.SizeBase *= 1.5; - X0Y9_人指_人指1.SizeBase *= 1.5; - X0Y9_人指_人指3.SizeBase *= 1.5; - X0Y9_人指_人指2.SizeBase *= 1.5; - X0Y9_小指_小指1.SizeBase *= 1.5; - X0Y9_小指_小指3.SizeBase *= 1.5; - X0Y9_小指_小指2.SizeBase *= 1.5; - X0Y9_親指_親指1.SizeBase *= 1.5; - X0Y9_親指_親指2.SizeBase *= 1.5; - X0Y9_親指_親指3.SizeBase *= 1.5; - X0Y10_人指_人指1.SizeBase *= 1.5; - X0Y10_人指_人指3.SizeBase *= 1.5; - X0Y10_人指_人指2.SizeBase *= 1.5; - X0Y10_小指_小指1.SizeBase *= 1.5; - X0Y10_小指_小指3.SizeBase *= 1.5; - X0Y10_小指_小指2.SizeBase *= 1.5; - X0Y10_親指_親指1.SizeBase *= 1.5; - X0Y10_親指_親指2.SizeBase *= 1.5; - X0Y10_親指_親指3.SizeBase *= 1.5; + X0Y0_人指_人指1.SetSizeBase(X0Y0_人指_人指1.GetSizeBase() * 1.5); + X0Y0_人指_人指3.SetSizeBase(X0Y0_人指_人指3.GetSizeBase() * 1.5); + X0Y0_人指_人指2.SetSizeBase(X0Y0_人指_人指2.GetSizeBase() * 1.5); + X0Y0_小指_小指1.SetSizeBase(X0Y0_小指_小指1.GetSizeBase() * 1.5); + X0Y0_小指_小指3.SetSizeBase(X0Y0_小指_小指3.GetSizeBase() * 1.5); + X0Y0_小指_小指2.SetSizeBase(X0Y0_小指_小指2.GetSizeBase() * 1.5); + X0Y0_親指_親指1.SetSizeBase(X0Y0_親指_親指1.GetSizeBase() * 1.5); + X0Y0_親指_親指2.SetSizeBase(X0Y0_親指_親指2.GetSizeBase() * 1.5); + X0Y0_親指_親指3.SetSizeBase(X0Y0_親指_親指3.GetSizeBase() * 1.5); + X0Y1_人指_人指1.SetSizeBase(X0Y1_人指_人指1.GetSizeBase() * 1.5); + X0Y1_人指_人指3.SetSizeBase(X0Y1_人指_人指3.GetSizeBase() * 1.5); + X0Y1_人指_人指2.SetSizeBase(X0Y1_人指_人指2.GetSizeBase() * 1.5); + X0Y1_小指_小指1.SetSizeBase(X0Y1_小指_小指1.GetSizeBase() * 1.5); + X0Y1_小指_小指3.SetSizeBase(X0Y1_小指_小指3.GetSizeBase() * 1.5); + X0Y1_小指_小指2.SetSizeBase(X0Y1_小指_小指2.GetSizeBase() * 1.5); + X0Y1_親指_親指1.SetSizeBase(X0Y1_親指_親指1.GetSizeBase() * 1.5); + X0Y1_親指_親指2.SetSizeBase(X0Y1_親指_親指2.GetSizeBase() * 1.5); + X0Y1_親指_親指3.SetSizeBase(X0Y1_親指_親指3.GetSizeBase() * 1.5); + X0Y2_人指_人指1.SetSizeBase(X0Y2_人指_人指1.GetSizeBase() * 1.5); + X0Y2_人指_人指3.SetSizeBase(X0Y2_人指_人指3.GetSizeBase() * 1.5); + X0Y2_人指_人指2.SetSizeBase(X0Y2_人指_人指2.GetSizeBase() * 1.5); + X0Y2_小指_小指1.SetSizeBase(X0Y2_小指_小指1.GetSizeBase() * 1.5); + X0Y2_小指_小指3.SetSizeBase(X0Y2_小指_小指3.GetSizeBase() * 1.5); + X0Y2_小指_小指2.SetSizeBase(X0Y2_小指_小指2.GetSizeBase() * 1.5); + X0Y2_親指_親指1.SetSizeBase(X0Y2_親指_親指1.GetSizeBase() * 1.5); + X0Y2_親指_親指2.SetSizeBase(X0Y2_親指_親指2.GetSizeBase() * 1.5); + X0Y2_親指_親指3.SetSizeBase(X0Y2_親指_親指3.GetSizeBase() * 1.5); + X0Y3_人指_人指1.SetSizeBase(X0Y3_人指_人指1.GetSizeBase() * 1.5); + X0Y3_人指_人指3.SetSizeBase(X0Y3_人指_人指3.GetSizeBase() * 1.5); + X0Y3_人指_人指2.SetSizeBase(X0Y3_人指_人指2.GetSizeBase() * 1.5); + X0Y3_小指_小指1.SetSizeBase(X0Y3_小指_小指1.GetSizeBase() * 1.5); + X0Y3_小指_小指3.SetSizeBase(X0Y3_小指_小指3.GetSizeBase() * 1.5); + X0Y3_小指_小指2.SetSizeBase(X0Y3_小指_小指2.GetSizeBase() * 1.5); + X0Y3_親指_親指1.SetSizeBase(X0Y3_親指_親指1.GetSizeBase() * 1.5); + X0Y3_親指_親指2.SetSizeBase(X0Y3_親指_親指2.GetSizeBase() * 1.5); + X0Y3_親指_親指3.SetSizeBase(X0Y3_親指_親指3.GetSizeBase() * 1.5); + X0Y4_人指_人指1.SetSizeBase(X0Y4_人指_人指1.GetSizeBase() * 1.5); + X0Y4_人指_人指3.SetSizeBase(X0Y4_人指_人指3.GetSizeBase() * 1.5); + X0Y4_人指_人指2.SetSizeBase(X0Y4_人指_人指2.GetSizeBase() * 1.5); + X0Y4_小指_小指1.SetSizeBase(X0Y4_小指_小指1.GetSizeBase() * 1.5); + X0Y4_小指_小指3.SetSizeBase(X0Y4_小指_小指3.GetSizeBase() * 1.5); + X0Y4_小指_小指2.SetSizeBase(X0Y4_小指_小指2.GetSizeBase() * 1.5); + X0Y4_親指_親指1.SetSizeBase(X0Y4_親指_親指1.GetSizeBase() * 1.5); + X0Y4_親指_親指2.SetSizeBase(X0Y4_親指_親指2.GetSizeBase() * 1.5); + X0Y4_親指_親指3.SetSizeBase(X0Y4_親指_親指3.GetSizeBase() * 1.5); + X0Y5_人指_人指1.SetSizeBase(X0Y5_人指_人指1.GetSizeBase() * 1.5); + X0Y5_人指_人指3.SetSizeBase(X0Y5_人指_人指3.GetSizeBase() * 1.5); + X0Y5_人指_人指2.SetSizeBase(X0Y5_人指_人指2.GetSizeBase() * 1.5); + X0Y5_小指_小指1.SetSizeBase(X0Y5_小指_小指1.GetSizeBase() * 1.5); + X0Y5_小指_小指3.SetSizeBase(X0Y5_小指_小指3.GetSizeBase() * 1.5); + X0Y5_小指_小指2.SetSizeBase(X0Y5_小指_小指2.GetSizeBase() * 1.5); + X0Y5_親指_親指1.SetSizeBase(X0Y5_親指_親指1.GetSizeBase() * 1.5); + X0Y5_親指_親指2.SetSizeBase(X0Y5_親指_親指2.GetSizeBase() * 1.5); + X0Y5_親指_親指3.SetSizeBase(X0Y5_親指_親指3.GetSizeBase() * 1.5); + X0Y6_人指_人指1.SetSizeBase(X0Y6_人指_人指1.GetSizeBase() * 1.5); + X0Y6_人指_人指3.SetSizeBase(X0Y6_人指_人指3.GetSizeBase() * 1.5); + X0Y6_人指_人指2.SetSizeBase(X0Y6_人指_人指2.GetSizeBase() * 1.5); + X0Y6_小指_小指1.SetSizeBase(X0Y6_小指_小指1.GetSizeBase() * 1.5); + X0Y6_小指_小指3.SetSizeBase(X0Y6_小指_小指3.GetSizeBase() * 1.5); + X0Y6_小指_小指2.SetSizeBase(X0Y6_小指_小指2.GetSizeBase() * 1.5); + X0Y6_親指_親指1.SetSizeBase(X0Y6_親指_親指1.GetSizeBase() * 1.5); + X0Y6_親指_親指2.SetSizeBase(X0Y6_親指_親指2.GetSizeBase() * 1.5); + X0Y6_親指_親指3.SetSizeBase(X0Y6_親指_親指3.GetSizeBase() * 1.5); + X0Y7_人指_人指1.SetSizeBase(X0Y7_人指_人指1.GetSizeBase() * 1.5); + X0Y7_人指_人指3.SetSizeBase(X0Y7_人指_人指3.GetSizeBase() * 1.5); + X0Y7_人指_人指2.SetSizeBase(X0Y7_人指_人指2.GetSizeBase() * 1.5); + X0Y7_小指_小指1.SetSizeBase(X0Y7_小指_小指1.GetSizeBase() * 1.5); + X0Y7_小指_小指3.SetSizeBase(X0Y7_小指_小指3.GetSizeBase() * 1.5); + X0Y7_小指_小指2.SetSizeBase(X0Y7_小指_小指2.GetSizeBase() * 1.5); + X0Y7_親指_親指1.SetSizeBase(X0Y7_親指_親指1.GetSizeBase() * 1.5); + X0Y7_親指_親指2.SetSizeBase(X0Y7_親指_親指2.GetSizeBase() * 1.5); + X0Y7_親指_親指3.SetSizeBase(X0Y7_親指_親指3.GetSizeBase() * 1.5); + X0Y8_人指_人指1.SetSizeBase(X0Y8_人指_人指1.GetSizeBase() * 1.5); + X0Y8_人指_人指3.SetSizeBase(X0Y8_人指_人指3.GetSizeBase() * 1.5); + X0Y8_人指_人指2.SetSizeBase(X0Y8_人指_人指2.GetSizeBase() * 1.5); + X0Y8_小指_小指1.SetSizeBase(X0Y8_小指_小指1.GetSizeBase() * 1.5); + X0Y8_小指_小指3.SetSizeBase(X0Y8_小指_小指3.GetSizeBase() * 1.5); + X0Y8_小指_小指2.SetSizeBase(X0Y8_小指_小指2.GetSizeBase() * 1.5); + X0Y8_親指_親指1.SetSizeBase(X0Y8_親指_親指1.GetSizeBase() * 1.5); + X0Y8_親指_親指2.SetSizeBase(X0Y8_親指_親指2.GetSizeBase() * 1.5); + X0Y8_親指_親指3.SetSizeBase(X0Y8_親指_親指3.GetSizeBase() * 1.5); + X0Y9_人指_人指1.SetSizeBase(X0Y9_人指_人指1.GetSizeBase() * 1.5); + X0Y9_人指_人指3.SetSizeBase(X0Y9_人指_人指3.GetSizeBase() * 1.5); + X0Y9_人指_人指2.SetSizeBase(X0Y9_人指_人指2.GetSizeBase() * 1.5); + X0Y9_小指_小指1.SetSizeBase(X0Y9_小指_小指1.GetSizeBase() * 1.5); + X0Y9_小指_小指3.SetSizeBase(X0Y9_小指_小指3.GetSizeBase() * 1.5); + X0Y9_小指_小指2.SetSizeBase(X0Y9_小指_小指2.GetSizeBase() * 1.5); + X0Y9_親指_親指1.SetSizeBase(X0Y9_親指_親指1.GetSizeBase() * 1.5); + X0Y9_親指_親指2.SetSizeBase(X0Y9_親指_親指2.GetSizeBase() * 1.5); + X0Y9_親指_親指3.SetSizeBase(X0Y9_親指_親指3.GetSizeBase() * 1.5); + X0Y10_人指_人指1.SetSizeBase(X0Y10_人指_人指1.GetSizeBase() * 1.5); + X0Y10_人指_人指3.SetSizeBase(X0Y10_人指_人指3.GetSizeBase() * 1.5); + X0Y10_人指_人指2.SetSizeBase(X0Y10_人指_人指2.GetSizeBase() * 1.5); + X0Y10_小指_小指1.SetSizeBase(X0Y10_小指_小指1.GetSizeBase() * 1.5); + X0Y10_小指_小指3.SetSizeBase(X0Y10_小指_小指3.GetSizeBase() * 1.5); + X0Y10_小指_小指2.SetSizeBase(X0Y10_小指_小指2.GetSizeBase() * 1.5); + X0Y10_親指_親指1.SetSizeBase(X0Y10_親指_親指1.GetSizeBase() * 1.5); + X0Y10_親指_親指2.SetSizeBase(X0Y10_親指_親指2.GetSizeBase() * 1.5); + X0Y10_親指_親指3.SetSizeBase(X0Y10_親指_親指3.GetSizeBase() * 1.5); 中指_中指1_表示 = false; 中指_中指3_表示 = false; 中指_中指2_表示 = false; @@ -4029,94 +4029,94 @@ namespace SlaveMatrix public void 宇手() { - X0Y0_人指_人指1.SizeBase *= 1.5; - X0Y0_人指_人指3.SizeBase *= 1.5; - X0Y0_人指_人指2.SizeBase *= 1.5; - X0Y0_小指_小指1.SizeBase *= 1.5; - X0Y0_小指_小指3.SizeBase *= 1.5; - X0Y0_小指_小指2.SizeBase *= 1.5; - X0Y0_親指_親指2.SizeBase *= 1.5; - X0Y0_親指_親指3.SizeBase *= 1.5; - X0Y1_人指_人指1.SizeBase *= 1.5; - X0Y1_人指_人指3.SizeBase *= 1.5; - X0Y1_人指_人指2.SizeBase *= 1.5; - X0Y1_小指_小指1.SizeBase *= 1.5; - X0Y1_小指_小指3.SizeBase *= 1.5; - X0Y1_小指_小指2.SizeBase *= 1.5; - X0Y1_親指_親指2.SizeBase *= 1.5; - X0Y1_親指_親指3.SizeBase *= 1.5; - X0Y2_人指_人指1.SizeBase *= 1.5; - X0Y2_人指_人指3.SizeBase *= 1.5; - X0Y2_人指_人指2.SizeBase *= 1.5; - X0Y2_小指_小指1.SizeBase *= 1.5; - X0Y2_小指_小指3.SizeBase *= 1.5; - X0Y2_小指_小指2.SizeBase *= 1.5; - X0Y2_親指_親指2.SizeBase *= 1.5; - X0Y2_親指_親指3.SizeBase *= 1.5; - X0Y3_人指_人指1.SizeBase *= 1.5; - X0Y3_人指_人指3.SizeBase *= 1.5; - X0Y3_人指_人指2.SizeBase *= 1.5; - X0Y3_小指_小指1.SizeBase *= 1.5; - X0Y3_小指_小指3.SizeBase *= 1.5; - X0Y3_小指_小指2.SizeBase *= 1.5; - X0Y3_親指_親指2.SizeBase *= 1.5; - X0Y3_親指_親指3.SizeBase *= 1.5; - X0Y4_人指_人指1.SizeBase *= 1.5; - X0Y4_人指_人指3.SizeBase *= 1.5; - X0Y4_人指_人指2.SizeBase *= 1.5; - X0Y4_小指_小指1.SizeBase *= 1.5; - X0Y4_小指_小指3.SizeBase *= 1.5; - X0Y4_小指_小指2.SizeBase *= 1.5; - X0Y4_親指_親指2.SizeBase *= 1.5; - X0Y4_親指_親指3.SizeBase *= 1.5; - X0Y5_人指_人指1.SizeBase *= 1.5; - X0Y5_人指_人指3.SizeBase *= 1.5; - X0Y5_人指_人指2.SizeBase *= 1.5; - X0Y5_小指_小指1.SizeBase *= 1.5; - X0Y5_小指_小指3.SizeBase *= 1.5; - X0Y5_小指_小指2.SizeBase *= 1.5; - X0Y5_親指_親指2.SizeBase *= 1.5; - X0Y5_親指_親指3.SizeBase *= 1.5; - X0Y6_人指_人指1.SizeBase *= 1.5; - X0Y6_人指_人指3.SizeBase *= 1.5; - X0Y6_人指_人指2.SizeBase *= 1.5; - X0Y6_小指_小指1.SizeBase *= 1.5; - X0Y6_小指_小指3.SizeBase *= 1.5; - X0Y6_小指_小指2.SizeBase *= 1.5; - X0Y6_親指_親指2.SizeBase *= 1.5; - X0Y6_親指_親指3.SizeBase *= 1.5; - X0Y7_人指_人指1.SizeBase *= 1.5; - X0Y7_人指_人指3.SizeBase *= 1.5; - X0Y7_人指_人指2.SizeBase *= 1.5; - X0Y7_小指_小指1.SizeBase *= 1.5; - X0Y7_小指_小指3.SizeBase *= 1.5; - X0Y7_小指_小指2.SizeBase *= 1.5; - X0Y7_親指_親指2.SizeBase *= 1.5; - X0Y7_親指_親指3.SizeBase *= 1.5; - X0Y8_人指_人指1.SizeBase *= 1.5; - X0Y8_人指_人指3.SizeBase *= 1.5; - X0Y8_人指_人指2.SizeBase *= 1.5; - X0Y8_小指_小指1.SizeBase *= 1.5; - X0Y8_小指_小指3.SizeBase *= 1.5; - X0Y8_小指_小指2.SizeBase *= 1.5; - X0Y8_親指_親指2.SizeBase *= 1.5; - X0Y8_親指_親指3.SizeBase *= 1.5; - X0Y9_人指_人指1.SizeBase *= 1.5; - X0Y9_人指_人指3.SizeBase *= 1.5; - X0Y9_人指_人指2.SizeBase *= 1.5; - X0Y9_小指_小指1.SizeBase *= 1.5; - X0Y9_小指_小指3.SizeBase *= 1.5; - X0Y9_小指_小指2.SizeBase *= 1.5; - X0Y9_親指_親指2.SizeBase *= 1.5; - X0Y9_親指_親指3.SizeBase *= 1.5; - X0Y10_人指_人指1.SizeBase *= 1.5; - X0Y10_人指_人指3.SizeBase *= 1.5; - X0Y10_人指_人指2.SizeBase *= 1.5; - X0Y10_小指_小指1.SizeBase *= 1.5; - X0Y10_小指_小指3.SizeBase *= 1.5; - X0Y10_小指_小指2.SizeBase *= 1.5; - X0Y10_親指_親指2.SizeBase *= 1.5; - X0Y10_親指_親指3.SizeBase *= 1.5; + X0Y0_人指_人指1.SetSizeBase(X0Y0_人指_人指1.GetSizeBase() * 1.5); + X0Y0_人指_人指3.SetSizeBase(X0Y0_人指_人指3.GetSizeBase() * 1.5); + X0Y0_人指_人指2.SetSizeBase(X0Y0_人指_人指2.GetSizeBase() * 1.5); + X0Y0_小指_小指1.SetSizeBase(X0Y0_小指_小指1.GetSizeBase() * 1.5); + X0Y0_小指_小指3.SetSizeBase(X0Y0_小指_小指3.GetSizeBase() * 1.5); + X0Y0_小指_小指2.SetSizeBase(X0Y0_小指_小指2.GetSizeBase() * 1.5); + X0Y0_親指_親指2.SetSizeBase(X0Y0_親指_親指2.GetSizeBase() * 1.5); + X0Y0_親指_親指3.SetSizeBase(X0Y0_親指_親指3.GetSizeBase() * 1.5); + X0Y1_人指_人指1.SetSizeBase(X0Y1_人指_人指1.GetSizeBase() * 1.5); + X0Y1_人指_人指3.SetSizeBase(X0Y1_人指_人指3.GetSizeBase() * 1.5); + X0Y1_人指_人指2.SetSizeBase(X0Y1_人指_人指2.GetSizeBase() * 1.5); + X0Y1_小指_小指1.SetSizeBase(X0Y1_小指_小指1.GetSizeBase() * 1.5); + X0Y1_小指_小指3.SetSizeBase(X0Y1_小指_小指3.GetSizeBase() * 1.5); + X0Y1_小指_小指2.SetSizeBase(X0Y1_小指_小指2.GetSizeBase() * 1.5); + X0Y1_親指_親指2.SetSizeBase(X0Y1_親指_親指2.GetSizeBase() * 1.5); + X0Y1_親指_親指3.SetSizeBase(X0Y1_親指_親指3.GetSizeBase() * 1.5); + X0Y2_人指_人指1.SetSizeBase(X0Y2_人指_人指1.GetSizeBase() * 1.5); + X0Y2_人指_人指3.SetSizeBase(X0Y2_人指_人指3.GetSizeBase() * 1.5); + X0Y2_人指_人指2.SetSizeBase(X0Y2_人指_人指2.GetSizeBase() * 1.5); + X0Y2_小指_小指1.SetSizeBase(X0Y2_小指_小指1.GetSizeBase() * 1.5); + X0Y2_小指_小指3.SetSizeBase(X0Y2_小指_小指3.GetSizeBase() * 1.5); + X0Y2_小指_小指2.SetSizeBase(X0Y2_小指_小指2.GetSizeBase() * 1.5); + X0Y2_親指_親指2.SetSizeBase(X0Y2_親指_親指2.GetSizeBase() * 1.5); + X0Y2_親指_親指3.SetSizeBase(X0Y2_親指_親指3.GetSizeBase() * 1.5); + X0Y3_人指_人指1.SetSizeBase(X0Y3_人指_人指1.GetSizeBase() * 1.5); + X0Y3_人指_人指3.SetSizeBase(X0Y3_人指_人指3.GetSizeBase() * 1.5); + X0Y3_人指_人指2.SetSizeBase(X0Y3_人指_人指2.GetSizeBase() * 1.5); + X0Y3_小指_小指1.SetSizeBase(X0Y3_小指_小指1.GetSizeBase() * 1.5); + X0Y3_小指_小指3.SetSizeBase(X0Y3_小指_小指3.GetSizeBase() * 1.5); + X0Y3_小指_小指2.SetSizeBase(X0Y3_小指_小指2.GetSizeBase() * 1.5); + X0Y3_親指_親指2.SetSizeBase(X0Y3_親指_親指2.GetSizeBase() * 1.5); + X0Y3_親指_親指3.SetSizeBase(X0Y3_親指_親指3.GetSizeBase() * 1.5); + X0Y4_人指_人指1.SetSizeBase(X0Y4_人指_人指1.GetSizeBase() * 1.5); + X0Y4_人指_人指3.SetSizeBase(X0Y4_人指_人指3.GetSizeBase() * 1.5); + X0Y4_人指_人指2.SetSizeBase(X0Y4_人指_人指2.GetSizeBase() * 1.5); + X0Y4_小指_小指1.SetSizeBase(X0Y4_小指_小指1.GetSizeBase() * 1.5); + X0Y4_小指_小指3.SetSizeBase(X0Y4_小指_小指3.GetSizeBase() * 1.5); + X0Y4_小指_小指2.SetSizeBase(X0Y4_小指_小指2.GetSizeBase() * 1.5); + X0Y4_親指_親指2.SetSizeBase(X0Y4_親指_親指2.GetSizeBase() * 1.5); + X0Y4_親指_親指3.SetSizeBase(X0Y4_親指_親指3.GetSizeBase() * 1.5); + X0Y5_人指_人指1.SetSizeBase(X0Y5_人指_人指1.GetSizeBase() * 1.5); + X0Y5_人指_人指3.SetSizeBase(X0Y5_人指_人指3.GetSizeBase() * 1.5); + X0Y5_人指_人指2.SetSizeBase(X0Y5_人指_人指2.GetSizeBase() * 1.5); + X0Y5_小指_小指1.SetSizeBase(X0Y5_小指_小指1.GetSizeBase() * 1.5); + X0Y5_小指_小指3.SetSizeBase(X0Y5_小指_小指3.GetSizeBase() * 1.5); + X0Y5_小指_小指2.SetSizeBase(X0Y5_小指_小指2.GetSizeBase() * 1.5); + X0Y5_親指_親指2.SetSizeBase(X0Y5_親指_親指2.GetSizeBase() * 1.5); + X0Y5_親指_親指3.SetSizeBase(X0Y5_親指_親指3.GetSizeBase() * 1.5); + X0Y6_人指_人指1.SetSizeBase(X0Y6_人指_人指1.GetSizeBase() * 1.5); + X0Y6_人指_人指3.SetSizeBase(X0Y6_人指_人指3.GetSizeBase() * 1.5); + X0Y6_人指_人指2.SetSizeBase(X0Y6_人指_人指2.GetSizeBase() * 1.5); + X0Y6_小指_小指1.SetSizeBase(X0Y6_小指_小指1.GetSizeBase() * 1.5); + X0Y6_小指_小指3.SetSizeBase(X0Y6_小指_小指3.GetSizeBase() * 1.5); + X0Y6_小指_小指2.SetSizeBase(X0Y6_小指_小指2.GetSizeBase() * 1.5); + X0Y6_親指_親指2.SetSizeBase(X0Y6_親指_親指2.GetSizeBase() * 1.5); + X0Y6_親指_親指3.SetSizeBase(X0Y6_親指_親指3.GetSizeBase() * 1.5); + X0Y7_人指_人指1.SetSizeBase(X0Y7_人指_人指1.GetSizeBase() * 1.5); + X0Y7_人指_人指3.SetSizeBase(X0Y7_人指_人指3.GetSizeBase() * 1.5); + X0Y7_人指_人指2.SetSizeBase(X0Y7_人指_人指2.GetSizeBase() * 1.5); + X0Y7_小指_小指1.SetSizeBase(X0Y7_小指_小指1.GetSizeBase() * 1.5); + X0Y7_小指_小指3.SetSizeBase(X0Y7_小指_小指3.GetSizeBase() * 1.5); + X0Y7_小指_小指2.SetSizeBase(X0Y7_小指_小指2.GetSizeBase() * 1.5); + X0Y7_親指_親指2.SetSizeBase(X0Y7_親指_親指2.GetSizeBase() * 1.5); + X0Y7_親指_親指3.SetSizeBase(X0Y7_親指_親指3.GetSizeBase() * 1.5); + X0Y8_人指_人指1.SetSizeBase(X0Y8_人指_人指1.GetSizeBase() * 1.5); + X0Y8_人指_人指3.SetSizeBase(X0Y8_人指_人指3.GetSizeBase() * 1.5); + X0Y8_人指_人指2.SetSizeBase(X0Y8_人指_人指2.GetSizeBase() * 1.5); + X0Y8_小指_小指1.SetSizeBase(X0Y8_小指_小指1.GetSizeBase() * 1.5); + X0Y8_小指_小指3.SetSizeBase(X0Y8_小指_小指3.GetSizeBase() * 1.5); + X0Y8_小指_小指2.SetSizeBase(X0Y8_小指_小指2.GetSizeBase() * 1.5); + X0Y8_親指_親指2.SetSizeBase(X0Y8_親指_親指2.GetSizeBase() * 1.5); + X0Y8_親指_親指3.SetSizeBase(X0Y8_親指_親指3.GetSizeBase() * 1.5); + X0Y9_人指_人指1.SetSizeBase(X0Y9_人指_人指1.GetSizeBase() * 1.5); + X0Y9_人指_人指3.SetSizeBase(X0Y9_人指_人指3.GetSizeBase() * 1.5); + X0Y9_人指_人指2.SetSizeBase(X0Y9_人指_人指2.GetSizeBase() * 1.5); + X0Y9_小指_小指1.SetSizeBase(X0Y9_小指_小指1.GetSizeBase() * 1.5); + X0Y9_小指_小指3.SetSizeBase(X0Y9_小指_小指3.GetSizeBase() * 1.5); + X0Y9_小指_小指2.SetSizeBase(X0Y9_小指_小指2.GetSizeBase() * 1.5); + X0Y9_親指_親指2.SetSizeBase(X0Y9_親指_親指2.GetSizeBase() * 1.5); + X0Y9_親指_親指3.SetSizeBase(X0Y9_親指_親指3.GetSizeBase() * 1.5); + X0Y10_人指_人指1.SetSizeBase(X0Y10_人指_人指1.GetSizeBase() * 1.5); + X0Y10_人指_人指3.SetSizeBase(X0Y10_人指_人指3.GetSizeBase() * 1.5); + X0Y10_人指_人指2.SetSizeBase(X0Y10_人指_人指2.GetSizeBase() * 1.5); + X0Y10_小指_小指1.SetSizeBase(X0Y10_小指_小指1.GetSizeBase() * 1.5); + X0Y10_小指_小指3.SetSizeBase(X0Y10_小指_小指3.GetSizeBase() * 1.5); + X0Y10_小指_小指2.SetSizeBase(X0Y10_小指_小指2.GetSizeBase() * 1.5); + X0Y10_親指_親指2.SetSizeBase(X0Y10_親指_親指2.GetSizeBase() * 1.5); + X0Y10_親指_親指3.SetSizeBase(X0Y10_親指_親指3.GetSizeBase() * 1.5); 中指_中指1_表示 = false; 中指_中指3_表示 = false; 中指_中指2_表示 = false; @@ -4129,8 +4129,8 @@ namespace SlaveMatrix { foreach (Par item in Body.EnumAllPar()) { - item.OP.ExpansionXY(item.OP.GetCenter(), 0.001); - item.SizeBase *= 1.2; + item.GetOP().ExpansionXY(item.GetOP().GetCenter(), 0.001); + item.SetSizeBase(item.GetSizeBase() * 1.2); } } @@ -4140,32 +4140,32 @@ namespace SlaveMatrix { if (item.Tag.Contains("鱗")) { - item.SizeBase *= 1.1; + item.SetSizeBase(item.GetSizeBase() * 1.1); continue; } - item.OP.ExpansionXY(item.OP.GetCenter(), 0.001); - item.JP.ExpansionXY(item.OP.GetCenter(), 0.001); + item.GetOP().ExpansionXY(item.GetOP().GetCenter(), 0.001); + item.GetJP().ExpansionXY(item.GetOP().GetCenter(), 0.001); } - X0Y0_親指_親指1.OP[右 ? 3 : 0].Outline = true; - X0Y1_親指_親指1.OP[右 ? 2 : 2].Outline = true; - X0Y1_親指_親指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y2_親指_親指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y2_親指_親指1.OP[右 ? 2 : 2].Outline = true; - X0Y2_親指_親指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y3_親指_親指1.OP[(!右) ? 3 : 0].Outline = true; - X0Y4_親指_親指1.OP[右 ? 2 : 2].Outline = true; - X0Y4_親指_親指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y5_親指_親指1.OP[(!右) ? 3 : 0].Outline = true; - X0Y6_親指_親指1.OP[(!右) ? 1 : 2].Outline = true; - X0Y6_親指_親指1.OP[(!右) ? 3 : 0].Outline = true; - X0Y7_親指_親指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y7_親指_親指1.OP[右 ? 2 : 2].Outline = true; - X0Y8_親指_親指1.OP[(!右) ? 1 : 3].Outline = true; - X0Y8_親指_親指1.OP[右 ? 2 : 2].Outline = true; - X0Y8_親指_親指1.OP[(!右) ? 4 : 0].Outline = true; - X0Y9_親指_親指1.OP[右 ? 3 : 0].Outline = true; - X0Y10_親指_親指1.OP[右 ? 2 : 2].Outline = true; - X0Y10_親指_親指1.OP[(!右) ? 4 : 0].Outline = true; + X0Y0_親指_親指1.GetOP()[右 ? 3 : 0].Outline = true; + X0Y1_親指_親指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y1_親指_親指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y2_親指_親指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y2_親指_親指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y2_親指_親指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y3_親指_親指1.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y4_親指_親指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y4_親指_親指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y5_親指_親指1.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y6_親指_親指1.GetOP()[(!右) ? 1 : 2].Outline = true; + X0Y6_親指_親指1.GetOP()[(!右) ? 3 : 0].Outline = true; + X0Y7_親指_親指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y7_親指_親指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y8_親指_親指1.GetOP()[(!右) ? 1 : 3].Outline = true; + X0Y8_親指_親指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y8_親指_親指1.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y9_親指_親指1.GetOP()[右 ? 3 : 0].Outline = true; + X0Y10_親指_親指1.GetOP()[右 ? 2 : 2].Outline = true; + X0Y10_親指_親指1.GetOP()[(!右) ? 4 : 0].Outline = true; } public override bool Is布(Par p) @@ -4179,7 +4179,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_グローブ_グローブCP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_人D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_人D.cs index 6fddf5f..e536887 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_人D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_人D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_牛.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_牛.cs index 6ebc564..1883f4e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_牛.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_牛.cs @@ -459,8 +459,8 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_指0.AngleBase = num * 217.0; - X0Y0_指1.AngleBase = num * -11.0; + X0Y0_指0.SetAngleBase(num * 217.0); + X0Y0_指1.SetAngleBase(num * -11.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_牛D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_牛D.cs index 16135a7..214dc21 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_牛D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_牛D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_獣.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_獣.cs index 6e02655..a82354e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_獣.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_獣.cs @@ -454,7 +454,7 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_手.AngleBase = num * 202.0; + X0Y0_手.SetAngleBase(num * 202.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_獣D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_獣D.cs index 2fb7956..1c31a07 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_獣D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_獣D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_蝙.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_蝙.cs index 357425a..bed2dc8 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_蝙.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_蝙.cs @@ -438,22 +438,22 @@ namespace SlaveMatrix { double num = value.Inverse(); double num2 = (右 ? (-1.0) : 1.0); - X0Y0_獣翼手.AngleCont = num2 * -74.0 * num; - X0Y0_小指_指1.AngleCont = num2 * 10.0 * num; - X0Y0_小指_指2.AngleCont = num2 * 0.0 * num; - X0Y0_小指_指3.AngleCont = num2 * -1.0 * num; - X0Y0_薬指_指1.AngleCont = num2 * -38.0 * num; - X0Y0_薬指_指2.AngleCont = num2 * 2.0 * num; - X0Y0_薬指_指3.AngleCont = num2 * 4.0 * num; - X0Y0_中指_指1.AngleCont = num2 * -63.0 * num; - X0Y0_中指_指2.AngleCont = num2 * -20.0 * num; - X0Y0_中指_指3.AngleCont = num2 * 12.0 * num; - X0Y0_人指_指1.AngleCont = num2 * -83.0 * num; - X0Y0_人指_指2.AngleCont = num2 * 9.0 * num; - X0Y0_人指_指3.AngleCont = num2 * 4.0 * num; - X0Y0_親指_指1.AngleCont = num2 * -10.0 * num; - X0Y0_親指_指2.AngleCont = num2 * -22.0 * num; - X0Y0_親指_指3.AngleCont = num2 * -45.0 * num; + X0Y0_獣翼手.SetAngleCont(num2 * -74.0 * num); + X0Y0_小指_指1.SetAngleCont(num2 * 10.0 * num); + X0Y0_小指_指2.SetAngleCont(num2 * 0.0 * num); + X0Y0_小指_指3.SetAngleCont(num2 * -1.0 * num); + X0Y0_薬指_指1.SetAngleCont(num2 * -38.0 * num); + X0Y0_薬指_指2.SetAngleCont(num2 * 2.0 * num); + X0Y0_薬指_指3.SetAngleCont(num2 * 4.0 * num); + X0Y0_中指_指1.SetAngleCont(num2 * -63.0 * num); + X0Y0_中指_指2.SetAngleCont(num2 * -20.0 * num); + X0Y0_中指_指3.SetAngleCont(num2 * 12.0 * num); + X0Y0_人指_指1.SetAngleCont(num2 * -83.0 * num); + X0Y0_人指_指2.SetAngleCont(num2 * 9.0 * num); + X0Y0_人指_指3.SetAngleCont(num2 * 4.0 * num); + X0Y0_親指_指1.SetAngleCont(num2 * -10.0 * num); + X0Y0_親指_指2.SetAngleCont(num2 * -22.0 * num); + X0Y0_親指_指3.SetAngleCont(num2 * -45.0 * num); } } @@ -461,12 +461,12 @@ namespace SlaveMatrix { set { - X0Y0_小指_指1.SizeXBase *= 1.0 - 0.4 * value; - X0Y0_小指_指2.SizeXBase *= 1.0 - 0.4 * value; - X0Y0_小指_指3.SizeXBase *= 1.0 - 0.4 * value; - X0Y0_薬指_指1.SizeXBase *= 1.0 - 0.25 * value; - X0Y0_薬指_指2.SizeXBase *= 1.0 - 0.25 * value; - X0Y0_薬指_指3.SizeXBase *= 1.0 - 0.25 * value; + X0Y0_小指_指1.SetSizeXBase(X0Y0_小指_指1.GetSizeXBase() * (1.0 - 0.4 * value)); + X0Y0_小指_指2.SetSizeXBase(X0Y0_小指_指2.GetSizeXBase() * (1.0 - 0.4 * value)); + X0Y0_小指_指3.SetSizeXBase(X0Y0_小指_指3.GetSizeXBase() * (1.0 - 0.4 * value)); + X0Y0_薬指_指1.SetSizeXBase(X0Y0_薬指_指1.GetSizeXBase() * (1.0 - 0.25 * value)); + X0Y0_薬指_指2.SetSizeXBase(X0Y0_薬指_指2.GetSizeXBase() * (1.0 - 0.25 * value)); + X0Y0_薬指_指3.SetSizeXBase(X0Y0_薬指_指3.GetSizeXBase() * (1.0 - 0.25 * value)); } } @@ -474,23 +474,23 @@ namespace SlaveMatrix { get { - return X0Y0_獣翼手.OP[(!右) ? 1 : 5].Outline; + return X0Y0_獣翼手.GetOP()[(!右) ? 1 : 5].Outline; } set { - X0Y0_獣翼手.OP[(!右) ? 1 : 5].Outline = value; - X0Y0_小指_指1.OP[(!右) ? 3 : 0].Outline = value; - X0Y0_小指_指2.OP[(!右) ? 3 : 0].Outline = value; - X0Y0_小指_指3.OP[(!右) ? 2 : 0].Outline = value; - X0Y0_薬指_指1.OP[(!右) ? 3 : 0].Outline = value; - X0Y0_薬指_指2.OP[(!右) ? 3 : 0].Outline = value; - X0Y0_薬指_指3.OP[(!右) ? 2 : 0].Outline = value; - X0Y0_中指_指1.OP[(!右) ? 3 : 0].Outline = value; - X0Y0_中指_指2.OP[(!右) ? 3 : 0].Outline = value; - X0Y0_中指_指3.OP[(!右) ? 2 : 0].Outline = value; - X0Y0_人指_指1.OP[(!右) ? 3 : 0].Outline = value; - X0Y0_人指_指2.OP[(!右) ? 3 : 0].Outline = value; - X0Y0_人指_指3.OP[(!右) ? 2 : 0].Outline = value; + X0Y0_獣翼手.GetOP()[(!右) ? 1 : 5].Outline = value; + X0Y0_小指_指1.GetOP()[(!右) ? 3 : 0].Outline = value; + X0Y0_小指_指2.GetOP()[(!右) ? 3 : 0].Outline = value; + X0Y0_小指_指3.GetOP()[(!右) ? 2 : 0].Outline = value; + X0Y0_薬指_指1.GetOP()[(!右) ? 3 : 0].Outline = value; + X0Y0_薬指_指2.GetOP()[(!右) ? 3 : 0].Outline = value; + X0Y0_薬指_指3.GetOP()[(!右) ? 2 : 0].Outline = value; + X0Y0_中指_指1.GetOP()[(!右) ? 3 : 0].Outline = value; + X0Y0_中指_指2.GetOP()[(!右) ? 3 : 0].Outline = value; + X0Y0_中指_指3.GetOP()[(!右) ? 2 : 0].Outline = value; + X0Y0_人指_指1.GetOP()[(!右) ? 3 : 0].Outline = value; + X0Y0_人指_指2.GetOP()[(!右) ? 3 : 0].Outline = value; + X0Y0_人指_指3.GetOP()[(!右) ? 2 : 0].Outline = value; } } @@ -844,22 +844,22 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_獣翼手.AngleBase = num * -31.0000000000001; - X0Y0_小指_指1.AngleBase = num * -79.3474786285473; - X0Y0_小指_指2.AngleBase = num * -6.63284583292149; - X0Y0_小指_指3.AngleBase = num * -5.51444226587368; - X0Y0_薬指_指1.AngleBase = num * -29.8986006733114; - X0Y0_薬指_指2.AngleBase = num * -9.09381595653455; - X0Y0_薬指_指3.AngleBase = num * -15.3232033633539; - X0Y0_中指_指1.AngleBase = num * -2.25244077487218; - X0Y0_中指_指2.AngleBase = num * -349.728279240711; - X0Y0_中指_指3.AngleBase = num * 330.298790583483; - X0Y0_人指_指1.AngleBase = num * -340.637781414332; - X0Y0_人指_指2.AngleBase = num * -14.7669119107363; - X0Y0_人指_指3.AngleBase = num * 347.37149883769; - X0Y0_親指_指1.AngleBase = num * -257.575894274218; - X0Y0_親指_指2.AngleBase = num * 328.764949390357; - X0Y0_親指_指3.AngleBase = num * 15.8109448838614; + X0Y0_獣翼手.SetAngleBase(num * -31.0000000000001); + X0Y0_小指_指1.SetAngleBase(num * -79.3474786285473); + X0Y0_小指_指2.SetAngleBase(num * -6.63284583292149); + X0Y0_小指_指3.SetAngleBase(num * -5.51444226587368); + X0Y0_薬指_指1.SetAngleBase(num * -29.8986006733114); + X0Y0_薬指_指2.SetAngleBase(num * -9.09381595653455); + X0Y0_薬指_指3.SetAngleBase(num * -15.3232033633539); + X0Y0_中指_指1.SetAngleBase(num * -2.25244077487218); + X0Y0_中指_指2.SetAngleBase(num * -349.728279240711); + X0Y0_中指_指3.SetAngleBase(num * 330.298790583483); + X0Y0_人指_指1.SetAngleBase(num * -340.637781414332); + X0Y0_人指_指2.SetAngleBase(num * -14.7669119107363); + X0Y0_人指_指3.SetAngleBase(num * 347.37149883769); + X0Y0_親指_指1.SetAngleBase(num * -257.575894274218); + X0Y0_親指_指2.SetAngleBase(num * 328.764949390357); + X0Y0_親指_指3.SetAngleBase(num * 15.8109448838614); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_蝙D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_蝙D.cs index bf241e0..4a2229f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_蝙D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_蝙D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_馬.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_馬.cs index 1af094d..f937abd 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_馬.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_馬.cs @@ -410,8 +410,8 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_指0.AngleBase = num * 217.0; - X0Y0_指1.AngleBase = num * -13.0; + X0Y0_指0.SetAngleBase(num * 217.0); + X0Y0_指1.SetAngleBase(num * -13.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_馬D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_馬D.cs index 6bf4194..f5dfe02 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_馬D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_馬D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_鳥.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_鳥.cs index 7fe3da0..94f8ffc 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_鳥.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_鳥.cs @@ -1661,38 +1661,38 @@ namespace SlaveMatrix { double num = value.Inverse(); double num2 = (右 ? (-1.0) : 1.0); - X0Y0_鳥翼手.AngleCont = num2 * -170.0 * num; - X0Y0_風切羽_羽1.AngleCont = num2 * 12.0 * num; - X0Y0_風切羽_羽2.AngleCont = num2 * 17.8 * num; - X0Y0_風切羽_羽3.AngleCont = num2 * 23.6 * num; - X0Y0_風切羽_羽4.AngleCont = num2 * 29.4 * num; - X0Y0_風切羽_羽5.AngleCont = num2 * 35.2 * num; - X0Y0_風切羽_羽6.AngleCont = num2 * 41.0 * num; - X0Y0_風切羽_羽7.AngleCont = num2 * 46.8 * num; - X0Y0_風切羽_羽8.AngleCont = num2 * 52.6 * num; - X0Y0_風切羽_羽9.AngleCont = num2 * 58.4 * num; - X0Y0_風切羽_羽10.AngleCont = num2 * 64.2 * num; - X0Y0_雨覆羽_羽1.AngleCont = num2 * 7.0 * num; - X0Y0_雨覆羽_羽2.AngleCont = num2 * 13.8 * num; - X0Y0_雨覆羽_羽3.AngleCont = num2 * 20.6 * num; - X0Y0_雨覆羽_羽4.AngleCont = num2 * 27.4 * num; - X0Y0_雨覆羽_羽5.AngleCont = num2 * 34.2 * num; - X0Y0_雨覆羽_羽6.AngleCont = num2 * 41.0 * num; - X0Y0_雨覆羽_羽7.AngleCont = num2 * 47.8 * num; - X0Y0_雨覆羽_羽8.AngleCont = num2 * 54.6 * num; - X0Y0_雨覆羽_羽9.AngleCont = num2 * 61.4 * num; - X0Y0_雨覆羽_羽10.AngleCont = num2 * 68.2 * num; - X0Y0_小翼羽_羽1.AngleCont = num2 * 0.0 * num; - X0Y0_小翼羽_羽2.AngleCont = num2 * 11.6666666666667 * num; - X0Y0_小翼羽_羽3.AngleCont = num2 * 23.3333333333333 * num; - X0Y0_指_中指_指1.AngleCont = num2 * 20.0 * num; - X0Y0_指_中指_指2.AngleCont = num2 * 0.0 * num; - X0Y0_指_中指_指3.AngleCont = num2 * 0.0 * num; - X0Y0_指_人指_指1.AngleCont = num2 * 20.0 * num; - X0Y0_指_人指_指2.AngleCont = num2 * 0.0 * num; - X0Y0_指_人指_指3.AngleCont = num2 * 0.0 * num; - X0Y0_指_親指_指1.AngleCont = num2 * 20.0 * num; - X0Y0_指_親指_指2.AngleCont = num2 * 0.0 * num; + X0Y0_鳥翼手.SetAngleCont(num2 * -170.0 * num); + X0Y0_風切羽_羽1.SetAngleCont(num2 * 12.0 * num); + X0Y0_風切羽_羽2.SetAngleCont(num2 * 17.8 * num); + X0Y0_風切羽_羽3.SetAngleCont(num2 * 23.6 * num); + X0Y0_風切羽_羽4.SetAngleCont(num2 * 29.4 * num); + X0Y0_風切羽_羽5.SetAngleCont(num2 * 35.2 * num); + X0Y0_風切羽_羽6.SetAngleCont(num2 * 41.0 * num); + X0Y0_風切羽_羽7.SetAngleCont(num2 * 46.8 * num); + X0Y0_風切羽_羽8.SetAngleCont(num2 * 52.6 * num); + X0Y0_風切羽_羽9.SetAngleCont(num2 * 58.4 * num); + X0Y0_風切羽_羽10.SetAngleCont(num2 * 64.2 * num); + X0Y0_雨覆羽_羽1.SetAngleCont(num2 * 7.0 * num); + X0Y0_雨覆羽_羽2.SetAngleCont(num2 * 13.8 * num); + X0Y0_雨覆羽_羽3.SetAngleCont(num2 * 20.6 * num); + X0Y0_雨覆羽_羽4.SetAngleCont(num2 * 27.4 * num); + X0Y0_雨覆羽_羽5.SetAngleCont(num2 * 34.2 * num); + X0Y0_雨覆羽_羽6.SetAngleCont(num2 * 41.0 * num); + X0Y0_雨覆羽_羽7.SetAngleCont(num2 * 47.8 * num); + X0Y0_雨覆羽_羽8.SetAngleCont(num2 * 54.6 * num); + X0Y0_雨覆羽_羽9.SetAngleCont(num2 * 61.4 * num); + X0Y0_雨覆羽_羽10.SetAngleCont(num2 * 68.2 * num); + X0Y0_小翼羽_羽1.SetAngleCont(num2 * 0.0 * num); + X0Y0_小翼羽_羽2.SetAngleCont(num2 * 11.6666666666667 * num); + X0Y0_小翼羽_羽3.SetAngleCont(num2 * 23.3333333333333 * num); + X0Y0_指_中指_指1.SetAngleCont(num2 * 20.0 * num); + X0Y0_指_中指_指2.SetAngleCont(num2 * 0.0 * num); + X0Y0_指_中指_指3.SetAngleCont(num2 * 0.0 * num); + X0Y0_指_人指_指1.SetAngleCont(num2 * 20.0 * num); + X0Y0_指_人指_指2.SetAngleCont(num2 * 0.0 * num); + X0Y0_指_人指_指3.SetAngleCont(num2 * 0.0 * num); + X0Y0_指_親指_指1.SetAngleCont(num2 * 20.0 * num); + X0Y0_指_親指_指2.SetAngleCont(num2 * 0.0 * num); } } @@ -1701,16 +1701,16 @@ namespace SlaveMatrix set { double num = 0.7; - X0Y0_風切羽_羽10.SizeXBase *= 1.0 - 0.09 * num * value; - X0Y0_風切羽_羽9.SizeXBase *= 1.0 - 0.08 * num * value; - X0Y0_風切羽_羽8.SizeXBase *= 1.0 - 0.06 * num * value; - X0Y0_風切羽_羽7.SizeXBase *= 1.0 - 0.05 * num * value; - X0Y0_風切羽_羽6.SizeXBase *= 1.0 - 0.04 * num * value; - X0Y0_風切羽_羽5.SizeXBase *= 1.0 - 0.026 * num * value; - X0Y0_風切羽_羽4.SizeXBase *= 1.0 + 0.0125 * num * value; - X0Y0_風切羽_羽3.SizeXBase *= 1.0 + 0.075 * num * value; - X0Y0_風切羽_羽2.SizeXBase *= 1.0 + 0.2 * num * value; - X0Y0_風切羽_羽1.SizeXBase *= 1.0 + 0.5 * num * value; + X0Y0_風切羽_羽10.SetSizeXBase(X0Y0_風切羽_羽10.GetSizeXBase() * (1.0 - 0.09 * num * value)); + X0Y0_風切羽_羽9.SetSizeXBase(X0Y0_風切羽_羽9.GetSizeXBase() * (1.0 - 0.08 * num * value)); + X0Y0_風切羽_羽8.SetSizeXBase(X0Y0_風切羽_羽8.GetSizeXBase() * (1.0 - 0.06 * num * value)); + X0Y0_風切羽_羽7.SetSizeXBase(X0Y0_風切羽_羽7.GetSizeXBase() * (1.0 - 0.05 * num * value)); + X0Y0_風切羽_羽6.SetSizeXBase(X0Y0_風切羽_羽6.GetSizeXBase() * (1.0 - 0.04 * num * value)); + X0Y0_風切羽_羽5.SetSizeXBase(X0Y0_風切羽_羽5.GetSizeXBase() * (1.0 - 0.026 * num * value)); + X0Y0_風切羽_羽4.SetSizeXBase(X0Y0_風切羽_羽4.GetSizeXBase() * (1.0 + 0.0125 * num * value)); + X0Y0_風切羽_羽3.SetSizeXBase(X0Y0_風切羽_羽3.GetSizeXBase() * (1.0 + 0.075 * num * value)); + X0Y0_風切羽_羽2.SetSizeXBase(X0Y0_風切羽_羽2.GetSizeXBase() * (1.0 + 0.2 * num * value)); + X0Y0_風切羽_羽1.SetSizeXBase(X0Y0_風切羽_羽1.GetSizeXBase() * (1.0 + 0.5 * num * value)); } } @@ -1718,12 +1718,12 @@ namespace SlaveMatrix { get { - return X0Y0_鳥翼手.OP[右 ? 1 : 1].Outline; + return X0Y0_鳥翼手.GetOP()[右 ? 1 : 1].Outline; } set { - X0Y0_鳥翼手.OP[右 ? 1 : 1].Outline = value; - X0Y0_鳥翼手.OP[(!右) ? 2 : 0].Outline = value; + X0Y0_鳥翼手.GetOP()[右 ? 1 : 1].Outline = value; + X0Y0_鳥翼手.GetOP()[(!右) ? 2 : 0].Outline = value; } } @@ -1731,12 +1731,12 @@ namespace SlaveMatrix { get { - return X0Y0_小翼羽_羽1.OP[右 ? 1 : 3].Outline; + return X0Y0_小翼羽_羽1.GetOP()[右 ? 1 : 3].Outline; } set { - X0Y0_小翼羽_羽1.OP[右 ? 1 : 3].Outline = value; - X0Y0_小翼羽_羽1.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_小翼羽_羽1.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_小翼羽_羽1.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1744,14 +1744,14 @@ namespace SlaveMatrix { get { - return X0Y0_小翼羽_羽2.OP[右 ? 4 : 0].Outline; + return X0Y0_小翼羽_羽2.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_小翼羽_羽2.OP[右 ? 4 : 0].Outline = value; - X0Y0_小翼羽_羽2.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_小翼羽_羽2.OP[右 ? 1 : 3].Outline = value; - X0Y0_小翼羽_羽2.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_小翼羽_羽2.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_小翼羽_羽2.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_小翼羽_羽2.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_小翼羽_羽2.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1759,14 +1759,14 @@ namespace SlaveMatrix { get { - return X0Y0_小翼羽_羽3.OP[右 ? 4 : 0].Outline; + return X0Y0_小翼羽_羽3.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_小翼羽_羽3.OP[右 ? 4 : 0].Outline = value; - X0Y0_小翼羽_羽3.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_小翼羽_羽3.OP[右 ? 1 : 3].Outline = value; - X0Y0_小翼羽_羽3.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_小翼羽_羽3.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_小翼羽_羽3.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_小翼羽_羽3.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_小翼羽_羽3.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1774,12 +1774,12 @@ namespace SlaveMatrix { get { - return X0Y0_雨覆羽_羽1.OP[右 ? 2 : 2].Outline; + return X0Y0_雨覆羽_羽1.GetOP()[右 ? 2 : 2].Outline; } set { - X0Y0_雨覆羽_羽1.OP[右 ? 2 : 2].Outline = value; - X0Y0_雨覆羽_羽1.OP[右 ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽1.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_雨覆羽_羽1.GetOP()[右 ? 1 : 3].Outline = value; } } @@ -1787,15 +1787,15 @@ namespace SlaveMatrix { get { - return X0Y0_雨覆羽_羽2.OP[右 ? 4 : 0].Outline; + return X0Y0_雨覆羽_羽2.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_雨覆羽_羽2.OP[右 ? 4 : 0].Outline = value; - X0Y0_雨覆羽_羽2.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽2.OP[右 ? 2 : 2].Outline = value; - X0Y0_雨覆羽_羽2.OP[右 ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽2.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽2.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽2.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽2.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_雨覆羽_羽2.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽2.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1803,15 +1803,15 @@ namespace SlaveMatrix { get { - return X0Y0_雨覆羽_羽3.OP[右 ? 4 : 0].Outline; + return X0Y0_雨覆羽_羽3.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_雨覆羽_羽3.OP[右 ? 4 : 0].Outline = value; - X0Y0_雨覆羽_羽3.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽3.OP[右 ? 2 : 2].Outline = value; - X0Y0_雨覆羽_羽3.OP[右 ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽3.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽3.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽3.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽3.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_雨覆羽_羽3.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽3.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1819,15 +1819,15 @@ namespace SlaveMatrix { get { - return X0Y0_雨覆羽_羽4.OP[右 ? 4 : 0].Outline; + return X0Y0_雨覆羽_羽4.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_雨覆羽_羽4.OP[右 ? 4 : 0].Outline = value; - X0Y0_雨覆羽_羽4.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽4.OP[右 ? 2 : 2].Outline = value; - X0Y0_雨覆羽_羽4.OP[右 ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽4.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽4.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽4.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽4.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_雨覆羽_羽4.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽4.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1835,15 +1835,15 @@ namespace SlaveMatrix { get { - return X0Y0_雨覆羽_羽5.OP[右 ? 4 : 0].Outline; + return X0Y0_雨覆羽_羽5.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_雨覆羽_羽5.OP[右 ? 4 : 0].Outline = value; - X0Y0_雨覆羽_羽5.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽5.OP[右 ? 2 : 2].Outline = value; - X0Y0_雨覆羽_羽5.OP[右 ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽5.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽5.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽5.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽5.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_雨覆羽_羽5.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽5.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1851,15 +1851,15 @@ namespace SlaveMatrix { get { - return X0Y0_雨覆羽_羽6.OP[右 ? 4 : 0].Outline; + return X0Y0_雨覆羽_羽6.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_雨覆羽_羽6.OP[右 ? 4 : 0].Outline = value; - X0Y0_雨覆羽_羽6.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽6.OP[右 ? 2 : 2].Outline = value; - X0Y0_雨覆羽_羽6.OP[右 ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽6.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽6.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽6.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽6.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_雨覆羽_羽6.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽6.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1867,15 +1867,15 @@ namespace SlaveMatrix { get { - return X0Y0_雨覆羽_羽7.OP[右 ? 4 : 0].Outline; + return X0Y0_雨覆羽_羽7.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_雨覆羽_羽7.OP[右 ? 4 : 0].Outline = value; - X0Y0_雨覆羽_羽7.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽7.OP[右 ? 2 : 2].Outline = value; - X0Y0_雨覆羽_羽7.OP[右 ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽7.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽7.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽7.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽7.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_雨覆羽_羽7.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽7.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1883,15 +1883,15 @@ namespace SlaveMatrix { get { - return X0Y0_雨覆羽_羽8.OP[右 ? 4 : 0].Outline; + return X0Y0_雨覆羽_羽8.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_雨覆羽_羽8.OP[右 ? 4 : 0].Outline = value; - X0Y0_雨覆羽_羽8.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽8.OP[右 ? 2 : 2].Outline = value; - X0Y0_雨覆羽_羽8.OP[右 ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽8.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽8.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽8.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽8.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_雨覆羽_羽8.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽8.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1899,15 +1899,15 @@ namespace SlaveMatrix { get { - return X0Y0_雨覆羽_羽9.OP[右 ? 4 : 0].Outline; + return X0Y0_雨覆羽_羽9.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_雨覆羽_羽9.OP[右 ? 4 : 0].Outline = value; - X0Y0_雨覆羽_羽9.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽9.OP[右 ? 2 : 2].Outline = value; - X0Y0_雨覆羽_羽9.OP[右 ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽9.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽9.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽9.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽9.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_雨覆羽_羽9.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽9.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1915,15 +1915,15 @@ namespace SlaveMatrix { get { - return X0Y0_雨覆羽_羽10.OP[右 ? 4 : 0].Outline; + return X0Y0_雨覆羽_羽10.GetOP()[右 ? 4 : 0].Outline; } set { - X0Y0_雨覆羽_羽10.OP[右 ? 4 : 0].Outline = value; - X0Y0_雨覆羽_羽10.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽10.OP[右 ? 2 : 2].Outline = value; - X0Y0_雨覆羽_羽10.OP[右 ? 1 : 3].Outline = value; - X0Y0_雨覆羽_羽10.OP[(!右) ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽10.GetOP()[右 ? 4 : 0].Outline = value; + X0Y0_雨覆羽_羽10.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽10.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_雨覆羽_羽10.GetOP()[右 ? 1 : 3].Outline = value; + X0Y0_雨覆羽_羽10.GetOP()[(!右) ? 4 : 0].Outline = value; } } @@ -1931,12 +1931,12 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽1.OP[右 ? 2 : 2].Outline; + return X0Y0_風切羽_羽1.GetOP()[右 ? 2 : 2].Outline; } set { - X0Y0_風切羽_羽1.OP[右 ? 2 : 2].Outline = value; - X0Y0_風切羽_羽1.OP[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽1.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_風切羽_羽1.GetOP()[右 ? 1 : 3].Outline = value; } } @@ -1944,12 +1944,12 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽2.OP[右 ? 2 : 2].Outline; + return X0Y0_風切羽_羽2.GetOP()[右 ? 2 : 2].Outline; } set { - X0Y0_風切羽_羽2.OP[右 ? 2 : 2].Outline = value; - X0Y0_風切羽_羽2.OP[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽2.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_風切羽_羽2.GetOP()[右 ? 1 : 3].Outline = value; } } @@ -1957,12 +1957,12 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽3.OP[右 ? 2 : 2].Outline; + return X0Y0_風切羽_羽3.GetOP()[右 ? 2 : 2].Outline; } set { - X0Y0_風切羽_羽3.OP[右 ? 2 : 2].Outline = value; - X0Y0_風切羽_羽3.OP[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽3.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_風切羽_羽3.GetOP()[右 ? 1 : 3].Outline = value; } } @@ -1970,13 +1970,13 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽4.OP[(!右) ? 1 : 3].Outline; + return X0Y0_風切羽_羽4.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽4.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_風切羽_羽4.OP[右 ? 2 : 2].Outline = value; - X0Y0_風切羽_羽4.OP[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽4.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_風切羽_羽4.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_風切羽_羽4.GetOP()[右 ? 1 : 3].Outline = value; } } @@ -1984,13 +1984,13 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽5.OP[(!右) ? 1 : 3].Outline; + return X0Y0_風切羽_羽5.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽5.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_風切羽_羽5.OP[右 ? 2 : 2].Outline = value; - X0Y0_風切羽_羽5.OP[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽5.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_風切羽_羽5.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_風切羽_羽5.GetOP()[右 ? 1 : 3].Outline = value; } } @@ -1998,13 +1998,13 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽6.OP[(!右) ? 1 : 3].Outline; + return X0Y0_風切羽_羽6.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽6.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_風切羽_羽6.OP[右 ? 2 : 2].Outline = value; - X0Y0_風切羽_羽6.OP[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽6.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_風切羽_羽6.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_風切羽_羽6.GetOP()[右 ? 1 : 3].Outline = value; } } @@ -2012,13 +2012,13 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽7.OP[(!右) ? 1 : 3].Outline; + return X0Y0_風切羽_羽7.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽7.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_風切羽_羽7.OP[右 ? 2 : 2].Outline = value; - X0Y0_風切羽_羽7.OP[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽7.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_風切羽_羽7.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_風切羽_羽7.GetOP()[右 ? 1 : 3].Outline = value; } } @@ -2026,13 +2026,13 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽8.OP[(!右) ? 1 : 3].Outline; + return X0Y0_風切羽_羽8.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽8.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_風切羽_羽8.OP[右 ? 2 : 2].Outline = value; - X0Y0_風切羽_羽8.OP[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽8.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_風切羽_羽8.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_風切羽_羽8.GetOP()[右 ? 1 : 3].Outline = value; } } @@ -2040,13 +2040,13 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽9.OP[(!右) ? 1 : 3].Outline; + return X0Y0_風切羽_羽9.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽9.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_風切羽_羽9.OP[右 ? 2 : 2].Outline = value; - X0Y0_風切羽_羽9.OP[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽9.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_風切羽_羽9.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_風切羽_羽9.GetOP()[右 ? 1 : 3].Outline = value; } } @@ -2054,13 +2054,13 @@ namespace SlaveMatrix { get { - return X0Y0_風切羽_羽10.OP[(!右) ? 1 : 3].Outline; + return X0Y0_風切羽_羽10.GetOP()[(!右) ? 1 : 3].Outline; } set { - X0Y0_風切羽_羽10.OP[(!右) ? 1 : 3].Outline = value; - X0Y0_風切羽_羽10.OP[右 ? 2 : 2].Outline = value; - X0Y0_風切羽_羽10.OP[右 ? 1 : 3].Outline = value; + X0Y0_風切羽_羽10.GetOP()[(!右) ? 1 : 3].Outline = value; + X0Y0_風切羽_羽10.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_風切羽_羽10.GetOP()[右 ? 1 : 3].Outline = value; } } @@ -2370,38 +2370,38 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_鳥翼手.AngleBase = num * -1.13686837721616E-13; - X0Y0_風切羽_羽1.AngleBase = num * 4.30625920538989; - X0Y0_風切羽_羽2.AngleBase = num * -3.79947296841442; - X0Y0_風切羽_羽3.AngleBase = num * -11.0737082094246; - X0Y0_風切羽_羽4.AngleBase = num * -18.5456655123347; - X0Y0_風切羽_羽5.AngleBase = num * 333.756058186057; - X0Y0_風切羽_羽6.AngleBase = num * 325.804892219803; - X0Y0_風切羽_羽7.AngleBase = num * 317.578381763761; - X0Y0_風切羽_羽8.AngleBase = num * 309.061028607936; - X0Y0_風切羽_羽9.AngleBase = num * 300.247790167872; - X0Y0_風切羽_羽10.AngleBase = num * 292.147867426599; - X0Y0_雨覆羽_羽1.AngleBase = num * 10.5625779442967; - X0Y0_雨覆羽_羽2.AngleBase = num * -0.983004946517724; - X0Y0_雨覆羽_羽3.AngleBase = num * -11.3484562079468; - X0Y0_雨覆羽_羽4.AngleBase = num * 337.795626900816; - X0Y0_雨覆羽_羽5.AngleBase = num * 326.621692120892; - X0Y0_雨覆羽_羽6.AngleBase = num * 315.356571907051; - X0Y0_雨覆羽_羽7.AngleBase = num * 305.230065535076; - X0Y0_雨覆羽_羽8.AngleBase = num * 294.429103024235; - X0Y0_雨覆羽_羽9.AngleBase = num * 284.068635208099; - X0Y0_雨覆羽_羽10.AngleBase = num * 277.113742476644; - X0Y0_小翼羽_羽1.AngleBase = num * 9.19256790991403; - X0Y0_小翼羽_羽2.AngleBase = num * -8.26267299324587; - X0Y0_小翼羽_羽3.AngleBase = num * 335.232034316903; - X0Y0_指_中指_指1.AngleBase = num * -4.0000000000001; - X0Y0_指_中指_指2.AngleBase = num * 350.0; - X0Y0_指_中指_指3.AngleBase = num * 4.00000000000011; - X0Y0_指_人指_指1.AngleBase = num * 9.99999999999989; - X0Y0_指_人指_指2.AngleBase = num * -9.0; - X0Y0_指_人指_指3.AngleBase = num * 4.00000000000006; - X0Y0_指_親指_指1.AngleBase = num * 399.0; - X0Y0_指_親指_指2.AngleBase = num * -7.0; + X0Y0_鳥翼手.SetAngleBase(num * -1.13686837721616E-13); + X0Y0_風切羽_羽1.SetAngleBase(num * 4.30625920538989); + X0Y0_風切羽_羽2.SetAngleBase(num * -3.79947296841442); + X0Y0_風切羽_羽3.SetAngleBase(num * -11.0737082094246); + X0Y0_風切羽_羽4.SetAngleBase(num * -18.5456655123347); + X0Y0_風切羽_羽5.SetAngleBase(num * 333.756058186057); + X0Y0_風切羽_羽6.SetAngleBase(num * 325.804892219803); + X0Y0_風切羽_羽7.SetAngleBase(num * 317.578381763761); + X0Y0_風切羽_羽8.SetAngleBase(num * 309.061028607936); + X0Y0_風切羽_羽9.SetAngleBase(num * 300.247790167872); + X0Y0_風切羽_羽10.SetAngleBase(num * 292.147867426599); + X0Y0_雨覆羽_羽1.SetAngleBase(num * 10.5625779442967); + X0Y0_雨覆羽_羽2.SetAngleBase(num * -0.983004946517724); + X0Y0_雨覆羽_羽3.SetAngleBase(num * -11.3484562079468); + X0Y0_雨覆羽_羽4.SetAngleBase(num * 337.795626900816); + X0Y0_雨覆羽_羽5.SetAngleBase(num * 326.621692120892); + X0Y0_雨覆羽_羽6.SetAngleBase(num * 315.356571907051); + X0Y0_雨覆羽_羽7.SetAngleBase(num * 305.230065535076); + X0Y0_雨覆羽_羽8.SetAngleBase(num * 294.429103024235); + X0Y0_雨覆羽_羽9.SetAngleBase(num * 284.068635208099); + X0Y0_雨覆羽_羽10.SetAngleBase(num * 277.113742476644); + X0Y0_小翼羽_羽1.SetAngleBase(num * 9.19256790991403); + X0Y0_小翼羽_羽2.SetAngleBase(num * -8.26267299324587); + X0Y0_小翼羽_羽3.SetAngleBase(num * 335.232034316903); + X0Y0_指_中指_指1.SetAngleBase(num * -4.0000000000001); + X0Y0_指_中指_指2.SetAngleBase(num * 350.0); + X0Y0_指_中指_指3.SetAngleBase(num * 4.00000000000011); + X0Y0_指_人指_指1.SetAngleBase(num * 9.99999999999989); + X0Y0_指_人指_指2.SetAngleBase(num * -9.0); + X0Y0_指_人指_指3.SetAngleBase(num * 4.00000000000006); + X0Y0_指_親指_指1.SetAngleBase(num * 399.0); + X0Y0_指_親指_指2.SetAngleBase(num * -7.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_鳥D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_鳥D.cs index 4152f8c..72aa87b 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_鳥D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_鳥D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/拘束鎖.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/拘束鎖.cs index f27a663..feb0602 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/拘束鎖.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/拘束鎖.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -291,14 +292,14 @@ namespace SlaveMatrix public void SetSize() { - Par par = 接続根.Difs0.Current.GetPar(接続根.Path0); - if (par.JP.Count <= 0) + Par par = 接続根.Difs0.GetCurrent().GetPar(接続根.Path0); + if (par.GetJP().Count <= 0) { return; } int num = 0; Vector2D vec2DZero = Dat.Vec2DZero; - foreach (Out item in par.OP) + foreach (Out item in par.GetOP()) { foreach (Vector2D item2 in item.ps.Skip(1).Take(item.ps.Count - 2)) { @@ -306,7 +307,7 @@ namespace SlaveMatrix num++; } } - par.JP[0] = new Joi(vec2DZero / num); + par.GetJP()[0] = new Joi(vec2DZero / num); 接続P(); 尺度B = (par.GetArea() / X0Y0_鎖1.GetArea()).Sqrt() * 1.2; } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/挿入処理.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/挿入処理.cs index a89a7e9..a95ef33 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/挿入処理.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/挿入処理.cs @@ -231,7 +231,7 @@ namespace SlaveMatrix if (Bod.断面_表示) { dv = (dv + value).Clamp(0.0, 1.0); - dy = ((dv >= 1.0) ? (対象.Ele.Body.CountY - 1) : ((int)((double)対象.Ele.Body.CountY * dv))); + dy = ((dv >= 1.0) ? (対象.Ele.Body.GetCountY() - 1) : ((int)((double)対象.Ele.Body.GetCountY() * dv))); if (対象.Ele is バイブ_アナル) { dy = dy.Limit(0, Bod.Is獣 ? A断面獣最大i : A断面人最大i); @@ -660,31 +660,31 @@ namespace SlaveMatrix if (Bod.断面_表示) { Bod.性器.接続PA(); - 対象.Ele.位置B = Bod.性器.Body.Current.EnumAllPar().First((Par p_) => p_.Tag.Contains("膣口")).Position; - p0 = 対象.Ele.Body.pr[対象.Ele.Body[対象.Ele.Body.IndexX][0]]; - py = 対象.Ele.Body.pr[対象.Ele.Body[対象.Ele.Body.IndexX][dy]]; + 対象.Ele.位置B = Bod.性器.Body.GetCurrent().EnumAllPar().First((Par p_) => p_.Tag.Contains("膣口")).GetPosition(); + p0 = 対象.Ele.Body.pr[対象.Ele.Body[対象.Ele.Body.GetIndexX()][0]]; + py = 対象.Ele.Body.pr[対象.Ele.Body[対象.Ele.Body.GetIndexX()][dy]]; if (pn) { - bp = py.PositionBase; - py.PositionBase = 対象.Ele.位置B; - y0 = py.ToGlobal(py.OP[0].ps[psi]).Y; - py.PositionBase = bp; + bp = py.GetPositionBase(); + py.SetPositionBase(対象.Ele.位置B); + y0 = py.ToGlobal(py.GetOP()[0].ps[psi]).Y; + py.SetPositionBase(bp); } else { - y0 = py.ToGlobal(py.OP[0].ps[psi]).Y; + y0 = py.ToGlobal(py.GetOP()[0].ps[psi]).Y; } - 対象.Ele.位置B = 対象.Ele.位置B.AddY(p0.BasePointBase.Y - py.BasePointBase.Y); + 対象.Ele.位置B = 対象.Ele.位置B.AddY(p0.GetBasePointBase().Y - py.GetBasePointBase().Y); if (pn) { - bp = p0.PositionBase; - p0.PositionBase = 対象.Ele.位置B; - 対象.Ele.位置B = 対象.Ele.位置B.AddY(y0 - p0.ToGlobal(p0.OP[0].ps[psi]).Y); - p0.PositionBase = bp; + bp = p0.GetPositionBase(); + p0.SetPositionBase(対象.Ele.位置B); + 対象.Ele.位置B = 対象.Ele.位置B.AddY(y0 - p0.ToGlobal(p0.GetOP()[0].ps[psi]).Y); + p0.SetPositionBase(bp); } else { - 対象.Ele.位置B = 対象.Ele.位置B.AddY(y0 - p0.ToGlobal(p0.OP[0].ps[psi]).Y); + 対象.Ele.位置B = 対象.Ele.位置B.AddY(y0 - p0.ToGlobal(p0.GetOP()[0].ps[psi]).Y); } } else @@ -869,7 +869,7 @@ namespace SlaveMatrix 対象.Ele.Yi = 0; Bod.性器.Xi = 3; dv = v; - dy = ((dv >= 1.0) ? (対象.Ele.Body.CountY - 1) : ((int)((double)対象.Ele.Body.CountY * dv))); + dy = ((dv >= 1.0) ? (対象.Ele.Body.GetCountY() - 1) : ((int)((double)対象.Ele.Body.GetCountY() * dv))); if (対象.Ele is バイブ_アナル) { dy = dy.Limit(0, Bod.Is獣 ? A断面獣最大i : A断面人最大i); @@ -1517,7 +1517,7 @@ namespace SlaveMatrix if (v) { 対象.Ele.位置C = p.MulX(0.5); - 対象.Ele.Body.Current.EnumAllPar().First((Par e) => e.Tag.Contains("ヘッド")).PositionCont = p; + 対象.Ele.Body.GetCurrent().EnumAllPar().First((Par e) => e.Tag.Contains("ヘッド")).SetPositionCont(p); } else { @@ -1559,7 +1559,7 @@ namespace SlaveMatrix m.ResetValue(); foreach (Par item in 対象.Ele.Body.EnumAllPar()) { - item.PositionCont = Dat.Vec2DZero; + item.SetPositionCont(Dat.Vec2DZero); } 挿入処理2.Bod.断面.位置C = Dat.Vec2DZero; } @@ -1675,12 +1675,12 @@ namespace SlaveMatrix 押し付け = 振動機能 || 対象.Ele is ペニス; A断面獣最大i = 5; A断面人最大i = A断面獣最大i - 1; - double num = 1.0 / (double)調教UI.アナル.Body.CountY; + double num = 1.0 / (double)調教UI.アナル.Body.GetCountY(); A通常獣最大v = num * (double)(A断面獣最大i - 1); A通常人最大v = num * (double)(A断面人最大i - 1); P断面獣最大i = 11; P断面人最大i = P断面獣最大i - 1; - double num2 = 1.0 / (double)調教UI.パール.Body.CountY; + double num2 = 1.0 / (double)調教UI.パール.Body.GetCountY(); P通常獣最大v = num2 * (double)(P断面獣最大i - 1); P通常人最大v = num2 * (double)(P断面人最大i - 1); psi = ((対象.Ele is ロータ) ? 2 : 0); @@ -1717,8 +1717,8 @@ namespace SlaveMatrix { base.Cha = Cha; Bod = Cha.Body; - 性器単位v = 1.0 / (double)Bod.性器.Body.CountY; - 断面単位v = 1.0 / (double)Bod.断面.Body.CountY; + 性器単位v = 1.0 / (double)Bod.性器.Body.GetCountY(); + 断面単位v = 1.0 / (double)Bod.断面.Body.GetCountY(); 断面単位v2 = 断面単位v * 2.0; 断面単位v3 = 断面単位v * 3.0; } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/放尿.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/放尿.cs index 0f87927..5b10fde 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/放尿.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/放尿.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 放尿 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/放尿_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/放尿_人.cs index d5b4850..d474252 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/放尿_人.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/放尿_人.cs @@ -731,7 +731,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_尿CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/放尿_人D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/放尿_人D.cs index f86350c..3fea2a2 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/放尿_人D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/放尿_人D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/放尿_獣.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/放尿_獣.cs index 0b97b73..29db593 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/放尿_獣.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/放尿_獣.cs @@ -731,7 +731,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_尿CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/放尿_獣D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/放尿_獣D.cs index 0f5e5b4..1f49778 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/放尿_獣D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/放尿_獣D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/断面.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/断面.cs index 2dd5063..711ae30 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/断面.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/断面.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 断面 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/断面_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/断面_人.cs index 044f925..0e75045 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/断面_人.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/断面_人.cs @@ -573,46 +573,46 @@ namespace SlaveMatrix { get { - return X0Y0_膣基.SizeYCont; + return X0Y0_膣基.GetSizeYCont(); } set { - X0Y0_膣基.SizeYCont = value; - X0Y0_膣壁左.SizeYCont = value; - X0Y0_膣壁右.SizeYCont = value; - X0Y1_膣基.SizeYCont = value; - X0Y1_膣壁左.SizeYCont = value; - X0Y1_膣壁右.SizeYCont = value; - X0Y2_膣基.SizeYCont = value; - X0Y2_膣壁左.SizeYCont = value; - X0Y2_膣壁右.SizeYCont = value; - X0Y3_膣基.SizeYCont = value; - X0Y3_膣壁左.SizeYCont = value; - X0Y3_膣壁右.SizeYCont = value; - X0Y4_膣基.SizeYCont = value; - X0Y4_膣壁左.SizeYCont = value; - X0Y4_膣壁右.SizeYCont = value; + X0Y0_膣基.SetSizeYCont(value); + X0Y0_膣壁左.SetSizeYCont(value); + X0Y0_膣壁右.SetSizeYCont(value); + X0Y1_膣基.SetSizeYCont(value); + X0Y1_膣壁左.SetSizeYCont(value); + X0Y1_膣壁右.SetSizeYCont(value); + X0Y2_膣基.SetSizeYCont(value); + X0Y2_膣壁左.SetSizeYCont(value); + X0Y2_膣壁右.SetSizeYCont(value); + X0Y3_膣基.SetSizeYCont(value); + X0Y3_膣壁左.SetSizeYCont(value); + X0Y3_膣壁右.SetSizeYCont(value); + X0Y4_膣基.SetSizeYCont(value); + X0Y4_膣壁左.SetSizeYCont(value); + X0Y4_膣壁右.SetSizeYCont(value); double sizeYCont = value.Reciprocal(); - X0Y0_子宮.SizeYCont = sizeYCont; - X0Y0_子宮内.SizeYCont = sizeYCont; - X0Y0_子宮口.SizeYCont = sizeYCont; - X0Y0_精液.SizeYCont = sizeYCont; - X0Y1_子宮.SizeYCont = sizeYCont; - X0Y1_子宮内.SizeYCont = sizeYCont; - X0Y1_子宮口.SizeYCont = sizeYCont; - X0Y1_精液.SizeYCont = sizeYCont; - X0Y2_子宮.SizeYCont = sizeYCont; - X0Y2_子宮内.SizeYCont = sizeYCont; - X0Y2_子宮口.SizeYCont = sizeYCont; - X0Y2_精液.SizeYCont = sizeYCont; - X0Y3_子宮.SizeYCont = sizeYCont; - X0Y3_子宮内.SizeYCont = sizeYCont; - X0Y3_子宮口.SizeYCont = sizeYCont; - X0Y3_精液.SizeYCont = sizeYCont; - X0Y4_子宮.SizeYCont = sizeYCont; - X0Y4_子宮内.SizeYCont = sizeYCont; - X0Y4_子宮口.SizeYCont = sizeYCont; - X0Y4_精液.SizeYCont = sizeYCont; + X0Y0_子宮.SetSizeYCont(sizeYCont); + X0Y0_子宮内.SetSizeYCont(sizeYCont); + X0Y0_子宮口.SetSizeYCont(sizeYCont); + X0Y0_精液.SetSizeYCont(sizeYCont); + X0Y1_子宮.SetSizeYCont(sizeYCont); + X0Y1_子宮内.SetSizeYCont(sizeYCont); + X0Y1_子宮口.SetSizeYCont(sizeYCont); + X0Y1_精液.SetSizeYCont(sizeYCont); + X0Y2_子宮.SetSizeYCont(sizeYCont); + X0Y2_子宮内.SetSizeYCont(sizeYCont); + X0Y2_子宮口.SetSizeYCont(sizeYCont); + X0Y2_精液.SetSizeYCont(sizeYCont); + X0Y3_子宮.SetSizeYCont(sizeYCont); + X0Y3_子宮内.SetSizeYCont(sizeYCont); + X0Y3_子宮口.SetSizeYCont(sizeYCont); + X0Y3_精液.SetSizeYCont(sizeYCont); + X0Y4_子宮.SetSizeYCont(sizeYCont); + X0Y4_子宮内.SetSizeYCont(sizeYCont); + X0Y4_子宮口.SetSizeYCont(sizeYCont); + X0Y4_精液.SetSizeYCont(sizeYCont); } } @@ -786,7 +786,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_膣基CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/断面_人D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/断面_人D.cs index 4884e29..1141e42 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/断面_人D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/断面_人D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/断面_獣.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/断面_獣.cs index 0acbbc1..60e9997 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/断面_獣.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/断面_獣.cs @@ -573,46 +573,46 @@ namespace SlaveMatrix { get { - return X0Y0_膣基.SizeYCont; + return X0Y0_膣基.GetSizeYCont(); } set { - X0Y0_膣基.SizeYCont = value; - X0Y0_膣壁左.SizeYCont = value; - X0Y0_膣壁右.SizeYCont = value; - X0Y1_膣基.SizeYCont = value; - X0Y1_膣壁左.SizeYCont = value; - X0Y1_膣壁右.SizeYCont = value; - X0Y2_膣基.SizeYCont = value; - X0Y2_膣壁左.SizeYCont = value; - X0Y2_膣壁右.SizeYCont = value; - X0Y3_膣基.SizeYCont = value; - X0Y3_膣壁左.SizeYCont = value; - X0Y3_膣壁右.SizeYCont = value; - X0Y4_膣基.SizeYCont = value; - X0Y4_膣壁左.SizeYCont = value; - X0Y4_膣壁右.SizeYCont = value; + X0Y0_膣基.SetSizeYCont(value); + X0Y0_膣壁左.SetSizeYCont(value); + X0Y0_膣壁右.SetSizeYCont(value); + X0Y1_膣基.SetSizeYCont(value); + X0Y1_膣壁左.SetSizeYCont(value); + X0Y1_膣壁右.SetSizeYCont(value); + X0Y2_膣基.SetSizeYCont(value); + X0Y2_膣壁左.SetSizeYCont(value); + X0Y2_膣壁右.SetSizeYCont(value); + X0Y3_膣基.SetSizeYCont(value); + X0Y3_膣壁左.SetSizeYCont(value); + X0Y3_膣壁右.SetSizeYCont(value); + X0Y4_膣基.SetSizeYCont(value); + X0Y4_膣壁左.SetSizeYCont(value); + X0Y4_膣壁右.SetSizeYCont(value); double sizeYCont = value.Reciprocal(); - X0Y0_子宮.SizeYCont = sizeYCont; - X0Y0_子宮内.SizeYCont = sizeYCont; - X0Y0_子宮口.SizeYCont = sizeYCont; - X0Y0_精液.SizeYCont = sizeYCont; - X0Y1_子宮.SizeYCont = sizeYCont; - X0Y1_子宮内.SizeYCont = sizeYCont; - X0Y1_子宮口.SizeYCont = sizeYCont; - X0Y1_精液.SizeYCont = sizeYCont; - X0Y2_子宮.SizeYCont = sizeYCont; - X0Y2_子宮内.SizeYCont = sizeYCont; - X0Y2_子宮口.SizeYCont = sizeYCont; - X0Y2_精液.SizeYCont = sizeYCont; - X0Y3_子宮.SizeYCont = sizeYCont; - X0Y3_子宮内.SizeYCont = sizeYCont; - X0Y3_子宮口.SizeYCont = sizeYCont; - X0Y3_精液.SizeYCont = sizeYCont; - X0Y4_子宮.SizeYCont = sizeYCont; - X0Y4_子宮内.SizeYCont = sizeYCont; - X0Y4_子宮口.SizeYCont = sizeYCont; - X0Y4_精液.SizeYCont = sizeYCont; + X0Y0_子宮.SetSizeYCont(sizeYCont); + X0Y0_子宮内.SetSizeYCont(sizeYCont); + X0Y0_子宮口.SetSizeYCont(sizeYCont); + X0Y0_精液.SetSizeYCont(sizeYCont); + X0Y1_子宮.SetSizeYCont(sizeYCont); + X0Y1_子宮内.SetSizeYCont(sizeYCont); + X0Y1_子宮口.SetSizeYCont(sizeYCont); + X0Y1_精液.SetSizeYCont(sizeYCont); + X0Y2_子宮.SetSizeYCont(sizeYCont); + X0Y2_子宮内.SetSizeYCont(sizeYCont); + X0Y2_子宮口.SetSizeYCont(sizeYCont); + X0Y2_精液.SetSizeYCont(sizeYCont); + X0Y3_子宮.SetSizeYCont(sizeYCont); + X0Y3_子宮内.SetSizeYCont(sizeYCont); + X0Y3_子宮口.SetSizeYCont(sizeYCont); + X0Y3_精液.SetSizeYCont(sizeYCont); + X0Y4_子宮.SetSizeYCont(sizeYCont); + X0Y4_子宮内.SetSizeYCont(sizeYCont); + X0Y4_子宮口.SetSizeYCont(sizeYCont); + X0Y4_精液.SetSizeYCont(sizeYCont); } } @@ -785,7 +785,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_膣基CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/断面_獣D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/断面_獣D.cs index 2b6bffd..e6ce88f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/断面_獣D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/断面_獣D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/染み.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/染み.cs index abffcad..4a3d38f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/染み.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/染み.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 染み : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/染み_人D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/染み_人D.cs index d51d13d..6f70e7f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/染み_人D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/染み_人D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/染み_獣D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/染み_獣D.cs index 059949b..65b7da6 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/染み_獣D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/染み_獣D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/植.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/植.cs index c903bf5..5263f6b 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/植.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/植.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -1370,25 +1371,25 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_茎.AngleBase = num * -4.99999999999999; - X0Y0_披針葉4_通常_葉脈.AngleBase = num * -52.0000000000001; - X0Y0_披針葉4_欠損_葉脈.AngleBase = num * -52.0000000000001; - X0Y0_心臓葉4_通常_葉脈.AngleBase = num * -60.9999999999999; - X0Y0_心臓葉4_欠損_葉脈.AngleBase = num * -60.9999999999999; - X0Y0_根1.AngleBase = num * -49.0; - X0Y0_根2.AngleBase = num * -38.0; - X0Y0_披針葉1_通常_葉脈.AngleBase = num * -24.0; - X0Y0_披針葉1_欠損_葉脈.AngleBase = num * -24.0; - X0Y0_披針葉2_通常_葉脈.AngleBase = num * -41.9999999999999; - X0Y0_披針葉2_欠損_葉脈.AngleBase = num * -41.9999999999999; - X0Y0_披針葉3_通常_葉脈.AngleBase = num * -66.0000000000002; - X0Y0_披針葉3_欠損_葉脈.AngleBase = num * -66.0000000000002; - X0Y0_心臓葉1_通常_葉脈.AngleBase = num * -23.0; - X0Y0_心臓葉1_欠損_葉脈.AngleBase = num * -23.0; - X0Y0_心臓葉2_通常_葉脈.AngleBase = num * -41.0; - X0Y0_心臓葉2_欠損_葉脈.AngleBase = num * -41.0; - X0Y0_心臓葉3_通常_葉脈.AngleBase = num * -64.9999999999998; - X0Y0_心臓葉3_欠損_葉脈.AngleBase = num * -64.9999999999998; + X0Y0_茎.SetAngleBase(num * -4.99999999999999); + X0Y0_披針葉4_通常_葉脈.SetAngleBase(num * -52.0000000000001); + X0Y0_披針葉4_欠損_葉脈.SetAngleBase(num * -52.0000000000001); + X0Y0_心臓葉4_通常_葉脈.SetAngleBase(num * -60.9999999999999); + X0Y0_心臓葉4_欠損_葉脈.SetAngleBase(num * -60.9999999999999); + X0Y0_根1.SetAngleBase(num * -49.0); + X0Y0_根2.SetAngleBase(num * -38.0); + X0Y0_披針葉1_通常_葉脈.SetAngleBase(num * -24.0); + X0Y0_披針葉1_欠損_葉脈.SetAngleBase(num * -24.0); + X0Y0_披針葉2_通常_葉脈.SetAngleBase(num * -41.9999999999999); + X0Y0_披針葉2_欠損_葉脈.SetAngleBase(num * -41.9999999999999); + X0Y0_披針葉3_通常_葉脈.SetAngleBase(num * -66.0000000000002); + X0Y0_披針葉3_欠損_葉脈.SetAngleBase(num * -66.0000000000002); + X0Y0_心臓葉1_通常_葉脈.SetAngleBase(num * -23.0); + X0Y0_心臓葉1_欠損_葉脈.SetAngleBase(num * -23.0); + X0Y0_心臓葉2_通常_葉脈.SetAngleBase(num * -41.0); + X0Y0_心臓葉2_欠損_葉脈.SetAngleBase(num * -41.0); + X0Y0_心臓葉3_通常_葉脈.SetAngleBase(num * -64.9999999999998); + X0Y0_心臓葉3_欠損_葉脈.SetAngleBase(num * -64.9999999999998); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/植D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/植D.cs index 9eb13f8..b61d6a2 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/植D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/植D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/汗.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/汗.cs index 40fe845..464328e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/汗.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/汗.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -229,7 +230,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_汗0CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/汗D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/汗D.cs index 10f5d5e..2f8534b 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/汗D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/汗D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/涎.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/涎.cs index 98ad5ee..66a507c 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/涎.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/涎.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 涎 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/涎_裂け.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/涎_裂け.cs index 54b3462..da4c6aa 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/涎_裂け.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/涎_裂け.cs @@ -165,7 +165,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_涎CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/涎_裂けD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/涎_裂けD.cs index e3d996a..963e440 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/涎_裂けD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/涎_裂けD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/涎_通常.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/涎_通常.cs index 5140ef6..b9d59d9 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/涎_通常.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/涎_通常.cs @@ -165,7 +165,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_涎CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/涎_通常D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/涎_通常D.cs index f7e0b29..e33045f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/涎_通常D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/涎_通常D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/涙.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/涙.cs index 9757675..9ce6911 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/涙.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/涙.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -436,7 +437,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_涙0流れ0CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/涙D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/涙D.cs index 0f1acae..c063984 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/涙D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/涙D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_大.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_大.cs index 099983a..2569672 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_大.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_大.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 潮吹_大 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_大_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_大_人.cs index fb13cc8..19ef1cd 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_大_人.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_大_人.cs @@ -1964,7 +1964,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_潮吹基CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_大_人D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_大_人D.cs index cf07d17..63f78b6 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_大_人D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_大_人D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_大_獣.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_大_獣.cs index 809e62d..24deb76 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_大_獣.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_大_獣.cs @@ -1964,7 +1964,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_潮吹基CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_大_獣D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_大_獣D.cs index 1c448ff..ac77ca7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_大_獣D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_大_獣D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_小.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_小.cs index 5d407b9..23151c4 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_小.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_小.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 潮吹_小 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_小_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_小_人.cs index 46b9c1c..fec656c 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_小_人.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_小_人.cs @@ -204,7 +204,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_雫CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_小_人D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_小_人D.cs index d26bc7b..45bb07d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_小_人D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_小_人D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_小_獣.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_小_獣.cs index 6dd3711..5945958 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_小_獣.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_小_獣.cs @@ -204,7 +204,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_雫CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_小_獣D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_小_獣D.cs index a671220..7fff8e6 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_小_獣D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_小_獣D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/獣耳.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/獣耳.cs index 49b177a..0d5c91e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/獣耳.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/獣耳.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -91,7 +92,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexX = (欠損_ ? 1 : 0); + Body.SetIndexX((欠損_ ? 1 : 0)); } } @@ -304,20 +305,20 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_獣耳外.AngleBase = num * -46.0; - X0Y1_獣耳外.AngleBase = num * -64.0; - X0Y2_獣耳外.AngleBase = num * -78.0; - X1Y0_獣耳外.AngleBase = num * -46.0; - X1Y1_獣耳外.AngleBase = num * -64.0; - X1Y2_獣耳外.AngleBase = num * -78.0; + X0Y0_獣耳外.SetAngleBase(num * -46.0); + X0Y1_獣耳外.SetAngleBase(num * -64.0); + X0Y2_獣耳外.SetAngleBase(num * -78.0); + X1Y0_獣耳外.SetAngleBase(num * -46.0); + X1Y1_獣耳外.SetAngleBase(num * -64.0); + X1Y2_獣耳外.SetAngleBase(num * -78.0); Body.JoinPAall(); } public override void 色更新() { - if (Body.IndexX == 0) + if (Body.GetIndexX() == 0) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_獣耳外CP.Update(); @@ -338,7 +339,7 @@ namespace SlaveMatrix } else { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X1Y0_獣耳外CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/獣耳D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/獣耳D.cs index d807cda..bd717ab 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/獣耳D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/獣耳D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/玉口枷.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/玉口枷.cs index 56703b0..81d08a0 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/玉口枷.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/玉口枷.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/玉口枷D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/玉口枷D.cs index 6e0588f..9854380 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/玉口枷D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/玉口枷D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/目傷.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/目傷.cs index fa15b13..7c64bee 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/目傷.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/目傷.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -235,7 +236,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_傷上CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/目傷D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/目傷D.cs index 2cbeece..0d70899 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/目傷D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/目傷D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/目尻影.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/目尻影.cs index 8f1fe0d..e51395a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/目尻影.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/目尻影.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/目尻影D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/目尻影D.cs index 93ad355..f129ef7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/目尻影D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/目尻影D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/目隠帯.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/目隠帯.cs index 0c48435..3e7cbd9 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/目隠帯.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/目隠帯.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/目隠帯D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/目隠帯D.cs index 1f650d0..127c3ec 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/目隠帯D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/目隠帯D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/眉.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/眉.cs index aab7f21..ac034e9 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/眉.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/眉.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -202,14 +203,14 @@ namespace SlaveMatrix X0Y2_眉間CP = new ColorP(X0Y2_眉間, 眉間CD, DisUnit, abj: false); Intensity = e.濃度; int num = (右 ? 1 : (-1)); - X0Y0_眉.BasePointBase = X0Y0_眉.BasePointBase.AddX((double)num * 0.0009); - X0Y1_眉.BasePointBase = X0Y1_眉.BasePointBase.AddX((double)num * 0.0009); - X0Y2_眉.BasePointBase = X0Y2_眉.BasePointBase.AddX((double)num * 0.0009); + X0Y0_眉.SetBasePointBase(X0Y0_眉.GetBasePointBase().AddX((double)num * 0.0009)); + X0Y1_眉.SetBasePointBase(X0Y1_眉.GetBasePointBase().AddX((double)num * 0.0009)); + X0Y2_眉.SetBasePointBase(X0Y2_眉.GetBasePointBase().AddX((double)num * 0.0009)); } public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_眉CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/眉D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/眉D.cs index 484e732..fa9a2d0 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/眉D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/眉D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_中.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_中.cs index 87cd7c4..cd7c027 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_中.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_中.cs @@ -517,16 +517,16 @@ namespace SlaveMatrix set { double num = 0.9 + 0.55 * value; - X0Y0_瞼.PenWidth *= num; - X0Y1_瞼.PenWidth *= num; - X0Y2_瞼.PenWidth *= num; - X0Y3_瞼.PenWidth *= num; - X0Y4_瞼.PenWidth *= num; - X1Y0_瞼.PenWidth *= num; - X1Y1_瞼.PenWidth *= num; - X1Y2_瞼.PenWidth *= num; - X1Y3_瞼.PenWidth *= num; - X1Y4_瞼.PenWidth *= num; + X0Y0_瞼.SetPenWidth(X0Y0_瞼.GetPenWidth() * num); + X0Y1_瞼.SetPenWidth(X0Y1_瞼.GetPenWidth() * num); + X0Y2_瞼.SetPenWidth(X0Y2_瞼.GetPenWidth() * num); + X0Y3_瞼.SetPenWidth(X0Y3_瞼.GetPenWidth() * num); + X0Y4_瞼.SetPenWidth(X0Y4_瞼.GetPenWidth() * num); + X1Y0_瞼.SetPenWidth(X1Y0_瞼.GetPenWidth() * num); + X1Y1_瞼.SetPenWidth(X1Y1_瞼.GetPenWidth() * num); + X1Y2_瞼.SetPenWidth(X1Y2_瞼.GetPenWidth() * num); + X1Y3_瞼.SetPenWidth(X1Y3_瞼.GetPenWidth() * num); + X1Y4_瞼.SetPenWidth(X1Y4_瞼.GetPenWidth() * num); } } @@ -795,16 +795,16 @@ namespace SlaveMatrix { double num = 0.0; double num2 = 1.5; - Vector2D value = p.BasePointBase + (p.OP[0].ps[0] - p.BasePointBase) * (num + (num2 - num) * d); - p.OP[2].ps[2] = value; - p.OP[0].ps[0] = value; + Vector2D value = p.GetBasePointBase() + (p.GetOP()[0].ps[0] - p.GetBasePointBase()) * (num + (num2 - num) * d); + p.GetOP()[2].ps[2] = value; + p.GetOP()[0].ps[0] = value; } public override void 色更新() { - if (Body.IndexX == 0) + if (Body.GetIndexX() == 0) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_瞼CP.Update(); @@ -850,7 +850,7 @@ namespace SlaveMatrix } else { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X1Y0_瞼CP.Update(); @@ -898,9 +898,9 @@ namespace SlaveMatrix public override void 色更新(Vector2D[] mm) { - if (Body.IndexX == 0) + if (Body.GetIndexX() == 0) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_瞼CP.Update(mm); @@ -946,7 +946,7 @@ namespace SlaveMatrix } else { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X1Y0_瞼CP.Update(mm); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_中D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_中D.cs index 7323350..4156d88 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_中D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_中D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_宇.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_宇.cs index 57908b4..aecf55b 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_宇.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_宇.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -296,7 +297,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_目CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_宇D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_宇D.cs index 512cab0..4ea163d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_宇D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_宇D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_弱.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_弱.cs index 0678502..f6b369e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_弱.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_弱.cs @@ -442,16 +442,16 @@ namespace SlaveMatrix set { double num = 0.9 + 0.55 * value; - X0Y0_瞼.PenWidth *= num; - X0Y1_瞼.PenWidth *= num; - X0Y2_瞼.PenWidth *= num; - X0Y3_瞼.PenWidth *= num; - X0Y4_瞼.PenWidth *= num; - X1Y0_瞼.PenWidth *= num; - X1Y1_瞼.PenWidth *= num; - X1Y2_瞼.PenWidth *= num; - X1Y3_瞼.PenWidth *= num; - X1Y4_瞼.PenWidth *= num; + X0Y0_瞼.SetPenWidth(X0Y0_瞼.GetPenWidth() * num); + X0Y1_瞼.SetPenWidth(X0Y1_瞼.GetPenWidth() * num); + X0Y2_瞼.SetPenWidth(X0Y2_瞼.GetPenWidth() * num); + X0Y3_瞼.SetPenWidth(X0Y3_瞼.GetPenWidth() * num); + X0Y4_瞼.SetPenWidth(X0Y4_瞼.GetPenWidth() * num); + X1Y0_瞼.SetPenWidth(X1Y0_瞼.GetPenWidth() * num); + X1Y1_瞼.SetPenWidth(X1Y1_瞼.GetPenWidth() * num); + X1Y2_瞼.SetPenWidth(X1Y2_瞼.GetPenWidth() * num); + X1Y3_瞼.SetPenWidth(X1Y3_瞼.GetPenWidth() * num); + X1Y4_瞼.SetPenWidth(X1Y4_瞼.GetPenWidth() * num); } } @@ -680,16 +680,16 @@ namespace SlaveMatrix { double num = 0.0; double num2 = 1.5; - Vector2D value = p.BasePointBase + (p.OP[0].ps[0] - p.BasePointBase) * (num + (num2 - num) * d); - p.OP[2].ps[2] = value; - p.OP[0].ps[0] = value; + Vector2D value = p.GetBasePointBase() + (p.GetOP()[0].ps[0] - p.GetBasePointBase()) * (num + (num2 - num) * d); + p.GetOP()[2].ps[2] = value; + p.GetOP()[0].ps[0] = value; } public override void 色更新() { - if (Body.IndexX == 0) + if (Body.GetIndexX() == 0) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_瞼CP.Update(); @@ -730,7 +730,7 @@ namespace SlaveMatrix } else { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X1Y0_瞼CP.Update(); @@ -773,9 +773,9 @@ namespace SlaveMatrix public override void 色更新(Vector2D[] mm) { - if (Body.IndexX == 0) + if (Body.GetIndexX() == 0) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_瞼CP.Update(mm); @@ -816,7 +816,7 @@ namespace SlaveMatrix } else { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X1Y0_瞼CP.Update(mm); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_弱D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_弱D.cs index be37199..c49f95b 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_弱D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_弱D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_強.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_強.cs index d46c378..ee8c588 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_強.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_強.cs @@ -517,16 +517,16 @@ namespace SlaveMatrix set { double num = 0.9 + 0.55 * value; - X0Y0_瞼.PenWidth *= num; - X0Y1_瞼.PenWidth *= num; - X0Y2_瞼.PenWidth *= num; - X0Y3_瞼.PenWidth *= num; - X0Y4_瞼.PenWidth *= num; - X1Y0_瞼.PenWidth *= num; - X1Y1_瞼.PenWidth *= num; - X1Y2_瞼.PenWidth *= num; - X1Y3_瞼.PenWidth *= num; - X1Y4_瞼.PenWidth *= num; + X0Y0_瞼.SetPenWidth(X0Y0_瞼.GetPenWidth() * num); + X0Y1_瞼.SetPenWidth(X0Y1_瞼.GetPenWidth() * num); + X0Y2_瞼.SetPenWidth(X0Y2_瞼.GetPenWidth() * num); + X0Y3_瞼.SetPenWidth(X0Y3_瞼.GetPenWidth() * num); + X0Y4_瞼.SetPenWidth(X0Y4_瞼.GetPenWidth() * num); + X1Y0_瞼.SetPenWidth(X1Y0_瞼.GetPenWidth() * num); + X1Y1_瞼.SetPenWidth(X1Y1_瞼.GetPenWidth() * num); + X1Y2_瞼.SetPenWidth(X1Y2_瞼.GetPenWidth() * num); + X1Y3_瞼.SetPenWidth(X1Y3_瞼.GetPenWidth() * num); + X1Y4_瞼.SetPenWidth(X1Y4_瞼.GetPenWidth() * num); } } @@ -795,16 +795,16 @@ namespace SlaveMatrix { double num = 0.0; double num2 = 1.5; - Vector2D value = p.BasePointBase + (p.OP[0].ps[0] - p.BasePointBase) * (num + (num2 - num) * d); - p.OP[2].ps[2] = value; - p.OP[0].ps[0] = value; + Vector2D value = p.GetBasePointBase() + (p.GetOP()[0].ps[0] - p.GetBasePointBase()) * (num + (num2 - num) * d); + p.GetOP()[2].ps[2] = value; + p.GetOP()[0].ps[0] = value; } public override void 色更新() { - if (Body.IndexX == 0) + if (Body.GetIndexX() == 0) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_瞼CP.Update(); @@ -850,7 +850,7 @@ namespace SlaveMatrix } else { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X1Y0_瞼CP.Update(); @@ -898,9 +898,9 @@ namespace SlaveMatrix public override void 色更新(Vector2D[] mm) { - if (Body.IndexX == 0) + if (Body.GetIndexX() == 0) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_瞼CP.Update(mm); @@ -946,7 +946,7 @@ namespace SlaveMatrix } else { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X1Y0_瞼CP.Update(mm); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_強D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_強D.cs index f620253..047fbcb 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_強D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_強D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_獣.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_獣.cs index dc2fb0f..b81c476 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_獣.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_獣.cs @@ -442,16 +442,16 @@ namespace SlaveMatrix set { double num = 0.9 + 0.55 * value; - X0Y0_瞼.PenWidth *= num; - X0Y1_瞼.PenWidth *= num; - X0Y2_瞼.PenWidth *= num; - X0Y3_瞼.PenWidth *= num; - X0Y4_瞼.PenWidth *= num; - X1Y0_瞼.PenWidth *= num; - X1Y1_瞼.PenWidth *= num; - X1Y2_瞼.PenWidth *= num; - X1Y3_瞼.PenWidth *= num; - X1Y4_瞼.PenWidth *= num; + X0Y0_瞼.SetPenWidth(X0Y0_瞼.GetPenWidth() * num); + X0Y1_瞼.SetPenWidth(X0Y1_瞼.GetPenWidth() * num); + X0Y2_瞼.SetPenWidth(X0Y2_瞼.GetPenWidth() * num); + X0Y3_瞼.SetPenWidth(X0Y3_瞼.GetPenWidth() * num); + X0Y4_瞼.SetPenWidth(X0Y4_瞼.GetPenWidth() * num); + X1Y0_瞼.SetPenWidth(X1Y0_瞼.GetPenWidth() * num); + X1Y1_瞼.SetPenWidth(X1Y1_瞼.GetPenWidth() * num); + X1Y2_瞼.SetPenWidth(X1Y2_瞼.GetPenWidth() * num); + X1Y3_瞼.SetPenWidth(X1Y3_瞼.GetPenWidth() * num); + X1Y4_瞼.SetPenWidth(X1Y4_瞼.GetPenWidth() * num); } } @@ -680,16 +680,16 @@ namespace SlaveMatrix { double num = 0.0; double num2 = 1.5; - Vector2D value = p.BasePointBase + (p.OP[0].ps[0] - p.BasePointBase) * (num + (num2 - num) * d); - p.OP[2].ps[2] = value; - p.OP[0].ps[0] = value; + Vector2D value = p.GetBasePointBase() + (p.GetOP()[0].ps[0] - p.GetBasePointBase()) * (num + (num2 - num) * d); + p.GetOP()[2].ps[2] = value; + p.GetOP()[0].ps[0] = value; } public override void 色更新() { - if (Body.IndexX == 0) + if (Body.GetIndexX() == 0) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_瞼CP.Update(); @@ -730,7 +730,7 @@ namespace SlaveMatrix } else { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X1Y0_瞼CP.Update(); @@ -773,9 +773,9 @@ namespace SlaveMatrix public override void 色更新(Vector2D[] mm) { - if (Body.IndexX == 0) + if (Body.GetIndexX() == 0) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_瞼CP.Update(mm); @@ -816,7 +816,7 @@ namespace SlaveMatrix } else { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X1Y0_瞼CP.Update(mm); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_獣D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_獣D.cs index bc7a1cd..fcf946e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_獣D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/瞼_獣D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/節.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/節.cs index af538fc..15352e7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/節.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/節.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 節 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/節尾_曳航.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/節尾_曳航.cs index 98b2f9f..f8d913e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/節尾_曳航.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/節尾_曳航.cs @@ -448,11 +448,11 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_前腿節.AngleBase = num * 2.0; - X0Y0_腿節.AngleBase = num * 5.0; - X0Y0_脛節.AngleBase = num * -6.0; - X0Y0_付節1.AngleBase = num * -2.0; - X0Y0_付節2.AngleBase = num * 0.0; + X0Y0_前腿節.SetAngleBase(num * 2.0); + X0Y0_腿節.SetAngleBase(num * 5.0); + X0Y0_脛節.SetAngleBase(num * -6.0); + X0Y0_付節1.SetAngleBase(num * -2.0); + X0Y0_付節2.SetAngleBase(num * 0.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/節尾_曳航D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/節尾_曳航D.cs index e326914..24026c6 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/節尾_曳航D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/節尾_曳航D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/節尾_鋏D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/節尾_鋏D.cs index cec2aa3..df2835d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/節尾_鋏D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/節尾_鋏D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/節足_足百.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/節足_足百.cs index a87419f..6a446a6 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/節足_足百.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/節足_足百.cs @@ -494,13 +494,13 @@ namespace SlaveMatrix { double num = (右 ? (-1.0) : 1.0); num *= (double)((!反転Y) ? 1 : (-1)); - X0Y0_基節.AngleBase = num * (double)(1 - (反転Y ? 30 : 0)); - X0Y0_転節.AngleBase = num * 0.0; - X0Y0_前腿節.AngleBase = num * 48.0; - X0Y0_腿節.AngleBase = num * -49.0; - X0Y0_脛節.AngleBase = num * -51.0; - X0Y0_跗節1.AngleBase = num * -46.0; - X0Y0_跗節2.AngleBase = num * 0.0; + X0Y0_基節.SetAngleBase(num * (double)(1 - (反転Y ? 30 : 0))); + X0Y0_転節.SetAngleBase(num * 0.0); + X0Y0_前腿節.SetAngleBase(num * 48.0); + X0Y0_腿節.SetAngleBase(num * -49.0); + X0Y0_脛節.SetAngleBase(num * -51.0); + X0Y0_跗節1.SetAngleBase(num * -46.0); + X0Y0_跗節2.SetAngleBase(num * 0.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/節足_足百D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/節足_足百D.cs index 50d09dc..2bb383e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/節足_足百D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/節足_足百D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/節足_足蜘.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/節足_足蜘.cs index 732bc2d..b2f4853 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/節足_足蜘.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/節足_足蜘.cs @@ -641,14 +641,14 @@ namespace SlaveMatrix { double num = (右 ? (-1.0) : 1.0); num *= (double)((!反転Y) ? 1 : (-1)); - X0Y0_基節.AngleBase = num * (double)(50 - (反転Y ? 30 : 0)); - X0Y0_転節.AngleBase = num * -50.0; - X0Y0_腿節.AngleBase = num * -10.0; - X0Y0_膝節.AngleBase = num * 70.0; - X0Y0_脛節.AngleBase = num * -10.0; - X0Y0_蹠節.AngleBase = num * 45.0; - X0Y0_跗節1.AngleBase = num * -45.0; - X0Y0_跗節2.AngleBase = num * -45.0; + X0Y0_基節.SetAngleBase(num * (double)(50 - (反転Y ? 30 : 0))); + X0Y0_転節.SetAngleBase(num * -50.0); + X0Y0_腿節.SetAngleBase(num * -10.0); + X0Y0_膝節.SetAngleBase(num * 70.0); + X0Y0_脛節.SetAngleBase(num * -10.0); + X0Y0_蹠節.SetAngleBase(num * 45.0); + X0Y0_跗節1.SetAngleBase(num * -45.0); + X0Y0_跗節2.SetAngleBase(num * -45.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/節足_足蜘D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/節足_足蜘D.cs index 2332066..f67715a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/節足_足蜘D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/節足_足蜘D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/節足_足蠍.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/節足_足蠍.cs index 738b228..ebb5ff4 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/節足_足蠍.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/節足_足蠍.cs @@ -589,13 +589,13 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_転節.AngleBase = num * -25.0; - X0Y0_腿節.AngleBase = num * -25.0; - X0Y0_膝節.AngleBase = num * 45.0; - X0Y0_脛節.AngleBase = num * 80.0; - X0Y0_蹠節.AngleBase = num * -10.0; - X0Y0_跗節1.AngleBase = num * -25.0; - X0Y0_跗節2.AngleBase = num * -25.0; + X0Y0_転節.SetAngleBase(num * -25.0); + X0Y0_腿節.SetAngleBase(num * -25.0); + X0Y0_膝節.SetAngleBase(num * 45.0); + X0Y0_脛節.SetAngleBase(num * 80.0); + X0Y0_蹠節.SetAngleBase(num * -10.0); + X0Y0_跗節1.SetAngleBase(num * -25.0); + X0Y0_跗節2.SetAngleBase(num * -25.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/節足_足蠍D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/節足_足蠍D.cs index 43de423..47f4d80 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/節足_足蠍D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/節足_足蠍D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/紅潮.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/紅潮.cs index 8056baa..20cc216 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/紅潮.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/紅潮.cs @@ -1,5 +1,6 @@ using System.Drawing; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/紅潮D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/紅潮D.cs index e3bdbd0..286ed3d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/紅潮D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/紅潮D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/縦目.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/縦目.cs index d7a39c8..8a6ebe6 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/縦目.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/縦目.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -195,13 +196,13 @@ namespace SlaveMatrix { get { - return X0Y0_黒目_黒目.PositionCont; + return X0Y0_黒目_黒目.GetPositionCont(); } set { - X0Y0_黒目_黒目.PositionCont = value; - X0Y0_黒目_瞳孔.PositionCont = value; - X0Y0_黒目_ハート.PositionCont = value; + X0Y0_黒目_黒目.SetPositionCont(value); + X0Y0_黒目_瞳孔.SetPositionCont(value); + X0Y0_黒目_ハート.SetPositionCont(value); } } @@ -304,14 +305,14 @@ namespace SlaveMatrix public void 猫目() { - X0Y0_黒目_瞳孔.SizeXBase *= 0.25; - X0Y0_黒目_瞳孔.SizeYBase *= 1.5; + X0Y0_黒目_瞳孔.SetSizeXBase(X0Y0_黒目_瞳孔.GetSizeXBase() * 0.25); + X0Y0_黒目_瞳孔.SetSizeYBase(X0Y0_黒目_瞳孔.GetSizeYBase() * 1.5); } public void 蛸目() { - X0Y0_黒目_瞳孔.SizeXBase *= 2.0; - X0Y0_黒目_瞳孔.SizeYBase *= 0.5; + X0Y0_黒目_瞳孔.SetSizeXBase(X0Y0_黒目_瞳孔.GetSizeXBase() * 2.0); + X0Y0_黒目_瞳孔.SetSizeYBase(X0Y0_黒目_瞳孔.GetSizeYBase() * 0.5); } public override void 色更新() diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/縦目D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/縦目D.cs index 5cf6b75..867b53b 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/縦目D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/縦目D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/縦瞼.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/縦瞼.cs index b07e5de..8feeceb 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/縦瞼.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/縦瞼.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -337,16 +338,16 @@ namespace SlaveMatrix set { double num = 0.9 + 0.55 * value; - X0Y0_瞼左_瞼.PenWidth *= num; - X0Y0_瞼右_瞼.PenWidth *= num; - X0Y1_瞼左_瞼.PenWidth *= num; - X0Y1_瞼右_瞼.PenWidth *= num; - X0Y2_瞼左_瞼.PenWidth *= num; - X0Y2_瞼右_瞼.PenWidth *= num; - X0Y3_瞼左_瞼.PenWidth *= num; - X0Y3_瞼右_瞼.PenWidth *= num; - X0Y4_瞼左_瞼.PenWidth *= num; - X0Y4_瞼右_瞼.PenWidth *= num; + X0Y0_瞼左_瞼.SetPenWidth(X0Y0_瞼左_瞼.GetPenWidth() * num); + X0Y0_瞼右_瞼.SetPenWidth(X0Y0_瞼右_瞼.GetPenWidth() * num); + X0Y1_瞼左_瞼.SetPenWidth(X0Y1_瞼左_瞼.GetPenWidth() * num); + X0Y1_瞼右_瞼.SetPenWidth(X0Y1_瞼右_瞼.GetPenWidth() * num); + X0Y2_瞼左_瞼.SetPenWidth(X0Y2_瞼左_瞼.GetPenWidth() * num); + X0Y2_瞼右_瞼.SetPenWidth(X0Y2_瞼右_瞼.GetPenWidth() * num); + X0Y3_瞼左_瞼.SetPenWidth(X0Y3_瞼左_瞼.GetPenWidth() * num); + X0Y3_瞼右_瞼.SetPenWidth(X0Y3_瞼右_瞼.GetPenWidth() * num); + X0Y4_瞼左_瞼.SetPenWidth(X0Y4_瞼左_瞼.GetPenWidth() * num); + X0Y4_瞼右_瞼.SetPenWidth(X0Y4_瞼右_瞼.GetPenWidth() * num); } } @@ -542,14 +543,14 @@ namespace SlaveMatrix { double num = 0.0; double num2 = 2.0; - Vector2D value = p.BasePointBase + (p.OP[0].ps[0] - p.BasePointBase) * (num + (num2 - num) * d); - p.OP[2].ps[2] = value; - p.OP[0].ps[0] = value; + Vector2D value = p.GetBasePointBase() + (p.GetOP()[0].ps[0] - p.GetBasePointBase()) * (num + (num2 - num) * d); + p.GetOP()[2].ps[2] = value; + p.GetOP()[0].ps[0] = value; } public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_瞼左_瞼CP.Update(); @@ -596,7 +597,7 @@ namespace SlaveMatrix public override void 色更新(Vector2D[] mm) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_瞼左_瞼CP.Update(mm); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/縦瞼D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/縦瞼D.cs index 80094c1..91deb67 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/縦瞼D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/縦瞼D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/羽根箒.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/羽根箒.cs index ff4762b..49969bf 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/羽根箒.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/羽根箒.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/羽根箒D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/羽根箒D.cs index 44f5c89..24e70c1 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/羽根箒D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/羽根箒D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳.cs index 4763853..608a29f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 耳 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_人.cs index 7fa20d4..06d04cd 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_人.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_人.cs @@ -33,7 +33,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexX = (欠損_ ? 1 : 0); + Body.SetIndexX((欠損_ ? 1 : 0)); } } @@ -176,14 +176,14 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_耳.AngleBase = num * -18.0; - X1Y0_耳.AngleBase = num * -18.0; + X0Y0_耳.SetAngleBase(num * -18.0); + X1Y0_耳.SetAngleBase(num * -18.0); Body.JoinPAall(); } public override void 色更新() { - if (Body.IndexX == 0) + if (Body.GetIndexX() == 0) { X0Y0_耳CP.Update(); X0Y0_耳線CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_人D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_人D.cs index 168c879..f4c5b0e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_人D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_人D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_尖.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_尖.cs index 5eca7c4..c95786d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_尖.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_尖.cs @@ -65,7 +65,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexX = (欠損_ ? 1 : 0); + Body.SetIndexX((欠損_ ? 1 : 0)); } } @@ -244,20 +244,20 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_耳.AngleBase = num * -325.0; - X0Y1_耳.AngleBase = num * -337.0; - X0Y2_耳.AngleBase = num * -350.0; - X1Y0_耳.AngleBase = num * -325.0; - X1Y1_耳.AngleBase = num * -337.0; - X1Y2_耳.AngleBase = num * -350.0; + X0Y0_耳.SetAngleBase(num * -325.0); + X0Y1_耳.SetAngleBase(num * -337.0); + X0Y2_耳.SetAngleBase(num * -350.0); + X1Y0_耳.SetAngleBase(num * -325.0); + X1Y1_耳.SetAngleBase(num * -337.0); + X1Y2_耳.SetAngleBase(num * -350.0); Body.JoinPAall(); } public override void 色更新() { - if (Body.IndexX == 0) + if (Body.GetIndexX() == 0) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_耳CP.Update(); @@ -275,7 +275,7 @@ namespace SlaveMatrix } else { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X1Y0_耳CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_尖D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_尖D.cs index b77286b..921e422 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_尖D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_尖D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_獣.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_獣.cs index 86373f4..f44d81e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_獣.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_獣.cs @@ -91,7 +91,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexX = (欠損_ ? 1 : 0); + Body.SetIndexX((欠損_ ? 1 : 0)); } } @@ -308,20 +308,20 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_耳.AngleBase = num * -342.0; - X0Y1_耳.AngleBase = num * -350.0; - X0Y2_耳.AngleBase = num * -357.0; - X1Y0_耳.AngleBase = num * -342.0; - X1Y1_耳.AngleBase = num * -350.0; - X1Y2_耳.AngleBase = num * -357.0; + X0Y0_耳.SetAngleBase(num * -342.0); + X0Y1_耳.SetAngleBase(num * -350.0); + X0Y2_耳.SetAngleBase(num * -357.0); + X1Y0_耳.SetAngleBase(num * -342.0); + X1Y1_耳.SetAngleBase(num * -350.0); + X1Y2_耳.SetAngleBase(num * -357.0); Body.JoinPAall(); } public override void 色更新() { - if (Body.IndexX == 0) + if (Body.GetIndexX() == 0) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_耳CP.Update(); @@ -342,7 +342,7 @@ namespace SlaveMatrix } else { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X1Y0_耳CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_獣D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_獣D.cs index 7f33f05..e60a560 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_獣D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_獣D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_羽.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_羽.cs index 484b717..1c39bcd 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_羽.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_羽.cs @@ -143,7 +143,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexX = (欠損_ ? 1 : 0); + Body.SetIndexX((欠損_ ? 1 : 0)); } } @@ -435,32 +435,32 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_耳.AngleBase = num * -314.0; - X0Y0_羽1.AngleBase = num * -31.0; - X0Y0_羽2.AngleBase = num * 291.0; - X0Y1_耳.AngleBase = num * -333.0; - X0Y1_羽1.AngleBase = num * -20.9999999999999; - X0Y1_羽2.AngleBase = num * 313.0; - X0Y2_耳.AngleBase = num * 0.0; - X0Y2_羽1.AngleBase = num * -2.49999999999986; - X0Y2_羽2.AngleBase = num * -16.0000000000001; - X1Y0_耳.AngleBase = num * -314.0; - X1Y0_羽1.AngleBase = num * -31.0; - X1Y0_羽2.AngleBase = num * 291.0; - X1Y1_耳.AngleBase = num * -333.0; - X1Y1_羽1.AngleBase = num * -20.9999999999999; - X1Y1_羽2.AngleBase = num * 313.0; - X1Y2_耳.AngleBase = num * 0.0; - X1Y2_羽1.AngleBase = num * -2.49999999999986; - X1Y2_羽2.AngleBase = num * -16.0000000000001; + X0Y0_耳.SetAngleBase(num * -314.0); + X0Y0_羽1.SetAngleBase(num * -31.0); + X0Y0_羽2.SetAngleBase(num * 291.0); + X0Y1_耳.SetAngleBase(num * -333.0); + X0Y1_羽1.SetAngleBase(num * -20.9999999999999); + X0Y1_羽2.SetAngleBase(num * 313.0); + X0Y2_耳.SetAngleBase(num * 0.0); + X0Y2_羽1.SetAngleBase(num * -2.49999999999986); + X0Y2_羽2.SetAngleBase(num * -16.0000000000001); + X1Y0_耳.SetAngleBase(num * -314.0); + X1Y0_羽1.SetAngleBase(num * -31.0); + X1Y0_羽2.SetAngleBase(num * 291.0); + X1Y1_耳.SetAngleBase(num * -333.0); + X1Y1_羽1.SetAngleBase(num * -20.9999999999999); + X1Y1_羽2.SetAngleBase(num * 313.0); + X1Y2_耳.SetAngleBase(num * 0.0); + X1Y2_羽1.SetAngleBase(num * -2.49999999999986); + X1Y2_羽2.SetAngleBase(num * -16.0000000000001); Body.JoinPAall(); } public override void 色更新() { - if (Body.IndexX == 0) + if (Body.GetIndexX() == 0) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_羽2CP.Update(); @@ -487,7 +487,7 @@ namespace SlaveMatrix } else { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X1Y0_羽2CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_羽D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_羽D.cs index fbee7d7..c23de25 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_羽D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_羽D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_長.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_長.cs index 693c22d..15665dc 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_長.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_長.cs @@ -91,7 +91,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexX = (欠損_ ? 1 : 0); + Body.SetIndexX((欠損_ ? 1 : 0)); } } @@ -308,20 +308,20 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_耳.AngleBase = num * -344.0; - X0Y1_耳.AngleBase = num * -351.0; - X0Y2_耳.AngleBase = num * 0.0; - X1Y0_耳.AngleBase = num * -344.0; - X1Y1_耳.AngleBase = num * -351.0; - X1Y2_耳.AngleBase = num * 0.0; + X0Y0_耳.SetAngleBase(num * -344.0); + X0Y1_耳.SetAngleBase(num * -351.0); + X0Y2_耳.SetAngleBase(num * 0.0); + X1Y0_耳.SetAngleBase(num * -344.0); + X1Y1_耳.SetAngleBase(num * -351.0); + X1Y2_耳.SetAngleBase(num * 0.0); Body.JoinPAall(); } public override void 色更新() { - if (Body.IndexX == 0) + if (Body.GetIndexX() == 0) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_耳CP.Update(); @@ -342,7 +342,7 @@ namespace SlaveMatrix } else { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X1Y0_耳CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_長D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_長D.cs index 6ac745d..1296be6 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_長D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_長D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_鰭.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_鰭.cs index 7194bc0..f96e39a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_鰭.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_鰭.cs @@ -183,7 +183,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexX = (欠損_ ? 1 : 0); + Body.SetIndexX((欠損_ ? 1 : 0)); } } @@ -536,9 +536,9 @@ namespace SlaveMatrix public override void 色更新() { - if (Body.IndexX == 0) + if (Body.GetIndexX() == 0) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Pars1.GetMiY_MaY(out mm); @@ -571,7 +571,7 @@ namespace SlaveMatrix } else { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Pars4.GetMiY_MaY(out mm); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_鰭D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_鰭D.cs index 4fad035..e84d7f3 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_鰭D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_鰭D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門.cs index 3ee7e1c..0e41ca7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 肛門 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門_人.cs index c538b69..92801a0 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門_人.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門_人.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門_人D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門_人D.cs index e883132..330b57a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門_人D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門_人D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門_獣.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門_獣.cs index 40cc555..cab9314 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門_獣.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門_獣.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門_獣D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門_獣D.cs index 3bddd83..49f82f1 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門_獣D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門_獣D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門精液.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門精液.cs index 01367cc..a84340a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門精液.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門精液.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 肛門精液 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門精液_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門精液_人.cs index ef826d4..56b4e28 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門精液_人.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門精液_人.cs @@ -174,7 +174,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_精液CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門精液_人D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門精液_人D.cs index 513852b..56e24d8 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門精液_人D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門精液_人D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門精液_獣.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門精液_獣.cs index 28f01a7..5203e77 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門精液_獣.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門精液_獣.cs @@ -174,7 +174,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_精液CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門精液_獣D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門精液_獣D.cs index 285c0ae..389c054 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門精液_獣D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門精液_獣D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中.cs index 113c2b8..8a2d718 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 背中 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中_光D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中_光D.cs index 0dc79bf..bd452e9 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中_光D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中_光D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中_甲.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中_甲.cs index acb1cc9..dc5f167 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中_甲.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中_甲.cs @@ -823,20 +823,20 @@ namespace SlaveMatrix set { double num = 15.0 * value; - X0Y0_左_鱗_鱗12.AngleBase = num; - X0Y0_左_鱗_鱗11.AngleBase = num; - X0Y0_左_鱗_鱗10.AngleBase = num; - X0Y0_左_鱗_鱗9.AngleBase = num; - X0Y0_左_鱗_鱗8.AngleBase = num; - X0Y0_左_鱗_鱗7.AngleBase = num; - X0Y0_左_鱗_鱗6.AngleBase = num; - X0Y0_右_鱗_鱗12.AngleBase = 0.0 - num; - X0Y0_右_鱗_鱗11.AngleBase = 0.0 - num; - X0Y0_右_鱗_鱗10.AngleBase = 0.0 - num; - X0Y0_右_鱗_鱗9.AngleBase = 0.0 - num; - X0Y0_右_鱗_鱗8.AngleBase = 0.0 - num; - X0Y0_右_鱗_鱗7.AngleBase = 0.0 - num; - X0Y0_右_鱗_鱗6.AngleBase = 0.0 - num; + X0Y0_左_鱗_鱗12.SetAngleBase(num); + X0Y0_左_鱗_鱗11.SetAngleBase(num); + X0Y0_左_鱗_鱗10.SetAngleBase(num); + X0Y0_左_鱗_鱗9.SetAngleBase(num); + X0Y0_左_鱗_鱗8.SetAngleBase(num); + X0Y0_左_鱗_鱗7.SetAngleBase(num); + X0Y0_左_鱗_鱗6.SetAngleBase(num); + X0Y0_右_鱗_鱗12.SetAngleBase(0.0 - num); + X0Y0_右_鱗_鱗11.SetAngleBase(0.0 - num); + X0Y0_右_鱗_鱗10.SetAngleBase(0.0 - num); + X0Y0_右_鱗_鱗9.SetAngleBase(0.0 - num); + X0Y0_右_鱗_鱗8.SetAngleBase(0.0 - num); + X0Y0_右_鱗_鱗7.SetAngleBase(0.0 - num); + X0Y0_右_鱗_鱗6.SetAngleBase(0.0 - num); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中_甲D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中_甲D.cs index fc27808..da6ff24 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中_甲D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中_甲D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中_羽.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中_羽.cs index 02d06c0..228861c 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中_羽.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中_羽.cs @@ -162,8 +162,8 @@ namespace SlaveMatrix public void 毛() { - X0Y0_羽毛1.OP.SetTension(0f); - X0Y0_羽毛2.OP.SetTension(0f); + X0Y0_羽毛1.GetOP().SetTension(0f); + X0Y0_羽毛2.GetOP().SetTension(0f); } public override void 色更新() diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中_羽D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中_羽D.cs index 88c3d4f..116601f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中_羽D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中_羽D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/胴肌.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/胴肌.cs index 77a6e68..e2d99e8 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/胴肌.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/胴肌.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/胴肌D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/胴肌D.cs index c0400a6..5978963 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/胴肌D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/胴肌D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/胴腹板.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/胴腹板.cs index e00ab43..db592ea 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/胴腹板.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/胴腹板.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/胴腹板D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/胴腹板D.cs index 573f015..26a92e1 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/胴腹板D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/胴腹板D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/胸毛.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/胸毛.cs index b4992a2..0c2a496 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/胸毛.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/胸毛.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/胸毛D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/胸毛D.cs index 6de3768..ed315e3 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/胸毛D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/胸毛D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/胸肌.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/胸肌.cs index 957d173..8c8d18e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/胸肌.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/胸肌.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/胸肌D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/胸肌D.cs index 1f4e7d1..3d0d6f8 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/胸肌D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/胸肌D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/胸腹板.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/胸腹板.cs index 45be648..b4c3093 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/胸腹板.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/胸腹板.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/胸腹板D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/胸腹板D.cs index 952267d..a065290 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/胸腹板D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/胸腹板D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腰肌.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腰肌.cs index 8f2e195..3c1fec2 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腰肌.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腰肌.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -1326,7 +1327,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_淫タトゥ_ハート_タトゥ左1CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腰肌D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腰肌D.cs index 18b346a..c201d0b 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腰肌D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腰肌D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿.cs index ae0ded0..45f1d52 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 腿 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_人.cs index a1684e4..f0fbf1c 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_人.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_人.cs @@ -1,6 +1,7 @@ using System.Drawing; using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -3578,7 +3579,7 @@ namespace SlaveMatrix public override void 描画0(RenderArea Are) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: Are.Draw(X0Y0_腿); @@ -3868,45 +3869,45 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_腿.AngleBase = num * -8.53773646251594E-07; - X0Y1_腿.AngleBase = num * -313.0; - X0Y2_腿.AngleBase = num * -271.0; - X0Y3_腿.AngleBase = num * -222.0; - X0Y4_腿.AngleBase = num * -182.0; + X0Y0_腿.SetAngleBase(num * -8.53773646251594E-07); + X0Y1_腿.SetAngleBase(num * -313.0); + X0Y2_腿.SetAngleBase(num * -271.0); + X0Y3_腿.SetAngleBase(num * -222.0); + X0Y4_腿.SetAngleBase(num * -182.0); Body.JoinPAall(); } public void 虫性() { - X0Y0_腿.OP[(!右) ? 4 : 0].Outline = true; - X0Y1_腿.OP[(!右) ? 4 : 0].Outline = true; - X0Y2_腿.OP[右 ? 4 : 0].Outline = true; - X0Y3_腿.OP[(!右) ? 4 : 0].Outline = true; - X0Y4_腿.OP[右 ? 4 : 0].Outline = true; + X0Y0_腿.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y1_腿.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y2_腿.GetOP()[右 ? 4 : 0].Outline = true; + X0Y3_腿.GetOP()[(!右) ? 4 : 0].Outline = true; + X0Y4_腿.GetOP()[右 ? 4 : 0].Outline = true; } public void スライム() { - X0Y0_腿.OP[右 ? 4 : 0].Outline = false; - X0Y0_腿.OP[(!右) ? 1 : 3].Outline = false; - X0Y0_腿.OP[右 ? 2 : 2].Outline = false; - X0Y0_腿.OP[右 ? 1 : 3].Outline = false; - X0Y1_腿.OP[右 ? 4 : 0].Outline = false; - X0Y1_腿.OP[(!右) ? 1 : 3].Outline = false; - X0Y1_腿.OP[右 ? 2 : 2].Outline = false; - X0Y1_腿.OP[右 ? 1 : 3].Outline = false; - X0Y2_腿.OP[(!右) ? 1 : 3].Outline = false; - X0Y2_腿.OP[右 ? 2 : 2].Outline = false; - X0Y2_腿.OP[右 ? 1 : 3].Outline = false; - X0Y2_腿.OP[(!右) ? 4 : 0].Outline = false; - X0Y3_腿.OP[右 ? 4 : 0].Outline = false; - X0Y3_腿.OP[(!右) ? 1 : 3].Outline = false; - X0Y3_腿.OP[右 ? 2 : 2].Outline = false; - X0Y3_腿.OP[右 ? 1 : 3].Outline = false; - X0Y4_腿.OP[(!右) ? 1 : 3].Outline = false; - X0Y4_腿.OP[右 ? 2 : 2].Outline = false; - X0Y4_腿.OP[右 ? 1 : 3].Outline = false; - X0Y4_腿.OP[(!右) ? 4 : 0].Outline = false; + X0Y0_腿.GetOP()[右 ? 4 : 0].Outline = false; + X0Y0_腿.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y0_腿.GetOP()[右 ? 2 : 2].Outline = false; + X0Y0_腿.GetOP()[右 ? 1 : 3].Outline = false; + X0Y1_腿.GetOP()[右 ? 4 : 0].Outline = false; + X0Y1_腿.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y1_腿.GetOP()[右 ? 2 : 2].Outline = false; + X0Y1_腿.GetOP()[右 ? 1 : 3].Outline = false; + X0Y2_腿.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y2_腿.GetOP()[右 ? 2 : 2].Outline = false; + X0Y2_腿.GetOP()[右 ? 1 : 3].Outline = false; + X0Y2_腿.GetOP()[(!右) ? 4 : 0].Outline = false; + X0Y3_腿.GetOP()[右 ? 4 : 0].Outline = false; + X0Y3_腿.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y3_腿.GetOP()[右 ? 2 : 2].Outline = false; + X0Y3_腿.GetOP()[右 ? 1 : 3].Outline = false; + X0Y4_腿.GetOP()[(!右) ? 1 : 3].Outline = false; + X0Y4_腿.GetOP()[右 ? 2 : 2].Outline = false; + X0Y4_腿.GetOP()[右 ? 1 : 3].Outline = false; + X0Y4_腿.GetOP()[(!右) ? 4 : 0].Outline = false; Color Col = Color.FromArgb(128, 腿0CD.c2.Col2); 腿0CD.色 = new Color2(ref 腿0CD.c2.Col1, ref Col); 腿1CD.色 = new Color2(ref 腿1CD.c2.Col1, ref Col); @@ -3926,7 +3927,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_腿CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_人D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_人D.cs index 89b4356..433b545 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_人D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_人D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_獣.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_獣.cs index 3b58183..d97e524 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_獣.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_獣.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -223,7 +224,7 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_腿.AngleBase = num * 144.0; + X0Y0_腿.SetAngleBase(num * 144.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_獣D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_獣D.cs index 65fc864..0697a33 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_獣D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_獣D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_竜.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_竜.cs index 86dad5f..c559ffa 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_竜.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_竜.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -416,7 +417,7 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_腿.AngleBase = num * 144.0; + X0Y0_腿.SetAngleBase(num * 144.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_竜D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_竜D.cs index e257d79..428887e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_竜D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_竜D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_蹄.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_蹄.cs index 4bca649..cefec81 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_蹄.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_蹄.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -174,7 +175,7 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_腿.AngleBase = num * 144.0; + X0Y0_腿.SetAngleBase(num * 144.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_蹄D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_蹄D.cs index bf94272..4a618cd 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_蹄D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_蹄D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_鳥.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_鳥.cs index fa23b86..1862c32 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_鳥.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_鳥.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -174,7 +175,7 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_腿.AngleBase = num * 144.0; + X0Y0_腿.SetAngleBase(num * 144.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_鳥D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_鳥D.cs index 6b3d496..9eab93d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_鳥D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_鳥D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣内精液.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣内精液.cs index 2488a90..9275f4c 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣内精液.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣内精液.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 膣内精液 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣内精液_人D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣内精液_人D.cs index 827739b..86fd043 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣内精液_人D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣内精液_人D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣内精液_獣D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣内精液_獣D.cs index ff08d06..9e15ad4 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣内精液_獣D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣内精液_獣D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣基.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣基.cs index a93473e..793dba7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣基.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣基.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 膣基 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣基_人D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣基_人D.cs index 0b59812..e842e68 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣基_人D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣基_人D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣基_獣D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣基_獣D.cs index 0c3bf5e..1d01b13 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣基_獣D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣基_獣D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/舌.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/舌.cs index 20208de..491b4e2 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/舌.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/舌.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 舌 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/舌_短D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/舌_短D.cs index 30649ce..0d611a1 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/舌_短D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/舌_短D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/舌_長D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/舌_長D.cs index a001114..70313ea 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/舌_長D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/舌_長D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/花.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/花.cs index 339ca0f..36117e5 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/花.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/花.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 花 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/花_百.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/花_百.cs index 41ac079..6ffd7d2 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/花_百.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/花_百.cs @@ -1724,7 +1724,7 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_萼_通常_萼.AngleBase = num * -81.0; + X0Y0_萼_通常_萼.SetAngleBase(num * -81.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/花_百D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/花_百D.cs index 089bd47..c94e99a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/花_百D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/花_百D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/花_薔.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/花_薔.cs index da39901..c686d8b 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/花_薔.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/花_薔.cs @@ -1058,7 +1058,7 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_萼_通常_萼.AngleBase = num * -58.0; + X0Y0_萼_通常_萼.SetAngleBase(num * -58.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/花_薔D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/花_薔D.cs index 9420b83..11ce6ed 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/花_薔D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/花_薔D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/葉.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/葉.cs index 5e20b04..9584c2e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/葉.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/葉.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 葉 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/葉_心.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/葉_心.cs index 2420765..3bcd1f3 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/葉_心.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/葉_心.cs @@ -41,7 +41,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? RNG.XS.NextM(1, 2) : 0); + Body.SetIndexY((欠損_ ? RNG.XS.NextM(1, 2) : 0)); } } @@ -73,12 +73,12 @@ namespace SlaveMatrix { get { - return Body.IndexY; + return Body.GetIndexY(); } set { - Body.IndexY = value; - 欠損_ = Body.IndexY > 0; + Body.SetIndexY(value); + 欠損_ = Body.GetIndexY() > 0; } } @@ -205,12 +205,12 @@ namespace SlaveMatrix public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_通常_葉CP.Update(); X0Y0_通常_葉脈CP.Update(); } - else if (Body.IndexY == 1) + else if (Body.GetIndexY() == 1) { X0Y1_欠損1_葉CP.Update(); X0Y1_欠損1_葉脈CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/葉_心D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/葉_心D.cs index 223169c..2d5be87 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/葉_心D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/葉_心D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/葉_披.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/葉_披.cs index c0dde81..9411b1f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/葉_披.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/葉_披.cs @@ -41,7 +41,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? RNG.XS.NextM(1, 2) : 0); + Body.SetIndexY((欠損_ ? RNG.XS.NextM(1, 2) : 0)); } } @@ -73,12 +73,12 @@ namespace SlaveMatrix { get { - return Body.IndexY; + return Body.GetIndexY(); } set { - Body.IndexY = value; - 欠損_ = Body.IndexY > 0; + Body.SetIndexY(value); + 欠損_ = Body.GetIndexY() > 0; } } @@ -205,12 +205,12 @@ namespace SlaveMatrix public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_通常_葉CP.Update(); X0Y0_通常_葉脈CP.Update(); } - else if (Body.IndexY == 1) + else if (Body.GetIndexY() == 1) { X0Y1_欠損1_葉CP.Update(); X0Y1_欠損1_葉脈CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/葉_披D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/葉_披D.cs index 0fee89a..ba68c19 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/葉_披D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/葉_披D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/虫鎌.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/虫鎌.cs index 11fbbe1..ed5b8c9 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/虫鎌.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/虫鎌.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -536,7 +537,7 @@ namespace SlaveMatrix { double num = (右 ? (-1.0) : 1.0); num *= (反転Y ? (-1.0) : 1.0); - X0Y0_虫鎌1.AngleBase = num * -14.0; + X0Y0_虫鎌1.SetAngleBase(num * -14.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/虫鎌D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/虫鎌D.cs index e1a57de..ecac717 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/虫鎌D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/虫鎌D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/虫顎.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/虫顎.cs index 6641667..478922a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/虫顎.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/虫顎.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -230,7 +231,7 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_顎.AngleBase = num * -53.0; + X0Y0_顎.SetAngleBase(num * -53.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/虫顎D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/虫顎D.cs index 582c56f..91b8ab0 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/虫顎D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/虫顎D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/衝撃.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/衝撃.cs index 9dafc67..c7e7125 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/衝撃.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/衝撃.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/衝撃D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/衝撃D.cs index 8f911ce..86ea933 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/衝撃D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/衝撃D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1.cs index d5fb2a5..0141a36 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 角1 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_一.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_一.cs index 2b20350..d95699b 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_一.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_一.cs @@ -111,7 +111,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -462,7 +462,7 @@ namespace SlaveMatrix public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_根CP.Update(); X0Y0_線1CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_一D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_一D.cs index a3e11de..7396435 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_一D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_一D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_虫.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_虫.cs index 38929f0..e73ea1e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_虫.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_虫.cs @@ -85,7 +85,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -363,7 +363,7 @@ namespace SlaveMatrix public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_根CP.Update(); X0Y0_器官左_器官1CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_虫D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_虫D.cs index fc15e35..b23815c 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_虫D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_虫D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_鬼.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_鬼.cs index 5534d5c..58de3cc 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_鬼.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_鬼.cs @@ -73,7 +73,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -326,7 +326,7 @@ namespace SlaveMatrix public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_根CP.Update(); X0Y0_線1CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_鬼D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_鬼D.cs index acef8f2..6ff3857 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_鬼D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_鬼D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2.cs index 8c1ba3f..b1f7f34 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_山1.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_山1.cs index 01bca94..aa83a45 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_山1.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_山1.cs @@ -87,7 +87,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -367,14 +367,14 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_根.AngleBase = num * -47.9999999999999; - X0Y1_根.AngleBase = num * -47.9999999999999; + X0Y0_根.SetAngleBase(num * -47.9999999999999); + X0Y1_根.SetAngleBase(num * -47.9999999999999); Body.JoinPAall(); } public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_根CP.Update(); X0Y0_凸1CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_山1D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_山1D.cs index bf8aa83..97ccf2f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_山1D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_山1D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_山2.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_山2.cs index 65547f5..039c661 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_山2.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_山2.cs @@ -103,7 +103,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -423,14 +423,14 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_根.AngleBase = num * -49.0000000000001; - X0Y1_根.AngleBase = num * -49.0000000000001; + X0Y0_根.SetAngleBase(num * -49.0000000000001); + X0Y1_根.SetAngleBase(num * -49.0000000000001); Body.JoinPAall(); } public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_根CP.Update(); X0Y0_凸1CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_山2D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_山2D.cs index f324253..3491602 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_山2D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_山2D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_山3.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_山3.cs index 4a3ef4b..77c352b 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_山3.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_山3.cs @@ -165,7 +165,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -653,7 +653,7 @@ namespace SlaveMatrix public override void 根描画(RenderArea Are) { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { Are.Draw(X0Y0_根_根); Are.Draw(X0Y0_根_凸1); @@ -683,7 +683,7 @@ namespace SlaveMatrix public override void 先描画(RenderArea Are) { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { Are.Draw(X0Y0_先_先); Are.Draw(X0Y0_先_凸1); @@ -697,7 +697,7 @@ namespace SlaveMatrix public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { Pars.GetMiY_MaY(out mm); X0Y0_根_根CP.Update(mm); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_山3D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_山3D.cs index b76c5c5..1990d31 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_山3D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_山3D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_巻.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_巻.cs index 57c9c3c..66be24c 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_巻.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_巻.cs @@ -127,7 +127,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -520,7 +520,7 @@ namespace SlaveMatrix public override void 根描画(RenderArea Are) { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { Are.Draw(X0Y0_根_根); Are.Draw(X0Y0_根_凸6); @@ -545,7 +545,7 @@ namespace SlaveMatrix public override void 先描画(RenderArea Are) { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { Are.Draw(X0Y0_先_先); Are.Draw(X0Y0_先_凸1); @@ -558,7 +558,7 @@ namespace SlaveMatrix public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_根_根CP.Update(); X0Y0_根_凸6CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_巻D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_巻D.cs index 4afa4f0..80f730a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_巻D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_巻D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛1.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛1.cs index 3cb7a8d..5cd036c 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛1.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛1.cs @@ -89,7 +89,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -383,14 +383,14 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_根.AngleBase = num * -33.0000000000003; - X0Y1_根.AngleBase = num * -33.0000000000003; + X0Y0_根.SetAngleBase(num * -33.0000000000003); + X0Y1_根.SetAngleBase(num * -33.0000000000003); Body.JoinPAall(); } public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_根CP.Update(); X0Y0_凹1CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛1D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛1D.cs index 6e2dc01..18af78d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛1D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛1D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛2.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛2.cs index b4ed1fd..6b5c471 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛2.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛2.cs @@ -73,7 +73,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -327,14 +327,14 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_根.AngleBase = num * -342.0; - X0Y1_根.AngleBase = num * -342.0; + X0Y0_根.SetAngleBase(num * -342.0); + X0Y1_根.SetAngleBase(num * -342.0); Body.JoinPAall(); } public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_根CP.Update(); X0Y0_凹1CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛2D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛2D.cs index 09263d7..bd1af07 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛2D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛2D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛3.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛3.cs index 0b6c5f4..afecbd8 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛3.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛3.cs @@ -81,7 +81,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -343,14 +343,14 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_根.AngleBase = num * -4.00000000000013; - X0Y1_根.AngleBase = num * -4.00000000000013; + X0Y0_根.SetAngleBase(num * -4.00000000000013); + X0Y1_根.SetAngleBase(num * -4.00000000000013); Body.JoinPAall(); } public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_根CP.Update(); X0Y0_凹1CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛3D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛3D.cs index a01397f..cfa4dd9 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛3D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛3D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛4.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛4.cs index 573d895..3c8ce58 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛4.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛4.cs @@ -95,7 +95,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -407,14 +407,14 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_根.AngleBase = num * -343.0; - X0Y1_根.AngleBase = num * -343.0; + X0Y0_根.SetAngleBase(num * -343.0); + X0Y1_根.SetAngleBase(num * -343.0); Body.JoinPAall(); } public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_根CP.Update(); X0Y0_凹1CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛4D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛4D.cs index da6358c..3536724 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛4D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_牛4D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_虫.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_虫.cs index f578538..d79404d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_虫.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_虫.cs @@ -93,7 +93,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -476,7 +476,7 @@ namespace SlaveMatrix public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_根CP.Update(); X0Y0_棘_棘1CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_虫D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_虫D.cs index 015b42e..d5e34a8 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_虫D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_虫D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_鬼.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_鬼.cs index c888fcc..2f31242 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_鬼.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_鬼.cs @@ -79,7 +79,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -351,8 +351,8 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_根.AngleBase = num * -38.0; - X0Y1_根.AngleBase = num * -38.0; + X0Y0_根.SetAngleBase(num * -38.0); + X0Y1_根.SetAngleBase(num * -38.0); Body.JoinPAall(); } @@ -369,14 +369,14 @@ namespace SlaveMatrix { if (ConnectionType != ConnectionInfo.基髪_頭頂左_接続 && ConnectionType != ConnectionInfo.基髪_頭頂右_接続) { - X0Y0_根.BasePointBase = X0Y0_根.JP[0].Joint; - X0Y1_根.BasePointBase = X0Y1_根.JP[0].Joint; + X0Y0_根.SetBasePointBase(X0Y0_根.GetJP()[0].Joint); + X0Y1_根.SetBasePointBase(X0Y1_根.GetJP()[0].Joint); } } public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_根CP.Update(); X0Y0_線1CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_鬼D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_鬼D.cs index aa0c53d..73a3959 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_鬼D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角2_鬼D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手.cs index ffab57a..1cd2ccf 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手.cs @@ -1,5 +1,6 @@ using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_犬.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_犬.cs index 78a33fb..6e8bfa1 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_犬.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_犬.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; using System.Collections.Generic; using System.Linq; @@ -5352,24 +5353,24 @@ namespace SlaveMatrix { set { - X0Y0_上顎頭部後_頭1.OP[右 ? 1 : 2].Outline = value; - X0Y0_下顎頭部後_頭1.OP[(!右) ? 1 : 2].Outline = value; - X0Y0_頭_下顎_頭部_前_頭8.OP[(!右) ? 1 : 2].Outline = value; - X0Y0_頭_下顎_頭部_前_頭7.OP[(!右) ? 1 : 2].Outline = value; - X0Y0_頭_下顎_頭部_前_頭6.OP[(!右) ? 1 : 2].Outline = value; - X0Y0_頭_下顎_頭部_前_頭5.OP[(!右) ? 3 : 0].Outline = value; - X0Y0_頭_下顎_頭部_前_頭4.OP[右 ? 2 : 2].Outline = value; - X0Y0_頭_下顎_頭部_前_頭3.OP[右 ? 2 : 2].Outline = value; - X0Y0_頭_下顎_頭部_前_頭2.OP[右 ? 2 : 2].Outline = value; - X0Y0_頭_下顎_頭部_前_頭1.OP[右 ? 2 : 2].Outline = value; - X0Y0_頭_上顎_頭部_前_頭8.OP[右 ? 1 : 2].Outline = value; - X0Y0_頭_上顎_頭部_前_頭7.OP[右 ? 1 : 2].Outline = value; - X0Y0_頭_上顎_頭部_前_頭6.OP[右 ? 1 : 2].Outline = value; - X0Y0_頭_上顎_頭部_前_頭5.OP[右 ? 3 : 0].Outline = value; - X0Y0_頭_上顎_頭部_前_頭4.OP[右 ? 2 : 2].Outline = value; - X0Y0_頭_上顎_頭部_前_頭3.OP[右 ? 2 : 2].Outline = value; - X0Y0_頭_上顎_頭部_前_頭2.OP[右 ? 2 : 2].Outline = value; - X0Y0_頭_上顎_頭部_前_頭1.OP[右 ? 2 : 2].Outline = value; + X0Y0_上顎頭部後_頭1.GetOP()[右 ? 1 : 2].Outline = value; + X0Y0_下顎頭部後_頭1.GetOP()[(!右) ? 1 : 2].Outline = value; + X0Y0_頭_下顎_頭部_前_頭8.GetOP()[(!右) ? 1 : 2].Outline = value; + X0Y0_頭_下顎_頭部_前_頭7.GetOP()[(!右) ? 1 : 2].Outline = value; + X0Y0_頭_下顎_頭部_前_頭6.GetOP()[(!右) ? 1 : 2].Outline = value; + X0Y0_頭_下顎_頭部_前_頭5.GetOP()[(!右) ? 3 : 0].Outline = value; + X0Y0_頭_下顎_頭部_前_頭4.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_頭_下顎_頭部_前_頭3.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_頭_下顎_頭部_前_頭2.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_頭_下顎_頭部_前_頭1.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_頭_上顎_頭部_前_頭8.GetOP()[右 ? 1 : 2].Outline = value; + X0Y0_頭_上顎_頭部_前_頭7.GetOP()[右 ? 1 : 2].Outline = value; + X0Y0_頭_上顎_頭部_前_頭6.GetOP()[右 ? 1 : 2].Outline = value; + X0Y0_頭_上顎_頭部_前_頭5.GetOP()[右 ? 3 : 0].Outline = value; + X0Y0_頭_上顎_頭部_前_頭4.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_頭_上顎_頭部_前_頭3.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_頭_上顎_頭部_前_頭2.GetOP()[右 ? 2 : 2].Outline = value; + X0Y0_頭_上顎_頭部_前_頭1.GetOP()[右 ? 2 : 2].Outline = value; } } @@ -7415,51 +7416,51 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_脚後_UpperArm.AngleBase = num * -125.0; - X0Y0_脚後_LowerArm.AngleBase = num * 8.0; - X0Y0_脚後_手_手.AngleBase = num * 36.0; - X0Y0_脚後_手_小指_指.AngleBase = num * 19.0; - X0Y0_脚後_手_小指_爪.AngleBase = 0.0; - X0Y0_脚後_手_薬指_指.AngleBase = num * 19.0; - X0Y0_脚後_手_薬指_爪.AngleBase = 0.0; - X0Y0_脚後_手_中指_指.AngleBase = num * 19.0; - X0Y0_脚後_手_中指_爪.AngleBase = 0.0; - X0Y0_脚後_手_人指_指.AngleBase = num * 19.0; - X0Y0_脚後_手_人指_爪.AngleBase = 0.0; - X0Y0_脚後_手_親指_爪.AngleBase = num * -18.0; - X0Y0_Torso_節1_Torso.AngleBase = num * -55.0; - X0Y0_Torso_節2_Torso.AngleBase = num * 7.0; - X0Y0_Torso_節3_Torso.AngleBase = num * 7.0; - X0Y0_Torso_節4_Torso.AngleBase = num * 7.0; - X0Y0_Torso_節5_Torso.AngleBase = num * 7.0; - X0Y0_Torso_節6_Torso.AngleBase = num * 7.0; - X0Y0_Torso_節7_Torso.AngleBase = num * 10.0; - X0Y0_Torso_節8_Torso.AngleBase = num * 10.0; - X0Y0_Torso_節9_Torso.AngleBase = num * 10.0; - X0Y0_Torso_節10_Torso.AngleBase = num * 20.0; - X0Y0_Torso_節11_Torso.AngleBase = num * 15.0; - X0Y0_Torso_節12_Torso.AngleBase = num * 15.0; - X0Y0_Torso_節13_Torso.AngleBase = num * 15.0; - X0Y0_Torso_節14_Torso.AngleBase = num * -2.0; - X0Y0_Torso_節15_Torso.AngleBase = num * -2.0; - X0Y0_Torso_節16_Torso.AngleBase = num * -2.0; - X0Y0_Torso_節17_Torso.AngleBase = num * -5.0; - X0Y0_Torso_節18_Torso.AngleBase = num * -25.0; - X0Y0_頭_口膜_口膜1.AngleBase = num * -35.0; - X0Y0_頭_下顎_眼下_眼下.AngleBase = 0.0; - X0Y0_頭_上顎_眼下_眼下.AngleBase = 0.0; - X0Y0_脚前_UpperArm.AngleBase = num * -105.0; - X0Y0_脚前_LowerArm.AngleBase = num * 8.0; - X0Y0_脚前_手_親指_爪.AngleBase = num * -18.0; - X0Y0_脚前_手_手.AngleBase = num * 36.0; - X0Y0_脚前_手_人指_指.AngleBase = num * 19.0; - X0Y0_脚前_手_人指_爪.AngleBase = 0.0; - X0Y0_脚前_手_中指_指.AngleBase = num * 19.0; - X0Y0_脚前_手_中指_爪.AngleBase = 0.0; - X0Y0_脚前_手_薬指_指.AngleBase = num * 19.0; - X0Y0_脚前_手_薬指_爪.AngleBase = 0.0; - X0Y0_脚前_手_小指_指.AngleBase = num * 19.0; - X0Y0_脚前_手_小指_爪.AngleBase = 0.0; + X0Y0_脚後_UpperArm.SetAngleBase(num * -125.0); + X0Y0_脚後_LowerArm.SetAngleBase(num * 8.0); + X0Y0_脚後_手_手.SetAngleBase(num * 36.0); + X0Y0_脚後_手_小指_指.SetAngleBase(num * 19.0); + X0Y0_脚後_手_小指_爪.SetAngleBase(0.0); + X0Y0_脚後_手_薬指_指.SetAngleBase(num * 19.0); + X0Y0_脚後_手_薬指_爪.SetAngleBase(0.0); + X0Y0_脚後_手_中指_指.SetAngleBase(num * 19.0); + X0Y0_脚後_手_中指_爪.SetAngleBase(0.0); + X0Y0_脚後_手_人指_指.SetAngleBase(num * 19.0); + X0Y0_脚後_手_人指_爪.SetAngleBase(0.0); + X0Y0_脚後_手_親指_爪.SetAngleBase(num * -18.0); + X0Y0_Torso_節1_Torso.SetAngleBase(num * -55.0); + X0Y0_Torso_節2_Torso.SetAngleBase(num * 7.0); + X0Y0_Torso_節3_Torso.SetAngleBase(num * 7.0); + X0Y0_Torso_節4_Torso.SetAngleBase(num * 7.0); + X0Y0_Torso_節5_Torso.SetAngleBase(num * 7.0); + X0Y0_Torso_節6_Torso.SetAngleBase(num * 7.0); + X0Y0_Torso_節7_Torso.SetAngleBase(num * 10.0); + X0Y0_Torso_節8_Torso.SetAngleBase(num * 10.0); + X0Y0_Torso_節9_Torso.SetAngleBase(num * 10.0); + X0Y0_Torso_節10_Torso.SetAngleBase(num * 20.0); + X0Y0_Torso_節11_Torso.SetAngleBase(num * 15.0); + X0Y0_Torso_節12_Torso.SetAngleBase(num * 15.0); + X0Y0_Torso_節13_Torso.SetAngleBase(num * 15.0); + X0Y0_Torso_節14_Torso.SetAngleBase(num * -2.0); + X0Y0_Torso_節15_Torso.SetAngleBase(num * -2.0); + X0Y0_Torso_節16_Torso.SetAngleBase(num * -2.0); + X0Y0_Torso_節17_Torso.SetAngleBase(num * -5.0); + X0Y0_Torso_節18_Torso.SetAngleBase(num * -25.0); + X0Y0_頭_口膜_口膜1.SetAngleBase(num * -35.0); + X0Y0_頭_下顎_眼下_眼下.SetAngleBase(0.0); + X0Y0_頭_上顎_眼下_眼下.SetAngleBase(0.0); + X0Y0_脚前_UpperArm.SetAngleBase(num * -105.0); + X0Y0_脚前_LowerArm.SetAngleBase(num * 8.0); + X0Y0_脚前_手_親指_爪.SetAngleBase(num * -18.0); + X0Y0_脚前_手_手.SetAngleBase(num * 36.0); + X0Y0_脚前_手_人指_指.SetAngleBase(num * 19.0); + X0Y0_脚前_手_人指_爪.SetAngleBase(0.0); + X0Y0_脚前_手_中指_指.SetAngleBase(num * 19.0); + X0Y0_脚前_手_中指_爪.SetAngleBase(0.0); + X0Y0_脚前_手_薬指_指.SetAngleBase(num * 19.0); + X0Y0_脚前_手_薬指_爪.SetAngleBase(0.0); + X0Y0_脚前_手_小指_指.SetAngleBase(num * 19.0); + X0Y0_脚前_手_小指_爪.SetAngleBase(0.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_犬D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_犬D.cs index 812c821..085ef7c 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_犬D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_犬D.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; using System; using System.Collections.Generic; diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_蔦.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_蔦.cs index b0d0525..82302cb 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_蔦.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_蔦.cs @@ -1,6 +1,7 @@ using System.Collections.Generic; using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -4248,64 +4249,64 @@ namespace SlaveMatrix { double num = (右 ? (-1.0) : 1.0); double maxAngle = 25.0; - X0Y0_節1_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節2_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節3_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節4_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節5_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節6_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節7_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節8_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節9_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節10_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節11_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節12_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節13_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節14_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節15_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節16_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節17_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節18_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節19_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節20_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節21_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節22_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節23_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節24_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_先端_上顎_顎.AngleBase = num * (double)RNG.XS.NextM(15); - X0Y0_先端_下顎_顎.AngleBase = num * (0.0 - X0Y0_先端_上顎_顎.AngleBase); + X0Y0_節1_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節2_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節3_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節4_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節5_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節6_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節7_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節8_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節9_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節10_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節11_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節12_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節13_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節14_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節15_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節16_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節17_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節18_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節19_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節20_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節21_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節22_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節23_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節24_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_先端_上顎_顎.SetAngleBase(num * (double)RNG.XS.NextM(15)); + X0Y0_先端_下顎_顎.SetAngleBase(num * (0.0 - X0Y0_先端_上顎_顎.GetAngleBase())); Body.JoinPAall(); } public void Set角度(触手_蔦 蔦) { double num = (右 ? (-1.0) : 1.0); - X0Y0_節1_節.AngleBase = num * 蔦.X0Y0_節1_節.AngleBase; - X0Y0_節2_節.AngleBase = num * 蔦.X0Y0_節2_節.AngleBase; - X0Y0_節3_節.AngleBase = num * 蔦.X0Y0_節3_節.AngleBase; - X0Y0_節4_節.AngleBase = num * 蔦.X0Y0_節4_節.AngleBase; - X0Y0_節5_節.AngleBase = num * 蔦.X0Y0_節5_節.AngleBase; - X0Y0_節6_節.AngleBase = num * 蔦.X0Y0_節6_節.AngleBase; - X0Y0_節7_節.AngleBase = num * 蔦.X0Y0_節7_節.AngleBase; - X0Y0_節8_節.AngleBase = num * 蔦.X0Y0_節8_節.AngleBase; - X0Y0_節9_節.AngleBase = num * 蔦.X0Y0_節9_節.AngleBase; - X0Y0_節10_節.AngleBase = num * 蔦.X0Y0_節10_節.AngleBase; - X0Y0_節11_節.AngleBase = num * 蔦.X0Y0_節11_節.AngleBase; - X0Y0_節12_節.AngleBase = num * 蔦.X0Y0_節12_節.AngleBase; - X0Y0_節13_節.AngleBase = num * 蔦.X0Y0_節13_節.AngleBase; - X0Y0_節14_節.AngleBase = num * 蔦.X0Y0_節14_節.AngleBase; - X0Y0_節15_節.AngleBase = num * 蔦.X0Y0_節15_節.AngleBase; - X0Y0_節16_節.AngleBase = num * 蔦.X0Y0_節16_節.AngleBase; - X0Y0_節17_節.AngleBase = num * 蔦.X0Y0_節17_節.AngleBase; - X0Y0_節18_節.AngleBase = num * 蔦.X0Y0_節18_節.AngleBase; - X0Y0_節19_節.AngleBase = num * 蔦.X0Y0_節19_節.AngleBase; - X0Y0_節20_節.AngleBase = num * 蔦.X0Y0_節20_節.AngleBase; - X0Y0_節21_節.AngleBase = num * 蔦.X0Y0_節21_節.AngleBase; - X0Y0_節22_節.AngleBase = num * 蔦.X0Y0_節22_節.AngleBase; - X0Y0_節23_節.AngleBase = num * 蔦.X0Y0_節23_節.AngleBase; - X0Y0_節24_節.AngleBase = num * 蔦.X0Y0_節24_節.AngleBase; - X0Y0_先端_上顎_顎.AngleBase = num * 蔦.X0Y0_先端_上顎_顎.AngleBase; - X0Y0_先端_下顎_顎.AngleBase = num * 蔦.X0Y0_先端_下顎_顎.AngleBase; + X0Y0_節1_節.SetAngleBase(num * 蔦.X0Y0_節1_節.GetAngleBase()); + X0Y0_節2_節.SetAngleBase(num * 蔦.X0Y0_節2_節.GetAngleBase()); + X0Y0_節3_節.SetAngleBase(num * 蔦.X0Y0_節3_節.GetAngleBase()); + X0Y0_節4_節.SetAngleBase(num * 蔦.X0Y0_節4_節.GetAngleBase()); + X0Y0_節5_節.SetAngleBase(num * 蔦.X0Y0_節5_節.GetAngleBase()); + X0Y0_節6_節.SetAngleBase(num * 蔦.X0Y0_節6_節.GetAngleBase()); + X0Y0_節7_節.SetAngleBase(num * 蔦.X0Y0_節7_節.GetAngleBase()); + X0Y0_節8_節.SetAngleBase(num * 蔦.X0Y0_節8_節.GetAngleBase()); + X0Y0_節9_節.SetAngleBase(num * 蔦.X0Y0_節9_節.GetAngleBase()); + X0Y0_節10_節.SetAngleBase(num * 蔦.X0Y0_節10_節.GetAngleBase()); + X0Y0_節11_節.SetAngleBase(num * 蔦.X0Y0_節11_節.GetAngleBase()); + X0Y0_節12_節.SetAngleBase(num * 蔦.X0Y0_節12_節.GetAngleBase()); + X0Y0_節13_節.SetAngleBase(num * 蔦.X0Y0_節13_節.GetAngleBase()); + X0Y0_節14_節.SetAngleBase(num * 蔦.X0Y0_節14_節.GetAngleBase()); + X0Y0_節15_節.SetAngleBase(num * 蔦.X0Y0_節15_節.GetAngleBase()); + X0Y0_節16_節.SetAngleBase(num * 蔦.X0Y0_節16_節.GetAngleBase()); + X0Y0_節17_節.SetAngleBase(num * 蔦.X0Y0_節17_節.GetAngleBase()); + X0Y0_節18_節.SetAngleBase(num * 蔦.X0Y0_節18_節.GetAngleBase()); + X0Y0_節19_節.SetAngleBase(num * 蔦.X0Y0_節19_節.GetAngleBase()); + X0Y0_節20_節.SetAngleBase(num * 蔦.X0Y0_節20_節.GetAngleBase()); + X0Y0_節21_節.SetAngleBase(num * 蔦.X0Y0_節21_節.GetAngleBase()); + X0Y0_節22_節.SetAngleBase(num * 蔦.X0Y0_節22_節.GetAngleBase()); + X0Y0_節23_節.SetAngleBase(num * 蔦.X0Y0_節23_節.GetAngleBase()); + X0Y0_節24_節.SetAngleBase(num * 蔦.X0Y0_節24_節.GetAngleBase()); + X0Y0_先端_上顎_顎.SetAngleBase(num * 蔦.X0Y0_先端_上顎_顎.GetAngleBase()); + X0Y0_先端_下顎_顎.SetAngleBase(num * 蔦.X0Y0_先端_下顎_顎.GetAngleBase()); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_蔦D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_蔦D.cs index 1b338a6..f447aae 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_蔦D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_蔦D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_触.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_触.cs index 506893c..9c598dc 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_触.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_触.cs @@ -4637,123 +4637,123 @@ namespace SlaveMatrix { double num = (右 ? (-1.0) : 1.0); double maxAngle = 25.0; - X0Y0_腕部_節1_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_腕部_節2_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_腕部_節3_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_腕部_節4_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_腕部_節5_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_腕部_節6_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_腕部_節7_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_腕部_節8_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_腕部_節9_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_腕部_節10_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_腕部_節11_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_腕部_節12_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_腕部_節13_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_腕部_節14_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_腕部_節15_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_腕部_節16_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_腕部_節17_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_腕部_節18_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_腕部_節19_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_腕部_節20_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_腕部_節21_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_腕部_節22_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_腕部_節23_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_腕部_節24_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_腕部_節25_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_手先_節1_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_手先_節2_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_手先_節3_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_手先_節4_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_手先_節5_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_手先_節6_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_手先_節7_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_手先_節8_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_手先_節9_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_手先_節10_節.AngleBase = maxAngle.GetRanAngle(); + X0Y0_腕部_節1_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_腕部_節2_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_腕部_節3_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_腕部_節4_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_腕部_節5_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_腕部_節6_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_腕部_節7_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_腕部_節8_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_腕部_節9_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_腕部_節10_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_腕部_節11_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_腕部_節12_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_腕部_節13_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_腕部_節14_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_腕部_節15_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_腕部_節16_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_腕部_節17_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_腕部_節18_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_腕部_節19_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_腕部_節20_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_腕部_節21_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_腕部_節22_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_腕部_節23_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_腕部_節24_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_腕部_節25_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_手先_節1_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_手先_節2_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_手先_節3_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_手先_節4_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_手先_節5_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_手先_節6_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_手先_節7_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_手先_節8_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_手先_節9_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_手先_節10_節.SetAngleBase(maxAngle.GetRanAngle()); maxAngle = 47.0; - X0Y0_手先_節1_爪_爪2.AngleBase = num * maxAngle; - X0Y0_手先_節1_爪_爪1.AngleBase = num * maxAngle; - X0Y0_手先_節2_爪_爪2.AngleBase = num * maxAngle; - X0Y0_手先_節2_爪_爪1.AngleBase = num * maxAngle; - X0Y0_手先_節3_爪_爪2.AngleBase = num * maxAngle; - X0Y0_手先_節3_爪_爪1.AngleBase = num * maxAngle; - X0Y0_手先_節4_爪_爪2.AngleBase = num * maxAngle; - X0Y0_手先_節4_爪_爪1.AngleBase = num * maxAngle; - X0Y0_手先_節5_爪_爪2.AngleBase = num * maxAngle; - X0Y0_手先_節5_爪_爪1.AngleBase = num * maxAngle; - X0Y0_手先_節6_爪_爪2.AngleBase = num * maxAngle; - X0Y0_手先_節6_爪_爪1.AngleBase = num * maxAngle; - X0Y0_手先_節7_爪_爪2.AngleBase = num * maxAngle; - X0Y0_手先_節7_爪_爪1.AngleBase = num * maxAngle; - X0Y0_手先_節8_爪_爪2.AngleBase = num * maxAngle; - X0Y0_手先_節8_爪_爪1.AngleBase = num * maxAngle; - X0Y0_手先_節9_爪_爪2.AngleBase = num * maxAngle; - X0Y0_手先_節9_爪_爪1.AngleBase = num * maxAngle; - X0Y0_手先_節10_爪_爪2.AngleBase = num * maxAngle; - X0Y0_手先_節10_爪_爪1.AngleBase = num * maxAngle; + X0Y0_手先_節1_爪_爪2.SetAngleBase(num * maxAngle); + X0Y0_手先_節1_爪_爪1.SetAngleBase(num * maxAngle); + X0Y0_手先_節2_爪_爪2.SetAngleBase(num * maxAngle); + X0Y0_手先_節2_爪_爪1.SetAngleBase(num * maxAngle); + X0Y0_手先_節3_爪_爪2.SetAngleBase(num * maxAngle); + X0Y0_手先_節3_爪_爪1.SetAngleBase(num * maxAngle); + X0Y0_手先_節4_爪_爪2.SetAngleBase(num * maxAngle); + X0Y0_手先_節4_爪_爪1.SetAngleBase(num * maxAngle); + X0Y0_手先_節5_爪_爪2.SetAngleBase(num * maxAngle); + X0Y0_手先_節5_爪_爪1.SetAngleBase(num * maxAngle); + X0Y0_手先_節6_爪_爪2.SetAngleBase(num * maxAngle); + X0Y0_手先_節6_爪_爪1.SetAngleBase(num * maxAngle); + X0Y0_手先_節7_爪_爪2.SetAngleBase(num * maxAngle); + X0Y0_手先_節7_爪_爪1.SetAngleBase(num * maxAngle); + X0Y0_手先_節8_爪_爪2.SetAngleBase(num * maxAngle); + X0Y0_手先_節8_爪_爪1.SetAngleBase(num * maxAngle); + X0Y0_手先_節9_爪_爪2.SetAngleBase(num * maxAngle); + X0Y0_手先_節9_爪_爪1.SetAngleBase(num * maxAngle); + X0Y0_手先_節10_爪_爪2.SetAngleBase(num * maxAngle); + X0Y0_手先_節10_爪_爪1.SetAngleBase(num * maxAngle); Body.JoinPAall(); } public void Set角度(触手_触 触) { double num = (右 ? (-1.0) : 1.0); - X0Y0_腕部_節1_節.AngleBase = num * 触.X0Y0_腕部_節1_節.AngleBase; - X0Y0_腕部_節2_節.AngleBase = num * 触.X0Y0_腕部_節2_節.AngleBase; - X0Y0_腕部_節3_節.AngleBase = num * 触.X0Y0_腕部_節3_節.AngleBase; - X0Y0_腕部_節4_節.AngleBase = num * 触.X0Y0_腕部_節4_節.AngleBase; - X0Y0_腕部_節5_節.AngleBase = num * 触.X0Y0_腕部_節5_節.AngleBase; - X0Y0_腕部_節6_節.AngleBase = num * 触.X0Y0_腕部_節6_節.AngleBase; - X0Y0_腕部_節7_節.AngleBase = num * 触.X0Y0_腕部_節7_節.AngleBase; - X0Y0_腕部_節8_節.AngleBase = num * 触.X0Y0_腕部_節8_節.AngleBase; - X0Y0_腕部_節9_節.AngleBase = num * 触.X0Y0_腕部_節9_節.AngleBase; - X0Y0_腕部_節10_節.AngleBase = num * 触.X0Y0_腕部_節10_節.AngleBase; - X0Y0_腕部_節11_節.AngleBase = num * 触.X0Y0_腕部_節11_節.AngleBase; - X0Y0_腕部_節12_節.AngleBase = num * 触.X0Y0_腕部_節12_節.AngleBase; - X0Y0_腕部_節13_節.AngleBase = num * 触.X0Y0_腕部_節13_節.AngleBase; - X0Y0_腕部_節14_節.AngleBase = num * 触.X0Y0_腕部_節14_節.AngleBase; - X0Y0_腕部_節15_節.AngleBase = num * 触.X0Y0_腕部_節15_節.AngleBase; - X0Y0_腕部_節16_節.AngleBase = num * 触.X0Y0_腕部_節16_節.AngleBase; - X0Y0_腕部_節17_節.AngleBase = num * 触.X0Y0_腕部_節17_節.AngleBase; - X0Y0_腕部_節18_節.AngleBase = num * 触.X0Y0_腕部_節18_節.AngleBase; - X0Y0_腕部_節19_節.AngleBase = num * 触.X0Y0_腕部_節19_節.AngleBase; - X0Y0_腕部_節20_節.AngleBase = num * 触.X0Y0_腕部_節20_節.AngleBase; - X0Y0_腕部_節21_節.AngleBase = num * 触.X0Y0_腕部_節21_節.AngleBase; - X0Y0_腕部_節22_節.AngleBase = num * 触.X0Y0_腕部_節22_節.AngleBase; - X0Y0_腕部_節23_節.AngleBase = num * 触.X0Y0_腕部_節23_節.AngleBase; - X0Y0_腕部_節24_節.AngleBase = num * 触.X0Y0_腕部_節24_節.AngleBase; - X0Y0_腕部_節25_節.AngleBase = num * 触.X0Y0_腕部_節25_節.AngleBase; - X0Y0_手先_節1_節.AngleBase = num * 触.X0Y0_手先_節1_節.AngleBase; - X0Y0_手先_節2_節.AngleBase = num * 触.X0Y0_手先_節2_節.AngleBase; - X0Y0_手先_節3_節.AngleBase = num * 触.X0Y0_手先_節3_節.AngleBase; - X0Y0_手先_節4_節.AngleBase = num * 触.X0Y0_手先_節4_節.AngleBase; - X0Y0_手先_節5_節.AngleBase = num * 触.X0Y0_手先_節5_節.AngleBase; - X0Y0_手先_節6_節.AngleBase = num * 触.X0Y0_手先_節6_節.AngleBase; - X0Y0_手先_節7_節.AngleBase = num * 触.X0Y0_手先_節7_節.AngleBase; - X0Y0_手先_節8_節.AngleBase = num * 触.X0Y0_手先_節8_節.AngleBase; - X0Y0_手先_節9_節.AngleBase = num * 触.X0Y0_手先_節9_節.AngleBase; - X0Y0_手先_節10_節.AngleBase = num * 触.X0Y0_手先_節10_節.AngleBase; - X0Y0_手先_節1_爪_爪2.AngleBase = num * 触.X0Y0_手先_節1_爪_爪2.AngleBase; - X0Y0_手先_節1_爪_爪1.AngleBase = num * 触.X0Y0_手先_節1_爪_爪1.AngleBase; - X0Y0_手先_節2_爪_爪2.AngleBase = num * 触.X0Y0_手先_節2_爪_爪2.AngleBase; - X0Y0_手先_節2_爪_爪1.AngleBase = num * 触.X0Y0_手先_節2_爪_爪1.AngleBase; - X0Y0_手先_節3_爪_爪2.AngleBase = num * 触.X0Y0_手先_節3_爪_爪2.AngleBase; - X0Y0_手先_節3_爪_爪1.AngleBase = num * 触.X0Y0_手先_節3_爪_爪1.AngleBase; - X0Y0_手先_節4_爪_爪2.AngleBase = num * 触.X0Y0_手先_節4_爪_爪2.AngleBase; - X0Y0_手先_節4_爪_爪1.AngleBase = num * 触.X0Y0_手先_節4_爪_爪1.AngleBase; - X0Y0_手先_節5_爪_爪2.AngleBase = num * 触.X0Y0_手先_節5_爪_爪2.AngleBase; - X0Y0_手先_節5_爪_爪1.AngleBase = num * 触.X0Y0_手先_節5_爪_爪1.AngleBase; - X0Y0_手先_節6_爪_爪2.AngleBase = num * 触.X0Y0_手先_節6_爪_爪2.AngleBase; - X0Y0_手先_節6_爪_爪1.AngleBase = num * 触.X0Y0_手先_節6_爪_爪1.AngleBase; - X0Y0_手先_節7_爪_爪2.AngleBase = num * 触.X0Y0_手先_節7_爪_爪2.AngleBase; - X0Y0_手先_節7_爪_爪1.AngleBase = num * 触.X0Y0_手先_節7_爪_爪1.AngleBase; - X0Y0_手先_節8_爪_爪2.AngleBase = num * 触.X0Y0_手先_節8_爪_爪2.AngleBase; - X0Y0_手先_節8_爪_爪1.AngleBase = num * 触.X0Y0_手先_節8_爪_爪1.AngleBase; - X0Y0_手先_節9_爪_爪2.AngleBase = num * 触.X0Y0_手先_節9_爪_爪2.AngleBase; - X0Y0_手先_節9_爪_爪1.AngleBase = num * 触.X0Y0_手先_節9_爪_爪1.AngleBase; - X0Y0_手先_節10_爪_爪2.AngleBase = num * 触.X0Y0_手先_節10_爪_爪2.AngleBase; - X0Y0_手先_節10_爪_爪1.AngleBase = num * 触.X0Y0_手先_節10_爪_爪1.AngleBase; + X0Y0_腕部_節1_節.SetAngleBase(num * 触.X0Y0_腕部_節1_節.GetAngleBase()); + X0Y0_腕部_節2_節.SetAngleBase(num * 触.X0Y0_腕部_節2_節.GetAngleBase()); + X0Y0_腕部_節3_節.SetAngleBase(num * 触.X0Y0_腕部_節3_節.GetAngleBase()); + X0Y0_腕部_節4_節.SetAngleBase(num * 触.X0Y0_腕部_節4_節.GetAngleBase()); + X0Y0_腕部_節5_節.SetAngleBase(num * 触.X0Y0_腕部_節5_節.GetAngleBase()); + X0Y0_腕部_節6_節.SetAngleBase(num * 触.X0Y0_腕部_節6_節.GetAngleBase()); + X0Y0_腕部_節7_節.SetAngleBase(num * 触.X0Y0_腕部_節7_節.GetAngleBase()); + X0Y0_腕部_節8_節.SetAngleBase(num * 触.X0Y0_腕部_節8_節.GetAngleBase()); + X0Y0_腕部_節9_節.SetAngleBase(num * 触.X0Y0_腕部_節9_節.GetAngleBase()); + X0Y0_腕部_節10_節.SetAngleBase(num * 触.X0Y0_腕部_節10_節.GetAngleBase()); + X0Y0_腕部_節11_節.SetAngleBase(num * 触.X0Y0_腕部_節11_節.GetAngleBase()); + X0Y0_腕部_節12_節.SetAngleBase(num * 触.X0Y0_腕部_節12_節.GetAngleBase()); + X0Y0_腕部_節13_節.SetAngleBase(num * 触.X0Y0_腕部_節13_節.GetAngleBase()); + X0Y0_腕部_節14_節.SetAngleBase(num * 触.X0Y0_腕部_節14_節.GetAngleBase()); + X0Y0_腕部_節15_節.SetAngleBase(num * 触.X0Y0_腕部_節15_節.GetAngleBase()); + X0Y0_腕部_節16_節.SetAngleBase(num * 触.X0Y0_腕部_節16_節.GetAngleBase()); + X0Y0_腕部_節17_節.SetAngleBase(num * 触.X0Y0_腕部_節17_節.GetAngleBase()); + X0Y0_腕部_節18_節.SetAngleBase(num * 触.X0Y0_腕部_節18_節.GetAngleBase()); + X0Y0_腕部_節19_節.SetAngleBase(num * 触.X0Y0_腕部_節19_節.GetAngleBase()); + X0Y0_腕部_節20_節.SetAngleBase(num * 触.X0Y0_腕部_節20_節.GetAngleBase()); + X0Y0_腕部_節21_節.SetAngleBase(num * 触.X0Y0_腕部_節21_節.GetAngleBase()); + X0Y0_腕部_節22_節.SetAngleBase(num * 触.X0Y0_腕部_節22_節.GetAngleBase()); + X0Y0_腕部_節23_節.SetAngleBase(num * 触.X0Y0_腕部_節23_節.GetAngleBase()); + X0Y0_腕部_節24_節.SetAngleBase(num * 触.X0Y0_腕部_節24_節.GetAngleBase()); + X0Y0_腕部_節25_節.SetAngleBase(num * 触.X0Y0_腕部_節25_節.GetAngleBase()); + X0Y0_手先_節1_節.SetAngleBase(num * 触.X0Y0_手先_節1_節.GetAngleBase()); + X0Y0_手先_節2_節.SetAngleBase(num * 触.X0Y0_手先_節2_節.GetAngleBase()); + X0Y0_手先_節3_節.SetAngleBase(num * 触.X0Y0_手先_節3_節.GetAngleBase()); + X0Y0_手先_節4_節.SetAngleBase(num * 触.X0Y0_手先_節4_節.GetAngleBase()); + X0Y0_手先_節5_節.SetAngleBase(num * 触.X0Y0_手先_節5_節.GetAngleBase()); + X0Y0_手先_節6_節.SetAngleBase(num * 触.X0Y0_手先_節6_節.GetAngleBase()); + X0Y0_手先_節7_節.SetAngleBase(num * 触.X0Y0_手先_節7_節.GetAngleBase()); + X0Y0_手先_節8_節.SetAngleBase(num * 触.X0Y0_手先_節8_節.GetAngleBase()); + X0Y0_手先_節9_節.SetAngleBase(num * 触.X0Y0_手先_節9_節.GetAngleBase()); + X0Y0_手先_節10_節.SetAngleBase(num * 触.X0Y0_手先_節10_節.GetAngleBase()); + X0Y0_手先_節1_爪_爪2.SetAngleBase(num * 触.X0Y0_手先_節1_爪_爪2.GetAngleBase()); + X0Y0_手先_節1_爪_爪1.SetAngleBase(num * 触.X0Y0_手先_節1_爪_爪1.GetAngleBase()); + X0Y0_手先_節2_爪_爪2.SetAngleBase(num * 触.X0Y0_手先_節2_爪_爪2.GetAngleBase()); + X0Y0_手先_節2_爪_爪1.SetAngleBase(num * 触.X0Y0_手先_節2_爪_爪1.GetAngleBase()); + X0Y0_手先_節3_爪_爪2.SetAngleBase(num * 触.X0Y0_手先_節3_爪_爪2.GetAngleBase()); + X0Y0_手先_節3_爪_爪1.SetAngleBase(num * 触.X0Y0_手先_節3_爪_爪1.GetAngleBase()); + X0Y0_手先_節4_爪_爪2.SetAngleBase(num * 触.X0Y0_手先_節4_爪_爪2.GetAngleBase()); + X0Y0_手先_節4_爪_爪1.SetAngleBase(num * 触.X0Y0_手先_節4_爪_爪1.GetAngleBase()); + X0Y0_手先_節5_爪_爪2.SetAngleBase(num * 触.X0Y0_手先_節5_爪_爪2.GetAngleBase()); + X0Y0_手先_節5_爪_爪1.SetAngleBase(num * 触.X0Y0_手先_節5_爪_爪1.GetAngleBase()); + X0Y0_手先_節6_爪_爪2.SetAngleBase(num * 触.X0Y0_手先_節6_爪_爪2.GetAngleBase()); + X0Y0_手先_節6_爪_爪1.SetAngleBase(num * 触.X0Y0_手先_節6_爪_爪1.GetAngleBase()); + X0Y0_手先_節7_爪_爪2.SetAngleBase(num * 触.X0Y0_手先_節7_爪_爪2.GetAngleBase()); + X0Y0_手先_節7_爪_爪1.SetAngleBase(num * 触.X0Y0_手先_節7_爪_爪1.GetAngleBase()); + X0Y0_手先_節8_爪_爪2.SetAngleBase(num * 触.X0Y0_手先_節8_爪_爪2.GetAngleBase()); + X0Y0_手先_節8_爪_爪1.SetAngleBase(num * 触.X0Y0_手先_節8_爪_爪1.GetAngleBase()); + X0Y0_手先_節9_爪_爪2.SetAngleBase(num * 触.X0Y0_手先_節9_爪_爪2.GetAngleBase()); + X0Y0_手先_節9_爪_爪1.SetAngleBase(num * 触.X0Y0_手先_節9_爪_爪1.GetAngleBase()); + X0Y0_手先_節10_爪_爪2.SetAngleBase(num * 触.X0Y0_手先_節10_爪_爪2.GetAngleBase()); + X0Y0_手先_節10_爪_爪1.SetAngleBase(num * 触.X0Y0_手先_節10_爪_爪1.GetAngleBase()); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_触D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_触D.cs index 3b52858..69f05fb 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_触D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_触D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_軟.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_軟.cs index 9bbc8f6..9b22390 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_軟.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_軟.cs @@ -8782,94 +8782,94 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 25.0; - X0Y0_節1_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節2_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節3_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節4_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節5_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節6_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節7_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節8_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節9_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節10_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節11_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節12_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節13_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節14_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節15_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節16_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節17_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節18_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節19_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節20_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節21_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節22_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節23_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節24_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節25_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節26_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節27_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節28_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節29_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節30_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節31_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節32_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節33_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節34_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節35_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節36_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節37_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節38_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節39_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節40_節.AngleBase = maxAngle.GetRanAngle(); - X0Y0_節41_節.AngleBase = maxAngle.GetRanAngle(); + X0Y0_節1_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節2_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節3_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節4_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節5_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節6_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節7_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節8_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節9_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節10_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節11_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節12_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節13_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節14_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節15_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節16_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節17_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節18_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節19_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節20_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節21_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節22_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節23_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節24_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節25_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節26_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節27_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節28_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節29_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節30_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節31_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節32_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節33_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節34_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節35_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節36_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節37_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節38_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節39_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節40_節.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_節41_節.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); } public void Set角度(触手_軟 軟) { double num = (右 ? (-1.0) : 1.0); - X0Y0_節1_節.AngleBase = num * 軟.X0Y0_節1_節.AngleBase; - X0Y0_節2_節.AngleBase = num * 軟.X0Y0_節2_節.AngleBase; - X0Y0_節3_節.AngleBase = num * 軟.X0Y0_節3_節.AngleBase; - X0Y0_節4_節.AngleBase = num * 軟.X0Y0_節4_節.AngleBase; - X0Y0_節5_節.AngleBase = num * 軟.X0Y0_節5_節.AngleBase; - X0Y0_節6_節.AngleBase = num * 軟.X0Y0_節6_節.AngleBase; - X0Y0_節7_節.AngleBase = num * 軟.X0Y0_節7_節.AngleBase; - X0Y0_節8_節.AngleBase = num * 軟.X0Y0_節8_節.AngleBase; - X0Y0_節9_節.AngleBase = num * 軟.X0Y0_節9_節.AngleBase; - X0Y0_節10_節.AngleBase = num * 軟.X0Y0_節10_節.AngleBase; - X0Y0_節11_節.AngleBase = num * 軟.X0Y0_節11_節.AngleBase; - X0Y0_節12_節.AngleBase = num * 軟.X0Y0_節12_節.AngleBase; - X0Y0_節13_節.AngleBase = num * 軟.X0Y0_節13_節.AngleBase; - X0Y0_節14_節.AngleBase = num * 軟.X0Y0_節14_節.AngleBase; - X0Y0_節15_節.AngleBase = num * 軟.X0Y0_節15_節.AngleBase; - X0Y0_節16_節.AngleBase = num * 軟.X0Y0_節16_節.AngleBase; - X0Y0_節17_節.AngleBase = num * 軟.X0Y0_節17_節.AngleBase; - X0Y0_節18_節.AngleBase = num * 軟.X0Y0_節18_節.AngleBase; - X0Y0_節19_節.AngleBase = num * 軟.X0Y0_節19_節.AngleBase; - X0Y0_節20_節.AngleBase = num * 軟.X0Y0_節20_節.AngleBase; - X0Y0_節21_節.AngleBase = num * 軟.X0Y0_節21_節.AngleBase; - X0Y0_節22_節.AngleBase = num * 軟.X0Y0_節22_節.AngleBase; - X0Y0_節23_節.AngleBase = num * 軟.X0Y0_節23_節.AngleBase; - X0Y0_節24_節.AngleBase = num * 軟.X0Y0_節24_節.AngleBase; - X0Y0_節25_節.AngleBase = num * 軟.X0Y0_節25_節.AngleBase; - X0Y0_節26_節.AngleBase = num * 軟.X0Y0_節26_節.AngleBase; - X0Y0_節27_節.AngleBase = num * 軟.X0Y0_節27_節.AngleBase; - X0Y0_節28_節.AngleBase = num * 軟.X0Y0_節28_節.AngleBase; - X0Y0_節29_節.AngleBase = num * 軟.X0Y0_節29_節.AngleBase; - X0Y0_節30_節.AngleBase = num * 軟.X0Y0_節30_節.AngleBase; - X0Y0_節31_節.AngleBase = num * 軟.X0Y0_節31_節.AngleBase; - X0Y0_節32_節.AngleBase = num * 軟.X0Y0_節32_節.AngleBase; - X0Y0_節33_節.AngleBase = num * 軟.X0Y0_節33_節.AngleBase; - X0Y0_節34_節.AngleBase = num * 軟.X0Y0_節34_節.AngleBase; - X0Y0_節35_節.AngleBase = num * 軟.X0Y0_節35_節.AngleBase; - X0Y0_節36_節.AngleBase = num * 軟.X0Y0_節36_節.AngleBase; - X0Y0_節37_節.AngleBase = num * 軟.X0Y0_節37_節.AngleBase; - X0Y0_節38_節.AngleBase = num * 軟.X0Y0_節38_節.AngleBase; - X0Y0_節39_節.AngleBase = num * 軟.X0Y0_節39_節.AngleBase; - X0Y0_節40_節.AngleBase = num * 軟.X0Y0_節40_節.AngleBase; - X0Y0_節41_節.AngleBase = num * 軟.X0Y0_節41_節.AngleBase; + X0Y0_節1_節.SetAngleBase(num * 軟.X0Y0_節1_節.GetAngleBase()); + X0Y0_節2_節.SetAngleBase(num * 軟.X0Y0_節2_節.GetAngleBase()); + X0Y0_節3_節.SetAngleBase(num * 軟.X0Y0_節3_節.GetAngleBase()); + X0Y0_節4_節.SetAngleBase(num * 軟.X0Y0_節4_節.GetAngleBase()); + X0Y0_節5_節.SetAngleBase(num * 軟.X0Y0_節5_節.GetAngleBase()); + X0Y0_節6_節.SetAngleBase(num * 軟.X0Y0_節6_節.GetAngleBase()); + X0Y0_節7_節.SetAngleBase(num * 軟.X0Y0_節7_節.GetAngleBase()); + X0Y0_節8_節.SetAngleBase(num * 軟.X0Y0_節8_節.GetAngleBase()); + X0Y0_節9_節.SetAngleBase(num * 軟.X0Y0_節9_節.GetAngleBase()); + X0Y0_節10_節.SetAngleBase(num * 軟.X0Y0_節10_節.GetAngleBase()); + X0Y0_節11_節.SetAngleBase(num * 軟.X0Y0_節11_節.GetAngleBase()); + X0Y0_節12_節.SetAngleBase(num * 軟.X0Y0_節12_節.GetAngleBase()); + X0Y0_節13_節.SetAngleBase(num * 軟.X0Y0_節13_節.GetAngleBase()); + X0Y0_節14_節.SetAngleBase(num * 軟.X0Y0_節14_節.GetAngleBase()); + X0Y0_節15_節.SetAngleBase(num * 軟.X0Y0_節15_節.GetAngleBase()); + X0Y0_節16_節.SetAngleBase(num * 軟.X0Y0_節16_節.GetAngleBase()); + X0Y0_節17_節.SetAngleBase(num * 軟.X0Y0_節17_節.GetAngleBase()); + X0Y0_節18_節.SetAngleBase(num * 軟.X0Y0_節18_節.GetAngleBase()); + X0Y0_節19_節.SetAngleBase(num * 軟.X0Y0_節19_節.GetAngleBase()); + X0Y0_節20_節.SetAngleBase(num * 軟.X0Y0_節20_節.GetAngleBase()); + X0Y0_節21_節.SetAngleBase(num * 軟.X0Y0_節21_節.GetAngleBase()); + X0Y0_節22_節.SetAngleBase(num * 軟.X0Y0_節22_節.GetAngleBase()); + X0Y0_節23_節.SetAngleBase(num * 軟.X0Y0_節23_節.GetAngleBase()); + X0Y0_節24_節.SetAngleBase(num * 軟.X0Y0_節24_節.GetAngleBase()); + X0Y0_節25_節.SetAngleBase(num * 軟.X0Y0_節25_節.GetAngleBase()); + X0Y0_節26_節.SetAngleBase(num * 軟.X0Y0_節26_節.GetAngleBase()); + X0Y0_節27_節.SetAngleBase(num * 軟.X0Y0_節27_節.GetAngleBase()); + X0Y0_節28_節.SetAngleBase(num * 軟.X0Y0_節28_節.GetAngleBase()); + X0Y0_節29_節.SetAngleBase(num * 軟.X0Y0_節29_節.GetAngleBase()); + X0Y0_節30_節.SetAngleBase(num * 軟.X0Y0_節30_節.GetAngleBase()); + X0Y0_節31_節.SetAngleBase(num * 軟.X0Y0_節31_節.GetAngleBase()); + X0Y0_節32_節.SetAngleBase(num * 軟.X0Y0_節32_節.GetAngleBase()); + X0Y0_節33_節.SetAngleBase(num * 軟.X0Y0_節33_節.GetAngleBase()); + X0Y0_節34_節.SetAngleBase(num * 軟.X0Y0_節34_節.GetAngleBase()); + X0Y0_節35_節.SetAngleBase(num * 軟.X0Y0_節35_節.GetAngleBase()); + X0Y0_節36_節.SetAngleBase(num * 軟.X0Y0_節36_節.GetAngleBase()); + X0Y0_節37_節.SetAngleBase(num * 軟.X0Y0_節37_節.GetAngleBase()); + X0Y0_節38_節.SetAngleBase(num * 軟.X0Y0_節38_節.GetAngleBase()); + X0Y0_節39_節.SetAngleBase(num * 軟.X0Y0_節39_節.GetAngleBase()); + X0Y0_節40_節.SetAngleBase(num * 軟.X0Y0_節40_節.GetAngleBase()); + X0Y0_節41_節.SetAngleBase(num * 軟.X0Y0_節41_節.GetAngleBase()); Body.JoinPAall(); } @@ -8957,88 +8957,88 @@ namespace SlaveMatrix X0Y0_節40_吸盤3.Dra = false; X0Y0_節41_吸盤1.Dra = false; X0Y0_節41_吸盤3.Dra = false; - X0Y0_節1_吸盤2.SizeXBase *= 0.7; - X0Y0_節1_吸盤4.SizeXBase *= 0.7; - X0Y0_節2_吸盤2.SizeXBase *= 0.7; - X0Y0_節2_吸盤4.SizeXBase *= 0.7; - X0Y0_節3_吸盤2.SizeXBase *= 0.7; - X0Y0_節3_吸盤4.SizeXBase *= 0.7; - X0Y0_節4_吸盤2.SizeXBase *= 0.7; - X0Y0_節4_吸盤4.SizeXBase *= 0.7; - X0Y0_節5_吸盤2.SizeXBase *= 0.7; - X0Y0_節5_吸盤4.SizeXBase *= 0.7; - X0Y0_節6_吸盤2.SizeXBase *= 0.7; - X0Y0_節6_吸盤4.SizeXBase *= 0.7; - X0Y0_節7_吸盤2.SizeXBase *= 0.7; - X0Y0_節7_吸盤4.SizeXBase *= 0.7; - X0Y0_節8_吸盤2.SizeXBase *= 0.7; - X0Y0_節8_吸盤4.SizeXBase *= 0.7; - X0Y0_節9_吸盤2.SizeXBase *= 0.7; - X0Y0_節9_吸盤4.SizeXBase *= 0.7; - X0Y0_節10_吸盤2.SizeXBase *= 0.7; - X0Y0_節10_吸盤4.SizeXBase *= 0.7; - X0Y0_節11_吸盤2.SizeXBase *= 0.7; - X0Y0_節11_吸盤4.SizeXBase *= 0.7; - X0Y0_節12_吸盤2.SizeXBase *= 0.7; - X0Y0_節12_吸盤4.SizeXBase *= 0.7; - X0Y0_節13_吸盤2.SizeXBase *= 0.7; - X0Y0_節13_吸盤4.SizeXBase *= 0.7; - X0Y0_節14_吸盤2.SizeXBase *= 0.7; - X0Y0_節14_吸盤4.SizeXBase *= 0.7; - X0Y0_節15_吸盤2.SizeXBase *= 0.7; - X0Y0_節15_吸盤4.SizeXBase *= 0.7; - X0Y0_節16_吸盤2.SizeXBase *= 0.7; - X0Y0_節16_吸盤4.SizeXBase *= 0.7; - X0Y0_節17_吸盤2.SizeXBase *= 0.7; - X0Y0_節17_吸盤4.SizeXBase *= 0.7; - X0Y0_節18_吸盤2.SizeXBase *= 0.7; - X0Y0_節18_吸盤4.SizeXBase *= 0.7; - X0Y0_節19_吸盤2.SizeXBase *= 0.7; - X0Y0_節19_吸盤4.SizeXBase *= 0.7; - X0Y0_節20_吸盤2.SizeXBase *= 0.7; - X0Y0_節20_吸盤4.SizeXBase *= 0.7; - X0Y0_節21_吸盤2.SizeXBase *= 0.7; - X0Y0_節21_吸盤4.SizeXBase *= 0.7; - X0Y0_節22_吸盤2.SizeXBase *= 0.7; - X0Y0_節22_吸盤4.SizeXBase *= 0.7; - X0Y0_節23_吸盤2.SizeXBase *= 0.7; - X0Y0_節23_吸盤4.SizeXBase *= 0.7; - X0Y0_節24_吸盤2.SizeXBase *= 0.7; - X0Y0_節24_吸盤4.SizeXBase *= 0.7; - X0Y0_節25_吸盤2.SizeXBase *= 0.7; - X0Y0_節25_吸盤4.SizeXBase *= 0.7; - X0Y0_節26_吸盤2.SizeXBase *= 0.7; - X0Y0_節26_吸盤4.SizeXBase *= 0.7; - X0Y0_節27_吸盤2.SizeXBase *= 0.7; - X0Y0_節27_吸盤4.SizeXBase *= 0.7; - X0Y0_節28_吸盤2.SizeXBase *= 0.7; - X0Y0_節28_吸盤4.SizeXBase *= 0.7; - X0Y0_節29_吸盤2.SizeXBase *= 0.7; - X0Y0_節29_吸盤4.SizeXBase *= 0.7; - X0Y0_節30_吸盤2.SizeXBase *= 0.7; - X0Y0_節30_吸盤4.SizeXBase *= 0.7; - X0Y0_節31_吸盤2.SizeXBase *= 0.7; - X0Y0_節31_吸盤4.SizeXBase *= 0.7; - X0Y0_節32_吸盤2.SizeXBase *= 0.7; - X0Y0_節32_吸盤4.SizeXBase *= 0.7; - X0Y0_節33_吸盤2.SizeXBase *= 0.7; - X0Y0_節33_吸盤4.SizeXBase *= 0.7; - X0Y0_節34_吸盤2.SizeXBase *= 0.7; - X0Y0_節34_吸盤4.SizeXBase *= 0.7; - X0Y0_節35_吸盤2.SizeXBase *= 0.7; - X0Y0_節35_吸盤4.SizeXBase *= 0.7; - X0Y0_節36_吸盤2.SizeXBase *= 0.7; - X0Y0_節36_吸盤4.SizeXBase *= 0.7; - X0Y0_節37_吸盤2.SizeXBase *= 0.7; - X0Y0_節37_吸盤4.SizeXBase *= 0.7; - X0Y0_節38_吸盤2.SizeXBase *= 0.7; - X0Y0_節38_吸盤4.SizeXBase *= 0.7; - X0Y0_節39_吸盤2.SizeXBase *= 0.7; - X0Y0_節39_吸盤4.SizeXBase *= 0.7; - X0Y0_節40_吸盤2.SizeXBase *= 0.7; - X0Y0_節40_吸盤4.SizeXBase *= 0.7; - X0Y0_節41_吸盤2.SizeXBase *= 0.7; - X0Y0_節41_吸盤4.SizeXBase *= 0.7; + X0Y0_節1_吸盤2.SetSizeXBase(X0Y0_節1_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節1_吸盤4.SetSizeXBase(X0Y0_節1_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節2_吸盤2.SetSizeXBase(X0Y0_節2_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節2_吸盤4.SetSizeXBase(X0Y0_節2_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節3_吸盤2.SetSizeXBase(X0Y0_節3_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節3_吸盤4.SetSizeXBase(X0Y0_節3_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節4_吸盤2.SetSizeXBase(X0Y0_節4_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節4_吸盤4.SetSizeXBase(X0Y0_節4_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節5_吸盤2.SetSizeXBase(X0Y0_節5_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節5_吸盤4.SetSizeXBase(X0Y0_節5_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節6_吸盤2.SetSizeXBase(X0Y0_節6_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節6_吸盤4.SetSizeXBase(X0Y0_節6_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節7_吸盤2.SetSizeXBase(X0Y0_節7_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節7_吸盤4.SetSizeXBase(X0Y0_節7_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節8_吸盤2.SetSizeXBase(X0Y0_節8_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節8_吸盤4.SetSizeXBase(X0Y0_節8_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節9_吸盤2.SetSizeXBase(X0Y0_節9_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節9_吸盤4.SetSizeXBase(X0Y0_節9_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節10_吸盤2.SetSizeXBase(X0Y0_節10_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節10_吸盤4.SetSizeXBase(X0Y0_節10_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節11_吸盤2.SetSizeXBase(X0Y0_節11_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節11_吸盤4.SetSizeXBase(X0Y0_節11_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節12_吸盤2.SetSizeXBase(X0Y0_節12_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節12_吸盤4.SetSizeXBase(X0Y0_節12_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節13_吸盤2.SetSizeXBase(X0Y0_節13_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節13_吸盤4.SetSizeXBase(X0Y0_節13_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節14_吸盤2.SetSizeXBase(X0Y0_節14_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節14_吸盤4.SetSizeXBase(X0Y0_節14_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節15_吸盤2.SetSizeXBase(X0Y0_節15_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節15_吸盤4.SetSizeXBase(X0Y0_節15_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節16_吸盤2.SetSizeXBase(X0Y0_節16_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節16_吸盤4.SetSizeXBase(X0Y0_節16_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節17_吸盤2.SetSizeXBase(X0Y0_節17_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節17_吸盤4.SetSizeXBase(X0Y0_節17_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節18_吸盤2.SetSizeXBase(X0Y0_節18_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節18_吸盤4.SetSizeXBase(X0Y0_節18_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節19_吸盤2.SetSizeXBase(X0Y0_節19_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節19_吸盤4.SetSizeXBase(X0Y0_節19_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節20_吸盤2.SetSizeXBase(X0Y0_節20_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節20_吸盤4.SetSizeXBase(X0Y0_節20_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節21_吸盤2.SetSizeXBase(X0Y0_節21_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節21_吸盤4.SetSizeXBase(X0Y0_節21_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節22_吸盤2.SetSizeXBase(X0Y0_節22_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節22_吸盤4.SetSizeXBase(X0Y0_節22_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節23_吸盤2.SetSizeXBase(X0Y0_節23_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節23_吸盤4.SetSizeXBase(X0Y0_節23_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節24_吸盤2.SetSizeXBase(X0Y0_節24_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節24_吸盤4.SetSizeXBase(X0Y0_節24_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節25_吸盤2.SetSizeXBase(X0Y0_節25_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節25_吸盤4.SetSizeXBase(X0Y0_節25_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節26_吸盤2.SetSizeXBase(X0Y0_節26_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節26_吸盤4.SetSizeXBase(X0Y0_節26_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節27_吸盤2.SetSizeXBase(X0Y0_節27_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節27_吸盤4.SetSizeXBase(X0Y0_節27_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節28_吸盤2.SetSizeXBase(X0Y0_節28_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節28_吸盤4.SetSizeXBase(X0Y0_節28_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節29_吸盤2.SetSizeXBase(X0Y0_節29_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節29_吸盤4.SetSizeXBase(X0Y0_節29_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節30_吸盤2.SetSizeXBase(X0Y0_節30_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節30_吸盤4.SetSizeXBase(X0Y0_節30_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節31_吸盤2.SetSizeXBase(X0Y0_節31_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節31_吸盤4.SetSizeXBase(X0Y0_節31_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節32_吸盤2.SetSizeXBase(X0Y0_節32_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節32_吸盤4.SetSizeXBase(X0Y0_節32_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節33_吸盤2.SetSizeXBase(X0Y0_節33_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節33_吸盤4.SetSizeXBase(X0Y0_節33_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節34_吸盤2.SetSizeXBase(X0Y0_節34_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節34_吸盤4.SetSizeXBase(X0Y0_節34_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節35_吸盤2.SetSizeXBase(X0Y0_節35_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節35_吸盤4.SetSizeXBase(X0Y0_節35_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節36_吸盤2.SetSizeXBase(X0Y0_節36_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節36_吸盤4.SetSizeXBase(X0Y0_節36_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節37_吸盤2.SetSizeXBase(X0Y0_節37_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節37_吸盤4.SetSizeXBase(X0Y0_節37_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節38_吸盤2.SetSizeXBase(X0Y0_節38_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節38_吸盤4.SetSizeXBase(X0Y0_節38_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節39_吸盤2.SetSizeXBase(X0Y0_節39_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節39_吸盤4.SetSizeXBase(X0Y0_節39_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節40_吸盤2.SetSizeXBase(X0Y0_節40_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節40_吸盤4.SetSizeXBase(X0Y0_節40_吸盤4.GetSizeXBase() * 0.7); + X0Y0_節41_吸盤2.SetSizeXBase(X0Y0_節41_吸盤2.GetSizeXBase() * 0.7); + X0Y0_節41_吸盤4.SetSizeXBase(X0Y0_節41_吸盤4.GetSizeXBase() * 0.7); 節1_吸盤2_表示 = false; 節1_吸盤4_表示 = false; } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_軟D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_軟D.cs index b76979f..e0e046a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_軟D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触手_軟D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触肢_肢蜘.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触肢_肢蜘.cs index 6eb4e93..f0955d3 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触肢_肢蜘.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触肢_肢蜘.cs @@ -465,24 +465,24 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_基節.AngleBase = num * 70.0; - X0Y0_転節.AngleBase = num * 0.0; - X0Y0_腿節.AngleBase = num * 0.0; - X0Y0_膝節.AngleBase = num * 125.0; - X0Y0_脛節.AngleBase = num * 5.0; - X0Y0_蹠節.AngleBase = num * 70.0; + X0Y0_基節.SetAngleBase(num * 70.0); + X0Y0_転節.SetAngleBase(num * 0.0); + X0Y0_腿節.SetAngleBase(num * 0.0); + X0Y0_膝節.SetAngleBase(num * 125.0); + X0Y0_脛節.SetAngleBase(num * 5.0); + X0Y0_蹠節.SetAngleBase(num * 70.0); Body.JoinPAall(); } public override void SetRestraintAngle() { double num = (右 ? (-1.0) : 1.0); - X0Y0_基節.AngleBase = num * 60.0; - X0Y0_転節.AngleBase = num * -20.0; - X0Y0_腿節.AngleBase = num * 0.0; - X0Y0_膝節.AngleBase = num * 30.0; - X0Y0_脛節.AngleBase = num * 5.0; - X0Y0_蹠節.AngleBase = num * 70.0; + X0Y0_基節.SetAngleBase(num * 60.0); + X0Y0_転節.SetAngleBase(num * -20.0); + X0Y0_腿節.SetAngleBase(num * 0.0); + X0Y0_膝節.SetAngleBase(num * 30.0); + X0Y0_脛節.SetAngleBase(num * 5.0); + X0Y0_蹠節.SetAngleBase(num * 70.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触肢_肢蜘D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触肢_肢蜘D.cs index 9be6406..46d9260 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触肢_肢蜘D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触肢_肢蜘D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触肢_肢蠍.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触肢_肢蠍.cs index 11d9dbd..52762ce 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触肢_肢蠍.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触肢_肢蠍.cs @@ -645,19 +645,19 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_転節.AngleBase = num * -30.0; - X0Y0_腿節.AngleBase = num * -45.0; - X0Y0_膝節.AngleBase = num * 84.0; - X0Y0_爪1.AngleBase = num * 76.0; - X0Y0_爪2.AngleBase = num * -15.0; + X0Y0_転節.SetAngleBase(num * -30.0); + X0Y0_腿節.SetAngleBase(num * -45.0); + X0Y0_膝節.SetAngleBase(num * 84.0); + X0Y0_爪1.SetAngleBase(num * 76.0); + X0Y0_爪2.SetAngleBase(num * -15.0); Body.JoinPAall(); } public override void SetRestraintAngle() { double num = (右 ? (-1.0) : 1.0); - X0Y0_爪1.AngleBase = num * 76.0; - X0Y0_爪2.AngleBase = num * 0.0; + X0Y0_爪1.SetAngleBase(num * 76.0); + X0Y0_爪2.SetAngleBase(num * 0.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触肢_肢蠍D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触肢_肢蠍D.cs index af24e20..3b6bb17 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触肢_肢蠍D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触肢_肢蠍D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚.cs index 4feeec9..88d11f7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚.cs @@ -1,5 +1,6 @@ using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_甲.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_甲.cs index 7974236..eb17159 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_甲.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_甲.cs @@ -379,25 +379,25 @@ namespace SlaveMatrix int num2 = -5; double num3 = 1.0; double num4 = 0.01; - X0Y0_節0.AngleBase = num * -55.0; - X0Y0_節1.AngleBase = num * 25.0; - X0Y0_節2.AngleBase = num * (double)num2 * num3; + X0Y0_節0.SetAngleBase(num * -55.0); + X0Y0_節1.SetAngleBase(num * 25.0); + X0Y0_節2.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節3.AngleBase = num * (double)num2 * num3; + X0Y0_節3.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節4.AngleBase = num * (double)num2 * num3; + X0Y0_節4.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節5.AngleBase = num * (double)num2 * num3; + X0Y0_節5.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節6.AngleBase = num * (double)num2 * num3; + X0Y0_節6.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節7.AngleBase = num * (double)num2 * num3; + X0Y0_節7.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節8.AngleBase = num * (double)num2 * num3; + X0Y0_節8.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節9.AngleBase = num * (double)num2 * num3; + X0Y0_節9.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節10.AngleBase = num * (double)num2 * num3; + X0Y0_節10.SetAngleBase(num * (double)num2 * num3); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_甲D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_甲D.cs index 9f00af1..8dd632e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_甲D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_甲D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_節.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_節.cs index c26e26d..68897ed 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_節.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_節.cs @@ -739,58 +739,58 @@ namespace SlaveMatrix int num2 = -5; double num3 = 1.0; double num4 = 0.01; - X0Y0_節1.AngleBase = num * (double)num2 * num3; + X0Y0_節1.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節2.AngleBase = num * (double)num2 * num3; + X0Y0_節2.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節3.AngleBase = num * (double)num2 * num3; + X0Y0_節3.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節4.AngleBase = num * (double)num2 * num3; + X0Y0_節4.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節5.AngleBase = num * (double)num2 * num3; + X0Y0_節5.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節6.AngleBase = num * (double)num2 * num3; + X0Y0_節6.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節7.AngleBase = num * (double)num2 * num3; + X0Y0_節7.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節8.AngleBase = num * (double)num2 * num3; + X0Y0_節8.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節9.AngleBase = num * (double)num2 * num3; + X0Y0_節9.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節10.AngleBase = num * (double)num2 * num3; + X0Y0_節10.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節11.AngleBase = num * (double)num2 * num3; + X0Y0_節11.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節12.AngleBase = num * (double)num2 * num3; + X0Y0_節12.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節13.AngleBase = num * (double)num2 * num3; + X0Y0_節13.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節14.AngleBase = num * (double)num2 * num3; + X0Y0_節14.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節15.AngleBase = num * (double)num2 * num3; + X0Y0_節15.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節16.AngleBase = num * (double)num2 * num3; + X0Y0_節16.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節17.AngleBase = num * (double)num2 * num3; + X0Y0_節17.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節18.AngleBase = num * (double)num2 * num3; + X0Y0_節18.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節19.AngleBase = num * (double)num2 * num3; + X0Y0_節19.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節20.AngleBase = num * (double)num2 * num3; + X0Y0_節20.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節21.AngleBase = num * (double)num2 * num3; + X0Y0_節21.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節22.AngleBase = num * (double)num2 * num3; + X0Y0_節22.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節23.AngleBase = num * (double)num2 * num3; + X0Y0_節23.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節24.AngleBase = num * (double)num2 * num3; + X0Y0_節24.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節25.AngleBase = num * (double)num2 * num3; + X0Y0_節25.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節26.AngleBase = num * (double)num2 * num3; - X0Y0_節1.AngleBase = num * -10.0; + X0Y0_節26.SetAngleBase(num * (double)num2 * num3); + X0Y0_節1.SetAngleBase(num * -10.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_節D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_節D.cs index 321d29f..39b8f2a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_節D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_節D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_線.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_線.cs index 7214629..d3e8cb2 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_線.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_線.cs @@ -1555,125 +1555,125 @@ namespace SlaveMatrix int num2 = -2; double num3 = 1.0; double num4 = 0.01; - X0Y0_節1.AngleBase = num * (double)num2 * num3; + X0Y0_節1.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節2.AngleBase = num * (double)num2 * num3; + X0Y0_節2.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節3.AngleBase = num * (double)num2 * num3; + X0Y0_節3.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節4.AngleBase = num * (double)num2 * num3; + X0Y0_節4.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節5.AngleBase = num * (double)num2 * num3; + X0Y0_節5.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節6.AngleBase = num * (double)num2 * num3; + X0Y0_節6.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節7.AngleBase = num * (double)num2 * num3; + X0Y0_節7.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節8.AngleBase = num * (double)num2 * num3; + X0Y0_節8.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節9.AngleBase = num * (double)num2 * num3; + X0Y0_節9.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節10.AngleBase = num * (double)num2 * num3; + X0Y0_節10.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節11.AngleBase = num * (double)num2 * num3; + X0Y0_節11.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節12.AngleBase = num * (double)num2 * num3; + X0Y0_節12.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節13.AngleBase = num * (double)num2 * num3; + X0Y0_節13.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節14.AngleBase = num * (double)num2 * num3; + X0Y0_節14.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節15.AngleBase = num * (double)num2 * num3; + X0Y0_節15.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節16.AngleBase = num * (double)num2 * num3; + X0Y0_節16.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節17.AngleBase = num * (double)num2 * num3; + X0Y0_節17.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節18.AngleBase = num * (double)num2 * num3; + X0Y0_節18.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節19.AngleBase = num * (double)num2 * num3; + X0Y0_節19.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節20.AngleBase = num * (double)num2 * num3; + X0Y0_節20.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節21.AngleBase = num * (double)num2 * num3; + X0Y0_節21.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節22.AngleBase = num * (double)num2 * num3; + X0Y0_節22.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節23.AngleBase = num * (double)num2 * num3; + X0Y0_節23.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節24.AngleBase = num * (double)num2 * num3; + X0Y0_節24.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節25.AngleBase = num * (double)num2 * num3; + X0Y0_節25.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節26.AngleBase = num * (double)num2 * num3; + X0Y0_節26.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節27.AngleBase = num * (double)num2 * num3; + X0Y0_節27.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節28.AngleBase = num * (double)num2 * num3; + X0Y0_節28.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節29.AngleBase = num * (double)num2 * num3; + X0Y0_節29.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節30.AngleBase = num * (double)num2 * num3; + X0Y0_節30.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節31.AngleBase = num * (double)num2 * num3; + X0Y0_節31.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節32.AngleBase = num * (double)num2 * num3; + X0Y0_節32.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節33.AngleBase = num * (double)num2 * num3; + X0Y0_節33.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節34.AngleBase = num * (double)num2 * num3; + X0Y0_節34.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節35.AngleBase = num * (double)num2 * num3; + X0Y0_節35.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節36.AngleBase = num * (double)num2 * num3; + X0Y0_節36.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節37.AngleBase = num * (double)num2 * num3; + X0Y0_節37.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節38.AngleBase = num * (double)num2 * num3; + X0Y0_節38.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節39.AngleBase = num * (double)num2 * num3; + X0Y0_節39.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節40.AngleBase = num * (double)num2 * num3; + X0Y0_節40.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節41.AngleBase = num * (double)num2 * num3; + X0Y0_節41.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節42.AngleBase = num * (double)num2 * num3; + X0Y0_節42.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節43.AngleBase = num * (double)num2 * num3; + X0Y0_節43.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節44.AngleBase = num * (double)num2 * num3; + X0Y0_節44.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節45.AngleBase = num * (double)num2 * num3; + X0Y0_節45.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節46.AngleBase = num * (double)num2 * num3; + X0Y0_節46.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節47.AngleBase = num * (double)num2 * num3; + X0Y0_節47.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節48.AngleBase = num * (double)num2 * num3; + X0Y0_節48.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節49.AngleBase = num * (double)num2 * num3; + X0Y0_節49.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節50.AngleBase = num * (double)num2 * num3; + X0Y0_節50.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節51.AngleBase = num * (double)num2 * num3; + X0Y0_節51.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節52.AngleBase = num * (double)num2 * num3; + X0Y0_節52.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節53.AngleBase = num * (double)num2 * num3; + X0Y0_節53.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節54.AngleBase = num * (double)num2 * num3; + X0Y0_節54.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節55.AngleBase = num * (double)num2 * num3; + X0Y0_節55.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節56.AngleBase = num * (double)num2 * num3; + X0Y0_節56.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節57.AngleBase = num * (double)num2 * num3; + X0Y0_節57.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節58.AngleBase = num * (double)num2 * num3; + X0Y0_節58.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節59.AngleBase = num * (double)num2 * num3; + X0Y0_節59.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節60.AngleBase = num * (double)num2 * num3; + X0Y0_節60.SetAngleBase(num * (double)num2 * num3); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_線D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_線D.cs index b039b1f..7ebed6b 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_線D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_線D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_蛾.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_蛾.cs index de35de4..5b9ac9d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_蛾.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_蛾.cs @@ -3789,108 +3789,108 @@ namespace SlaveMatrix int num2 = -2; double num3 = 1.0; double num4 = 0.01; - X0Y0_節1_節.AngleBase = num * (double)num2 * num3; + X0Y0_節1_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節2_節.AngleBase = num * (double)num2 * num3; + X0Y0_節2_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節3_節.AngleBase = num * (double)num2 * num3; + X0Y0_節3_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節4_節.AngleBase = num * (double)num2 * num3; + X0Y0_節4_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節5_節.AngleBase = num * (double)num2 * num3; + X0Y0_節5_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節6_節.AngleBase = num * (double)num2 * num3; + X0Y0_節6_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節7_節.AngleBase = num * (double)num2 * num3; + X0Y0_節7_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節8_節.AngleBase = num * (double)num2 * num3; + X0Y0_節8_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節9_節.AngleBase = num * (double)num2 * num3; + X0Y0_節9_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節10_節.AngleBase = num * (double)num2 * num3; + X0Y0_節10_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節11_節.AngleBase = num * (double)num2 * num3; + X0Y0_節11_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節12_節.AngleBase = num * (double)num2 * num3; + X0Y0_節12_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節13_節.AngleBase = num * (double)num2 * num3; + X0Y0_節13_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節14_節.AngleBase = num * (double)num2 * num3; + X0Y0_節14_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節15_節.AngleBase = num * (double)num2 * num3; + X0Y0_節15_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節16_節.AngleBase = num * (double)num2 * num3; + X0Y0_節16_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節17_節.AngleBase = num * (double)num2 * num3; + X0Y0_節17_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節18_節.AngleBase = num * (double)num2 * num3; + X0Y0_節18_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節19_節.AngleBase = num * (double)num2 * num3; + X0Y0_節19_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節20_節.AngleBase = num * (double)num2 * num3; + X0Y0_節20_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節21_節.AngleBase = num * (double)num2 * num3; + X0Y0_節21_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節22_節.AngleBase = num * (double)num2 * num3; + X0Y0_節22_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節23_節.AngleBase = num * (double)num2 * num3; + X0Y0_節23_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節24_節.AngleBase = num * (double)num2 * num3; + X0Y0_節24_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節25_節.AngleBase = num * (double)num2 * num3; + X0Y0_節25_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節26_節.AngleBase = num * (double)num2 * num3; + X0Y0_節26_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節27_節.AngleBase = num * (double)num2 * num3; + X0Y0_節27_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節28_節.AngleBase = num * (double)num2 * num3; + X0Y0_節28_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節29_節.AngleBase = num * (double)num2 * num3; + X0Y0_節29_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節30_節.AngleBase = num * (double)num2 * num3; + X0Y0_節30_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節31_節.AngleBase = num * (double)num2 * num3; + X0Y0_節31_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節32_節.AngleBase = num * (double)num2 * num3; + X0Y0_節32_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節33_節.AngleBase = num * (double)num2 * num3; + X0Y0_節33_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節34_節.AngleBase = num * (double)num2 * num3; + X0Y0_節34_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節35_節.AngleBase = num * (double)num2 * num3; + X0Y0_節35_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節36_節.AngleBase = num * (double)num2 * num3; + X0Y0_節36_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節37_節.AngleBase = num * (double)num2 * num3; + X0Y0_節37_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節38_節.AngleBase = num * (double)num2 * num3; + X0Y0_節38_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節39_節.AngleBase = num * (double)num2 * num3; + X0Y0_節39_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節40_節.AngleBase = num * (double)num2 * num3; + X0Y0_節40_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節41_節.AngleBase = num * (double)num2 * num3; + X0Y0_節41_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節42_節.AngleBase = num * (double)num2 * num3; + X0Y0_節42_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節43_節.AngleBase = num * (double)num2 * num3; + X0Y0_節43_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節44_節.AngleBase = num * (double)num2 * num3; + X0Y0_節44_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節45_節.AngleBase = num * (double)num2 * num3; + X0Y0_節45_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節46_節.AngleBase = num * (double)num2 * num3; + X0Y0_節46_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節47_節.AngleBase = num * (double)num2 * num3; + X0Y0_節47_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節48_節.AngleBase = num * (double)num2 * num3; + X0Y0_節48_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節49_節.AngleBase = num * (double)num2 * num3; + X0Y0_節49_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節50_節.AngleBase = num * (double)num2 * num3; + X0Y0_節50_節.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節.AngleBase = num * (double)num2 * num3; - X0Y0_節1_節.AngleBase = num * -10.0; + X0Y0_節.SetAngleBase(num * (double)num2 * num3); + X0Y0_節1_節.SetAngleBase(num * -10.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_蛾D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_蛾D.cs index a011095..186069f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_蛾D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_蛾D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_蝶.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_蝶.cs index fa0494c..bfdab93 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_蝶.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_蝶.cs @@ -955,75 +955,75 @@ namespace SlaveMatrix int num2 = -2; double num3 = 1.0; double num4 = 0.01; - X0Y0_節1.AngleBase = num * (double)num2 * num3; + X0Y0_節1.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節2.AngleBase = num * (double)num2 * num3; + X0Y0_節2.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節3.AngleBase = num * (double)num2 * num3; + X0Y0_節3.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節4.AngleBase = num * (double)num2 * num3; + X0Y0_節4.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節5.AngleBase = num * (double)num2 * num3; + X0Y0_節5.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節6.AngleBase = num * (double)num2 * num3; + X0Y0_節6.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節7.AngleBase = num * (double)num2 * num3; + X0Y0_節7.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節8.AngleBase = num * (double)num2 * num3; + X0Y0_節8.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節9.AngleBase = num * (double)num2 * num3; + X0Y0_節9.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節10.AngleBase = num * (double)num2 * num3; + X0Y0_節10.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節11.AngleBase = num * (double)num2 * num3; + X0Y0_節11.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節12.AngleBase = num * (double)num2 * num3; + X0Y0_節12.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節13.AngleBase = num * (double)num2 * num3; + X0Y0_節13.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節14.AngleBase = num * (double)num2 * num3; + X0Y0_節14.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節15.AngleBase = num * (double)num2 * num3; + X0Y0_節15.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節16.AngleBase = num * (double)num2 * num3; + X0Y0_節16.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節17.AngleBase = num * (double)num2 * num3; + X0Y0_節17.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節18.AngleBase = num * (double)num2 * num3; + X0Y0_節18.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節19.AngleBase = num * (double)num2 * num3; + X0Y0_節19.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節20.AngleBase = num * (double)num2 * num3; + X0Y0_節20.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節21.AngleBase = num * (double)num2 * num3; + X0Y0_節21.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節22.AngleBase = num * (double)num2 * num3; + X0Y0_節22.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節23.AngleBase = num * (double)num2 * num3; + X0Y0_節23.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節24.AngleBase = num * (double)num2 * num3; + X0Y0_節24.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節25.AngleBase = num * (double)num2 * num3; + X0Y0_節25.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節26.AngleBase = num * (double)num2 * num3; + X0Y0_節26.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節27.AngleBase = num * (double)num2 * num3; + X0Y0_節27.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節28.AngleBase = num * (double)num2 * num3; + X0Y0_節28.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節29.AngleBase = num * (double)num2 * num3; + X0Y0_節29.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節30.AngleBase = num * (double)num2 * num3; + X0Y0_節30.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節31.AngleBase = num * (double)num2 * num3; + X0Y0_節31.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節32.AngleBase = num * (double)num2 * num3; + X0Y0_節32.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節33.AngleBase = num * (double)num2 * num3; + X0Y0_節33.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節34.AngleBase = num * (double)num2 * num3; + X0Y0_節34.SetAngleBase(num * (double)num2 * num3); num3 -= num4; - X0Y0_節35.AngleBase = num * (double)num2 * num3; + X0Y0_節35.SetAngleBase(num * (double)num2 * num3); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_蝶D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_蝶D.cs index d761ded..b673acf 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_蝶D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_蝶D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_蠍.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_蠍.cs index 89a0f04..9bb427b 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_蠍.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_蠍.cs @@ -592,7 +592,7 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_櫛状版1_櫛状版1.AngleBase = num * 45.0; + X0Y0_櫛状版1_櫛状版1.SetAngleBase(num * 45.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_蠍D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_蠍D.cs index 42e4d8d..0cfeb64 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_蠍D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/触覚_蠍D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/調教背景.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/調教背景.cs index e00a33b..41d4ec6 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/調教背景.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/調教背景.cs @@ -50,7 +50,7 @@ namespace SlaveMatrix Sta.タイル.SizeBase = 0.7; Sta.タイル.JoinRoot.ValueY = Yv[c]; Sta.タイル.AngleBase = An[c]; - Sta.タイル.JoinRoot.CurJoinRoot.PositionBase = Are.GetPosition(new Vector2D(o.X + (double)x * r / Are.XRatio, o.Y + (double)y * r / Are.YRatio)); + Sta.タイル.JoinRoot.GetCurJoinRoot().SetPositionBase(Are.GetPosition(new Vector2D(o.X + (double)x * r / Are.XRatio, o.Y + (double)y * r / Are.YRatio))); Sta.タイル.JoinPA(); Sta.タイル.Draw(Are); c++; diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/調教鞭.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/調教鞭.cs index 5de9dba..802af8a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/調教鞭.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/調教鞭.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -1268,9 +1269,9 @@ namespace SlaveMatrix public override void 色更新() { - if (Body.IndexX == 0) + if (Body.GetIndexX() == 0) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_先CP.Update(); @@ -1340,7 +1341,7 @@ namespace SlaveMatrix } return; } - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X1Y0_先CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/調教鞭D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/調教鞭D.cs index d5b58da..9c31a37 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/調教鞭D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/調教鞭D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/調鞭処理.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/調鞭処理.cs index ece1565..dc77268 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/調鞭処理.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/調鞭処理.cs @@ -56,7 +56,7 @@ namespace SlaveMatrix o = v; 対象.Ele.角度C = 0.0; 対象.Ele.Xi = 0; - 対象.Ele.Yi = (対象.Ele.Yi + x).Limit(0, 対象.Ele.Body.CountY); + 対象.Ele.Yi = (対象.Ele.Yi + x).Limit(0, 対象.Ele.Body.GetCountY()); 対象.Ele.Body.JoinPA(); 移動時(); } @@ -151,8 +151,8 @@ namespace SlaveMatrix { 鞭.角度C = -100.0 * m.Value; } - p = 鞭.Body.Current.EnumAllPar().First((Par e) => e.Tag.Contains("先")); - cp = p.ToGlobal(p.JP[0].Joint); + p = 鞭.Body.GetCurrent().EnumAllPar().First((Par e) => e.Tag.Contains("先")); + cp = p.ToGlobal(p.GetJP()[0].Joint); hc = 調鞭処理2.Med.GetHitColor(調鞭処理2.Med.FromBasePosition(cp)); if (調教UI.Bod.IsHit(hc)) { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足.cs index 1ea4302..35773f5 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 足 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_人.cs index 48fd17a..0b824c7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_人.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_人.cs @@ -2968,46 +2968,46 @@ namespace SlaveMatrix { double num = 1.7; int num2 = (右 ? 1 : 0); - List oP = X0Y0_人指_人指3.OP; + List oP = X0Y0_人指_人指3.GetOP(); Out @out = oP[(int)((double)(oP.Count - num2) * 0.5)]; int index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y0_人指_人指3.BasePointBase) * num * value; - List oP2 = X0Y0_中指_中指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y0_人指_人指3.GetBasePointBase()) * num * value; + List oP2 = X0Y0_中指_中指3.GetOP(); @out = oP2[(int)((double)(oP2.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y0_中指_中指3.BasePointBase) * num * value; - List oP3 = X0Y0_薬指_薬指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y0_中指_中指3.GetBasePointBase()) * num * value; + List oP3 = X0Y0_薬指_薬指3.GetOP(); @out = oP3[(int)((double)(oP3.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y0_薬指_薬指3.BasePointBase) * num * value; - List oP4 = X0Y0_小指_小指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y0_薬指_薬指3.GetBasePointBase()) * num * value; + List oP4 = X0Y0_小指_小指3.GetOP(); @out = oP4[(int)((double)(oP4.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y0_小指_小指3.BasePointBase) * num * value; - List oP5 = X0Y0_親指_親指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y0_小指_小指3.GetBasePointBase()) * num * value; + List oP5 = X0Y0_親指_親指3.GetOP(); @out = oP5[(int)((double)(oP5.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y0_親指_親指3.BasePointBase) * num * 0.65 * value; - List oP6 = X0Y1_人指_人指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y0_親指_親指3.GetBasePointBase()) * num * 0.65 * value; + List oP6 = X0Y1_人指_人指3.GetOP(); @out = oP6[(int)((double)(oP6.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y1_人指_人指3.BasePointBase) * num * value; - List oP7 = X0Y1_中指_中指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y1_人指_人指3.GetBasePointBase()) * num * value; + List oP7 = X0Y1_中指_中指3.GetOP(); @out = oP7[(int)((double)(oP7.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y1_中指_中指3.BasePointBase) * num * value; - List oP8 = X0Y1_薬指_薬指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y1_中指_中指3.GetBasePointBase()) * num * value; + List oP8 = X0Y1_薬指_薬指3.GetOP(); @out = oP8[(int)((double)(oP8.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y1_薬指_薬指3.BasePointBase) * num * value; - List oP9 = X0Y1_小指_小指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y1_薬指_薬指3.GetBasePointBase()) * num * value; + List oP9 = X0Y1_小指_小指3.GetOP(); @out = oP9[(int)((double)(oP9.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y1_小指_小指3.BasePointBase) * num * value; - List oP10 = X0Y1_親指_親指3.OP; + @out.ps[index] += (@out.ps[index] - X0Y1_小指_小指3.GetBasePointBase()) * num * value; + List oP10 = X0Y1_親指_親指3.GetOP(); @out = oP10[(int)((double)(oP10.Count - num2) * 0.5)]; index = (int)((double)@out.ps.Count * 0.5); - @out.ps[index] += (@out.ps[index] - X0Y1_親指_親指3.BasePointBase) * num * 0.65 * value; + @out.ps[index] += (@out.ps[index] - X0Y1_親指_親指3.GetBasePointBase()) * num * 0.65 * value; } } @@ -3864,7 +3864,7 @@ namespace SlaveMatrix public override void 描画0(RenderArea Are) { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { Are.Draw(X0Y0_足); Are.Draw(X0Y0_小指_小指1); @@ -3942,7 +3942,7 @@ namespace SlaveMatrix public void 底描画(RenderArea Are) { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { Are.Draw(X0Y0_ヒール0_靴底); Are.Draw(X0Y0_サンダル0_靴底); @@ -3965,7 +3965,7 @@ namespace SlaveMatrix public void 靴描画(RenderArea Are) { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { Are.Draw(X0Y0_ヒール1_バンプ); Are.Draw(X0Y0_ヒール1_ストラップ_ストラップ); @@ -4106,54 +4106,54 @@ namespace SlaveMatrix public void 虫性() { - X0Y0_人指_人指1.OP[右 ? 3 : 0].Outline = true; - X0Y0_人指_人指2.OP[右 ? 3 : 0].Outline = true; - X0Y0_人指_人指3.OP[右 ? 3 : 0].Outline = true; - X0Y0_中指_中指1.OP[右 ? 3 : 0].Outline = true; - X0Y0_中指_中指2.OP[右 ? 3 : 0].Outline = true; - X0Y0_中指_中指3.OP[右 ? 3 : 0].Outline = true; - X0Y0_薬指_薬指1.OP[右 ? 3 : 0].Outline = true; - X0Y0_薬指_薬指2.OP[右 ? 3 : 0].Outline = true; - X0Y0_薬指_薬指3.OP[右 ? 3 : 0].Outline = true; - X0Y0_小指_小指1.OP[右 ? 3 : 0].Outline = true; - X0Y0_小指_小指2.OP[右 ? 3 : 0].Outline = true; - X0Y0_小指_小指3.OP[右 ? 3 : 0].Outline = true; - X0Y0_親指_親指2.OP[右 ? 3 : 0].Outline = true; - X0Y0_親指_親指3.OP[右 ? 3 : 0].Outline = true; - X0Y1_人指_人指1.OP[右 ? 3 : 0].Outline = true; - X0Y1_人指_人指2.OP[右 ? 3 : 0].Outline = true; - X0Y1_人指_人指3.OP[右 ? 3 : 0].Outline = true; - X0Y1_中指_中指1.OP[右 ? 3 : 0].Outline = true; - X0Y1_中指_中指2.OP[右 ? 3 : 0].Outline = true; - X0Y1_中指_中指3.OP[右 ? 3 : 0].Outline = true; - X0Y1_薬指_薬指1.OP[右 ? 3 : 0].Outline = true; - X0Y1_薬指_薬指2.OP[右 ? 3 : 0].Outline = true; - X0Y1_薬指_薬指3.OP[右 ? 3 : 0].Outline = true; - X0Y1_小指_小指1.OP[右 ? 3 : 0].Outline = true; - X0Y1_小指_小指2.OP[右 ? 3 : 0].Outline = true; - X0Y1_小指_小指3.OP[右 ? 3 : 0].Outline = true; - X0Y1_親指_親指2.OP[右 ? 3 : 0].Outline = true; - X0Y1_親指_親指3.OP[右 ? 3 : 0].Outline = true; + X0Y0_人指_人指1.GetOP()[右 ? 3 : 0].Outline = true; + X0Y0_人指_人指2.GetOP()[右 ? 3 : 0].Outline = true; + X0Y0_人指_人指3.GetOP()[右 ? 3 : 0].Outline = true; + X0Y0_中指_中指1.GetOP()[右 ? 3 : 0].Outline = true; + X0Y0_中指_中指2.GetOP()[右 ? 3 : 0].Outline = true; + X0Y0_中指_中指3.GetOP()[右 ? 3 : 0].Outline = true; + X0Y0_薬指_薬指1.GetOP()[右 ? 3 : 0].Outline = true; + X0Y0_薬指_薬指2.GetOP()[右 ? 3 : 0].Outline = true; + X0Y0_薬指_薬指3.GetOP()[右 ? 3 : 0].Outline = true; + X0Y0_小指_小指1.GetOP()[右 ? 3 : 0].Outline = true; + X0Y0_小指_小指2.GetOP()[右 ? 3 : 0].Outline = true; + X0Y0_小指_小指3.GetOP()[右 ? 3 : 0].Outline = true; + X0Y0_親指_親指2.GetOP()[右 ? 3 : 0].Outline = true; + X0Y0_親指_親指3.GetOP()[右 ? 3 : 0].Outline = true; + X0Y1_人指_人指1.GetOP()[右 ? 3 : 0].Outline = true; + X0Y1_人指_人指2.GetOP()[右 ? 3 : 0].Outline = true; + X0Y1_人指_人指3.GetOP()[右 ? 3 : 0].Outline = true; + X0Y1_中指_中指1.GetOP()[右 ? 3 : 0].Outline = true; + X0Y1_中指_中指2.GetOP()[右 ? 3 : 0].Outline = true; + X0Y1_中指_中指3.GetOP()[右 ? 3 : 0].Outline = true; + X0Y1_薬指_薬指1.GetOP()[右 ? 3 : 0].Outline = true; + X0Y1_薬指_薬指2.GetOP()[右 ? 3 : 0].Outline = true; + X0Y1_薬指_薬指3.GetOP()[右 ? 3 : 0].Outline = true; + X0Y1_小指_小指1.GetOP()[右 ? 3 : 0].Outline = true; + X0Y1_小指_小指2.GetOP()[右 ? 3 : 0].Outline = true; + X0Y1_小指_小指3.GetOP()[右 ? 3 : 0].Outline = true; + X0Y1_親指_親指2.GetOP()[右 ? 3 : 0].Outline = true; + X0Y1_親指_親指3.GetOP()[右 ? 3 : 0].Outline = true; } public void 虫足() { - X0Y0_小指_小指1.SizeBase *= 1.5; - X0Y0_小指_小指2.SizeBase *= 1.5; - X0Y0_小指_小指3.SizeBase *= 1.5; - X0Y0_人指_人指1.SizeBase *= 1.5; - X0Y0_人指_人指2.SizeBase *= 1.5; - X0Y0_人指_人指3.SizeBase *= 1.5; - X0Y0_親指_親指2.SizeBase *= 1.5; - X0Y0_親指_親指3.SizeBase *= 1.5; - X0Y1_小指_小指1.SizeBase *= 1.5; - X0Y1_小指_小指2.SizeBase *= 1.5; - X0Y1_小指_小指3.SizeBase *= 1.5; - X0Y1_人指_人指1.SizeBase *= 1.5; - X0Y1_人指_人指2.SizeBase *= 1.5; - X0Y1_人指_人指3.SizeBase *= 1.5; - X0Y1_親指_親指2.SizeBase *= 1.5; - X0Y1_親指_親指3.SizeBase *= 1.5; + X0Y0_小指_小指1.SetSizeBase(X0Y0_小指_小指1.GetSizeBase() * 1.5); + X0Y0_小指_小指2.SetSizeBase(X0Y0_小指_小指2.GetSizeBase() * 1.5); + X0Y0_小指_小指3.SetSizeBase(X0Y0_小指_小指3.GetSizeBase() * 1.5); + X0Y0_人指_人指1.SetSizeBase(X0Y0_人指_人指1.GetSizeBase() * 1.5); + X0Y0_人指_人指2.SetSizeBase(X0Y0_人指_人指2.GetSizeBase() * 1.5); + X0Y0_人指_人指3.SetSizeBase(X0Y0_人指_人指3.GetSizeBase() * 1.5); + X0Y0_親指_親指2.SetSizeBase(X0Y0_親指_親指2.GetSizeBase() * 1.5); + X0Y0_親指_親指3.SetSizeBase(X0Y0_親指_親指3.GetSizeBase() * 1.5); + X0Y1_小指_小指1.SetSizeBase(X0Y1_小指_小指1.GetSizeBase() * 1.5); + X0Y1_小指_小指2.SetSizeBase(X0Y1_小指_小指2.GetSizeBase() * 1.5); + X0Y1_小指_小指3.SetSizeBase(X0Y1_小指_小指3.GetSizeBase() * 1.5); + X0Y1_人指_人指1.SetSizeBase(X0Y1_人指_人指1.GetSizeBase() * 1.5); + X0Y1_人指_人指2.SetSizeBase(X0Y1_人指_人指2.GetSizeBase() * 1.5); + X0Y1_人指_人指3.SetSizeBase(X0Y1_人指_人指3.GetSizeBase() * 1.5); + X0Y1_親指_親指2.SetSizeBase(X0Y1_親指_親指2.GetSizeBase() * 1.5); + X0Y1_親指_親指3.SetSizeBase(X0Y1_親指_親指3.GetSizeBase() * 1.5); 人指_人指1_表示 = false; 人指_人指3_表示 = false; 人指_人指2_表示 = false; @@ -4167,13 +4167,13 @@ namespace SlaveMatrix public void 開脚(腿_人 腿) { - if (腿.Body.IndexY == 0 || 腿.Body.IndexY == 4) + if (腿.Body.GetIndexY() == 0 || 腿.Body.GetIndexY() == 4) { - Body.IndexY = 0; + Body.SetIndexY(0); } - else if (腿.Body.IndexY == 1 || 腿.Body.IndexY == 2 || 腿.Body.IndexY == 3) + else if (腿.Body.GetIndexY() == 1 || 腿.Body.GetIndexY() == 2 || 腿.Body.GetIndexY() == 3) { - Body.IndexY = 1; + Body.SetIndexY(1); } } @@ -4206,7 +4206,7 @@ namespace SlaveMatrix public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_ヒール0_靴底CP.Update(); X0Y0_サンダル0_靴底CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_人D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_人D.cs index 5206f86..f03a6c7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_人D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_人D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_牛.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_牛.cs index e71c01c..5f5b2b3 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_牛.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_牛.cs @@ -529,11 +529,11 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_足.AngleBase = num * -42.0; - X0Y0_指.AngleBase = num * 0.0; - X0Y0_蹄_蹄.AngleBase = num * 22.0; - X0Y0_蹄_副蹄左.AngleBase = num * -30.0; - X0Y0_蹄_副蹄右.AngleBase = num * -30.0; + X0Y0_足.SetAngleBase(num * -42.0); + X0Y0_指.SetAngleBase(num * 0.0); + X0Y0_蹄_蹄.SetAngleBase(num * 22.0); + X0Y0_蹄_副蹄左.SetAngleBase(num * -30.0); + X0Y0_蹄_副蹄右.SetAngleBase(num * -30.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_牛D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_牛D.cs index 76dcf1a..0d9deca 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_牛D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_牛D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_獣.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_獣.cs index 0421cf2..dfefbbe 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_獣.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_獣.cs @@ -725,12 +725,12 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_足.AngleBase = num * -40.0; - X0Y0_小指_指.AngleBase = num * 22.0; - X0Y0_薬指_指.AngleBase = num * 22.0; - X0Y0_中指_指.AngleBase = num * 19.0; - X0Y0_人指_指.AngleBase = num * 14.0; - X0Y0_肉球_肉球中.AngleBase = num * 16.0; + X0Y0_足.SetAngleBase(num * -40.0); + X0Y0_小指_指.SetAngleBase(num * 22.0); + X0Y0_薬指_指.SetAngleBase(num * 22.0); + X0Y0_中指_指.SetAngleBase(num * 19.0); + X0Y0_人指_指.SetAngleBase(num * 14.0); + X0Y0_肉球_肉球中.SetAngleBase(num * 16.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_獣D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_獣D.cs index 990f675..9bd5a7e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_獣D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_獣D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_竜.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_竜.cs index feff15d..1729f1d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_竜.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_竜.cs @@ -1531,11 +1531,11 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_足.AngleBase = num * -38.0; - X0Y0_薬指_指.AngleBase = num * -6.0; - X0Y0_中指_指.AngleBase = num * -6.0; - X0Y0_人指_指.AngleBase = num * -6.0; - X0Y0_親指_指.AngleBase = num * -6.0; + X0Y0_足.SetAngleBase(num * -38.0); + X0Y0_薬指_指.SetAngleBase(num * -6.0); + X0Y0_中指_指.SetAngleBase(num * -6.0); + X0Y0_人指_指.SetAngleBase(num * -6.0); + X0Y0_親指_指.SetAngleBase(num * -6.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_竜D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_竜D.cs index be66885..6446fc8 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_竜D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_竜D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_馬.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_馬.cs index 263dd3e..83e4462 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_馬.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_馬.cs @@ -433,8 +433,8 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_足.AngleBase = num * -42.0; - X0Y0_指.AngleBase = num * -94.0; + X0Y0_足.SetAngleBase(num * -42.0); + X0Y0_指.SetAngleBase(num * -94.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_馬D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_馬D.cs index b98e57f..1c3fec0 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_馬D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_馬D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_鳥.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_鳥.cs index 5cb4e77..a50aaaf 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_鳥.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_鳥.cs @@ -2283,17 +2283,17 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_足.AngleBase = num * -25.0; - X0Y0_足首.AngleBase = num * -19.0; - X0Y0_薬指_指3.AngleBase = num * -15.0; - X0Y0_薬指_指2.AngleBase = num * -15.0; - X0Y0_薬指_指1.AngleBase = num * -1.0; - X0Y0_中指_指3.AngleBase = num * -15.0; - X0Y0_中指_指2.AngleBase = num * -16.0; - X0Y0_中指_指1.AngleBase = num * 21.0; - X0Y0_人指_指2.AngleBase = num * -13.0; - X0Y0_人指_指1.AngleBase = num * 41.0; - X0Y0_親指_指1.AngleBase = num * 43.0; + X0Y0_足.SetAngleBase(num * -25.0); + X0Y0_足首.SetAngleBase(num * -19.0); + X0Y0_薬指_指3.SetAngleBase(num * -15.0); + X0Y0_薬指_指2.SetAngleBase(num * -15.0); + X0Y0_薬指_指1.SetAngleBase(num * -1.0); + X0Y0_中指_指3.SetAngleBase(num * -15.0); + X0Y0_中指_指2.SetAngleBase(num * -16.0); + X0Y0_中指_指1.SetAngleBase(num * 21.0); + X0Y0_人指_指2.SetAngleBase(num * -13.0); + X0Y0_人指_指1.SetAngleBase(num * 41.0); + X0Y0_親指_指1.SetAngleBase(num * 43.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_鳥D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_鳥D.cs index b8bd432..44e5341 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_鳥D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_鳥D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鎖.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鎖.cs index 45ac9a6..8436bee 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鎖.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鎖.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鎖D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鎖D.cs index b0aa472..2ea0696 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鎖D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鎖D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_蛇.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_蛇.cs index 377506b..56fec28 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_蛇.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_蛇.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; using System.Linq; namespace SlaveMatrix @@ -274,11 +275,11 @@ namespace SlaveMatrix { if (sb == 0.0) { - sb = X0Y0_Torso1_鱗左.SizeXBase; + sb = X0Y0_Torso1_鱗左.GetSizeXBase(); } くぱぁ_ = value; - X0Y0_Torso1_鱗左.SizeXBase = sb * (1.0 - 0.35 * くぱぁ_); - X0Y0_Torso1_鱗右.SizeXBase = sb * (1.0 - 0.35 * くぱぁ_); + X0Y0_Torso1_鱗左.SetSizeXBase(sb * (1.0 - 0.35 * くぱぁ_)); + X0Y0_Torso1_鱗右.SetSizeXBase(sb * (1.0 - 0.35 * くぱぁ_)); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_蛇D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_蛇D.cs index 7cd07f3..3cf3284 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_蛇D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_蛇D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_蟲.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_蟲.cs index dc66490..fd3acc5 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_蟲.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_蟲.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_蟲D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_蟲D.cs index 48a56e0..c1e7a51 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_蟲D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_蟲D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_魚.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_魚.cs index 83e849b..4be6512 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_魚.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_魚.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; using System.Collections.Generic; using System.Linq; @@ -1738,19 +1739,19 @@ namespace SlaveMatrix { get { - return X0Y0_Torso6_Torso.OP[右 ? 2 : 3].Outline; + return X0Y0_Torso6_Torso.GetOP()[右 ? 2 : 3].Outline; } set { - X0Y0_Torso6_Torso.OP[右 ? 2 : 3].Outline = value; - X0Y0_Torso5_Torso.OP[右 ? 2 : 3].Outline = value; - X0Y0_Torso4_Torso.OP[右 ? 2 : 3].Outline = value; - X0Y0_Torso3_Torso.OP[右 ? 2 : 3].Outline = value; - X0Y0_Torso2_Torso.OP[右 ? 2 : 3].Outline = value; - X0Y0_Torso1_Torso2.OP[右 ? 2 : 3].Outline = value; - X0Y0_Torso1_Torso1.OP[(!右) ? 1 : 2].Outline = value; - X0Y0_Torso1_Torso1.OP[右 ? 1 : 2].Outline = value; - X0Y0_Torso1_Torso1.OP[(!右) ? 3 : 0].Outline = value; + X0Y0_Torso6_Torso.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_Torso5_Torso.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_Torso4_Torso.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_Torso3_Torso.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_Torso2_Torso.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_Torso1_Torso2.GetOP()[右 ? 2 : 3].Outline = value; + X0Y0_Torso1_Torso1.GetOP()[(!右) ? 1 : 2].Outline = value; + X0Y0_Torso1_Torso1.GetOP()[右 ? 1 : 2].Outline = value; + X0Y0_Torso1_Torso1.GetOP()[(!右) ? 3 : 0].Outline = value; } } @@ -2537,10 +2538,10 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 25.0; - X0Y0_Torso6_Torso.AngleBase = maxAngle.GetRanAngle(); - X0Y0_Torso5_Torso.AngleBase = maxAngle.GetRanAngle(); - X0Y0_Torso4_Torso.AngleBase = maxAngle.GetRanAngle(); - X0Y0_Torso3_Torso.AngleBase = maxAngle.GetRanAngle(); + X0Y0_Torso6_Torso.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_Torso5_Torso.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_Torso4_Torso.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_Torso3_Torso.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_魚D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_魚D.cs index 21f2ac7..7489b0e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_魚D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_魚D.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; using System; using System.Collections.Generic; diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_鯨.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_鯨.cs index 6acddc6..36858a0 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_鯨.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_鯨.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; using System.Collections.Generic; using System.Linq; @@ -1248,10 +1249,10 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 25.0; - X0Y0_Torso6_Torso.AngleBase = maxAngle.GetRanAngle(); - X0Y0_Torso5_Torso.AngleBase = maxAngle.GetRanAngle(); - X0Y0_Torso4_Torso.AngleBase = maxAngle.GetRanAngle(); - X0Y0_Torso3_Torso.AngleBase = maxAngle.GetRanAngle(); + X0Y0_Torso6_Torso.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_Torso5_Torso.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_Torso4_Torso.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_Torso3_Torso.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_鯨D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_鯨D.cs index 4586e08..6fbe45f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_鯨D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/長物_鯨D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/長胴.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/長胴.cs index 76961a8..82d6e06 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/長胴.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/長胴.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 長胴 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鞭痕.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鞭痕.cs index d6a4534..7dd7e53 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鞭痕.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鞭痕.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鞭痕D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鞭痕D.cs index ffa85b4..6232a48 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鞭痕D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鞭痕D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頬目.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頬目.cs index d33482d..ccec9ca 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頬目.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頬目.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -195,13 +196,13 @@ namespace SlaveMatrix { get { - return X0Y0_黒目_黒目.PositionCont; + return X0Y0_黒目_黒目.GetPositionCont(); } set { - X0Y0_黒目_黒目.PositionCont = value; - X0Y0_黒目_瞳孔.PositionCont = value; - X0Y0_黒目_ハート.PositionCont = value; + X0Y0_黒目_黒目.SetPositionCont(value); + X0Y0_黒目_瞳孔.SetPositionCont(value); + X0Y0_黒目_ハート.SetPositionCont(value); } } @@ -314,14 +315,14 @@ namespace SlaveMatrix public void 猫目() { - X0Y0_黒目_瞳孔.SizeXBase *= 0.25; - X0Y0_黒目_瞳孔.SizeYBase *= 1.5; + X0Y0_黒目_瞳孔.SetSizeXBase(X0Y0_黒目_瞳孔.GetSizeXBase() * 0.25); + X0Y0_黒目_瞳孔.SetSizeYBase(X0Y0_黒目_瞳孔.GetSizeYBase() * 1.5); } public void 蛸目() { - X0Y0_黒目_瞳孔.SizeXBase *= 2.0; - X0Y0_黒目_瞳孔.SizeYBase *= 0.5; + X0Y0_黒目_瞳孔.SetSizeXBase(X0Y0_黒目_瞳孔.GetSizeXBase() * 2.0); + X0Y0_黒目_瞳孔.SetSizeYBase(X0Y0_黒目_瞳孔.GetSizeYBase() * 0.5); } public override void 色更新() diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頬目D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頬目D.cs index 1096a44..1e73b1f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頬目D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頬目D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頬瞼.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頬瞼.cs index a3952c0..f81611d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頬瞼.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頬瞼.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -337,16 +338,16 @@ namespace SlaveMatrix set { double num = 0.9 + 0.55 * value; - X0Y0_瞼左_瞼.PenWidth *= num; - X0Y0_瞼右_瞼.PenWidth *= num; - X0Y1_瞼左_瞼.PenWidth *= num; - X0Y1_瞼右_瞼.PenWidth *= num; - X0Y2_瞼左_瞼.PenWidth *= num; - X0Y2_瞼右_瞼.PenWidth *= num; - X0Y3_瞼左_瞼.PenWidth *= num; - X0Y3_瞼右_瞼.PenWidth *= num; - X0Y4_瞼左_瞼.PenWidth *= num; - X0Y4_瞼右_瞼.PenWidth *= num; + X0Y0_瞼左_瞼.SetPenWidth(X0Y0_瞼左_瞼.GetPenWidth() * num); + X0Y0_瞼右_瞼.SetPenWidth(X0Y0_瞼右_瞼.GetPenWidth() * num); + X0Y1_瞼左_瞼.SetPenWidth(X0Y1_瞼左_瞼.GetPenWidth() * num); + X0Y1_瞼右_瞼.SetPenWidth(X0Y1_瞼右_瞼.GetPenWidth() * num); + X0Y2_瞼左_瞼.SetPenWidth(X0Y2_瞼左_瞼.GetPenWidth() * num); + X0Y2_瞼右_瞼.SetPenWidth(X0Y2_瞼右_瞼.GetPenWidth() * num); + X0Y3_瞼左_瞼.SetPenWidth(X0Y3_瞼左_瞼.GetPenWidth() * num); + X0Y3_瞼右_瞼.SetPenWidth(X0Y3_瞼右_瞼.GetPenWidth() * num); + X0Y4_瞼左_瞼.SetPenWidth(X0Y4_瞼左_瞼.GetPenWidth() * num); + X0Y4_瞼右_瞼.SetPenWidth(X0Y4_瞼右_瞼.GetPenWidth() * num); } } @@ -553,14 +554,14 @@ namespace SlaveMatrix { double num = 0.0; double num2 = 2.0; - Vector2D value = p.BasePointBase + (p.OP[0].ps[0] - p.BasePointBase) * (num + (num2 - num) * d); - p.OP[2].ps[2] = value; - p.OP[0].ps[0] = value; + Vector2D value = p.GetBasePointBase() + (p.GetOP()[0].ps[0] - p.GetBasePointBase()) * (num + (num2 - num) * d); + p.GetOP()[2].ps[2] = value; + p.GetOP()[0].ps[0] = value; } public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_瞼左_瞼CP.Update(); @@ -607,7 +608,7 @@ namespace SlaveMatrix public override void 色更新(Vector2D[] mm) { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_瞼左_瞼CP.Update(mm); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頬瞼D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頬瞼D.cs index 05ad9df..d4faef4 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頬瞼D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頬瞼D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頬肌.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頬肌.cs index ee94334..dfe1a60 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頬肌.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頬肌.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頬肌D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頬肌D.cs index c5fdb53..03ae45e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頬肌D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頬肌D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭色更新.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭色更新.cs index d8c170d..5c5447a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭色更新.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭色更新.cs @@ -1,6 +1,7 @@ using System.Collections.Generic; using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂.cs index 74c9d42..8d492ef 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 頭頂 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂_天D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂_天D.cs index 16f295f..5b2939c 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂_天D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂_天D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂_宇.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂_宇.cs index c98441f..6aab9b9 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂_宇.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂_宇.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂_宇D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂_宇D.cs index 6a2c2d0..77a1c7b 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂_宇D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂_宇D.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂_皿D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂_皿D.cs index e8d4ac9..2d365a7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂_皿D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂_皿D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂後_宇.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂後_宇.cs index 35b17a7..56040f0 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂後_宇.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂後_宇.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂後_宇D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂後_宇D.cs index ce676e7..2012411 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂後_宇D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂後_宇D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔ハイライト.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔ハイライト.cs index 75ce6f9..89896b5 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔ハイライト.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔ハイライト.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔ハイライトD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔ハイライトD.cs index e2b569c..fbce633 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔ハイライトD.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔ハイライトD.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面.cs index 0a3fd05..20f21ac 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面_甲.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面_甲.cs index a23bf70..d5f0db8 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面_甲.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面_甲.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -487,17 +488,17 @@ namespace SlaveMatrix { set { - Vector2D positionCont = (X0Y0_面左下_面.OP[1].ps[2] - X0Y0_面左下_面.OP[2].ps[2]) * value; - X0Y0_面左上_面目.PositionCont = positionCont; - X0Y0_面左下_面目.PositionCont = positionCont; - X0Y0_面左下_面.PositionCont = positionCont; - X0Y0_面左外.PositionCont = positionCont; - positionCont = (X0Y0_面右下_面.OP[3].ps[2] - X0Y0_面右下_面.OP[2].ps[2]) * value; - X0Y0_面右上_面目.PositionCont = positionCont; - X0Y0_面右下_面目.PositionCont = positionCont; - X0Y0_面右下_面.PositionCont = positionCont; - X0Y0_面右外.PositionCont = positionCont; - X0Y0_面中2_面中.PositionCont = (X0Y0_面中2_面中.OP[2].ps[1] - X0Y0_面中2_面中.OP[0].ps[0]) * 0.35 * value; + Vector2D positionCont = (X0Y0_面左下_面.GetOP()[1].ps[2] - X0Y0_面左下_面.GetOP()[2].ps[2]) * value; + X0Y0_面左上_面目.SetPositionCont(positionCont); + X0Y0_面左下_面目.SetPositionCont(positionCont); + X0Y0_面左下_面.SetPositionCont(positionCont); + X0Y0_面左外.SetPositionCont(positionCont); + positionCont = (X0Y0_面右下_面.GetOP()[3].ps[2] - X0Y0_面右下_面.GetOP()[2].ps[2]) * value; + X0Y0_面右上_面目.SetPositionCont(positionCont); + X0Y0_面右下_面目.SetPositionCont(positionCont); + X0Y0_面右下_面.SetPositionCont(positionCont); + X0Y0_面右外.SetPositionCont(positionCont); + X0Y0_面中2_面中.SetPositionCont((X0Y0_面中2_面中.GetOP()[2].ps[1] - X0Y0_面中2_面中.GetOP()[0].ps[0]) * 0.35 * value); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面_甲D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面_甲D.cs index 5977f70..1d944bc 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面_甲D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面_甲D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面_虫.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面_虫.cs index 09141d8..b33fc72 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面_虫.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面_虫.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -614,20 +615,20 @@ namespace SlaveMatrix set { double num = 15.0 * value; - X0Y0_複眼左_複眼1.AngleCont = num; - X0Y0_複眼左_複眼2.AngleCont = num; - X0Y0_複眼左_ハイライト.AngleCont = num; - X0Y0_複眼左_複眼1.PositionCont = new Vector2D(0.0, -0.0045 * value); - X0Y0_複眼左_複眼2.PositionCont = X0Y0_複眼左_複眼1.PositionCont; - X0Y0_複眼左_ハイライト.PositionCont = X0Y0_複眼左_複眼1.PositionCont; + X0Y0_複眼左_複眼1.SetAngleCont(num); + X0Y0_複眼左_複眼2.SetAngleCont(num); + X0Y0_複眼左_ハイライト.SetAngleCont(num); + X0Y0_複眼左_複眼1.SetPositionCont(new Vector2D(0.0, -0.0045 * value)); + X0Y0_複眼左_複眼2.SetPositionCont(X0Y0_複眼左_複眼1.GetPositionCont()); + X0Y0_複眼左_ハイライト.SetPositionCont(X0Y0_複眼左_複眼1.GetPositionCont()); num = 0.0 - num; - X0Y0_複眼右_複眼1.AngleCont = num; - X0Y0_複眼右_複眼2.AngleCont = num; - X0Y0_複眼右_ハイライト.AngleCont = num; - X0Y0_複眼右_複眼1.PositionCont = X0Y0_複眼左_複眼1.PositionCont; - X0Y0_複眼右_複眼2.PositionCont = X0Y0_複眼左_複眼1.PositionCont; - X0Y0_複眼右_ハイライト.PositionCont = X0Y0_複眼左_複眼1.PositionCont; - X0Y0_面下_面.PositionCont = (X0Y0_面下_面.OP[0].ps[0] - X0Y0_面下_面.OP[2].ps[2]) * 0.7 * value; + X0Y0_複眼右_複眼1.SetAngleCont(num); + X0Y0_複眼右_複眼2.SetAngleCont(num); + X0Y0_複眼右_ハイライト.SetAngleCont(num); + X0Y0_複眼右_複眼1.SetPositionCont(X0Y0_複眼左_複眼1.GetPositionCont()); + X0Y0_複眼右_複眼2.SetPositionCont(X0Y0_複眼左_複眼1.GetPositionCont()); + X0Y0_複眼右_ハイライト.SetPositionCont(X0Y0_複眼左_複眼1.GetPositionCont()); + X0Y0_面下_面.SetPositionCont((X0Y0_面下_面.GetOP()[0].ps[0] - X0Y0_面下_面.GetOP()[2].ps[2]) * 0.7 * value); } } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面_虫D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面_虫D.cs index bf853e6..8de4bf9 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面_虫D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面_虫D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面_蟲.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面_蟲.cs index f889f40..396060f 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面_蟲.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面_蟲.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面_蟲D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面_蟲D.cs index fec57e2..cce91bc 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面_蟲D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/顔面_蟲D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛沫.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛沫.cs index ed0cd1e..1fafd20 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛沫.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛沫.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 飛沫 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛沫_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛沫_人.cs index c580939..ec1407a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛沫_人.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛沫_人.cs @@ -722,7 +722,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_飛沫基CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛沫_人D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛沫_人D.cs index c2ea036..491711c 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛沫_人D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛沫_人D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛沫_獣.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛沫_獣.cs index f393aa4..eb43c27 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛沫_獣.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛沫_獣.cs @@ -722,7 +722,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_飛沫基CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛沫_獣D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛沫_獣D.cs index c49bf25..ef822fa 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛沫_獣D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛沫_獣D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛膜_先.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛膜_先.cs index 182ba47..0bf74e6 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛膜_先.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛膜_先.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -23,7 +24,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -94,12 +95,12 @@ namespace SlaveMatrix { get { - return X0Y0_飛膜.OP[右 ? 5 : 3].Outline; + return X0Y0_飛膜.GetOP()[右 ? 5 : 3].Outline; } set { - X0Y0_飛膜.OP[右 ? 5 : 3].Outline = value; - X0Y1_飛膜.OP[右 ? 39 : 3].Outline = value; + X0Y0_飛膜.GetOP()[右 ? 5 : 3].Outline = value; + X0Y1_飛膜.GetOP()[右 ? 39 : 3].Outline = value; } } @@ -122,7 +123,7 @@ namespace SlaveMatrix public void 接続(UpperArm_蝙 UpperArm, LowerArm_蝙 LowerArm, 手_蝙 手, bool カーブ) { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { if (右 || 反転X_ || 反転Y_) { @@ -145,262 +146,262 @@ namespace SlaveMatrix private void 通常接続左(UpperArm_蝙 UpperArm, LowerArm_蝙 LowerArm, 手_蝙 手, bool カーブ) { - Vector2D value = X0Y0_飛膜.ToLocal(手.X0Y0_人指_指3.Position); - Vector2D vector2D = X0Y0_飛膜.ToLocal(手.X0Y0_親指_指1.Position); - X0Y0_飛膜.OP[0].ps[0] = value; - X0Y0_飛膜.OP[0].ps[2] = X0Y0_飛膜.ToLocal(手.X0Y0_人指_指2.Position); - X0Y0_飛膜.OP[0].ps[1] = (X0Y0_飛膜.OP[0].ps[0] + X0Y0_飛膜.OP[0].ps[2]) * 0.5; - X0Y0_飛膜.OP[1].ps[0] = X0Y0_飛膜.OP[0].ps[2]; - X0Y0_飛膜.OP[1].ps[2] = X0Y0_飛膜.ToLocal(手.X0Y0_親指_指2.Position); - X0Y0_飛膜.OP[1].ps[1] = (X0Y0_飛膜.OP[1].ps[0] + X0Y0_飛膜.OP[1].ps[2]) * 0.5; - X0Y0_飛膜.OP[1].ps[1] += (vector2D - X0Y0_飛膜.OP[1].ps[1]) * 0.3; - X0Y0_飛膜.OP[2].ps[0] = X0Y0_飛膜.OP[1].ps[2]; + Vector2D value = X0Y0_飛膜.ToLocal(手.X0Y0_人指_指3.GetPosition()); + Vector2D vector2D = X0Y0_飛膜.ToLocal(手.X0Y0_親指_指1.GetPosition()); + X0Y0_飛膜.GetOP()[0].ps[0] = value; + X0Y0_飛膜.GetOP()[0].ps[2] = X0Y0_飛膜.ToLocal(手.X0Y0_人指_指2.GetPosition()); + X0Y0_飛膜.GetOP()[0].ps[1] = (X0Y0_飛膜.GetOP()[0].ps[0] + X0Y0_飛膜.GetOP()[0].ps[2]) * 0.5; + X0Y0_飛膜.GetOP()[1].ps[0] = X0Y0_飛膜.GetOP()[0].ps[2]; + X0Y0_飛膜.GetOP()[1].ps[2] = X0Y0_飛膜.ToLocal(手.X0Y0_親指_指2.GetPosition()); + X0Y0_飛膜.GetOP()[1].ps[1] = (X0Y0_飛膜.GetOP()[1].ps[0] + X0Y0_飛膜.GetOP()[1].ps[2]) * 0.5; + X0Y0_飛膜.GetOP()[1].ps[1] += (vector2D - X0Y0_飛膜.GetOP()[1].ps[1]) * 0.3; + X0Y0_飛膜.GetOP()[2].ps[0] = X0Y0_飛膜.GetOP()[1].ps[2]; if (UpperArm == null) { if (LowerArm == null) { - X0Y0_飛膜.OP[2].ps[3] = X0Y0_飛膜.ToLocal(手.X0Y0_獣翼手.Position); + X0Y0_飛膜.GetOP()[2].ps[3] = X0Y0_飛膜.ToLocal(手.X0Y0_獣翼手.GetPosition()); } else { - X0Y0_飛膜.OP[2].ps[3] = X0Y0_飛膜.ToLocal(LowerArm.X0Y0_獣翼LowerArm.Position); + X0Y0_飛膜.GetOP()[2].ps[3] = X0Y0_飛膜.ToLocal(LowerArm.X0Y0_獣翼LowerArm.GetPosition()); } - Vector2D vector2D2 = (X0Y0_飛膜.OP[2].ps[0] + X0Y0_飛膜.OP[2].ps[3]) * 0.5; - X0Y0_飛膜.OP[2].ps[1] = vector2D2 + (X0Y0_飛膜.OP[2].ps[0] - X0Y0_飛膜.OP[2].ps[3]) * 0.8; - X0Y0_飛膜.OP[2].ps[2] = vector2D2 + (X0Y0_飛膜.OP[2].ps[0] - X0Y0_飛膜.OP[2].ps[3]) * 0.4; - X0Y0_飛膜.OP[2].ps[1] += (vector2D - X0Y0_飛膜.OP[2].ps[1]) * 0.3; - X0Y0_飛膜.OP[2].ps[2] += (vector2D - X0Y0_飛膜.OP[2].ps[2]) * 0.3; + Vector2D vector2D2 = (X0Y0_飛膜.GetOP()[2].ps[0] + X0Y0_飛膜.GetOP()[2].ps[3]) * 0.5; + X0Y0_飛膜.GetOP()[2].ps[1] = vector2D2 + (X0Y0_飛膜.GetOP()[2].ps[0] - X0Y0_飛膜.GetOP()[2].ps[3]) * 0.8; + X0Y0_飛膜.GetOP()[2].ps[2] = vector2D2 + (X0Y0_飛膜.GetOP()[2].ps[0] - X0Y0_飛膜.GetOP()[2].ps[3]) * 0.4; + X0Y0_飛膜.GetOP()[2].ps[1] += (vector2D - X0Y0_飛膜.GetOP()[2].ps[1]) * 0.3; + X0Y0_飛膜.GetOP()[2].ps[2] += (vector2D - X0Y0_飛膜.GetOP()[2].ps[2]) * 0.3; } else { if (UpperArm.ConnectionType == ConnectionInfo.Shoulder_UpperArm_接続) { - X0Y0_飛膜.OP[2].ps[3] = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.OP[3].ps[1])); + X0Y0_飛膜.GetOP()[2].ps[3] = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.GetOP()[3].ps[1])); } else { - X0Y0_飛膜.OP[2].ps[3] = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.OP[3].ps[1].AddY(0.003))); + X0Y0_飛膜.GetOP()[2].ps[3] = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.GetOP()[3].ps[1].AddY(0.003))); } - Vector2D vector2D3 = (X0Y0_飛膜.OP[2].ps[0] + X0Y0_飛膜.OP[2].ps[3]) * 0.5; - X0Y0_飛膜.OP[2].ps[1] = (X0Y0_飛膜.OP[2].ps[0] + vector2D3) * 0.5; - X0Y0_飛膜.OP[2].ps[2] = (vector2D3 + X0Y0_飛膜.OP[2].ps[3]) * 0.5; + Vector2D vector2D3 = (X0Y0_飛膜.GetOP()[2].ps[0] + X0Y0_飛膜.GetOP()[2].ps[3]) * 0.5; + X0Y0_飛膜.GetOP()[2].ps[1] = (X0Y0_飛膜.GetOP()[2].ps[0] + vector2D3) * 0.5; + X0Y0_飛膜.GetOP()[2].ps[2] = (vector2D3 + X0Y0_飛膜.GetOP()[2].ps[3]) * 0.5; } if (LowerArm == null) { - Vector2D vector2D4 = X0Y0_飛膜.ToLocal(手.X0Y0_獣翼手.Position); - X0Y0_飛膜.OP[2].ps[1] += (vector2D4 - X0Y0_飛膜.OP[2].ps[1]) * 0.3; - X0Y0_飛膜.OP[2].ps[2] += (vector2D4 - X0Y0_飛膜.OP[2].ps[2]) * 0.3; + Vector2D vector2D4 = X0Y0_飛膜.ToLocal(手.X0Y0_獣翼手.GetPosition()); + X0Y0_飛膜.GetOP()[2].ps[1] += (vector2D4 - X0Y0_飛膜.GetOP()[2].ps[1]) * 0.3; + X0Y0_飛膜.GetOP()[2].ps[2] += (vector2D4 - X0Y0_飛膜.GetOP()[2].ps[2]) * 0.3; } else { - Vector2D vector2D5 = X0Y0_飛膜.ToLocal(LowerArm.X0Y0_獣翼LowerArm.Position); - X0Y0_飛膜.OP[2].ps[1] += (vector2D5 - X0Y0_飛膜.OP[2].ps[1]) * 0.3; - X0Y0_飛膜.OP[2].ps[2] += (vector2D5 - X0Y0_飛膜.OP[2].ps[2]) * 0.3; + Vector2D vector2D5 = X0Y0_飛膜.ToLocal(LowerArm.X0Y0_獣翼LowerArm.GetPosition()); + X0Y0_飛膜.GetOP()[2].ps[1] += (vector2D5 - X0Y0_飛膜.GetOP()[2].ps[1]) * 0.3; + X0Y0_飛膜.GetOP()[2].ps[2] += (vector2D5 - X0Y0_飛膜.GetOP()[2].ps[2]) * 0.3; } if (UpperArm.ConnectionType != ConnectionInfo.Shoulder_UpperArm_接続) { - X0Y0_飛膜.OP[3].ps[0] = X0Y0_飛膜.OP[2].ps[3]; + X0Y0_飛膜.GetOP()[3].ps[0] = X0Y0_飛膜.GetOP()[2].ps[3]; } else { - X0Y0_飛膜.OP[3].ps[0] = X0Y0_飛膜.OP[2].ps[3].AddY(0.05); + X0Y0_飛膜.GetOP()[3].ps[0] = X0Y0_飛膜.GetOP()[2].ps[3].AddY(0.05); } - X0Y0_飛膜.OP[3].ps[2] = X0Y0_飛膜.ToLocal(手.X0Y0_小指_指3.ToGlobal(手.X0Y0_小指_指3.OP[0].ps[0])); - X0Y0_飛膜.OP[3].ps[1] = (X0Y0_飛膜.OP[3].ps[0] + X0Y0_飛膜.OP[3].ps[2]) * 0.5; - X0Y0_飛膜.OP[3].ps[1] += (X0Y0_飛膜.ToLocal(手.X0Y0_人指_指1.Position) - X0Y0_飛膜.OP[3].ps[1]) * 0.07; + X0Y0_飛膜.GetOP()[3].ps[2] = X0Y0_飛膜.ToLocal(手.X0Y0_小指_指3.ToGlobal(手.X0Y0_小指_指3.GetOP()[0].ps[0])); + X0Y0_飛膜.GetOP()[3].ps[1] = (X0Y0_飛膜.GetOP()[3].ps[0] + X0Y0_飛膜.GetOP()[3].ps[2]) * 0.5; + X0Y0_飛膜.GetOP()[3].ps[1] += (X0Y0_飛膜.ToLocal(手.X0Y0_人指_指1.GetPosition()) - X0Y0_飛膜.GetOP()[3].ps[1]) * 0.07; if (カーブ) { - X0Y0_飛膜.OP[3].ps[1] = (X0Y0_飛膜.OP[3].ps[0] + X0Y0_飛膜.OP[3].ps[2]) * 0.5; - X0Y0_飛膜.OP[3].ps[1] += (X0Y0_飛膜.ToLocal(手.X0Y0_小指_指1.ToGlobal(手.X0Y0_小指_指1.JP[0].Joint)) - X0Y0_飛膜.OP[3].ps[1]) * 0.4; + X0Y0_飛膜.GetOP()[3].ps[1] = (X0Y0_飛膜.GetOP()[3].ps[0] + X0Y0_飛膜.GetOP()[3].ps[2]) * 0.5; + X0Y0_飛膜.GetOP()[3].ps[1] += (X0Y0_飛膜.ToLocal(手.X0Y0_小指_指1.ToGlobal(手.X0Y0_小指_指1.GetJP()[0].Joint)) - X0Y0_飛膜.GetOP()[3].ps[1]) * 0.4; } - X0Y0_飛膜.OP[4].ps[0] = X0Y0_飛膜.OP[3].ps[2]; - X0Y0_飛膜.OP[4].ps[2] = X0Y0_飛膜.ToLocal(手.X0Y0_薬指_指3.ToGlobal(手.X0Y0_薬指_指3.OP[0].ps[0])); - X0Y0_飛膜.OP[4].ps[1] = (X0Y0_飛膜.OP[4].ps[0] + X0Y0_飛膜.OP[4].ps[2]) * 0.5; - X0Y0_飛膜.OP[4].ps[1] += (X0Y0_飛膜.ToLocal(手.X0Y0_薬指_指1.Position) - X0Y0_飛膜.OP[4].ps[1]) * 0.08; - X0Y0_飛膜.OP[5].ps[0] = X0Y0_飛膜.OP[4].ps[2]; - X0Y0_飛膜.OP[5].ps[2] = X0Y0_飛膜.ToLocal(手.X0Y0_中指_指3.ToGlobal(手.X0Y0_中指_指3.OP[0].ps[0])); - X0Y0_飛膜.OP[5].ps[1] = (X0Y0_飛膜.OP[5].ps[0] + X0Y0_飛膜.OP[5].ps[2]) * 0.5; - X0Y0_飛膜.OP[5].ps[1] += (X0Y0_飛膜.ToLocal(手.X0Y0_中指_指1.Position) - X0Y0_飛膜.OP[5].ps[1]) * 0.07; - X0Y0_飛膜.OP[6].ps[0] = X0Y0_飛膜.OP[5].ps[2]; - X0Y0_飛膜.OP[6].ps[2] = X0Y0_飛膜.ToLocal(手.X0Y0_中指_指3.Position); - X0Y0_飛膜.OP[6].ps[1] = X0Y0_飛膜.ToLocal(手.X0Y0_中指_指3.ToGlobal(手.X0Y0_中指_指3.OP[0].ps[1])); - X0Y0_飛膜.OP[7].ps[0] = X0Y0_飛膜.OP[6].ps[2]; - X0Y0_飛膜.OP[7].ps[2] = X0Y0_飛膜.ToLocal(手.X0Y0_人指_指3.ToGlobal(手.X0Y0_人指_指3.OP[0].ps[0])); - X0Y0_飛膜.OP[7].ps[1] = (X0Y0_飛膜.OP[7].ps[0] + X0Y0_飛膜.OP[7].ps[2]) * 0.5; - X0Y0_飛膜.OP[7].ps[1] += (X0Y0_飛膜.ToLocal(手.X0Y0_人指_指1.Position) - X0Y0_飛膜.OP[7].ps[1]) * 0.08; - X0Y0_飛膜.OP[8].ps[0] = X0Y0_飛膜.OP[7].ps[2]; - X0Y0_飛膜.OP[8].ps[2] = value; - X0Y0_飛膜.OP[8].ps[1] = X0Y0_飛膜.ToLocal(手.X0Y0_人指_指3.ToGlobal(手.X0Y0_人指_指3.OP[0].ps[1])); + X0Y0_飛膜.GetOP()[4].ps[0] = X0Y0_飛膜.GetOP()[3].ps[2]; + X0Y0_飛膜.GetOP()[4].ps[2] = X0Y0_飛膜.ToLocal(手.X0Y0_薬指_指3.ToGlobal(手.X0Y0_薬指_指3.GetOP()[0].ps[0])); + X0Y0_飛膜.GetOP()[4].ps[1] = (X0Y0_飛膜.GetOP()[4].ps[0] + X0Y0_飛膜.GetOP()[4].ps[2]) * 0.5; + X0Y0_飛膜.GetOP()[4].ps[1] += (X0Y0_飛膜.ToLocal(手.X0Y0_薬指_指1.GetPosition()) - X0Y0_飛膜.GetOP()[4].ps[1]) * 0.08; + X0Y0_飛膜.GetOP()[5].ps[0] = X0Y0_飛膜.GetOP()[4].ps[2]; + X0Y0_飛膜.GetOP()[5].ps[2] = X0Y0_飛膜.ToLocal(手.X0Y0_中指_指3.ToGlobal(手.X0Y0_中指_指3.GetOP()[0].ps[0])); + X0Y0_飛膜.GetOP()[5].ps[1] = (X0Y0_飛膜.GetOP()[5].ps[0] + X0Y0_飛膜.GetOP()[5].ps[2]) * 0.5; + X0Y0_飛膜.GetOP()[5].ps[1] += (X0Y0_飛膜.ToLocal(手.X0Y0_中指_指1.GetPosition()) - X0Y0_飛膜.GetOP()[5].ps[1]) * 0.07; + X0Y0_飛膜.GetOP()[6].ps[0] = X0Y0_飛膜.GetOP()[5].ps[2]; + X0Y0_飛膜.GetOP()[6].ps[2] = X0Y0_飛膜.ToLocal(手.X0Y0_中指_指3.GetPosition()); + X0Y0_飛膜.GetOP()[6].ps[1] = X0Y0_飛膜.ToLocal(手.X0Y0_中指_指3.ToGlobal(手.X0Y0_中指_指3.GetOP()[0].ps[1])); + X0Y0_飛膜.GetOP()[7].ps[0] = X0Y0_飛膜.GetOP()[6].ps[2]; + X0Y0_飛膜.GetOP()[7].ps[2] = X0Y0_飛膜.ToLocal(手.X0Y0_人指_指3.ToGlobal(手.X0Y0_人指_指3.GetOP()[0].ps[0])); + X0Y0_飛膜.GetOP()[7].ps[1] = (X0Y0_飛膜.GetOP()[7].ps[0] + X0Y0_飛膜.GetOP()[7].ps[2]) * 0.5; + X0Y0_飛膜.GetOP()[7].ps[1] += (X0Y0_飛膜.ToLocal(手.X0Y0_人指_指1.GetPosition()) - X0Y0_飛膜.GetOP()[7].ps[1]) * 0.08; + X0Y0_飛膜.GetOP()[8].ps[0] = X0Y0_飛膜.GetOP()[7].ps[2]; + X0Y0_飛膜.GetOP()[8].ps[2] = value; + X0Y0_飛膜.GetOP()[8].ps[1] = X0Y0_飛膜.ToLocal(手.X0Y0_人指_指3.ToGlobal(手.X0Y0_人指_指3.GetOP()[0].ps[1])); } private void 通常接続右(UpperArm_蝙 UpperArm, LowerArm_蝙 LowerArm, 手_蝙 手, bool カーブ) { - Vector2D value = X0Y0_飛膜.ToLocal(手.X0Y0_人指_指3.Position); - Vector2D vector2D = X0Y0_飛膜.ToLocal(手.X0Y0_親指_指1.Position); - X0Y0_飛膜.OP[8].ps[2] = value; - X0Y0_飛膜.OP[8].ps[0] = X0Y0_飛膜.ToLocal(手.X0Y0_人指_指2.Position); - X0Y0_飛膜.OP[8].ps[1] = (X0Y0_飛膜.OP[8].ps[2] + X0Y0_飛膜.OP[8].ps[0]) * 0.5; - X0Y0_飛膜.OP[7].ps[2] = X0Y0_飛膜.OP[8].ps[0]; - X0Y0_飛膜.OP[7].ps[0] = X0Y0_飛膜.ToLocal(手.X0Y0_親指_指2.Position); - X0Y0_飛膜.OP[7].ps[1] = (X0Y0_飛膜.OP[7].ps[2] + X0Y0_飛膜.OP[7].ps[0]) * 0.5; - X0Y0_飛膜.OP[7].ps[1] += (vector2D - X0Y0_飛膜.OP[7].ps[1]) * 0.3; - X0Y0_飛膜.OP[6].ps[3] = X0Y0_飛膜.OP[7].ps[0]; + Vector2D value = X0Y0_飛膜.ToLocal(手.X0Y0_人指_指3.GetPosition()); + Vector2D vector2D = X0Y0_飛膜.ToLocal(手.X0Y0_親指_指1.GetPosition()); + X0Y0_飛膜.GetOP()[8].ps[2] = value; + X0Y0_飛膜.GetOP()[8].ps[0] = X0Y0_飛膜.ToLocal(手.X0Y0_人指_指2.GetPosition()); + X0Y0_飛膜.GetOP()[8].ps[1] = (X0Y0_飛膜.GetOP()[8].ps[2] + X0Y0_飛膜.GetOP()[8].ps[0]) * 0.5; + X0Y0_飛膜.GetOP()[7].ps[2] = X0Y0_飛膜.GetOP()[8].ps[0]; + X0Y0_飛膜.GetOP()[7].ps[0] = X0Y0_飛膜.ToLocal(手.X0Y0_親指_指2.GetPosition()); + X0Y0_飛膜.GetOP()[7].ps[1] = (X0Y0_飛膜.GetOP()[7].ps[2] + X0Y0_飛膜.GetOP()[7].ps[0]) * 0.5; + X0Y0_飛膜.GetOP()[7].ps[1] += (vector2D - X0Y0_飛膜.GetOP()[7].ps[1]) * 0.3; + X0Y0_飛膜.GetOP()[6].ps[3] = X0Y0_飛膜.GetOP()[7].ps[0]; if (UpperArm == null) { if (LowerArm == null) { - X0Y0_飛膜.OP[6].ps[0] = X0Y0_飛膜.ToLocal(手.X0Y0_獣翼手.Position); + X0Y0_飛膜.GetOP()[6].ps[0] = X0Y0_飛膜.ToLocal(手.X0Y0_獣翼手.GetPosition()); } else { - X0Y0_飛膜.OP[6].ps[0] = X0Y0_飛膜.ToLocal(LowerArm.X0Y0_獣翼LowerArm.Position); + X0Y0_飛膜.GetOP()[6].ps[0] = X0Y0_飛膜.ToLocal(LowerArm.X0Y0_獣翼LowerArm.GetPosition()); } - Vector2D vector2D2 = (X0Y0_飛膜.OP[6].ps[3] + X0Y0_飛膜.OP[6].ps[0]) * 0.5; - X0Y0_飛膜.OP[6].ps[2] = vector2D2 + (X0Y0_飛膜.OP[6].ps[3] - X0Y0_飛膜.OP[6].ps[0]) * 0.8; - X0Y0_飛膜.OP[6].ps[1] = vector2D2 + (X0Y0_飛膜.OP[6].ps[3] - X0Y0_飛膜.OP[6].ps[0]) * 0.4; - X0Y0_飛膜.OP[6].ps[2] += (vector2D - X0Y0_飛膜.OP[6].ps[2]) * 0.3; - X0Y0_飛膜.OP[6].ps[1] += (vector2D - X0Y0_飛膜.OP[6].ps[1]) * 0.3; + Vector2D vector2D2 = (X0Y0_飛膜.GetOP()[6].ps[3] + X0Y0_飛膜.GetOP()[6].ps[0]) * 0.5; + X0Y0_飛膜.GetOP()[6].ps[2] = vector2D2 + (X0Y0_飛膜.GetOP()[6].ps[3] - X0Y0_飛膜.GetOP()[6].ps[0]) * 0.8; + X0Y0_飛膜.GetOP()[6].ps[1] = vector2D2 + (X0Y0_飛膜.GetOP()[6].ps[3] - X0Y0_飛膜.GetOP()[6].ps[0]) * 0.4; + X0Y0_飛膜.GetOP()[6].ps[2] += (vector2D - X0Y0_飛膜.GetOP()[6].ps[2]) * 0.3; + X0Y0_飛膜.GetOP()[6].ps[1] += (vector2D - X0Y0_飛膜.GetOP()[6].ps[1]) * 0.3; } else { if (UpperArm.ConnectionType == ConnectionInfo.Shoulder_UpperArm_接続) { - X0Y0_飛膜.OP[6].ps[0] = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.OP[0].ps[4])); + X0Y0_飛膜.GetOP()[6].ps[0] = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.GetOP()[0].ps[4])); } else { - X0Y0_飛膜.OP[6].ps[0] = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.OP[0].ps[4].AddY(0.003))); + X0Y0_飛膜.GetOP()[6].ps[0] = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.GetOP()[0].ps[4].AddY(0.003))); } - Vector2D vector2D3 = (X0Y0_飛膜.OP[6].ps[3] + X0Y0_飛膜.OP[6].ps[0]) * 0.5; - X0Y0_飛膜.OP[6].ps[2] = (X0Y0_飛膜.OP[6].ps[3] + vector2D3) * 0.5; - X0Y0_飛膜.OP[6].ps[1] = (vector2D3 + X0Y0_飛膜.OP[6].ps[0]) * 0.5; + Vector2D vector2D3 = (X0Y0_飛膜.GetOP()[6].ps[3] + X0Y0_飛膜.GetOP()[6].ps[0]) * 0.5; + X0Y0_飛膜.GetOP()[6].ps[2] = (X0Y0_飛膜.GetOP()[6].ps[3] + vector2D3) * 0.5; + X0Y0_飛膜.GetOP()[6].ps[1] = (vector2D3 + X0Y0_飛膜.GetOP()[6].ps[0]) * 0.5; } if (LowerArm == null) { - Vector2D vector2D4 = X0Y0_飛膜.ToLocal(手.X0Y0_獣翼手.Position); - X0Y0_飛膜.OP[6].ps[2] += (vector2D4 - X0Y0_飛膜.OP[6].ps[2]) * 0.3; - X0Y0_飛膜.OP[6].ps[1] += (vector2D4 - X0Y0_飛膜.OP[6].ps[1]) * 0.3; + Vector2D vector2D4 = X0Y0_飛膜.ToLocal(手.X0Y0_獣翼手.GetPosition()); + X0Y0_飛膜.GetOP()[6].ps[2] += (vector2D4 - X0Y0_飛膜.GetOP()[6].ps[2]) * 0.3; + X0Y0_飛膜.GetOP()[6].ps[1] += (vector2D4 - X0Y0_飛膜.GetOP()[6].ps[1]) * 0.3; } else { - Vector2D vector2D5 = X0Y0_飛膜.ToLocal(LowerArm.X0Y0_獣翼LowerArm.Position); - X0Y0_飛膜.OP[6].ps[2] += (vector2D5 - X0Y0_飛膜.OP[6].ps[2]) * 0.3; - X0Y0_飛膜.OP[6].ps[1] += (vector2D5 - X0Y0_飛膜.OP[6].ps[1]) * 0.3; + Vector2D vector2D5 = X0Y0_飛膜.ToLocal(LowerArm.X0Y0_獣翼LowerArm.GetPosition()); + X0Y0_飛膜.GetOP()[6].ps[2] += (vector2D5 - X0Y0_飛膜.GetOP()[6].ps[2]) * 0.3; + X0Y0_飛膜.GetOP()[6].ps[1] += (vector2D5 - X0Y0_飛膜.GetOP()[6].ps[1]) * 0.3; } if (UpperArm.ConnectionType != ConnectionInfo.Shoulder_UpperArm_接続) { - X0Y0_飛膜.OP[5].ps[2] = X0Y0_飛膜.OP[6].ps[0]; + X0Y0_飛膜.GetOP()[5].ps[2] = X0Y0_飛膜.GetOP()[6].ps[0]; } else { - X0Y0_飛膜.OP[5].ps[2] = X0Y0_飛膜.OP[6].ps[0].AddY(0.05); + X0Y0_飛膜.GetOP()[5].ps[2] = X0Y0_飛膜.GetOP()[6].ps[0].AddY(0.05); } - X0Y0_飛膜.OP[5].ps[0] = X0Y0_飛膜.ToLocal(手.X0Y0_小指_指3.ToGlobal(手.X0Y0_小指_指3.OP[2].ps[2])); - X0Y0_飛膜.OP[5].ps[1] = (X0Y0_飛膜.OP[5].ps[2] + X0Y0_飛膜.OP[5].ps[0]) * 0.5; - X0Y0_飛膜.OP[5].ps[1] += (X0Y0_飛膜.ToLocal(手.X0Y0_人指_指1.Position) - X0Y0_飛膜.OP[5].ps[1]) * 0.07; + X0Y0_飛膜.GetOP()[5].ps[0] = X0Y0_飛膜.ToLocal(手.X0Y0_小指_指3.ToGlobal(手.X0Y0_小指_指3.GetOP()[2].ps[2])); + X0Y0_飛膜.GetOP()[5].ps[1] = (X0Y0_飛膜.GetOP()[5].ps[2] + X0Y0_飛膜.GetOP()[5].ps[0]) * 0.5; + X0Y0_飛膜.GetOP()[5].ps[1] += (X0Y0_飛膜.ToLocal(手.X0Y0_人指_指1.GetPosition()) - X0Y0_飛膜.GetOP()[5].ps[1]) * 0.07; if (カーブ) { - X0Y0_飛膜.OP[5].ps[1] = (X0Y0_飛膜.OP[5].ps[2] + X0Y0_飛膜.OP[5].ps[0]) * 0.5; - X0Y0_飛膜.OP[5].ps[1] += (X0Y0_飛膜.ToLocal(手.X0Y0_小指_指1.ToGlobal(手.X0Y0_小指_指1.JP[0].Joint)) - X0Y0_飛膜.OP[5].ps[1]) * 0.4; + X0Y0_飛膜.GetOP()[5].ps[1] = (X0Y0_飛膜.GetOP()[5].ps[2] + X0Y0_飛膜.GetOP()[5].ps[0]) * 0.5; + X0Y0_飛膜.GetOP()[5].ps[1] += (X0Y0_飛膜.ToLocal(手.X0Y0_小指_指1.ToGlobal(手.X0Y0_小指_指1.GetJP()[0].Joint)) - X0Y0_飛膜.GetOP()[5].ps[1]) * 0.4; } - X0Y0_飛膜.OP[4].ps[2] = X0Y0_飛膜.OP[5].ps[0]; - X0Y0_飛膜.OP[4].ps[0] = X0Y0_飛膜.ToLocal(手.X0Y0_薬指_指3.ToGlobal(手.X0Y0_薬指_指3.OP[2].ps[2])); - X0Y0_飛膜.OP[4].ps[1] = (X0Y0_飛膜.OP[4].ps[2] + X0Y0_飛膜.OP[4].ps[0]) * 0.5; - X0Y0_飛膜.OP[4].ps[1] += (X0Y0_飛膜.ToLocal(手.X0Y0_薬指_指1.Position) - X0Y0_飛膜.OP[4].ps[1]) * 0.08; - X0Y0_飛膜.OP[3].ps[2] = X0Y0_飛膜.OP[4].ps[0]; - X0Y0_飛膜.OP[3].ps[0] = X0Y0_飛膜.ToLocal(手.X0Y0_中指_指3.ToGlobal(手.X0Y0_中指_指3.OP[2].ps[2])); - X0Y0_飛膜.OP[3].ps[1] = (X0Y0_飛膜.OP[3].ps[2] + X0Y0_飛膜.OP[3].ps[0]) * 0.5; - X0Y0_飛膜.OP[3].ps[1] += (X0Y0_飛膜.ToLocal(手.X0Y0_中指_指1.Position) - X0Y0_飛膜.OP[3].ps[1]) * 0.07; - X0Y0_飛膜.OP[2].ps[2] = X0Y0_飛膜.OP[3].ps[0]; - X0Y0_飛膜.OP[2].ps[0] = X0Y0_飛膜.ToLocal(手.X0Y0_中指_指3.Position); - X0Y0_飛膜.OP[2].ps[1] = X0Y0_飛膜.ToLocal(手.X0Y0_中指_指3.ToGlobal(手.X0Y0_中指_指3.OP[2].ps[1])); - X0Y0_飛膜.OP[1].ps[2] = X0Y0_飛膜.OP[2].ps[0]; - X0Y0_飛膜.OP[1].ps[0] = X0Y0_飛膜.ToLocal(手.X0Y0_人指_指3.ToGlobal(手.X0Y0_人指_指3.OP[2].ps[2])); - X0Y0_飛膜.OP[1].ps[1] = (X0Y0_飛膜.OP[1].ps[2] + X0Y0_飛膜.OP[1].ps[0]) * 0.5; - X0Y0_飛膜.OP[1].ps[1] += (X0Y0_飛膜.ToLocal(手.X0Y0_人指_指1.Position) - X0Y0_飛膜.OP[1].ps[1]) * 0.08; - X0Y0_飛膜.OP[0].ps[2] = X0Y0_飛膜.OP[1].ps[0]; - X0Y0_飛膜.OP[0].ps[0] = value; - X0Y0_飛膜.OP[0].ps[1] = X0Y0_飛膜.ToLocal(手.X0Y0_人指_指3.ToGlobal(手.X0Y0_人指_指3.OP[2].ps[1])); + X0Y0_飛膜.GetOP()[4].ps[2] = X0Y0_飛膜.GetOP()[5].ps[0]; + X0Y0_飛膜.GetOP()[4].ps[0] = X0Y0_飛膜.ToLocal(手.X0Y0_薬指_指3.ToGlobal(手.X0Y0_薬指_指3.GetOP()[2].ps[2])); + X0Y0_飛膜.GetOP()[4].ps[1] = (X0Y0_飛膜.GetOP()[4].ps[2] + X0Y0_飛膜.GetOP()[4].ps[0]) * 0.5; + X0Y0_飛膜.GetOP()[4].ps[1] += (X0Y0_飛膜.ToLocal(手.X0Y0_薬指_指1.GetPosition()) - X0Y0_飛膜.GetOP()[4].ps[1]) * 0.08; + X0Y0_飛膜.GetOP()[3].ps[2] = X0Y0_飛膜.GetOP()[4].ps[0]; + X0Y0_飛膜.GetOP()[3].ps[0] = X0Y0_飛膜.ToLocal(手.X0Y0_中指_指3.ToGlobal(手.X0Y0_中指_指3.GetOP()[2].ps[2])); + X0Y0_飛膜.GetOP()[3].ps[1] = (X0Y0_飛膜.GetOP()[3].ps[2] + X0Y0_飛膜.GetOP()[3].ps[0]) * 0.5; + X0Y0_飛膜.GetOP()[3].ps[1] += (X0Y0_飛膜.ToLocal(手.X0Y0_中指_指1.GetPosition()) - X0Y0_飛膜.GetOP()[3].ps[1]) * 0.07; + X0Y0_飛膜.GetOP()[2].ps[2] = X0Y0_飛膜.GetOP()[3].ps[0]; + X0Y0_飛膜.GetOP()[2].ps[0] = X0Y0_飛膜.ToLocal(手.X0Y0_中指_指3.GetPosition()); + X0Y0_飛膜.GetOP()[2].ps[1] = X0Y0_飛膜.ToLocal(手.X0Y0_中指_指3.ToGlobal(手.X0Y0_中指_指3.GetOP()[2].ps[1])); + X0Y0_飛膜.GetOP()[1].ps[2] = X0Y0_飛膜.GetOP()[2].ps[0]; + X0Y0_飛膜.GetOP()[1].ps[0] = X0Y0_飛膜.ToLocal(手.X0Y0_人指_指3.ToGlobal(手.X0Y0_人指_指3.GetOP()[2].ps[2])); + X0Y0_飛膜.GetOP()[1].ps[1] = (X0Y0_飛膜.GetOP()[1].ps[2] + X0Y0_飛膜.GetOP()[1].ps[0]) * 0.5; + X0Y0_飛膜.GetOP()[1].ps[1] += (X0Y0_飛膜.ToLocal(手.X0Y0_人指_指1.GetPosition()) - X0Y0_飛膜.GetOP()[1].ps[1]) * 0.08; + X0Y0_飛膜.GetOP()[0].ps[2] = X0Y0_飛膜.GetOP()[1].ps[0]; + X0Y0_飛膜.GetOP()[0].ps[0] = value; + X0Y0_飛膜.GetOP()[0].ps[1] = X0Y0_飛膜.ToLocal(手.X0Y0_人指_指3.ToGlobal(手.X0Y0_人指_指3.GetOP()[2].ps[1])); } private void 欠損接続左(UpperArm_蝙 UpperArm, LowerArm_蝙 LowerArm, 手_蝙 手, bool カーブ) { - Vector2D value = X0Y1_飛膜.ToLocal(手.X0Y0_人指_指3.Position); - Vector2D vector2D = X0Y1_飛膜.ToLocal(手.X0Y0_親指_指1.Position); - X0Y1_飛膜.OP[0].ps[0] = value; - X0Y1_飛膜.OP[0].ps[2] = X0Y1_飛膜.ToLocal(手.X0Y0_人指_指2.Position); - X0Y1_飛膜.OP[0].ps[1] = (X0Y1_飛膜.OP[0].ps[0] + X0Y1_飛膜.OP[0].ps[2]) * 0.5; - X0Y1_飛膜.OP[1].ps[0] = X0Y1_飛膜.OP[0].ps[2]; - X0Y1_飛膜.OP[1].ps[2] = X0Y1_飛膜.ToLocal(手.X0Y0_親指_指2.Position); - X0Y1_飛膜.OP[1].ps[1] = (X0Y1_飛膜.OP[1].ps[0] + X0Y1_飛膜.OP[1].ps[2]) * 0.5; - X0Y1_飛膜.OP[1].ps[1] += (vector2D - X0Y1_飛膜.OP[1].ps[1]) * 0.3; - X0Y1_飛膜.OP[2].ps[0] = X0Y1_飛膜.OP[1].ps[2]; + Vector2D value = X0Y1_飛膜.ToLocal(手.X0Y0_人指_指3.GetPosition()); + Vector2D vector2D = X0Y1_飛膜.ToLocal(手.X0Y0_親指_指1.GetPosition()); + X0Y1_飛膜.GetOP()[0].ps[0] = value; + X0Y1_飛膜.GetOP()[0].ps[2] = X0Y1_飛膜.ToLocal(手.X0Y0_人指_指2.GetPosition()); + X0Y1_飛膜.GetOP()[0].ps[1] = (X0Y1_飛膜.GetOP()[0].ps[0] + X0Y1_飛膜.GetOP()[0].ps[2]) * 0.5; + X0Y1_飛膜.GetOP()[1].ps[0] = X0Y1_飛膜.GetOP()[0].ps[2]; + X0Y1_飛膜.GetOP()[1].ps[2] = X0Y1_飛膜.ToLocal(手.X0Y0_親指_指2.GetPosition()); + X0Y1_飛膜.GetOP()[1].ps[1] = (X0Y1_飛膜.GetOP()[1].ps[0] + X0Y1_飛膜.GetOP()[1].ps[2]) * 0.5; + X0Y1_飛膜.GetOP()[1].ps[1] += (vector2D - X0Y1_飛膜.GetOP()[1].ps[1]) * 0.3; + X0Y1_飛膜.GetOP()[2].ps[0] = X0Y1_飛膜.GetOP()[1].ps[2]; if (UpperArm == null) { if (LowerArm == null) { - X0Y1_飛膜.OP[2].ps[3] = X0Y1_飛膜.ToLocal(手.X0Y0_獣翼手.Position); + X0Y1_飛膜.GetOP()[2].ps[3] = X0Y1_飛膜.ToLocal(手.X0Y0_獣翼手.GetPosition()); } else { - X0Y1_飛膜.OP[2].ps[3] = X0Y1_飛膜.ToLocal(LowerArm.X0Y0_獣翼LowerArm.Position); + X0Y1_飛膜.GetOP()[2].ps[3] = X0Y1_飛膜.ToLocal(LowerArm.X0Y0_獣翼LowerArm.GetPosition()); } - Vector2D vector2D2 = (X0Y1_飛膜.OP[2].ps[0] + X0Y1_飛膜.OP[2].ps[3]) * 0.5; - X0Y1_飛膜.OP[2].ps[1] = vector2D2 + (X0Y1_飛膜.OP[2].ps[0] - X0Y1_飛膜.OP[2].ps[3]) * 0.8; - X0Y1_飛膜.OP[2].ps[2] = vector2D2 + (X0Y1_飛膜.OP[2].ps[0] - X0Y1_飛膜.OP[2].ps[3]) * 0.4; - X0Y1_飛膜.OP[2].ps[1] += (vector2D - X0Y1_飛膜.OP[2].ps[1]) * 0.3; - X0Y1_飛膜.OP[2].ps[2] += (vector2D - X0Y1_飛膜.OP[2].ps[2]) * 0.3; + Vector2D vector2D2 = (X0Y1_飛膜.GetOP()[2].ps[0] + X0Y1_飛膜.GetOP()[2].ps[3]) * 0.5; + X0Y1_飛膜.GetOP()[2].ps[1] = vector2D2 + (X0Y1_飛膜.GetOP()[2].ps[0] - X0Y1_飛膜.GetOP()[2].ps[3]) * 0.8; + X0Y1_飛膜.GetOP()[2].ps[2] = vector2D2 + (X0Y1_飛膜.GetOP()[2].ps[0] - X0Y1_飛膜.GetOP()[2].ps[3]) * 0.4; + X0Y1_飛膜.GetOP()[2].ps[1] += (vector2D - X0Y1_飛膜.GetOP()[2].ps[1]) * 0.3; + X0Y1_飛膜.GetOP()[2].ps[2] += (vector2D - X0Y1_飛膜.GetOP()[2].ps[2]) * 0.3; } else { if (UpperArm.ConnectionType == ConnectionInfo.Shoulder_UpperArm_接続) { - X0Y1_飛膜.OP[2].ps[3] = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.OP[3].ps[1])); + X0Y1_飛膜.GetOP()[2].ps[3] = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.GetOP()[3].ps[1])); } else { - X0Y1_飛膜.OP[2].ps[3] = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.OP[3].ps[1].AddY(0.003))); + X0Y1_飛膜.GetOP()[2].ps[3] = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.GetOP()[3].ps[1].AddY(0.003))); } - Vector2D vector2D3 = (X0Y1_飛膜.OP[2].ps[0] + X0Y1_飛膜.OP[2].ps[3]) * 0.5; - X0Y1_飛膜.OP[2].ps[1] = (X0Y1_飛膜.OP[2].ps[0] + vector2D3) * 0.5; - X0Y1_飛膜.OP[2].ps[2] = (vector2D3 + X0Y1_飛膜.OP[2].ps[3]) * 0.5; + Vector2D vector2D3 = (X0Y1_飛膜.GetOP()[2].ps[0] + X0Y1_飛膜.GetOP()[2].ps[3]) * 0.5; + X0Y1_飛膜.GetOP()[2].ps[1] = (X0Y1_飛膜.GetOP()[2].ps[0] + vector2D3) * 0.5; + X0Y1_飛膜.GetOP()[2].ps[2] = (vector2D3 + X0Y1_飛膜.GetOP()[2].ps[3]) * 0.5; } if (LowerArm == null) { - Vector2D vector2D4 = X0Y1_飛膜.ToLocal(手.X0Y0_獣翼手.Position); - X0Y1_飛膜.OP[2].ps[1] += (vector2D4 - X0Y1_飛膜.OP[2].ps[1]) * 0.3; - X0Y1_飛膜.OP[2].ps[2] += (vector2D4 - X0Y1_飛膜.OP[2].ps[2]) * 0.3; + Vector2D vector2D4 = X0Y1_飛膜.ToLocal(手.X0Y0_獣翼手.GetPosition()); + X0Y1_飛膜.GetOP()[2].ps[1] += (vector2D4 - X0Y1_飛膜.GetOP()[2].ps[1]) * 0.3; + X0Y1_飛膜.GetOP()[2].ps[2] += (vector2D4 - X0Y1_飛膜.GetOP()[2].ps[2]) * 0.3; } else { - Vector2D vector2D5 = X0Y1_飛膜.ToLocal(LowerArm.X0Y0_獣翼LowerArm.Position); - X0Y1_飛膜.OP[2].ps[1] += (vector2D5 - X0Y1_飛膜.OP[2].ps[1]) * 0.3; - X0Y1_飛膜.OP[2].ps[2] += (vector2D5 - X0Y1_飛膜.OP[2].ps[2]) * 0.3; + Vector2D vector2D5 = X0Y1_飛膜.ToLocal(LowerArm.X0Y0_獣翼LowerArm.GetPosition()); + X0Y1_飛膜.GetOP()[2].ps[1] += (vector2D5 - X0Y1_飛膜.GetOP()[2].ps[1]) * 0.3; + X0Y1_飛膜.GetOP()[2].ps[2] += (vector2D5 - X0Y1_飛膜.GetOP()[2].ps[2]) * 0.3; } if (UpperArm.ConnectionType != ConnectionInfo.Shoulder_UpperArm_接続) { - X0Y1_飛膜.OP[3].ps[0] = X0Y1_飛膜.OP[2].ps[3]; + X0Y1_飛膜.GetOP()[3].ps[0] = X0Y1_飛膜.GetOP()[2].ps[3]; } else { - X0Y1_飛膜.OP[3].ps[0] = X0Y1_飛膜.OP[2].ps[3].AddY(0.05); + X0Y1_飛膜.GetOP()[3].ps[0] = X0Y1_飛膜.GetOP()[2].ps[3].AddY(0.05); } - X0Y1_飛膜.OP[3].ps[2] = X0Y1_飛膜.ToLocal(手.X0Y0_小指_指3.ToGlobal(手.X0Y0_小指_指3.OP[0].ps[0])); - X0Y1_飛膜.OP[3].ps[1] = (X0Y1_飛膜.OP[3].ps[0] + X0Y1_飛膜.OP[3].ps[2]) * 0.5; - X0Y1_飛膜.OP[3].ps[1] += (X0Y1_飛膜.ToLocal(手.X0Y0_小指_指3.Position) - X0Y1_飛膜.OP[3].ps[1]) * 0.85; + X0Y1_飛膜.GetOP()[3].ps[2] = X0Y1_飛膜.ToLocal(手.X0Y0_小指_指3.ToGlobal(手.X0Y0_小指_指3.GetOP()[0].ps[0])); + X0Y1_飛膜.GetOP()[3].ps[1] = (X0Y1_飛膜.GetOP()[3].ps[0] + X0Y1_飛膜.GetOP()[3].ps[2]) * 0.5; + X0Y1_飛膜.GetOP()[3].ps[1] += (X0Y1_飛膜.ToLocal(手.X0Y0_小指_指3.GetPosition()) - X0Y1_飛膜.GetOP()[3].ps[1]) * 0.85; if (カーブ) { - X0Y1_飛膜.OP[3].ps[1] = (X0Y1_飛膜.OP[3].ps[0] + X0Y1_飛膜.OP[3].ps[2]) * 0.5; - X0Y1_飛膜.OP[3].ps[1] += (X0Y1_飛膜.ToLocal(手.X0Y0_小指_指1.ToGlobal(手.X0Y0_小指_指1.JP[0].Joint)) - X0Y1_飛膜.OP[3].ps[1]) * 0.3; + X0Y1_飛膜.GetOP()[3].ps[1] = (X0Y1_飛膜.GetOP()[3].ps[0] + X0Y1_飛膜.GetOP()[3].ps[2]) * 0.5; + X0Y1_飛膜.GetOP()[3].ps[1] += (X0Y1_飛膜.ToLocal(手.X0Y0_小指_指1.ToGlobal(手.X0Y0_小指_指1.GetJP()[0].Joint)) - X0Y1_飛膜.GetOP()[3].ps[1]) * 0.3; } - Vector2D vector2D6 = X0Y1_飛膜.OP[3].ps[2]; - Vector2D vector2D7 = X0Y1_飛膜.ToLocal(手.X0Y0_薬指_指3.ToGlobal(手.X0Y0_薬指_指3.OP[0].ps[0])); + Vector2D vector2D6 = X0Y1_飛膜.GetOP()[3].ps[2]; + Vector2D vector2D7 = X0Y1_飛膜.ToLocal(手.X0Y0_薬指_指3.ToGlobal(手.X0Y0_薬指_指3.GetOP()[0].ps[0])); Vector2D vector2D8 = (vector2D6 + vector2D7) * 0.5; double num = vector2D6.DistanceSquared(vector2D7); - Vector2D vector2D9 = (X0Y1_飛膜.OP[4].ps[0] + X0Y1_飛膜.OP[19].ps[2]) * 0.5; - double num2 = X0Y1_飛膜.OP[4].ps[0].DistanceSquared(X0Y1_飛膜.OP[19].ps[2]); - Vector2D v = X0Y1_飛膜.OP[11].ps[2] - vector2D9; - Vector2D v2 = X0Y1_飛膜.ToLocal(手.X0Y0_人指_指2.Position) - vector2D8; + Vector2D vector2D9 = (X0Y1_飛膜.GetOP()[4].ps[0] + X0Y1_飛膜.GetOP()[19].ps[2]) * 0.5; + double num2 = X0Y1_飛膜.GetOP()[4].ps[0].DistanceSquared(X0Y1_飛膜.GetOP()[19].ps[2]); + Vector2D v = X0Y1_飛膜.GetOP()[11].ps[2] - vector2D9; + Vector2D v2 = X0Y1_飛膜.ToLocal(手.X0Y0_人指_指2.GetPosition()) - vector2D8; double num3 = v.Angle02π(Dat.Vec2DUnitY); MatrixD transform = num3.RotationZ(); MatrixD transform2 = (v.Angle02π(v2) - num3).RotationZ(); @@ -410,23 +411,23 @@ namespace SlaveMatrix for (int i = 0; i < 16; i++) { int index = i + 4; - for (int j = 0; j < X0Y1_飛膜.OP[index].ps.Count; j++) + for (int j = 0; j < X0Y1_飛膜.GetOP()[index].ps.Count; j++) { - Vector2D coord = X0Y1_飛膜.OP[index].ps[j].TransformCoordinateBP(vector2D9, transform); + Vector2D coord = X0Y1_飛膜.GetOP()[index].ps[j].TransformCoordinateBP(vector2D9, transform); coord.X = coord.X * num4 + num5; - X0Y1_飛膜.OP[index].ps[j] = coord.TransformCoordinateBP(vector2D9, transform2) + vector2D10; + X0Y1_飛膜.GetOP()[index].ps[j] = coord.TransformCoordinateBP(vector2D9, transform2) + vector2D10; } } - X0Y1_飛膜.OP[4].ps[0] = vector2D6; - X0Y1_飛膜.OP[19].ps[2] = vector2D7; - vector2D6 = X0Y1_飛膜.OP[19].ps[2]; - vector2D7 = X0Y1_飛膜.ToLocal(手.X0Y0_中指_指3.ToGlobal(手.X0Y0_中指_指3.OP[0].ps[0])); + X0Y1_飛膜.GetOP()[4].ps[0] = vector2D6; + X0Y1_飛膜.GetOP()[19].ps[2] = vector2D7; + vector2D6 = X0Y1_飛膜.GetOP()[19].ps[2]; + vector2D7 = X0Y1_飛膜.ToLocal(手.X0Y0_中指_指3.ToGlobal(手.X0Y0_中指_指3.GetOP()[0].ps[0])); vector2D8 = (vector2D6 + vector2D7) * 0.5; double num6 = vector2D6.DistanceSquared(vector2D7); - vector2D9 = (X0Y1_飛膜.OP[20].ps[0] + X0Y1_飛膜.OP[39].ps[2]) * 0.5; - num2 = X0Y1_飛膜.OP[20].ps[0].DistanceSquared(X0Y1_飛膜.OP[39].ps[2]); - Vector2D v3 = X0Y1_飛膜.OP[29].ps[2] - vector2D9; - v2 = X0Y1_飛膜.ToLocal(手.X0Y0_中指_指2.Position) - vector2D8; + vector2D9 = (X0Y1_飛膜.GetOP()[20].ps[0] + X0Y1_飛膜.GetOP()[39].ps[2]) * 0.5; + num2 = X0Y1_飛膜.GetOP()[20].ps[0].DistanceSquared(X0Y1_飛膜.GetOP()[39].ps[2]); + Vector2D v3 = X0Y1_飛膜.GetOP()[29].ps[2] - vector2D9; + v2 = X0Y1_飛膜.ToLocal(手.X0Y0_中指_指2.GetPosition()) - vector2D8; num3 = v3.Angle02π(Dat.Vec2DUnitY); transform = num3.RotationZ(); transform2 = (v3.Angle02π(v2) - num3).RotationZ(); @@ -436,105 +437,105 @@ namespace SlaveMatrix for (int k = 0; k < 20; k++) { int index = k + 20; - for (int l = 0; l < X0Y1_飛膜.OP[index].ps.Count; l++) + for (int l = 0; l < X0Y1_飛膜.GetOP()[index].ps.Count; l++) { - Vector2D coord = X0Y1_飛膜.OP[index].ps[l].TransformCoordinateBP(vector2D9, transform); + Vector2D coord = X0Y1_飛膜.GetOP()[index].ps[l].TransformCoordinateBP(vector2D9, transform); coord.X = coord.X * num4 + num5; - X0Y1_飛膜.OP[index].ps[l] = coord.TransformCoordinateBP(vector2D9, transform2) + vector2D10; + X0Y1_飛膜.GetOP()[index].ps[l] = coord.TransformCoordinateBP(vector2D9, transform2) + vector2D10; } } - X0Y1_飛膜.OP[20].ps[0] = vector2D6; - X0Y1_飛膜.OP[39].ps[2] = vector2D7; - X0Y1_飛膜.OP[40].ps[0] = vector2D7; - X0Y1_飛膜.OP[40].ps[2] = X0Y1_飛膜.ToLocal(手.X0Y0_中指_指3.Position); - X0Y1_飛膜.OP[40].ps[1] = X0Y1_飛膜.ToLocal(手.X0Y0_中指_指3.ToGlobal(手.X0Y0_中指_指3.OP[0].ps[1])); - X0Y1_飛膜.OP[41].ps[0] = X0Y1_飛膜.OP[40].ps[2]; - X0Y1_飛膜.OP[41].ps[2] = X0Y1_飛膜.ToLocal(手.X0Y0_人指_指3.ToGlobal(手.X0Y0_人指_指3.OP[0].ps[0])); - X0Y1_飛膜.OP[41].ps[1] = (X0Y1_飛膜.OP[41].ps[0] + X0Y1_飛膜.OP[41].ps[2]) * 0.5; - X0Y1_飛膜.OP[41].ps[1] += (X0Y1_飛膜.ToLocal(手.X0Y0_人指_指1.Position) - X0Y1_飛膜.OP[41].ps[1]) * 0.08; - X0Y1_飛膜.OP[42].ps[0] = X0Y1_飛膜.OP[41].ps[2]; - X0Y1_飛膜.OP[42].ps[2] = value; - X0Y1_飛膜.OP[42].ps[1] = X0Y1_飛膜.ToLocal(手.X0Y0_人指_指3.ToGlobal(手.X0Y0_人指_指3.OP[0].ps[1])); + X0Y1_飛膜.GetOP()[20].ps[0] = vector2D6; + X0Y1_飛膜.GetOP()[39].ps[2] = vector2D7; + X0Y1_飛膜.GetOP()[40].ps[0] = vector2D7; + X0Y1_飛膜.GetOP()[40].ps[2] = X0Y1_飛膜.ToLocal(手.X0Y0_中指_指3.GetPosition()); + X0Y1_飛膜.GetOP()[40].ps[1] = X0Y1_飛膜.ToLocal(手.X0Y0_中指_指3.ToGlobal(手.X0Y0_中指_指3.GetOP()[0].ps[1])); + X0Y1_飛膜.GetOP()[41].ps[0] = X0Y1_飛膜.GetOP()[40].ps[2]; + X0Y1_飛膜.GetOP()[41].ps[2] = X0Y1_飛膜.ToLocal(手.X0Y0_人指_指3.ToGlobal(手.X0Y0_人指_指3.GetOP()[0].ps[0])); + X0Y1_飛膜.GetOP()[41].ps[1] = (X0Y1_飛膜.GetOP()[41].ps[0] + X0Y1_飛膜.GetOP()[41].ps[2]) * 0.5; + X0Y1_飛膜.GetOP()[41].ps[1] += (X0Y1_飛膜.ToLocal(手.X0Y0_人指_指1.GetPosition()) - X0Y1_飛膜.GetOP()[41].ps[1]) * 0.08; + X0Y1_飛膜.GetOP()[42].ps[0] = X0Y1_飛膜.GetOP()[41].ps[2]; + X0Y1_飛膜.GetOP()[42].ps[2] = value; + X0Y1_飛膜.GetOP()[42].ps[1] = X0Y1_飛膜.ToLocal(手.X0Y0_人指_指3.ToGlobal(手.X0Y0_人指_指3.GetOP()[0].ps[1])); } private void 欠損接続右(UpperArm_蝙 UpperArm, LowerArm_蝙 LowerArm, 手_蝙 手, bool カーブ) { - Vector2D value = X0Y1_飛膜.ToLocal(手.X0Y0_人指_指3.Position); - Vector2D vector2D = X0Y1_飛膜.ToLocal(手.X0Y0_親指_指1.Position); - X0Y1_飛膜.OP[42].ps[2] = value; - X0Y1_飛膜.OP[42].ps[0] = X0Y1_飛膜.ToLocal(手.X0Y0_人指_指2.Position); - X0Y1_飛膜.OP[42].ps[1] = (X0Y1_飛膜.OP[42].ps[2] + X0Y1_飛膜.OP[42].ps[0]) * 0.5; - X0Y1_飛膜.OP[41].ps[2] = X0Y1_飛膜.OP[42].ps[0]; - X0Y1_飛膜.OP[41].ps[0] = X0Y1_飛膜.ToLocal(手.X0Y0_親指_指2.Position); - X0Y1_飛膜.OP[41].ps[1] = (X0Y1_飛膜.OP[41].ps[2] + X0Y1_飛膜.OP[41].ps[0]) * 0.5; - X0Y1_飛膜.OP[41].ps[1] += (vector2D - X0Y1_飛膜.OP[41].ps[1]) * 0.3; - X0Y1_飛膜.OP[40].ps[3] = X0Y1_飛膜.OP[41].ps[0]; + Vector2D value = X0Y1_飛膜.ToLocal(手.X0Y0_人指_指3.GetPosition()); + Vector2D vector2D = X0Y1_飛膜.ToLocal(手.X0Y0_親指_指1.GetPosition()); + X0Y1_飛膜.GetOP()[42].ps[2] = value; + X0Y1_飛膜.GetOP()[42].ps[0] = X0Y1_飛膜.ToLocal(手.X0Y0_人指_指2.GetPosition()); + X0Y1_飛膜.GetOP()[42].ps[1] = (X0Y1_飛膜.GetOP()[42].ps[2] + X0Y1_飛膜.GetOP()[42].ps[0]) * 0.5; + X0Y1_飛膜.GetOP()[41].ps[2] = X0Y1_飛膜.GetOP()[42].ps[0]; + X0Y1_飛膜.GetOP()[41].ps[0] = X0Y1_飛膜.ToLocal(手.X0Y0_親指_指2.GetPosition()); + X0Y1_飛膜.GetOP()[41].ps[1] = (X0Y1_飛膜.GetOP()[41].ps[2] + X0Y1_飛膜.GetOP()[41].ps[0]) * 0.5; + X0Y1_飛膜.GetOP()[41].ps[1] += (vector2D - X0Y1_飛膜.GetOP()[41].ps[1]) * 0.3; + X0Y1_飛膜.GetOP()[40].ps[3] = X0Y1_飛膜.GetOP()[41].ps[0]; if (UpperArm == null) { if (LowerArm == null) { - X0Y1_飛膜.OP[40].ps[0] = X0Y1_飛膜.ToLocal(手.X0Y0_獣翼手.Position); + X0Y1_飛膜.GetOP()[40].ps[0] = X0Y1_飛膜.ToLocal(手.X0Y0_獣翼手.GetPosition()); } else { - X0Y1_飛膜.OP[40].ps[0] = X0Y1_飛膜.ToLocal(LowerArm.X0Y0_獣翼LowerArm.Position); + X0Y1_飛膜.GetOP()[40].ps[0] = X0Y1_飛膜.ToLocal(LowerArm.X0Y0_獣翼LowerArm.GetPosition()); } - Vector2D vector2D2 = (X0Y1_飛膜.OP[40].ps[3] + X0Y1_飛膜.OP[40].ps[0]) * 0.5; - X0Y1_飛膜.OP[40].ps[2] = vector2D2 + (X0Y1_飛膜.OP[40].ps[3] - X0Y1_飛膜.OP[40].ps[0]) * 0.8; - X0Y1_飛膜.OP[40].ps[1] = vector2D2 + (X0Y1_飛膜.OP[40].ps[3] - X0Y1_飛膜.OP[40].ps[0]) * 0.4; - X0Y1_飛膜.OP[40].ps[2] += (vector2D - X0Y1_飛膜.OP[40].ps[2]) * 0.3; - X0Y1_飛膜.OP[40].ps[1] += (vector2D - X0Y1_飛膜.OP[40].ps[1]) * 0.3; + Vector2D vector2D2 = (X0Y1_飛膜.GetOP()[40].ps[3] + X0Y1_飛膜.GetOP()[40].ps[0]) * 0.5; + X0Y1_飛膜.GetOP()[40].ps[2] = vector2D2 + (X0Y1_飛膜.GetOP()[40].ps[3] - X0Y1_飛膜.GetOP()[40].ps[0]) * 0.8; + X0Y1_飛膜.GetOP()[40].ps[1] = vector2D2 + (X0Y1_飛膜.GetOP()[40].ps[3] - X0Y1_飛膜.GetOP()[40].ps[0]) * 0.4; + X0Y1_飛膜.GetOP()[40].ps[2] += (vector2D - X0Y1_飛膜.GetOP()[40].ps[2]) * 0.3; + X0Y1_飛膜.GetOP()[40].ps[1] += (vector2D - X0Y1_飛膜.GetOP()[40].ps[1]) * 0.3; } else { if (UpperArm.ConnectionType == ConnectionInfo.Shoulder_UpperArm_接続) { - X0Y1_飛膜.OP[40].ps[0] = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.OP[0].ps[4])); + X0Y1_飛膜.GetOP()[40].ps[0] = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.GetOP()[0].ps[4])); } else { - X0Y1_飛膜.OP[40].ps[0] = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.OP[0].ps[4].AddY(0.003))); + X0Y1_飛膜.GetOP()[40].ps[0] = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.GetOP()[0].ps[4].AddY(0.003))); } - Vector2D vector2D3 = (X0Y1_飛膜.OP[40].ps[3] + X0Y1_飛膜.OP[40].ps[0]) * 0.5; - X0Y1_飛膜.OP[40].ps[2] = (X0Y1_飛膜.OP[40].ps[3] + vector2D3) * 0.5; - X0Y1_飛膜.OP[40].ps[1] = (vector2D3 + X0Y1_飛膜.OP[40].ps[0]) * 0.5; + Vector2D vector2D3 = (X0Y1_飛膜.GetOP()[40].ps[3] + X0Y1_飛膜.GetOP()[40].ps[0]) * 0.5; + X0Y1_飛膜.GetOP()[40].ps[2] = (X0Y1_飛膜.GetOP()[40].ps[3] + vector2D3) * 0.5; + X0Y1_飛膜.GetOP()[40].ps[1] = (vector2D3 + X0Y1_飛膜.GetOP()[40].ps[0]) * 0.5; } if (LowerArm == null) { - Vector2D vector2D4 = X0Y1_飛膜.ToLocal(手.X0Y0_獣翼手.Position); - X0Y1_飛膜.OP[40].ps[2] += (vector2D4 - X0Y1_飛膜.OP[40].ps[2]) * 0.3; - X0Y1_飛膜.OP[40].ps[1] += (vector2D4 - X0Y1_飛膜.OP[40].ps[1]) * 0.3; + Vector2D vector2D4 = X0Y1_飛膜.ToLocal(手.X0Y0_獣翼手.GetPosition()); + X0Y1_飛膜.GetOP()[40].ps[2] += (vector2D4 - X0Y1_飛膜.GetOP()[40].ps[2]) * 0.3; + X0Y1_飛膜.GetOP()[40].ps[1] += (vector2D4 - X0Y1_飛膜.GetOP()[40].ps[1]) * 0.3; } else { - Vector2D vector2D5 = X0Y1_飛膜.ToLocal(LowerArm.X0Y0_獣翼LowerArm.Position); - X0Y1_飛膜.OP[40].ps[2] += (vector2D5 - X0Y1_飛膜.OP[40].ps[2]) * 0.3; - X0Y1_飛膜.OP[40].ps[1] += (vector2D5 - X0Y1_飛膜.OP[40].ps[1]) * 0.3; + Vector2D vector2D5 = X0Y1_飛膜.ToLocal(LowerArm.X0Y0_獣翼LowerArm.GetPosition()); + X0Y1_飛膜.GetOP()[40].ps[2] += (vector2D5 - X0Y1_飛膜.GetOP()[40].ps[2]) * 0.3; + X0Y1_飛膜.GetOP()[40].ps[1] += (vector2D5 - X0Y1_飛膜.GetOP()[40].ps[1]) * 0.3; } if (UpperArm.ConnectionType != ConnectionInfo.Shoulder_UpperArm_接続) { - X0Y1_飛膜.OP[39].ps[2] = X0Y1_飛膜.OP[40].ps[0]; + X0Y1_飛膜.GetOP()[39].ps[2] = X0Y1_飛膜.GetOP()[40].ps[0]; } else { - X0Y1_飛膜.OP[39].ps[2] = X0Y1_飛膜.OP[40].ps[0].AddY(0.05); + X0Y1_飛膜.GetOP()[39].ps[2] = X0Y1_飛膜.GetOP()[40].ps[0].AddY(0.05); } - X0Y1_飛膜.OP[39].ps[0] = X0Y1_飛膜.ToLocal(手.X0Y0_小指_指3.ToGlobal(手.X0Y0_小指_指3.OP[2].ps[2])); - X0Y1_飛膜.OP[39].ps[1] = (X0Y1_飛膜.OP[39].ps[2] + X0Y1_飛膜.OP[39].ps[0]) * 0.5; - X0Y1_飛膜.OP[39].ps[1] += (X0Y1_飛膜.ToLocal(手.X0Y0_小指_指3.Position) - X0Y1_飛膜.OP[39].ps[1]) * 0.85; + X0Y1_飛膜.GetOP()[39].ps[0] = X0Y1_飛膜.ToLocal(手.X0Y0_小指_指3.ToGlobal(手.X0Y0_小指_指3.GetOP()[2].ps[2])); + X0Y1_飛膜.GetOP()[39].ps[1] = (X0Y1_飛膜.GetOP()[39].ps[2] + X0Y1_飛膜.GetOP()[39].ps[0]) * 0.5; + X0Y1_飛膜.GetOP()[39].ps[1] += (X0Y1_飛膜.ToLocal(手.X0Y0_小指_指3.GetPosition()) - X0Y1_飛膜.GetOP()[39].ps[1]) * 0.85; if (カーブ) { - X0Y1_飛膜.OP[39].ps[1] = (X0Y1_飛膜.OP[39].ps[2] + X0Y1_飛膜.OP[39].ps[0]) * 0.5; - X0Y1_飛膜.OP[39].ps[1] += (X0Y1_飛膜.ToLocal(手.X0Y0_小指_指1.ToGlobal(手.X0Y0_小指_指1.JP[0].Joint)) - X0Y1_飛膜.OP[39].ps[1]) * 0.3; + X0Y1_飛膜.GetOP()[39].ps[1] = (X0Y1_飛膜.GetOP()[39].ps[2] + X0Y1_飛膜.GetOP()[39].ps[0]) * 0.5; + X0Y1_飛膜.GetOP()[39].ps[1] += (X0Y1_飛膜.ToLocal(手.X0Y0_小指_指1.ToGlobal(手.X0Y0_小指_指1.GetJP()[0].Joint)) - X0Y1_飛膜.GetOP()[39].ps[1]) * 0.3; } - Vector2D vector2D6 = X0Y1_飛膜.OP[39].ps[0]; - Vector2D vector2D7 = X0Y1_飛膜.ToLocal(手.X0Y0_薬指_指3.ToGlobal(手.X0Y0_薬指_指3.OP[2].ps[2])); + Vector2D vector2D6 = X0Y1_飛膜.GetOP()[39].ps[0]; + Vector2D vector2D7 = X0Y1_飛膜.ToLocal(手.X0Y0_薬指_指3.ToGlobal(手.X0Y0_薬指_指3.GetOP()[2].ps[2])); Vector2D vector2D8 = (vector2D6 + vector2D7) * 0.5; double num = vector2D6.DistanceSquared(vector2D7); - Vector2D vector2D9 = (X0Y1_飛膜.OP[38].ps[2] + X0Y1_飛膜.OP[23].ps[0]) * 0.5; - double num2 = X0Y1_飛膜.OP[38].ps[2].DistanceSquared(X0Y1_飛膜.OP[23].ps[0]); - Vector2D v = X0Y1_飛膜.OP[31].ps[0] - vector2D9; - Vector2D v2 = X0Y1_飛膜.ToLocal(手.X0Y0_人指_指2.Position) - vector2D8; + Vector2D vector2D9 = (X0Y1_飛膜.GetOP()[38].ps[2] + X0Y1_飛膜.GetOP()[23].ps[0]) * 0.5; + double num2 = X0Y1_飛膜.GetOP()[38].ps[2].DistanceSquared(X0Y1_飛膜.GetOP()[23].ps[0]); + Vector2D v = X0Y1_飛膜.GetOP()[31].ps[0] - vector2D9; + Vector2D v2 = X0Y1_飛膜.ToLocal(手.X0Y0_人指_指2.GetPosition()) - vector2D8; double num3 = v.Angle02π(Dat.Vec2DUnitY); MatrixD transform = num3.RotationZ(); MatrixD transform2 = (v.Angle02π(v2) - num3).RotationZ(); @@ -544,23 +545,23 @@ namespace SlaveMatrix for (int i = 0; i < 16; i++) { int index = 42 - (i + 4); - for (int j = 0; j < X0Y1_飛膜.OP[index].ps.Count; j++) + for (int j = 0; j < X0Y1_飛膜.GetOP()[index].ps.Count; j++) { - Vector2D coord = X0Y1_飛膜.OP[index].ps[j].TransformCoordinateBP(vector2D9, transform); + Vector2D coord = X0Y1_飛膜.GetOP()[index].ps[j].TransformCoordinateBP(vector2D9, transform); coord.X = coord.X * num4 + num5; - X0Y1_飛膜.OP[index].ps[j] = coord.TransformCoordinateBP(vector2D9, transform2) + vector2D10; + X0Y1_飛膜.GetOP()[index].ps[j] = coord.TransformCoordinateBP(vector2D9, transform2) + vector2D10; } } - X0Y1_飛膜.OP[38].ps[2] = vector2D6; - X0Y1_飛膜.OP[23].ps[0] = vector2D7; - vector2D6 = X0Y1_飛膜.OP[23].ps[0]; - vector2D7 = X0Y1_飛膜.ToLocal(手.X0Y0_中指_指3.ToGlobal(手.X0Y0_中指_指3.OP[2].ps[2])); + X0Y1_飛膜.GetOP()[38].ps[2] = vector2D6; + X0Y1_飛膜.GetOP()[23].ps[0] = vector2D7; + vector2D6 = X0Y1_飛膜.GetOP()[23].ps[0]; + vector2D7 = X0Y1_飛膜.ToLocal(手.X0Y0_中指_指3.ToGlobal(手.X0Y0_中指_指3.GetOP()[2].ps[2])); vector2D8 = (vector2D6 + vector2D7) * 0.5; double num6 = vector2D6.DistanceSquared(vector2D7); - vector2D9 = (X0Y1_飛膜.OP[22].ps[2] + X0Y1_飛膜.OP[3].ps[0]) * 0.5; - num2 = X0Y1_飛膜.OP[22].ps[2].DistanceSquared(X0Y1_飛膜.OP[3].ps[0]); - Vector2D v3 = X0Y1_飛膜.OP[13].ps[0] - vector2D9; - v2 = X0Y1_飛膜.ToLocal(手.X0Y0_中指_指2.Position) - vector2D8; + vector2D9 = (X0Y1_飛膜.GetOP()[22].ps[2] + X0Y1_飛膜.GetOP()[3].ps[0]) * 0.5; + num2 = X0Y1_飛膜.GetOP()[22].ps[2].DistanceSquared(X0Y1_飛膜.GetOP()[3].ps[0]); + Vector2D v3 = X0Y1_飛膜.GetOP()[13].ps[0] - vector2D9; + v2 = X0Y1_飛膜.ToLocal(手.X0Y0_中指_指2.GetPosition()) - vector2D8; num3 = v3.Angle02π(Dat.Vec2DUnitY); transform = num3.RotationZ(); transform2 = (v3.Angle02π(v2) - num3).RotationZ(); @@ -570,30 +571,30 @@ namespace SlaveMatrix for (int k = 0; k < 20; k++) { int index = 42 - (k + 20); - for (int l = 0; l < X0Y1_飛膜.OP[index].ps.Count; l++) + for (int l = 0; l < X0Y1_飛膜.GetOP()[index].ps.Count; l++) { - Vector2D coord = X0Y1_飛膜.OP[index].ps[l].TransformCoordinateBP(vector2D9, transform); + Vector2D coord = X0Y1_飛膜.GetOP()[index].ps[l].TransformCoordinateBP(vector2D9, transform); coord.X = coord.X * num4 + num5; - X0Y1_飛膜.OP[index].ps[l] = coord.TransformCoordinateBP(vector2D9, transform2) + vector2D10; + X0Y1_飛膜.GetOP()[index].ps[l] = coord.TransformCoordinateBP(vector2D9, transform2) + vector2D10; } } - X0Y1_飛膜.OP[22].ps[2] = vector2D6; - X0Y1_飛膜.OP[3].ps[0] = vector2D7; - X0Y1_飛膜.OP[2].ps[2] = vector2D7; - X0Y1_飛膜.OP[2].ps[0] = X0Y1_飛膜.ToLocal(手.X0Y0_中指_指3.Position); - X0Y1_飛膜.OP[2].ps[1] = X0Y1_飛膜.ToLocal(手.X0Y0_中指_指3.ToGlobal(手.X0Y0_中指_指3.OP[2].ps[1])); - X0Y1_飛膜.OP[1].ps[2] = X0Y1_飛膜.OP[2].ps[0]; - X0Y1_飛膜.OP[1].ps[0] = X0Y1_飛膜.ToLocal(手.X0Y0_人指_指3.ToGlobal(手.X0Y0_人指_指3.OP[2].ps[2])); - X0Y1_飛膜.OP[1].ps[1] = (X0Y1_飛膜.OP[1].ps[2] + X0Y1_飛膜.OP[1].ps[0]) * 0.5; - X0Y1_飛膜.OP[1].ps[1] += (X0Y1_飛膜.ToLocal(手.X0Y0_人指_指1.Position) - X0Y1_飛膜.OP[1].ps[1]) * 0.08; - X0Y1_飛膜.OP[0].ps[2] = X0Y1_飛膜.OP[1].ps[0]; - X0Y1_飛膜.OP[0].ps[0] = value; - X0Y1_飛膜.OP[0].ps[1] = X0Y1_飛膜.ToLocal(手.X0Y0_人指_指3.ToGlobal(手.X0Y0_人指_指3.OP[2].ps[1])); + X0Y1_飛膜.GetOP()[22].ps[2] = vector2D6; + X0Y1_飛膜.GetOP()[3].ps[0] = vector2D7; + X0Y1_飛膜.GetOP()[2].ps[2] = vector2D7; + X0Y1_飛膜.GetOP()[2].ps[0] = X0Y1_飛膜.ToLocal(手.X0Y0_中指_指3.GetPosition()); + X0Y1_飛膜.GetOP()[2].ps[1] = X0Y1_飛膜.ToLocal(手.X0Y0_中指_指3.ToGlobal(手.X0Y0_中指_指3.GetOP()[2].ps[1])); + X0Y1_飛膜.GetOP()[1].ps[2] = X0Y1_飛膜.GetOP()[2].ps[0]; + X0Y1_飛膜.GetOP()[1].ps[0] = X0Y1_飛膜.ToLocal(手.X0Y0_人指_指3.ToGlobal(手.X0Y0_人指_指3.GetOP()[2].ps[2])); + X0Y1_飛膜.GetOP()[1].ps[1] = (X0Y1_飛膜.GetOP()[1].ps[2] + X0Y1_飛膜.GetOP()[1].ps[0]) * 0.5; + X0Y1_飛膜.GetOP()[1].ps[1] += (X0Y1_飛膜.ToLocal(手.X0Y0_人指_指1.GetPosition()) - X0Y1_飛膜.GetOP()[1].ps[1]) * 0.08; + X0Y1_飛膜.GetOP()[0].ps[2] = X0Y1_飛膜.GetOP()[1].ps[0]; + X0Y1_飛膜.GetOP()[0].ps[0] = value; + X0Y1_飛膜.GetOP()[0].ps[1] = X0Y1_飛膜.ToLocal(手.X0Y0_人指_指3.ToGlobal(手.X0Y0_人指_指3.GetOP()[2].ps[1])); } public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_飛膜CP.Update(); } @@ -605,7 +606,7 @@ namespace SlaveMatrix public override void 色更新(Vector2D[] mm) { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_飛膜CP.Update(mm); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛膜_根.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛膜_根.cs index be1732b..0af5bf1 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛膜_根.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛膜_根.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -23,7 +24,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -94,12 +95,12 @@ namespace SlaveMatrix { get { - return X0Y0_飛膜.OP[(!右) ? 3 : 0].Outline; + return X0Y0_飛膜.GetOP()[(!右) ? 3 : 0].Outline; } set { - X0Y0_飛膜.OP[(!右) ? 3 : 0].Outline = value; - X0Y1_飛膜.OP[(!右) ? 10 : 0].Outline = value; + X0Y0_飛膜.GetOP()[(!右) ? 3 : 0].Outline = value; + X0Y1_飛膜.GetOP()[(!右) ? 10 : 0].Outline = value; } } @@ -122,7 +123,7 @@ namespace SlaveMatrix public void 接続(UpperArm_蝙 UpperArm, LowerArm_蝙 LowerArm, 手_蝙 手, Vector2D 接着点) { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { if (右 || 反転X_ || 反転Y_) { @@ -145,107 +146,107 @@ namespace SlaveMatrix private void 通常接続左(UpperArm_蝙 UpperArm, LowerArm_蝙 LowerArm, 手_蝙 手, Vector2D 接着点) { - Vector2D vector2D = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.JP[0].Joint)); - Vector2D vector2D2 = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.OP[3].ps[1])); - X0Y0_飛膜.OP[0].ps[0] = vector2D; - X0Y0_飛膜.OP[0].ps[2] = vector2D2; - X0Y0_飛膜.OP[0].ps[1] = (X0Y0_飛膜.OP[0].ps[0] + X0Y0_飛膜.OP[0].ps[2]) * 0.5; - X0Y0_飛膜.OP[1].ps[0] = X0Y0_飛膜.OP[0].ps[2]; - X0Y0_飛膜.OP[1].ps[2] = X0Y0_飛膜.ToLocal(接着点); - X0Y0_飛膜.OP[1].ps[1] = (X0Y0_飛膜.OP[1].ps[0] + X0Y0_飛膜.OP[1].ps[2]) * 0.5; - X0Y0_飛膜.OP[2].ps[0] = X0Y0_飛膜.OP[1].ps[2]; + Vector2D vector2D = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.GetJP()[0].Joint)); + Vector2D vector2D2 = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.GetOP()[3].ps[1])); + X0Y0_飛膜.GetOP()[0].ps[0] = vector2D; + X0Y0_飛膜.GetOP()[0].ps[2] = vector2D2; + X0Y0_飛膜.GetOP()[0].ps[1] = (X0Y0_飛膜.GetOP()[0].ps[0] + X0Y0_飛膜.GetOP()[0].ps[2]) * 0.5; + X0Y0_飛膜.GetOP()[1].ps[0] = X0Y0_飛膜.GetOP()[0].ps[2]; + X0Y0_飛膜.GetOP()[1].ps[2] = X0Y0_飛膜.ToLocal(接着点); + X0Y0_飛膜.GetOP()[1].ps[1] = (X0Y0_飛膜.GetOP()[1].ps[0] + X0Y0_飛膜.GetOP()[1].ps[2]) * 0.5; + X0Y0_飛膜.GetOP()[2].ps[0] = X0Y0_飛膜.GetOP()[1].ps[2]; if (手 == null) { if (LowerArm == null) { - X0Y0_飛膜.OP[2].ps[2] = vector2D; - X0Y0_飛膜.OP[2].ps[1] = (X0Y0_飛膜.OP[2].ps[0] + X0Y0_飛膜.OP[2].ps[2]) * 0.5; + X0Y0_飛膜.GetOP()[2].ps[2] = vector2D; + X0Y0_飛膜.GetOP()[2].ps[1] = (X0Y0_飛膜.GetOP()[2].ps[0] + X0Y0_飛膜.GetOP()[2].ps[2]) * 0.5; Vector2D vector2D3; - X0Y0_飛膜.OP[2].ps[1] += (vector2D3 = (vector2D2 - X0Y0_飛膜.OP[2].ps[1]) * 0.2); + X0Y0_飛膜.GetOP()[2].ps[1] += (vector2D3 = (vector2D2 - X0Y0_飛膜.GetOP()[2].ps[1]) * 0.2); } else { - X0Y0_飛膜.OP[2].ps[2] = X0Y0_飛膜.ToLocal(LowerArm.X0Y0_獣翼LowerArm.ToGlobal(LowerArm.X0Y0_獣翼LowerArm.JP[0].Joint)); - X0Y0_飛膜.OP[2].ps[1] = (X0Y0_飛膜.OP[2].ps[0] + X0Y0_飛膜.OP[2].ps[2]) * 0.5; + X0Y0_飛膜.GetOP()[2].ps[2] = X0Y0_飛膜.ToLocal(LowerArm.X0Y0_獣翼LowerArm.ToGlobal(LowerArm.X0Y0_獣翼LowerArm.GetJP()[0].Joint)); + X0Y0_飛膜.GetOP()[2].ps[1] = (X0Y0_飛膜.GetOP()[2].ps[0] + X0Y0_飛膜.GetOP()[2].ps[2]) * 0.5; Vector2D vector2D3; - X0Y0_飛膜.OP[2].ps[1] += (vector2D3 = (vector2D - X0Y0_飛膜.OP[2].ps[1]) * 0.2); + X0Y0_飛膜.GetOP()[2].ps[1] += (vector2D3 = (vector2D - X0Y0_飛膜.GetOP()[2].ps[1]) * 0.2); } - X0Y0_飛膜.OP[3].ps[0] = X0Y0_飛膜.OP[2].ps[2]; - X0Y0_飛膜.OP[3].ps[2] = vector2D; - X0Y0_飛膜.OP[3].ps[1] = (X0Y0_飛膜.OP[3].ps[0] + X0Y0_飛膜.OP[3].ps[2]) * 0.5; + X0Y0_飛膜.GetOP()[3].ps[0] = X0Y0_飛膜.GetOP()[2].ps[2]; + X0Y0_飛膜.GetOP()[3].ps[2] = vector2D; + X0Y0_飛膜.GetOP()[3].ps[1] = (X0Y0_飛膜.GetOP()[3].ps[0] + X0Y0_飛膜.GetOP()[3].ps[2]) * 0.5; } else { - X0Y0_飛膜.OP[2].ps[2] = X0Y0_飛膜.ToLocal(手.X0Y0_小指_指3.ToGlobal(手.X0Y0_小指_指3.OP[0].ps[0])); - X0Y0_飛膜.OP[2].ps[1] = (X0Y0_飛膜.OP[2].ps[0] + X0Y0_飛膜.OP[2].ps[2]) * 0.5; + X0Y0_飛膜.GetOP()[2].ps[2] = X0Y0_飛膜.ToLocal(手.X0Y0_小指_指3.ToGlobal(手.X0Y0_小指_指3.GetOP()[0].ps[0])); + X0Y0_飛膜.GetOP()[2].ps[1] = (X0Y0_飛膜.GetOP()[2].ps[0] + X0Y0_飛膜.GetOP()[2].ps[2]) * 0.5; Vector2D vector2D3; - X0Y0_飛膜.OP[2].ps[1] += (vector2D3 = (X0Y0_飛膜.ToLocal(手.X0Y0_小指_指1.Position) - X0Y0_飛膜.OP[2].ps[1]) * 0.1); - X0Y0_飛膜.OP[3].ps[0] = X0Y0_飛膜.OP[2].ps[2]; - X0Y0_飛膜.OP[3].ps[2] = vector2D; - X0Y0_飛膜.OP[3].ps[1] = X0Y0_飛膜.ToLocal(手.X0Y0_小指_指2.Position); + X0Y0_飛膜.GetOP()[2].ps[1] += (vector2D3 = (X0Y0_飛膜.ToLocal(手.X0Y0_小指_指1.GetPosition()) - X0Y0_飛膜.GetOP()[2].ps[1]) * 0.1); + X0Y0_飛膜.GetOP()[3].ps[0] = X0Y0_飛膜.GetOP()[2].ps[2]; + X0Y0_飛膜.GetOP()[3].ps[2] = vector2D; + X0Y0_飛膜.GetOP()[3].ps[1] = X0Y0_飛膜.ToLocal(手.X0Y0_小指_指2.GetPosition()); } } private void 通常接続右(UpperArm_蝙 UpperArm, LowerArm_蝙 LowerArm, 手_蝙 手, Vector2D 接着点) { - Vector2D vector2D = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.JP[0].Joint)); - Vector2D vector2D2 = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.OP[0].ps[4])); - X0Y0_飛膜.OP[3].ps[2] = vector2D; - X0Y0_飛膜.OP[3].ps[0] = vector2D2; - X0Y0_飛膜.OP[3].ps[1] = (X0Y0_飛膜.OP[3].ps[2] + X0Y0_飛膜.OP[3].ps[0]) * 0.5; - X0Y0_飛膜.OP[2].ps[2] = X0Y0_飛膜.OP[3].ps[0]; - X0Y0_飛膜.OP[2].ps[0] = X0Y0_飛膜.ToLocal(接着点); - X0Y0_飛膜.OP[2].ps[1] = (X0Y0_飛膜.OP[2].ps[2] + X0Y0_飛膜.OP[2].ps[0]) * 0.5; - X0Y0_飛膜.OP[1].ps[2] = X0Y0_飛膜.OP[2].ps[0]; + Vector2D vector2D = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.GetJP()[0].Joint)); + Vector2D vector2D2 = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.GetOP()[0].ps[4])); + X0Y0_飛膜.GetOP()[3].ps[2] = vector2D; + X0Y0_飛膜.GetOP()[3].ps[0] = vector2D2; + X0Y0_飛膜.GetOP()[3].ps[1] = (X0Y0_飛膜.GetOP()[3].ps[2] + X0Y0_飛膜.GetOP()[3].ps[0]) * 0.5; + X0Y0_飛膜.GetOP()[2].ps[2] = X0Y0_飛膜.GetOP()[3].ps[0]; + X0Y0_飛膜.GetOP()[2].ps[0] = X0Y0_飛膜.ToLocal(接着点); + X0Y0_飛膜.GetOP()[2].ps[1] = (X0Y0_飛膜.GetOP()[2].ps[2] + X0Y0_飛膜.GetOP()[2].ps[0]) * 0.5; + X0Y0_飛膜.GetOP()[1].ps[2] = X0Y0_飛膜.GetOP()[2].ps[0]; if (手 == null) { if (LowerArm == null) { - X0Y0_飛膜.OP[1].ps[0] = vector2D; - X0Y0_飛膜.OP[1].ps[1] = (X0Y0_飛膜.OP[1].ps[2] + X0Y0_飛膜.OP[1].ps[0]) * 0.5; + X0Y0_飛膜.GetOP()[1].ps[0] = vector2D; + X0Y0_飛膜.GetOP()[1].ps[1] = (X0Y0_飛膜.GetOP()[1].ps[2] + X0Y0_飛膜.GetOP()[1].ps[0]) * 0.5; Vector2D vector2D3; - X0Y0_飛膜.OP[1].ps[1] += (vector2D3 = (vector2D2 - X0Y0_飛膜.OP[1].ps[1]) * 0.2); + X0Y0_飛膜.GetOP()[1].ps[1] += (vector2D3 = (vector2D2 - X0Y0_飛膜.GetOP()[1].ps[1]) * 0.2); } else { - X0Y0_飛膜.OP[1].ps[0] = X0Y0_飛膜.ToLocal(LowerArm.X0Y0_獣翼LowerArm.ToGlobal(LowerArm.X0Y0_獣翼LowerArm.JP[0].Joint)); - X0Y0_飛膜.OP[1].ps[1] = (X0Y0_飛膜.OP[1].ps[2] + X0Y0_飛膜.OP[1].ps[0]) * 0.5; + X0Y0_飛膜.GetOP()[1].ps[0] = X0Y0_飛膜.ToLocal(LowerArm.X0Y0_獣翼LowerArm.ToGlobal(LowerArm.X0Y0_獣翼LowerArm.GetJP()[0].Joint)); + X0Y0_飛膜.GetOP()[1].ps[1] = (X0Y0_飛膜.GetOP()[1].ps[2] + X0Y0_飛膜.GetOP()[1].ps[0]) * 0.5; Vector2D vector2D3; - X0Y0_飛膜.OP[1].ps[1] += (vector2D3 = (vector2D - X0Y0_飛膜.OP[1].ps[1]) * 0.2); + X0Y0_飛膜.GetOP()[1].ps[1] += (vector2D3 = (vector2D - X0Y0_飛膜.GetOP()[1].ps[1]) * 0.2); } - X0Y0_飛膜.OP[0].ps[2] = X0Y0_飛膜.OP[1].ps[0]; - X0Y0_飛膜.OP[0].ps[0] = vector2D; - X0Y0_飛膜.OP[0].ps[1] = (X0Y0_飛膜.OP[0].ps[2] + X0Y0_飛膜.OP[0].ps[0]) * 0.5; + X0Y0_飛膜.GetOP()[0].ps[2] = X0Y0_飛膜.GetOP()[1].ps[0]; + X0Y0_飛膜.GetOP()[0].ps[0] = vector2D; + X0Y0_飛膜.GetOP()[0].ps[1] = (X0Y0_飛膜.GetOP()[0].ps[2] + X0Y0_飛膜.GetOP()[0].ps[0]) * 0.5; } else { - X0Y0_飛膜.OP[1].ps[0] = X0Y0_飛膜.ToLocal(手.X0Y0_小指_指3.ToGlobal(手.X0Y0_小指_指3.OP[2].ps[2])); - X0Y0_飛膜.OP[1].ps[1] = (X0Y0_飛膜.OP[1].ps[2] + X0Y0_飛膜.OP[1].ps[0]) * 0.5; + X0Y0_飛膜.GetOP()[1].ps[0] = X0Y0_飛膜.ToLocal(手.X0Y0_小指_指3.ToGlobal(手.X0Y0_小指_指3.GetOP()[2].ps[2])); + X0Y0_飛膜.GetOP()[1].ps[1] = (X0Y0_飛膜.GetOP()[1].ps[2] + X0Y0_飛膜.GetOP()[1].ps[0]) * 0.5; Vector2D vector2D3; - X0Y0_飛膜.OP[1].ps[1] += (vector2D3 = (X0Y0_飛膜.ToLocal(手.X0Y0_小指_指1.Position) - X0Y0_飛膜.OP[1].ps[1]) * 0.1); - X0Y0_飛膜.OP[0].ps[2] = X0Y0_飛膜.OP[1].ps[0]; - X0Y0_飛膜.OP[0].ps[0] = vector2D; - X0Y0_飛膜.OP[0].ps[1] = X0Y0_飛膜.ToLocal(手.X0Y0_小指_指2.Position); + X0Y0_飛膜.GetOP()[1].ps[1] += (vector2D3 = (X0Y0_飛膜.ToLocal(手.X0Y0_小指_指1.GetPosition()) - X0Y0_飛膜.GetOP()[1].ps[1]) * 0.1); + X0Y0_飛膜.GetOP()[0].ps[2] = X0Y0_飛膜.GetOP()[1].ps[0]; + X0Y0_飛膜.GetOP()[0].ps[0] = vector2D; + X0Y0_飛膜.GetOP()[0].ps[1] = X0Y0_飛膜.ToLocal(手.X0Y0_小指_指2.GetPosition()); } } private void 欠損接続左(UpperArm_蝙 UpperArm, LowerArm_蝙 LowerArm, 手_蝙 手, Vector2D 接着点) { - Vector2D vector2D = X0Y1_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.JP[0].Joint)); - Vector2D value = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.OP[3].ps[1])); - X0Y1_飛膜.OP[0].ps[0] = vector2D; - X0Y1_飛膜.OP[0].ps[2] = value; - X0Y1_飛膜.OP[0].ps[1] = (X0Y1_飛膜.OP[0].ps[0] + X0Y1_飛膜.OP[0].ps[2]) * 0.5; - X0Y1_飛膜.OP[1].ps[0] = X0Y1_飛膜.OP[0].ps[2]; - X0Y1_飛膜.OP[1].ps[2] = X0Y1_飛膜.ToLocal(接着点); - X0Y1_飛膜.OP[1].ps[1] = (X0Y1_飛膜.OP[1].ps[0] + X0Y1_飛膜.OP[1].ps[2]) * 0.5; - Vector2D vector2D2 = X0Y1_飛膜.OP[1].ps[2]; - Vector2D vector2D3 = ((手 != null) ? X0Y1_飛膜.ToLocal(手.X0Y0_小指_指3.ToGlobal(手.X0Y0_小指_指3.OP[0].ps[0])) : ((LowerArm == null) ? vector2D : X0Y1_飛膜.ToLocal(LowerArm.X0Y0_獣翼LowerArm.ToGlobal(LowerArm.X0Y0_獣翼LowerArm.JP[0].Joint)))); + Vector2D vector2D = X0Y1_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.GetJP()[0].Joint)); + Vector2D value = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.GetOP()[3].ps[1])); + X0Y1_飛膜.GetOP()[0].ps[0] = vector2D; + X0Y1_飛膜.GetOP()[0].ps[2] = value; + X0Y1_飛膜.GetOP()[0].ps[1] = (X0Y1_飛膜.GetOP()[0].ps[0] + X0Y1_飛膜.GetOP()[0].ps[2]) * 0.5; + X0Y1_飛膜.GetOP()[1].ps[0] = X0Y1_飛膜.GetOP()[0].ps[2]; + X0Y1_飛膜.GetOP()[1].ps[2] = X0Y1_飛膜.ToLocal(接着点); + X0Y1_飛膜.GetOP()[1].ps[1] = (X0Y1_飛膜.GetOP()[1].ps[0] + X0Y1_飛膜.GetOP()[1].ps[2]) * 0.5; + Vector2D vector2D2 = X0Y1_飛膜.GetOP()[1].ps[2]; + Vector2D vector2D3 = ((手 != null) ? X0Y1_飛膜.ToLocal(手.X0Y0_小指_指3.ToGlobal(手.X0Y0_小指_指3.GetOP()[0].ps[0])) : ((LowerArm == null) ? vector2D : X0Y1_飛膜.ToLocal(LowerArm.X0Y0_獣翼LowerArm.ToGlobal(LowerArm.X0Y0_獣翼LowerArm.GetJP()[0].Joint)))); Vector2D vector2D4 = (vector2D2 + vector2D3) * 0.5; Vector2D v = vector2D2 - vector2D3; double num = v.LengthSquared(); - Vector2D vector2D5 = (X0Y1_飛膜.OP[2].ps[0] + X0Y1_飛膜.OP[9].ps[2]) * 0.5; - Vector2D v2 = X0Y1_飛膜.OP[2].ps[0] - X0Y1_飛膜.OP[9].ps[2]; + Vector2D vector2D5 = (X0Y1_飛膜.GetOP()[2].ps[0] + X0Y1_飛膜.GetOP()[9].ps[2]) * 0.5; + Vector2D v2 = X0Y1_飛膜.GetOP()[2].ps[0] - X0Y1_飛膜.GetOP()[9].ps[2]; double num2 = v2.LengthSquared(); double num3 = v2.Angle02π(Dat.Vec2DUnitX); QuaternionD rotation = num3.RotationZQ(); @@ -256,44 +257,44 @@ namespace SlaveMatrix for (int i = 0; i < 8; i++) { int index = i + 2; - for (int j = 0; j < X0Y1_飛膜.OP[index].ps.Count; j++) + for (int j = 0; j < X0Y1_飛膜.GetOP()[index].ps.Count; j++) { - Vector2D coord = X0Y1_飛膜.OP[index].ps[j].TransformCoordinateBP(vector2D5, rotation); + Vector2D coord = X0Y1_飛膜.GetOP()[index].ps[j].TransformCoordinateBP(vector2D5, rotation); coord.X = coord.X * num4 + num5; - X0Y1_飛膜.OP[index].ps[j] = coord.TransformCoordinateBP(vector2D5, rotation2) + vector2D6; + X0Y1_飛膜.GetOP()[index].ps[j] = coord.TransformCoordinateBP(vector2D5, rotation2) + vector2D6; } } - X0Y1_飛膜.OP[2].ps[0] = vector2D2; - X0Y1_飛膜.OP[9].ps[2] = vector2D3; - X0Y1_飛膜.OP[10].ps[0] = vector2D3; - X0Y1_飛膜.OP[10].ps[2] = vector2D; + X0Y1_飛膜.GetOP()[2].ps[0] = vector2D2; + X0Y1_飛膜.GetOP()[9].ps[2] = vector2D3; + X0Y1_飛膜.GetOP()[10].ps[0] = vector2D3; + X0Y1_飛膜.GetOP()[10].ps[2] = vector2D; if (手 == null) { - X0Y1_飛膜.OP[10].ps[1] = (X0Y1_飛膜.OP[10].ps[0] + X0Y1_飛膜.OP[10].ps[2]) * 0.5; + X0Y1_飛膜.GetOP()[10].ps[1] = (X0Y1_飛膜.GetOP()[10].ps[0] + X0Y1_飛膜.GetOP()[10].ps[2]) * 0.5; } else { - X0Y1_飛膜.OP[10].ps[1] = X0Y0_飛膜.ToLocal(手.X0Y0_小指_指2.Position); + X0Y1_飛膜.GetOP()[10].ps[1] = X0Y0_飛膜.ToLocal(手.X0Y0_小指_指2.GetPosition()); } } private void 欠損接続右(UpperArm_蝙 UpperArm, LowerArm_蝙 LowerArm, 手_蝙 手, Vector2D 接着点) { - Vector2D vector2D = X0Y1_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.JP[0].Joint)); - Vector2D value = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.OP[0].ps[4])); - X0Y1_飛膜.OP[10].ps[2] = vector2D; - X0Y1_飛膜.OP[10].ps[0] = value; - X0Y1_飛膜.OP[10].ps[1] = (X0Y1_飛膜.OP[10].ps[2] + X0Y1_飛膜.OP[10].ps[0]) * 0.5; - X0Y1_飛膜.OP[9].ps[2] = X0Y1_飛膜.OP[10].ps[0]; - X0Y1_飛膜.OP[9].ps[0] = X0Y1_飛膜.ToLocal(接着点); - X0Y1_飛膜.OP[9].ps[1] = (X0Y1_飛膜.OP[9].ps[2] + X0Y1_飛膜.OP[9].ps[0]) * 0.5; - Vector2D vector2D2 = X0Y1_飛膜.OP[9].ps[0]; - Vector2D vector2D3 = ((手 != null) ? X0Y1_飛膜.ToLocal(手.X0Y0_小指_指3.ToGlobal(手.X0Y0_小指_指3.OP[2].ps[2])) : ((LowerArm == null) ? vector2D : X0Y1_飛膜.ToLocal(LowerArm.X0Y0_獣翼LowerArm.ToGlobal(LowerArm.X0Y0_獣翼LowerArm.JP[0].Joint)))); + Vector2D vector2D = X0Y1_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.GetJP()[0].Joint)); + Vector2D value = X0Y0_飛膜.ToLocal(UpperArm.X0Y0_獣翼UpperArm.ToGlobal(UpperArm.X0Y0_獣翼UpperArm.GetOP()[0].ps[4])); + X0Y1_飛膜.GetOP()[10].ps[2] = vector2D; + X0Y1_飛膜.GetOP()[10].ps[0] = value; + X0Y1_飛膜.GetOP()[10].ps[1] = (X0Y1_飛膜.GetOP()[10].ps[2] + X0Y1_飛膜.GetOP()[10].ps[0]) * 0.5; + X0Y1_飛膜.GetOP()[9].ps[2] = X0Y1_飛膜.GetOP()[10].ps[0]; + X0Y1_飛膜.GetOP()[9].ps[0] = X0Y1_飛膜.ToLocal(接着点); + X0Y1_飛膜.GetOP()[9].ps[1] = (X0Y1_飛膜.GetOP()[9].ps[2] + X0Y1_飛膜.GetOP()[9].ps[0]) * 0.5; + Vector2D vector2D2 = X0Y1_飛膜.GetOP()[9].ps[0]; + Vector2D vector2D3 = ((手 != null) ? X0Y1_飛膜.ToLocal(手.X0Y0_小指_指3.ToGlobal(手.X0Y0_小指_指3.GetOP()[2].ps[2])) : ((LowerArm == null) ? vector2D : X0Y1_飛膜.ToLocal(LowerArm.X0Y0_獣翼LowerArm.ToGlobal(LowerArm.X0Y0_獣翼LowerArm.GetJP()[0].Joint)))); Vector2D vector2D4 = (vector2D2 + vector2D3) * 0.5; Vector2D v = vector2D2 - vector2D3; double num = v.LengthSquared(); - Vector2D vector2D5 = (X0Y1_飛膜.OP[8].ps[2] + X0Y1_飛膜.OP[1].ps[0]) * 0.5; - Vector2D v2 = X0Y1_飛膜.OP[8].ps[2] - X0Y1_飛膜.OP[1].ps[0]; + Vector2D vector2D5 = (X0Y1_飛膜.GetOP()[8].ps[2] + X0Y1_飛膜.GetOP()[1].ps[0]) * 0.5; + Vector2D v2 = X0Y1_飛膜.GetOP()[8].ps[2] - X0Y1_飛膜.GetOP()[1].ps[0]; double num2 = v2.LengthSquared(); double num3 = v2.Angle02π(-Dat.Vec2DUnitX); QuaternionD rotation = num3.RotationZQ(); @@ -304,30 +305,30 @@ namespace SlaveMatrix for (int i = 0; i < 8; i++) { int index = 10 - (i + 2); - for (int j = 0; j < X0Y1_飛膜.OP[index].ps.Count; j++) + for (int j = 0; j < X0Y1_飛膜.GetOP()[index].ps.Count; j++) { - Vector2D coord = X0Y1_飛膜.OP[index].ps[j].TransformCoordinateBP(vector2D5, rotation); + Vector2D coord = X0Y1_飛膜.GetOP()[index].ps[j].TransformCoordinateBP(vector2D5, rotation); coord.X = coord.X * num4 + num5; - X0Y1_飛膜.OP[index].ps[j] = coord.TransformCoordinateBP(vector2D5, rotation2) + vector2D6; + X0Y1_飛膜.GetOP()[index].ps[j] = coord.TransformCoordinateBP(vector2D5, rotation2) + vector2D6; } } - X0Y1_飛膜.OP[8].ps[2] = vector2D2; - X0Y1_飛膜.OP[1].ps[0] = vector2D3; - X0Y1_飛膜.OP[0].ps[2] = vector2D3; - X0Y1_飛膜.OP[0].ps[0] = vector2D; + X0Y1_飛膜.GetOP()[8].ps[2] = vector2D2; + X0Y1_飛膜.GetOP()[1].ps[0] = vector2D3; + X0Y1_飛膜.GetOP()[0].ps[2] = vector2D3; + X0Y1_飛膜.GetOP()[0].ps[0] = vector2D; if (手 == null) { - X0Y1_飛膜.OP[0].ps[1] = (X0Y1_飛膜.OP[0].ps[2] + X0Y1_飛膜.OP[0].ps[0]) * 0.5; + X0Y1_飛膜.GetOP()[0].ps[1] = (X0Y1_飛膜.GetOP()[0].ps[2] + X0Y1_飛膜.GetOP()[0].ps[0]) * 0.5; } else { - X0Y1_飛膜.OP[0].ps[1] = X0Y0_飛膜.ToLocal(手.X0Y0_小指_指2.Position); + X0Y1_飛膜.GetOP()[0].ps[1] = X0Y0_飛膜.ToLocal(手.X0Y0_小指_指2.GetPosition()); } } public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_飛膜CP.Update(); } @@ -339,7 +340,7 @@ namespace SlaveMatrix public override void 色更新(Vector2D[] mm) { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_飛膜CP.Update(mm); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鯨色更新.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鯨色更新.cs index 39e94af..f130bc5 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鯨色更新.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鯨色更新.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭.cs index e58bb5f..b5fffba 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 鰭 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_豚.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_豚.cs index e082010..b477eca 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_豚.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_豚.cs @@ -136,7 +136,7 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_鰭.AngleBase = num * -20.0; + X0Y0_鰭.SetAngleBase(num * -20.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_豚D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_豚D.cs index 8e0ca44..cb978af 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_豚D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_豚D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_魚.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_魚.cs index 0543607..a3ed3bb 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_魚.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_魚.cs @@ -53,7 +53,7 @@ namespace SlaveMatrix set { 欠損_ = value; - Body.IndexY = (欠損_ ? 1 : 0); + Body.SetIndexY((欠損_ ? 1 : 0)); } } @@ -243,20 +243,20 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_鰭2_鰭膜.AngleBase = num * -25.0; - X0Y0_鰭2_鰭条.AngleBase = 0.0; - X0Y0_鰭1_鰭膜.AngleBase = 0.0; - X0Y0_鰭1_鰭条.AngleBase = 0.0; - X0Y1_鰭2_鰭膜.AngleBase = num * -25.0; - X0Y1_鰭2_鰭条.AngleBase = 0.0; - X0Y1_鰭1_鰭膜.AngleBase = 0.0; - X0Y1_鰭1_鰭条.AngleBase = 0.0; + X0Y0_鰭2_鰭膜.SetAngleBase(num * -25.0); + X0Y0_鰭2_鰭条.SetAngleBase(0.0); + X0Y0_鰭1_鰭膜.SetAngleBase(0.0); + X0Y0_鰭1_鰭条.SetAngleBase(0.0); + X0Y1_鰭2_鰭膜.SetAngleBase(num * -25.0); + X0Y1_鰭2_鰭条.SetAngleBase(0.0); + X0Y1_鰭1_鰭膜.SetAngleBase(0.0); + X0Y1_鰭1_鰭条.SetAngleBase(0.0); Body.JoinPAall(); } public override void 色更新() { - if (Body.IndexY == 0) + if (Body.GetIndexY() == 0) { X0Y0_鰭2_鰭膜CP.Update(); X0Y0_鰭2_鰭条CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_魚D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_魚D.cs index 10d9cba..5e9e8ef 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_魚D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_魚D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_鯨.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_鯨.cs index da52cd7..2a9eb1b 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_鯨.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_鯨.cs @@ -136,7 +136,7 @@ namespace SlaveMatrix public override void SetAngle0() { double num = (右 ? (-1.0) : 1.0); - X0Y0_鰭.AngleBase = num * -29.0; + X0Y0_鰭.SetAngleBase(num * -29.0); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_鯨D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_鯨D.cs index d3eab27..1874e59 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_鯨D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_鯨D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鳳凰.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鳳凰.cs index 0ed27a9..7229dd7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鳳凰.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鳳凰.cs @@ -1659,27 +1659,27 @@ namespace SlaveMatrix { _ = 右; double maxAngle = 25.0; - X0Y0_羽_羽.AngleBase = maxAngle.GetRanAngle(); - X0Y0_羽2_羽.AngleBase = maxAngle.GetRanAngle(); - X0Y0_羽3_羽.AngleBase = maxAngle.GetRanAngle(); - X0Y0_羽4_羽.AngleBase = maxAngle.GetRanAngle(); - X0Y0_羽5_羽.AngleBase = maxAngle.GetRanAngle(); - X0Y0_羽6_羽.AngleBase = maxAngle.GetRanAngle(); - X0Y0_羽7_羽.AngleBase = maxAngle.GetRanAngle(); - X0Y0_羽8_羽.AngleBase = maxAngle.GetRanAngle(); - X0Y0_羽9_羽.AngleBase = maxAngle.GetRanAngle(); - X0Y0_羽10_羽.AngleBase = maxAngle.GetRanAngle(); - X0Y0_羽11_羽.AngleBase = maxAngle.GetRanAngle(); - X0Y0_羽12_羽.AngleBase = maxAngle.GetRanAngle(); - X0Y0_羽13_羽.AngleBase = maxAngle.GetRanAngle(); - X0Y0_羽14_羽.AngleBase = maxAngle.GetRanAngle(); - X0Y0_羽15_羽.AngleBase = maxAngle.GetRanAngle(); - X0Y0_羽16_羽.AngleBase = maxAngle.GetRanAngle(); - X0Y0_羽17_羽.AngleBase = maxAngle.GetRanAngle(); - X0Y0_羽18_羽.AngleBase = maxAngle.GetRanAngle(); - X0Y0_羽19_羽.AngleBase = maxAngle.GetRanAngle(); - X0Y0_羽20_羽.AngleBase = maxAngle.GetRanAngle(); - X0Y0_羽21_羽.AngleBase = maxAngle.GetRanAngle(); + X0Y0_羽_羽.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_羽2_羽.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_羽3_羽.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_羽4_羽.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_羽5_羽.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_羽6_羽.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_羽7_羽.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_羽8_羽.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_羽9_羽.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_羽10_羽.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_羽11_羽.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_羽12_羽.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_羽13_羽.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_羽14_羽.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_羽15_羽.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_羽16_羽.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_羽17_羽.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_羽18_羽.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_羽19_羽.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_羽20_羽.SetAngleBase(maxAngle.GetRanAngle()); + X0Y0_羽21_羽.SetAngleBase(maxAngle.GetRanAngle()); Body.JoinPAall(); } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鳳凰D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鳳凰D.cs index dcbce55..75127c7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鳳凰D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鳳凰D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻.cs index 46bf50d..da39ba4 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 鼻 : Ele diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻_人.cs index 36197bd..9e0cb80 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻_人.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻_人.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻_人D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻_人D.cs index b7aa21d..b4c0eb3 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻_人D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻_人D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻_獣.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻_獣.cs index a205fed..c71b852 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻_獣.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻_獣.cs @@ -1,5 +1,6 @@ using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻_獣D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻_獣D.cs index 7ba2f25..b63f2f7 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻_獣D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻_獣D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻水.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻水.cs index b529592..1aabeb8 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻水.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻水.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -179,7 +180,7 @@ namespace SlaveMatrix public override void 色更新() { - switch (Body.IndexY) + switch (Body.GetIndexY()) { case 0: X0Y0_鼻水CP.Update(); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻水D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻水D.cs index 7d499fc..d0efd42 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻水D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻水D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻肌.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻肌.cs index eaa0863..91fa15a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻肌.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻肌.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻肌D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻肌D.cs index 4e05e8f..dbfb82d 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻肌D.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻肌D.cs @@ -1,5 +1,6 @@ using System; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/GameClasses/Body.cs b/SlaveMatrix/SlaveMatrix/GameClasses/Body.cs index ebe29ba..6d1fffc 100644 --- a/SlaveMatrix/SlaveMatrix/GameClasses/Body.cs +++ b/SlaveMatrix/SlaveMatrix/GameClasses/Body.cs @@ -4,6 +4,7 @@ using System.Drawing; using System.Linq; using System.Reflection; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -991,7 +992,7 @@ namespace SlaveMatrix get { Chest.接続P(); - return Chest.X0Y0_胸郭.ToGlobal((Chest.X0Y0_胸郭.OP[8].ps[2] + Chest.X0Y0_胸郭.OP[2].ps[2]) * 0.5); + return Chest.X0Y0_胸郭.ToGlobal((Chest.X0Y0_胸郭.GetOP()[8].ps[2] + Chest.X0Y0_胸郭.GetOP()[2].ps[2]) * 0.5); } } @@ -1018,9 +1019,9 @@ namespace SlaveMatrix { get { - Par par = 性器.Body.Current.EnumAllPar().First((Par e) => e.Tag == "陰核"); + Par par = 性器.Body.GetCurrent().EnumAllPar().First((Par e) => e.Tag == "陰核"); 性器.接続PA(); - return par.ToGlobal(par.BasePointBase.AddY(-0.003)); + return par.ToGlobal(par.GetBasePointBase().AddY(-0.003)); } } @@ -1028,9 +1029,9 @@ namespace SlaveMatrix { get { - Par par = 乳房左.Body.Current.EnumAllPar().First((Par e) => e.Tag == "乳首"); + Par par = 乳房左.Body.GetCurrent().EnumAllPar().First((Par e) => e.Tag == "乳首"); 乳房左.接続PA(); - return par.ToGlobal(par.BasePointBase); + return par.ToGlobal(par.GetBasePointBase()); } } @@ -1038,9 +1039,9 @@ namespace SlaveMatrix { get { - Par par = 乳房右.Body.Current.EnumAllPar().First((Par e) => e.Tag == "乳首"); + Par par = 乳房右.Body.GetCurrent().EnumAllPar().First((Par e) => e.Tag == "乳首"); 乳房右.接続PA(); - return par.ToGlobal(par.BasePointBase); + return par.ToGlobal(par.GetBasePointBase()); } } @@ -1048,9 +1049,9 @@ namespace SlaveMatrix { get { - Par par = 性器.Body.Current.EnumAllPar().First((Par e) => e.Tag == "尿道"); + Par par = 性器.Body.GetCurrent().EnumAllPar().First((Par e) => e.Tag == "尿道"); 性器.接続PA(); - return par.ToGlobal(par.BasePointBase); + return par.ToGlobal(par.GetBasePointBase()); } } @@ -1058,9 +1059,9 @@ namespace SlaveMatrix { get { - Par par = 性器.Body.Current.EnumAllPar().First((Par e) => e.Tag == "膣口"); + Par par = 性器.Body.GetCurrent().EnumAllPar().First((Par e) => e.Tag == "膣口"); 性器.接続PA(); - return par.Position; + return par.GetPosition(); } } @@ -1078,7 +1079,7 @@ namespace SlaveMatrix get { 蜘尾.接続PA(); - return 蜘尾.X0Y0_出糸突起後_出糸突起基.Position; + return 蜘尾.X0Y0_出糸突起後_出糸突起基.GetPosition(); } } @@ -1311,19 +1312,19 @@ namespace SlaveMatrix double sizeCont = 1.0 + 0.1 * value; if (Is獣) { - 性器_獣.X0Y0_陰核.SizeCont = sizeCont; - 性器_獣.X0Y1_陰核.SizeCont = sizeCont; - 性器_獣.X0Y2_陰核.SizeCont = sizeCont; - 性器_獣.X0Y3_陰核.SizeCont = sizeCont; - 性器_獣.X0Y4_陰核.SizeCont = sizeCont; + 性器_獣.X0Y0_陰核.SetSizeCont(sizeCont); + 性器_獣.X0Y1_陰核.SetSizeCont(sizeCont); + 性器_獣.X0Y2_陰核.SetSizeCont(sizeCont); + 性器_獣.X0Y3_陰核.SetSizeCont(sizeCont); + 性器_獣.X0Y4_陰核.SetSizeCont(sizeCont); } else { - 性器_人.X0Y0_陰核.SizeCont = sizeCont; - 性器_人.X0Y1_陰核.SizeCont = sizeCont; - 性器_人.X0Y2_陰核.SizeCont = sizeCont; - 性器_人.X0Y3_陰核.SizeCont = sizeCont; - 性器_人.X0Y4_陰核.SizeCont = sizeCont; + 性器_人.X0Y0_陰核.SetSizeCont(sizeCont); + 性器_人.X0Y1_陰核.SetSizeCont(sizeCont); + 性器_人.X0Y2_陰核.SetSizeCont(sizeCont); + 性器_人.X0Y3_陰核.SetSizeCont(sizeCont); + 性器_人.X0Y4_陰核.SetSizeCont(sizeCont); } } } @@ -1339,16 +1340,16 @@ namespace SlaveMatrix 下着乳首左.乳首CD.不透明度 = value; 下着乳首右.乳首CD.不透明度 = value; double sizeCont = 1.0 + 0.1 * value; - 乳房左.X0Y0_乳首.SizeCont = sizeCont; - 乳房左.X0Y1_乳首.SizeCont = sizeCont; - 乳房左.X0Y2_乳首.SizeCont = sizeCont; - 乳房左.X0Y3_乳首.SizeCont = sizeCont; - 乳房左.X0Y4_乳首.SizeCont = sizeCont; - 乳房右.X0Y0_乳首.SizeCont = sizeCont; - 乳房右.X0Y1_乳首.SizeCont = sizeCont; - 乳房右.X0Y2_乳首.SizeCont = sizeCont; - 乳房右.X0Y3_乳首.SizeCont = sizeCont; - 乳房右.X0Y4_乳首.SizeCont = sizeCont; + 乳房左.X0Y0_乳首.SetSizeCont(sizeCont); + 乳房左.X0Y1_乳首.SetSizeCont(sizeCont); + 乳房左.X0Y2_乳首.SetSizeCont(sizeCont); + 乳房左.X0Y3_乳首.SetSizeCont(sizeCont); + 乳房左.X0Y4_乳首.SetSizeCont(sizeCont); + 乳房右.X0Y0_乳首.SetSizeCont(sizeCont); + 乳房右.X0Y1_乳首.SetSizeCont(sizeCont); + 乳房右.X0Y2_乳首.SetSizeCont(sizeCont); + 乳房右.X0Y3_乳首.SetSizeCont(sizeCont); + 乳房右.X0Y4_乳首.SetSizeCont(sizeCont); } } @@ -1400,19 +1401,19 @@ namespace SlaveMatrix double num = -0.003; if (Is獣) { - 断面_獣.X0Y0_子宮.BasePointCont = Dat.Vec2DUnitY * num * 子宮下がり_; - 断面_獣.X0Y1_子宮.BasePointCont = Dat.Vec2DUnitY * num * 子宮下がり_; - 断面_獣.X0Y2_子宮.BasePointCont = Dat.Vec2DUnitY * num * 子宮下がり_; - 断面_獣.X0Y3_子宮.BasePointCont = Dat.Vec2DUnitY * num * 子宮下がり_; - 断面_獣.X0Y4_子宮.BasePointCont = Dat.Vec2DUnitY * num * 子宮下がり_; + 断面_獣.X0Y0_子宮.SetBasePointCont(Dat.Vec2DUnitY * num * 子宮下がり_); + 断面_獣.X0Y1_子宮.SetBasePointCont(Dat.Vec2DUnitY * num * 子宮下がり_); + 断面_獣.X0Y2_子宮.SetBasePointCont(Dat.Vec2DUnitY * num * 子宮下がり_); + 断面_獣.X0Y3_子宮.SetBasePointCont(Dat.Vec2DUnitY * num * 子宮下がり_); + 断面_獣.X0Y4_子宮.SetBasePointCont(Dat.Vec2DUnitY * num * 子宮下がり_); } else { - 断面_人.X0Y0_子宮.BasePointCont = Dat.Vec2DUnitY * num * 子宮下がり_; - 断面_人.X0Y1_子宮.BasePointCont = Dat.Vec2DUnitY * num * 子宮下がり_; - 断面_人.X0Y2_子宮.BasePointCont = Dat.Vec2DUnitY * num * 子宮下がり_; - 断面_人.X0Y3_子宮.BasePointCont = Dat.Vec2DUnitY * num * 子宮下がり_; - 断面_人.X0Y4_子宮.BasePointCont = Dat.Vec2DUnitY * num * 子宮下がり_; + 断面_人.X0Y0_子宮.SetBasePointCont(Dat.Vec2DUnitY * num * 子宮下がり_); + 断面_人.X0Y1_子宮.SetBasePointCont(Dat.Vec2DUnitY * num * 子宮下がり_); + 断面_人.X0Y2_子宮.SetBasePointCont(Dat.Vec2DUnitY * num * 子宮下がり_); + 断面_人.X0Y3_子宮.SetBasePointCont(Dat.Vec2DUnitY * num * 子宮下がり_); + 断面_人.X0Y4_子宮.SetBasePointCont(Dat.Vec2DUnitY * num * 子宮下がり_); } } } @@ -1431,15 +1432,15 @@ namespace SlaveMatrix double num3 = 2.0; if (Is獣) { - 肛門_獣.X0Y0_肛門1.SizeYBase = 肛門y + num * 肛門開き_; - 肛門_獣.X0Y0_肛門1.SizeBase = 肛門v + num2 * 肛門開き_; - 肛門_獣.X0Y0_肛門2.SizeBase = 肛門v + num3 * 肛門開き_; + 肛門_獣.X0Y0_肛門1.SetSizeYBase(肛門y + num * 肛門開き_); + 肛門_獣.X0Y0_肛門1.SetSizeBase(肛門v + num2 * 肛門開き_); + 肛門_獣.X0Y0_肛門2.SetSizeBase(肛門v + num3 * 肛門開き_); } else { - 肛門_人.X0Y0_肛門1.SizeYBase = 肛門y + num * 肛門開き_; - 肛門_人.X0Y0_肛門1.SizeBase = 肛門v + num2 * 肛門開き_; - 肛門_人.X0Y0_肛門2.SizeBase = 肛門v + num3 * 肛門開き_; + 肛門_人.X0Y0_肛門1.SetSizeYBase(肛門y + num * 肛門開き_); + 肛門_人.X0Y0_肛門1.SetSizeBase(肛門v + num2 * 肛門開き_); + 肛門_人.X0Y0_肛門2.SetSizeBase(肛門v + num3 * 肛門開き_); } } } @@ -1450,13 +1451,13 @@ namespace SlaveMatrix { if (Is獣) { - 肛門_獣.X0Y0_肛門1.SizeCont = value; - 肛門_獣.X0Y0_肛門1.SizeCont = value; + 肛門_獣.X0Y0_肛門1.SetSizeCont(value); + 肛門_獣.X0Y0_肛門1.SetSizeCont(value); } else { - 肛門_人.X0Y0_肛門1.SizeCont = value; - 肛門_人.X0Y0_肛門1.SizeCont = value; + 肛門_人.X0Y0_肛門1.SetSizeCont(value); + 肛門_人.X0Y0_肛門1.SetSizeCont(value); } } } @@ -1467,11 +1468,11 @@ namespace SlaveMatrix { if (Is獣) { - 性器_獣.X0Y0_膣口.SizeCont = value; + 性器_獣.X0Y0_膣口.SetSizeCont(value); } else { - 性器_人.X0Y0_膣口.SizeCont = value; + 性器_人.X0Y0_膣口.SetSizeCont(value); } } } @@ -1482,18 +1483,18 @@ namespace SlaveMatrix { if (value != 0.0) { - 蜘尾.X0Y0_出糸突起後_出糸突起中.SizeYCont = 0.8 + 0.2 * RNG.XS.NextDouble(); + 蜘尾.X0Y0_出糸突起後_出糸突起中.SetSizeYCont(0.8 + 0.2 * RNG.XS.NextDouble()); } else { - 蜘尾.X0Y0_出糸突起後_出糸突起中.SizeYCont = 1.0; + 蜘尾.X0Y0_出糸突起後_出糸突起中.SetSizeYCont(1.0); } - 蜘尾.X0Y0_出糸突起後_出糸突起左.AngleCont = value * RNG.XS.NextDouble(); - 蜘尾.X0Y0_出糸突起後_出糸突起右.AngleCont = (0.0 - value) * RNG.XS.NextDouble(); - 蜘尾.X0Y0_出糸突起左_出糸突起1.AngleCont = value * RNG.XS.NextDouble(); - 蜘尾.X0Y0_出糸突起右_出糸突起1.AngleCont = (0.0 - value) * RNG.XS.NextDouble(); - 蜘尾.X0Y0_出糸突起前_出糸突起左.AngleCont = value * RNG.XS.NextDouble(); - 蜘尾.X0Y0_出糸突起前_出糸突起右.AngleCont = (0.0 - value) * RNG.XS.NextDouble(); + 蜘尾.X0Y0_出糸突起後_出糸突起左.SetAngleCont(value * RNG.XS.NextDouble()); + 蜘尾.X0Y0_出糸突起後_出糸突起右.SetAngleCont((0.0 - value) * RNG.XS.NextDouble()); + 蜘尾.X0Y0_出糸突起左_出糸突起1.SetAngleCont(value * RNG.XS.NextDouble()); + 蜘尾.X0Y0_出糸突起右_出糸突起1.SetAngleCont((0.0 - value) * RNG.XS.NextDouble()); + 蜘尾.X0Y0_出糸突起前_出糸突起左.SetAngleCont(value * RNG.XS.NextDouble()); + 蜘尾.X0Y0_出糸突起前_出糸突起右.SetAngleCont((0.0 - value) * RNG.XS.NextDouble()); if (Is髪 && EI髪.ElesH.Contains(蜘尾)) { EI髪.Updatef = true; @@ -1594,19 +1595,19 @@ namespace SlaveMatrix 腰肌_人.Yv = value; 下着B_ノーマル.Yv = value; 下着B_マイクロ.Yv = value; - 性器_人.Body.SizeYCont = 0.65 + Waist.Yv * 0.35; + 性器_人.Body.SetSizeYCont(0.65 + Waist.Yv * 0.35); foreach (Par item in 性器_人.Body.EnumJoinRoot) { - item.PositionCont = Dat.Vec2DUnitY * (Waist.Yv * 0.001 + 0.001); + item.SetPositionCont(Dat.Vec2DUnitY * (Waist.Yv * 0.001 + 0.001)); } - 肛門_人.Body.SizeYCont = 0.65 + Waist.Yv * 0.35; + 肛門_人.Body.SetSizeYCont(0.65 + Waist.Yv * 0.35); foreach (Par item2 in 上着B_クロス.Body.EnumJoinRoot) { - item2.PositionCont = Dat.Vec2DUnitY * (Waist.Yv * 0.003); + item2.SetPositionCont(Dat.Vec2DUnitY * (Waist.Yv * 0.003)); } foreach (Par item3 in 上着B_前掛け.Body.EnumJoinRoot) { - item3.PositionCont = Dat.Vec2DUnitY * (Waist.Yv * 0.003); + item3.SetPositionCont(Dat.Vec2DUnitY * (Waist.Yv * 0.003)); } 腰振り_人(); } @@ -1624,19 +1625,19 @@ namespace SlaveMatrix 腰肌_人.Yi = value; 下着B_ノーマル.Yi = value; 下着B_マイクロ.Yi = value; - 性器_人.Body.SizeYCont = 0.65 + Waist.Yv * 0.35; + 性器_人.Body.SetSizeYCont(0.65 + Waist.Yv * 0.35); foreach (Par item in 性器_人.Body.EnumJoinRoot) { - item.PositionCont = Dat.Vec2DUnitY * (Waist.Yv * 0.001 + 0.001); + item.SetPositionCont(Dat.Vec2DUnitY * (Waist.Yv * 0.001 + 0.001)); } - 肛門_人.Body.SizeYCont = 0.65 + Waist.Yv * 0.35; + 肛門_人.Body.SetSizeYCont(0.65 + Waist.Yv * 0.35); foreach (Par item2 in 上着B_クロス.Body.EnumJoinRoot) { - item2.PositionCont = Dat.Vec2DUnitY * (Waist.Yv * 0.003); + item2.SetPositionCont(Dat.Vec2DUnitY * (Waist.Yv * 0.003)); } foreach (Par item3 in 上着B_前掛け.Body.EnumJoinRoot) { - item3.PositionCont = Dat.Vec2DUnitY * (Waist.Yv * 0.003); + item3.SetPositionCont(Dat.Vec2DUnitY * (Waist.Yv * 0.003)); } 腰振り_人(); } @@ -1652,12 +1653,12 @@ namespace SlaveMatrix { Waist_獣.Yv = value; 腰肌_獣.Yv = value; - 性器_獣.Body.SizeYCont = 0.65 + Waist_獣.Yv * 0.35; + 性器_獣.Body.SetSizeYCont(0.65 + Waist_獣.Yv * 0.35); foreach (Par item in 性器_獣.Body.EnumJoinRoot) { - item.PositionCont = Dat.Vec2DUnitY * (Waist_獣.Yv * 0.001 + 0.001); + item.SetPositionCont(Dat.Vec2DUnitY * (Waist_獣.Yv * 0.001 + 0.001)); } - 肛門_獣.Body.SizeYCont = 0.65 + Waist_獣.Yv * 0.35; + 肛門_獣.Body.SetSizeYCont(0.65 + Waist_獣.Yv * 0.35); 腰振り_獣(); } } @@ -1672,12 +1673,12 @@ namespace SlaveMatrix { Waist_獣.Yi = value; 腰肌_獣.Yi = value; - 性器_獣.Body.SizeYCont = 0.65 + Waist_獣.Yv * 0.35; + 性器_獣.Body.SetSizeYCont(0.65 + Waist_獣.Yv * 0.35); foreach (Par item in 性器_獣.Body.EnumJoinRoot) { - item.PositionCont = Dat.Vec2DUnitY * (Waist_獣.Yv * 0.001 + 0.001); + item.SetPositionCont(Dat.Vec2DUnitY * (Waist_獣.Yv * 0.001 + 0.001)); } - 肛門_獣.Body.SizeYCont = 0.65 + Waist_獣.Yv * 0.35; + 肛門_獣.Body.SetSizeYCont(0.65 + Waist_獣.Yv * 0.35); 腰振り_獣(); } } @@ -2021,8 +2022,8 @@ namespace SlaveMatrix ボテ腹_人.Yv = value; ボテ腹板_人.Yv = value; } - 上着B_前掛け.X0Y0_帯.SizeXCont = 1.0 + 0.1 * ボテ腹v; - 上着B_前掛け.X0Y1_帯.SizeXCont = 上着B_前掛け.X0Y0_帯.SizeXCont; + 上着B_前掛け.X0Y0_帯.SetSizeXCont(1.0 + 0.1 * ボテ腹v); + 上着B_前掛け.X0Y1_帯.SetSizeXCont(上着B_前掛け.X0Y0_帯.GetSizeXCont()); } } @@ -2047,8 +2048,8 @@ namespace SlaveMatrix ボテ腹_人.Yi = value; ボテ腹板_人.Yi = value; } - 上着B_前掛け.X0Y0_帯.SizeXCont = 1.0 + 0.1 * ボテ腹v; - 上着B_前掛け.X0Y1_帯.SizeXCont = 上着B_前掛け.X0Y0_帯.SizeXCont; + 上着B_前掛け.X0Y0_帯.SetSizeXCont(1.0 + 0.1 * ボテ腹v); + 上着B_前掛け.X0Y1_帯.SetSizeXCont(上着B_前掛け.X0Y0_帯.GetSizeXCont()); } } @@ -2292,18 +2293,18 @@ namespace SlaveMatrix if (ele4 is 触手_蔦) { 触手_蔦 obj = (触手_蔦)ele4; - obj.X0Y0_先端_上顎_顎.AngleBase = 0.0; - obj.X0Y0_先端_下顎_顎.AngleBase = 0.0; + obj.X0Y0_先端_上顎_顎.SetAngleBase(0.0); + obj.X0Y0_先端_下顎_顎.SetAngleBase(0.0); } else if (ele4 is 触手_犬) { 触手_犬 obj2 = (触手_犬)ele4; - obj2.X0Y0_頭_上顎_眼下_眼下.AngleBase = 0.0; - obj2.X0Y0_頭_下顎_眼下_眼下.AngleBase = 0.0; + obj2.X0Y0_頭_上顎_眼下_眼下.SetAngleBase(0.0); + obj2.X0Y0_頭_下顎_眼下_眼下.SetAngleBase(0.0); } else if (ele4 is 触肢_肢蠍) { - ((触肢_肢蠍)ele4).X0Y0_爪2.AngleBase = 0.0; + ((触肢_肢蠍)ele4).X0Y0_爪2.SetAngleBase(0.0); } else if (ele4 is 虫鎌) { @@ -3028,7 +3029,7 @@ namespace SlaveMatrix sk.Add(脚.キスマーク); 脚.鞭痕 = new スタンプW(Med, Are, Cha, bod, wd, 脚); sw.Add(脚.鞭痕); - if (!人腿.X0Y0_腿.OP[0].Outline) + if (!人腿.X0Y0_腿.GetOP()[0].Outline) { 人腿.腿0CD.c2.Col2 = 脚.LegCD.c2.Col1; 人腿.腿1CD.c2.Col2 = 脚.LegCD.c2.Col1; @@ -3151,7 +3152,7 @@ namespace SlaveMatrix LowerArm.手_接続.SetEle(delegate(手_蝙 手) { 腕翼獣.手 = 手; - UpperArm.接着 = () => bod.Waist.X0Y0_Waist.ToGlobal(bod.Waist.X0Y0_Waist.BasePointBase); + UpperArm.接着 = () => bod.Waist.X0Y0_Waist.ToGlobal(bod.Waist.X0Y0_Waist.GetBasePointBase()); bod.蝙通常.Add(new 蝙通常(UpperArm, LowerArm, 手)); }); }); @@ -3214,7 +3215,7 @@ namespace SlaveMatrix 手.手CD.c2 = LowerArm.獣性1_獣腕CD.c2; 手.親指_親指1CD.c2 = 手.手CD.c2; } - else if (手.X0Y0_手.OP[6].Outline) + else if (手.X0Y0_手.GetOP()[6].Outline) { 手.手CD.c2 = LowerArm.虫性1_虫腕上CD.c2; 手.親指_親指1CD.c2 = 手.手CD.c2; @@ -3227,7 +3228,7 @@ namespace SlaveMatrix UpperArm.UpperArmCD.c2.Col2 = LowerArm.LowerArmCD.c2.Col1; UpperArm.筋肉上CD.c2.Col2 = LowerArm.LowerArmCD.c2.Col1; UpperArm.筋肉下CD.c2.Col2 = LowerArm.LowerArmCD.c2.Col1; - LowerArm.X0Y0_LowerArm.OP[6].Outline = true; + LowerArm.X0Y0_LowerArm.GetOP()[6].Outline = true; }); }); Arm人右.Add(腕人); @@ -3266,31 +3267,31 @@ namespace SlaveMatrix pp = 翼獣.UpperArm.Par.Par; if (p is 基髪) { - 翼獣.UpperArm.接着 = () => bod.頭.X0Y0_Head.ToGlobal(bod.頭.X0Y0_Head.BasePointBase); + 翼獣.UpperArm.接着 = () => bod.頭.X0Y0_Head.ToGlobal(bod.頭.X0Y0_Head.GetBasePointBase()); } else if (p is Chest) { - 翼獣.UpperArm.接着 = () => bod.Torso.X0Y0_Torso.ToGlobal(bod.Torso.X0Y0_Torso.BasePointBase); + 翼獣.UpperArm.接着 = () => bod.Torso.X0Y0_Torso.ToGlobal(bod.Torso.X0Y0_Torso.GetBasePointBase()); } else if (p is Torso || p is Waist) { - 翼獣.UpperArm.接着 = () => bod.Waist.X0Y0_Waist.ToGlobal(bod.Waist.X0Y0_Waist.JP[4].Joint); + 翼獣.UpperArm.接着 = () => bod.Waist.X0Y0_Waist.ToGlobal(bod.Waist.X0Y0_Waist.GetJP()[4].Joint); } else if (p is 四足胸) { - 翼獣.UpperArm.接着 = () => bod.Torso_獣.X0Y0_Torso.ToGlobal(bod.Torso_獣.X0Y0_Torso.BasePointBase); + 翼獣.UpperArm.接着 = () => bod.Torso_獣.X0Y0_Torso.ToGlobal(bod.Torso_獣.X0Y0_Torso.GetBasePointBase()); } else if ((p is 四足胴 || p is 四足腰) && (翼獣.UpperArm.ConnectionType == ConnectionInfo.四足腰_翼左_接続 || 翼獣.UpperArm.ConnectionType == ConnectionInfo.四足腰_翼右_接続)) { - 翼獣.UpperArm.接着 = () => bod.Waist_獣.X0Y0_Waist.ToGlobal(bod.Waist.X0Y0_Waist.JP[4].Joint); + 翼獣.UpperArm.接着 = () => bod.Waist_獣.X0Y0_Waist.ToGlobal(bod.Waist.X0Y0_Waist.GetJP()[4].Joint); } else if (pp != null && pp is Chest) { - 翼獣.UpperArm.接着 = () => bod.Waist.X0Y0_Waist.ToGlobal(bod.Waist.X0Y0_Waist.BasePointBase); + 翼獣.UpperArm.接着 = () => bod.Waist.X0Y0_Waist.ToGlobal(bod.Waist.X0Y0_Waist.GetBasePointBase()); } else if (pp != null && pp is 四足胸) { - 翼獣.UpperArm.接着 = () => bod.Waist_獣.X0Y0_Waist.ToGlobal(bod.Waist_獣.X0Y0_Waist.BasePointBase); + 翼獣.UpperArm.接着 = () => bod.Waist_獣.X0Y0_Waist.ToGlobal(bod.Waist_獣.X0Y0_Waist.GetBasePointBase()); } else { @@ -3421,7 +3422,7 @@ namespace SlaveMatrix sk.Add(脚.キスマーク); 脚.鞭痕 = new スタンプW(Med, Are, Cha, bod, wd, 脚); sw.Add(脚.鞭痕); - if (!人腿.X0Y0_腿.OP[4].Outline) + if (!人腿.X0Y0_腿.GetOP()[4].Outline) { 人腿.腿0CD.c2.Col2 = 脚.LegCD.c2.Col1; 人腿.腿1CD.c2.Col2 = 脚.LegCD.c2.Col1; @@ -3544,7 +3545,7 @@ namespace SlaveMatrix LowerArm.手_接続.SetEle(delegate(手_蝙 手) { 腕翼獣.手 = 手; - UpperArm.接着 = () => bod.Waist.X0Y0_Waist.ToGlobal(bod.Waist.X0Y0_Waist.BasePointBase); + UpperArm.接着 = () => bod.Waist.X0Y0_Waist.ToGlobal(bod.Waist.X0Y0_Waist.GetBasePointBase()); bod.蝙通常.Add(new 蝙通常(UpperArm, LowerArm, 手)); }); }); @@ -3607,7 +3608,7 @@ namespace SlaveMatrix 手.手CD.c2 = LowerArm.獣性1_獣腕CD.c2; 手.親指_親指1CD.c2 = 手.手CD.c2; } - else if (手.X0Y0_手.OP[0].Outline) + else if (手.X0Y0_手.GetOP()[0].Outline) { 手.手CD.c2 = LowerArm.虫性1_虫腕上CD.c2; 手.親指_親指1CD.c2 = 手.手CD.c2; @@ -3620,7 +3621,7 @@ namespace SlaveMatrix UpperArm.UpperArmCD.c2.Col2 = LowerArm.LowerArmCD.c2.Col1; UpperArm.筋肉上CD.c2.Col2 = LowerArm.LowerArmCD.c2.Col1; UpperArm.筋肉下CD.c2.Col2 = LowerArm.LowerArmCD.c2.Col1; - LowerArm.X0Y0_LowerArm.OP[0].Outline = true; + LowerArm.X0Y0_LowerArm.GetOP()[0].Outline = true; }); }); Arm人左.Add(腕人); @@ -3659,31 +3660,31 @@ namespace SlaveMatrix pp = 翼獣.UpperArm.Par.Par; if (p is 基髪) { - 翼獣.UpperArm.接着 = () => bod.頭.X0Y0_Head.ToGlobal(bod.頭.X0Y0_Head.BasePointBase); + 翼獣.UpperArm.接着 = () => bod.頭.X0Y0_Head.ToGlobal(bod.頭.X0Y0_Head.GetBasePointBase()); } else if (p is Chest) { - 翼獣.UpperArm.接着 = () => bod.Torso.X0Y0_Torso.ToGlobal(bod.Torso.X0Y0_Torso.BasePointBase); + 翼獣.UpperArm.接着 = () => bod.Torso.X0Y0_Torso.ToGlobal(bod.Torso.X0Y0_Torso.GetBasePointBase()); } else if (p is Torso || p is Waist) { - 翼獣.UpperArm.接着 = () => bod.Waist.X0Y0_Waist.ToGlobal(bod.Waist.X0Y0_Waist.JP[4].Joint); + 翼獣.UpperArm.接着 = () => bod.Waist.X0Y0_Waist.ToGlobal(bod.Waist.X0Y0_Waist.GetJP()[4].Joint); } else if (p is 四足胸) { - 翼獣.UpperArm.接着 = () => bod.Torso_獣.X0Y0_Torso.ToGlobal(bod.Torso_獣.X0Y0_Torso.BasePointBase); + 翼獣.UpperArm.接着 = () => bod.Torso_獣.X0Y0_Torso.ToGlobal(bod.Torso_獣.X0Y0_Torso.GetBasePointBase()); } else if ((p is 四足胴 || p is 四足腰) && (翼獣.UpperArm.ConnectionType == ConnectionInfo.四足腰_翼左_接続 || 翼獣.UpperArm.ConnectionType == ConnectionInfo.四足腰_翼右_接続)) { - 翼獣.UpperArm.接着 = () => bod.Waist_獣.X0Y0_Waist.ToGlobal(bod.Waist.X0Y0_Waist.JP[4].Joint); + 翼獣.UpperArm.接着 = () => bod.Waist_獣.X0Y0_Waist.ToGlobal(bod.Waist.X0Y0_Waist.GetJP()[4].Joint); } else if (pp != null && pp is Chest) { - 翼獣.UpperArm.接着 = () => bod.Waist.X0Y0_Waist.ToGlobal(bod.Waist.X0Y0_Waist.BasePointBase); + 翼獣.UpperArm.接着 = () => bod.Waist.X0Y0_Waist.ToGlobal(bod.Waist.X0Y0_Waist.GetBasePointBase()); } else if (pp != null && pp is 四足胸) { - 翼獣.UpperArm.接着 = () => bod.Waist_獣.X0Y0_Waist.ToGlobal(bod.Waist_獣.X0Y0_Waist.BasePointBase); + 翼獣.UpperArm.接着 = () => bod.Waist_獣.X0Y0_Waist.ToGlobal(bod.Waist_獣.X0Y0_Waist.GetBasePointBase()); } else { @@ -3778,20 +3779,20 @@ namespace SlaveMatrix { if (current_element.右) { - ((尾_魚)current_element).X0Y0_尾1_尾.OP[5].Outline = false; + ((尾_魚)current_element).X0Y0_尾1_尾.GetOP()[5].Outline = false; } else { - ((尾_魚)current_element).X0Y0_尾1_尾.OP[0].Outline = false; + ((尾_魚)current_element).X0Y0_尾1_尾.GetOP()[0].Outline = false; } } else if (current_element.右) { - ((尾_魚)current_element).X0Y0_尾0_尾.OP[5].Outline = false; + ((尾_魚)current_element).X0Y0_尾0_尾.GetOP()[5].Outline = false; } else { - ((尾_魚)current_element).X0Y0_尾0_尾.OP[0].Outline = false; + ((尾_魚)current_element).X0Y0_尾0_尾.GetOP()[0].Outline = false; } } else if (current_element is 長胴) @@ -5265,24 +5266,24 @@ namespace SlaveMatrix } if (IsSingleEye) { - 頭.X0Y0_Head.JP[7] = new Joi(頭.X0Y0_Head.JP[7].Joint.MulY(0.96)); - 頭.X0Y0_Head.JP[17] = new Joi(頭.X0Y0_Head.JP[17].Joint.MulY(0.96)); - 頭.X0Y0_Head.JP[18] = new Joi(頭.X0Y0_Head.JP[18].Joint.MulY(0.96)); + 頭.X0Y0_Head.GetJP()[7] = new Joi(頭.X0Y0_Head.GetJP()[7].Joint.MulY(0.96)); + 頭.X0Y0_Head.GetJP()[17] = new Joi(頭.X0Y0_Head.GetJP()[17].Joint.MulY(0.96)); + 頭.X0Y0_Head.GetJP()[18] = new Joi(頭.X0Y0_Head.GetJP()[18].Joint.MulY(0.96)); 紅潮.紅潮1_表示 = false; - 紅潮.X0Y0_紅潮左.AngleBase = 20.0; - 紅潮.X0Y0_紅潮弱左.AngleBase = 20.0; - 紅潮.X0Y0_紅潮線左.AngleBase = 20.0; - 紅潮.X0Y0_紅潮右.AngleBase = -20.0; - 紅潮.X0Y0_紅潮弱右.AngleBase = -20.0; - 紅潮.X0Y0_紅潮線右.AngleBase = -20.0; + 紅潮.X0Y0_紅潮左.SetAngleBase(20.0); + 紅潮.X0Y0_紅潮弱左.SetAngleBase(20.0); + 紅潮.X0Y0_紅潮線左.SetAngleBase(20.0); + 紅潮.X0Y0_紅潮右.SetAngleBase(-20.0); + 紅潮.X0Y0_紅潮弱右.SetAngleBase(-20.0); + 紅潮.X0Y0_紅潮線右.SetAngleBase(-20.0); } 染み_人 = new 染み_人(disUnit, 配色指定.N0, Cha.ColorSet, Med, new 染み_人D()); 染み_人.サイズ = Elements.Sum((Ele e) => e.サイズ) / (double)Elements.Length; 染み_人.Intensity = 0.0; Vector2D positionCont = Dat.Vec2DUnitY * -0.03; Vector2D positionCont2 = Dat.Vec2DUnitY * 0.03; - 染み_人.X0Y0_汗.PositionCont = positionCont; - 染み_人.X0Y0_潮1.PositionCont = positionCont2; + 染み_人.X0Y0_汗.SetPositionCont(positionCont); + 染み_人.X0Y0_潮1.SetPositionCont(positionCont2); if (Is獣) { 膣内精液_獣.Intensity = 0.0; @@ -5309,22 +5310,22 @@ namespace SlaveMatrix 染み_獣.Intensity = 0.0; if (Chest_獣.脇左_接続.IsEle<四足脇>()) { - Chest_獣.X0Y0_胸郭.OP[0].Outline = false; - Chest_獣.X0Y0_胸郭.OP[9].Outline = false; + Chest_獣.X0Y0_胸郭.GetOP()[0].Outline = false; + Chest_獣.X0Y0_胸郭.GetOP()[9].Outline = false; } Vector2D positionCont3 = new Vector2D(0.0, 0.006); - 染み_獣.X0Y0_湯気_湯気左1_湯気2.PositionCont = positionCont3; - 染み_獣.X0Y0_湯気_湯気左2_湯気2.PositionCont = positionCont3; - 染み_獣.X0Y0_湯気_湯気左3_湯気2.PositionCont = positionCont3; - 染み_獣.X0Y0_湯気_湯気右1_湯気2.PositionCont = positionCont3; - 染み_獣.X0Y0_湯気_湯気右2_湯気2.PositionCont = positionCont3; - 染み_獣.X0Y0_湯気_湯気右3_湯気2.PositionCont = positionCont3; - 下着陰核.X0Y0_陰核.SizeBase = 性器_獣.X0Y0_陰核.SizeBase; - csb = 性器_獣.X0Y0_陰核.SizeBase; - asb1 = 肛門_獣.X0Y0_肛門2.SizeBase; - asb2 = 肛門_獣.X0Y0_肛門3.SizeBase; - 染み_獣.X0Y0_汗.PositionCont = positionCont; - 染み_獣.X0Y0_潮1.PositionCont = positionCont2; + 染み_獣.X0Y0_湯気_湯気左1_湯気2.SetPositionCont(positionCont3); + 染み_獣.X0Y0_湯気_湯気左2_湯気2.SetPositionCont(positionCont3); + 染み_獣.X0Y0_湯気_湯気左3_湯気2.SetPositionCont(positionCont3); + 染み_獣.X0Y0_湯気_湯気右1_湯気2.SetPositionCont(positionCont3); + 染み_獣.X0Y0_湯気_湯気右2_湯気2.SetPositionCont(positionCont3); + 染み_獣.X0Y0_湯気_湯気右3_湯気2.SetPositionCont(positionCont3); + 下着陰核.X0Y0_陰核.SetSizeBase(性器_獣.X0Y0_陰核.GetSizeBase()); + csb = 性器_獣.X0Y0_陰核.GetSizeBase(); + asb1 = 肛門_獣.X0Y0_肛門2.GetSizeBase(); + asb2 = 肛門_獣.X0Y0_肛門3.GetSizeBase(); + 染み_獣.X0Y0_汗.SetPositionCont(positionCont); + 染み_獣.X0Y0_潮1.SetPositionCont(positionCont2); } else { @@ -5348,16 +5349,16 @@ namespace SlaveMatrix 性器精液_人.精液配色(Sta.GameData.配色); 肛門精液_人.精液配色(Sta.GameData.配色); Vector2D positionCont4 = new Vector2D(0.0, 0.006); - 染み_人.X0Y0_湯気_湯気左1_湯気2.PositionCont = positionCont4; - 染み_人.X0Y0_湯気_湯気左2_湯気2.PositionCont = positionCont4; - 染み_人.X0Y0_湯気_湯気左3_湯気2.PositionCont = positionCont4; - 染み_人.X0Y0_湯気_湯気右1_湯気2.PositionCont = positionCont4; - 染み_人.X0Y0_湯気_湯気右2_湯気2.PositionCont = positionCont4; - 染み_人.X0Y0_湯気_湯気右3_湯気2.PositionCont = positionCont4; - 下着陰核.X0Y0_陰核.SizeBase = 性器_人.X0Y0_陰核.SizeBase; - csb = 性器_人.X0Y0_陰核.SizeBase; - asb1 = 肛門_人.X0Y0_肛門2.SizeBase; - asb2 = 肛門_人.X0Y0_肛門3.SizeBase; + 染み_人.X0Y0_湯気_湯気左1_湯気2.SetPositionCont(positionCont4); + 染み_人.X0Y0_湯気_湯気左2_湯気2.SetPositionCont(positionCont4); + 染み_人.X0Y0_湯気_湯気左3_湯気2.SetPositionCont(positionCont4); + 染み_人.X0Y0_湯気_湯気右1_湯気2.SetPositionCont(positionCont4); + 染み_人.X0Y0_湯気_湯気右2_湯気2.SetPositionCont(positionCont4); + 染み_人.X0Y0_湯気_湯気右3_湯気2.SetPositionCont(positionCont4); + 下着陰核.X0Y0_陰核.SetSizeBase(性器_人.X0Y0_陰核.GetSizeBase()); + csb = 性器_人.X0Y0_陰核.GetSizeBase(); + asb1 = 肛門_人.X0Y0_肛門2.GetSizeBase(); + asb2 = 肛門_人.X0Y0_肛門3.GetSizeBase(); ボテ腹_人.X0Y0_ハイライト.Dra = false; ボテ腹_人.X0Y0_ハイライト左1.Dra = false; ボテ腹_人.X0Y0_ハイライト左2.Dra = false; @@ -5407,22 +5408,22 @@ namespace SlaveMatrix foreach (Par item53 in (from e in Waist.腿左_接続.GetEles<腿>() select e.Body.EnumAllPar()).Aggregate((IEnumerable e1, IEnumerable e2) => e1.Concat(e2))) { - item53.OP.OutlineFalse(); + item53.GetOP().OutlineFalse(); } foreach (Par item54 in (from e in Waist.腿右_接続.GetEles<腿>() select e.Body.EnumAllPar()).Aggregate((IEnumerable e1, IEnumerable e2) => e1.Concat(e2))) { - item54.OP.OutlineFalse(); + item54.GetOP().OutlineFalse(); } } Elements.SetEle(delegate(Torso_蛇 e) { - e.X0Y0_Torso_Torso.OP[1].ps[3] = e.X0Y0_Torso_Torso.OP[1].ps[3].AddY(0.04); + e.X0Y0_Torso_Torso.GetOP()[1].ps[3] = e.X0Y0_Torso_Torso.GetOP()[1].ps[3].AddY(0.04); if (e.Torso_接続 != null) { e.Torso_接続.SetEle(delegate(Torso_蛇 f) { - f.X0Y0_Torso_Torso.OP[1].ps[3] = f.X0Y0_Torso_Torso.OP[1].ps[3].AddY(0.04); + f.X0Y0_Torso_Torso.GetOP()[1].ps[3] = f.X0Y0_Torso_Torso.GetOP()[1].ps[3].AddY(0.04); }); } }); @@ -5431,8 +5432,8 @@ namespace SlaveMatrix 腿開きi = 1; 断面_表示 = true; } - 下着乳首左.X0Y0_乳首.SizeBase = 乳房左.X0Y0_乳首.SizeBase * 1.1; - 下着乳首右.X0Y0_乳首.SizeBase = 乳房右.X0Y0_乳首.SizeBase * 1.1; + 下着乳首左.X0Y0_乳首.SetSizeBase(乳房左.X0Y0_乳首.GetSizeBase() * 1.1); + 下着乳首右.X0Y0_乳首.SetSizeBase(乳房右.X0Y0_乳首.GetSizeBase() * 1.1); if (Chest.肩左_接続 == null) { 胸肌_人.淫タトゥ_タトゥ左_表示 = false; @@ -5447,8 +5448,8 @@ namespace SlaveMatrix { Waist.WaistCD.c2.Col2 = ele7.尾0_尾CD.c2.Col1; } - nsb1 = 乳房左.X0Y0_乳首.SizeBase; - nsb2 = 乳房左.X0Y0_乳輪.SizeBase; + nsb1 = 乳房左.X0Y0_乳首.GetSizeBase(); + nsb2 = 乳房左.X0Y0_乳輪.GetSizeBase(); 変動ステート更新(); Waist.位置B = Med.Base.GetPosition(new Vector2D(0.5, 0.5)); Join(); @@ -9143,26 +9144,26 @@ namespace SlaveMatrix 下着T_ブラ.バスト = バスト; 上着T_ドレス.バスト = バスト; double num = 0.65 * Cha.CharacterData.最乳首 * Cha.CharacterData.現乳首; - 乳房左.X0Y0_乳首.SizeBase = nsb1 + num; - 乳房左.X0Y0_乳輪.SizeBase = nsb2 + num; - 乳房左.X0Y1_乳首.SizeBase = nsb1 + num; - 乳房左.X0Y1_乳輪.SizeBase = nsb2 + num; - 乳房左.X0Y2_乳首.SizeBase = nsb1 + num; - 乳房左.X0Y2_乳輪.SizeBase = nsb2 + num; - 乳房左.X0Y3_乳首.SizeBase = nsb1 + num; - 乳房左.X0Y3_乳輪.SizeBase = nsb2 + num; - 乳房左.X0Y4_乳首.SizeBase = nsb1 + num; - 乳房左.X0Y4_乳輪.SizeBase = nsb2 + num; - 乳房右.X0Y0_乳首.SizeBase = nsb1 + num; - 乳房右.X0Y0_乳輪.SizeBase = nsb2 + num; - 乳房右.X0Y1_乳首.SizeBase = nsb1 + num; - 乳房右.X0Y1_乳輪.SizeBase = nsb2 + num; - 乳房右.X0Y2_乳首.SizeBase = nsb1 + num; - 乳房右.X0Y2_乳輪.SizeBase = nsb2 + num; - 乳房右.X0Y3_乳首.SizeBase = nsb1 + num; - 乳房右.X0Y3_乳輪.SizeBase = nsb2 + num; - 乳房右.X0Y4_乳首.SizeBase = nsb1 + num; - 乳房右.X0Y4_乳輪.SizeBase = nsb2 + num; + 乳房左.X0Y0_乳首.SetSizeBase(nsb1 + num); + 乳房左.X0Y0_乳輪.SetSizeBase(nsb2 + num); + 乳房左.X0Y1_乳首.SetSizeBase(nsb1 + num); + 乳房左.X0Y1_乳輪.SetSizeBase(nsb2 + num); + 乳房左.X0Y2_乳首.SetSizeBase(nsb1 + num); + 乳房左.X0Y2_乳輪.SetSizeBase(nsb2 + num); + 乳房左.X0Y3_乳首.SetSizeBase(nsb1 + num); + 乳房左.X0Y3_乳輪.SetSizeBase(nsb2 + num); + 乳房左.X0Y4_乳首.SetSizeBase(nsb1 + num); + 乳房左.X0Y4_乳輪.SetSizeBase(nsb2 + num); + 乳房右.X0Y0_乳首.SetSizeBase(nsb1 + num); + 乳房右.X0Y0_乳輪.SetSizeBase(nsb2 + num); + 乳房右.X0Y1_乳首.SetSizeBase(nsb1 + num); + 乳房右.X0Y1_乳輪.SetSizeBase(nsb2 + num); + 乳房右.X0Y2_乳首.SetSizeBase(nsb1 + num); + 乳房右.X0Y2_乳輪.SetSizeBase(nsb2 + num); + 乳房右.X0Y3_乳首.SetSizeBase(nsb1 + num); + 乳房右.X0Y3_乳輪.SetSizeBase(nsb2 + num); + 乳房右.X0Y4_乳首.SetSizeBase(nsb1 + num); + 乳房右.X0Y4_乳輪.SetSizeBase(nsb2 + num); 乳房左.乳首CD.不透明度 = Cha.CharacterData.素乳首濃度 + Cha.CharacterData.最乳首濃度 * Cha.CharacterData.現乳首; 乳房左.乳輪CD.不透明度 = Cha.CharacterData.素乳首濃度 + Cha.CharacterData.最乳首濃度 * Cha.CharacterData.現乳首; 乳房右.乳首CD.不透明度 = Cha.CharacterData.素乳首濃度 + Cha.CharacterData.最乳首濃度 * Cha.CharacterData.現乳首; @@ -9170,31 +9171,31 @@ namespace SlaveMatrix num = 0.65 * Cha.CharacterData.最陰核 * Cha.CharacterData.現陰核; if (Is獣) { - 性器_獣.X0Y0_陰核.SizeBase = csb + num; - 性器_獣.X0Y1_陰核.SizeBase = csb + num; - 性器_獣.X0Y2_陰核.SizeBase = csb + num; - 性器_獣.X0Y3_陰核.SizeBase = csb + num; - 性器_獣.X0Y4_陰核.SizeBase = csb + num; + 性器_獣.X0Y0_陰核.SetSizeBase(csb + num); + 性器_獣.X0Y1_陰核.SetSizeBase(csb + num); + 性器_獣.X0Y2_陰核.SetSizeBase(csb + num); + 性器_獣.X0Y3_陰核.SetSizeBase(csb + num); + 性器_獣.X0Y4_陰核.SetSizeBase(csb + num); 性器_獣.小陰唇CD.不透明度 = Cha.CharacterData.素性器濃度 + Cha.CharacterData.最性器濃度 * Cha.CharacterData.現性器; 性器_獣.性器基CD.不透明度 = Cha.CharacterData.素性器濃度 + Cha.CharacterData.最性器濃度 * Cha.CharacterData.現性器; 肛門_獣.肛門3CD.不透明度 = Cha.CharacterData.素肛門濃度 + Cha.CharacterData.最肛門濃度 * Cha.CharacterData.現肛門; num = 0.3 * Cha.CharacterData.現肛門; - 肛門_獣.X0Y0_肛門2.SizeBase = asb1 + num; - 肛門_獣.X0Y0_肛門3.SizeBase = asb2 + num; + 肛門_獣.X0Y0_肛門2.SetSizeBase(asb1 + num); + 肛門_獣.X0Y0_肛門3.SetSizeBase(asb2 + num); } else { - 性器_人.X0Y0_陰核.SizeBase = csb + num; - 性器_人.X0Y1_陰核.SizeBase = csb + num; - 性器_人.X0Y2_陰核.SizeBase = csb + num; - 性器_人.X0Y3_陰核.SizeBase = csb + num; - 性器_人.X0Y4_陰核.SizeBase = csb + num; + 性器_人.X0Y0_陰核.SetSizeBase(csb + num); + 性器_人.X0Y1_陰核.SetSizeBase(csb + num); + 性器_人.X0Y2_陰核.SetSizeBase(csb + num); + 性器_人.X0Y3_陰核.SetSizeBase(csb + num); + 性器_人.X0Y4_陰核.SetSizeBase(csb + num); 性器_人.小陰唇CD.不透明度 = Cha.CharacterData.素性器濃度 + Cha.CharacterData.最性器濃度 * Cha.CharacterData.現性器; 性器_人.性器基CD.不透明度 = Cha.CharacterData.素性器濃度 + Cha.CharacterData.最性器濃度 * Cha.CharacterData.現性器; 肛門_人.肛門3CD.不透明度 = Cha.CharacterData.素肛門濃度 + Cha.CharacterData.最肛門濃度 * Cha.CharacterData.現肛門; num = 0.3 * Cha.CharacterData.現肛門; - 肛門_人.X0Y0_肛門2.SizeBase = asb1 + num; - 肛門_人.X0Y0_肛門3.SizeBase = asb2 + num; + 肛門_人.X0Y0_肛門2.SetSizeBase(asb1 + num); + 肛門_人.X0Y0_肛門3.SetSizeBase(asb2 + num); } 腰肌_人.陰毛CD.不透明度 = Cha.CharacterData.現陰毛 * Cha.CharacterData.最陰毛濃度; 腰肌_人.獣性_獣毛CD.不透明度 = Cha.CharacterData.現陰毛; @@ -9793,17 +9794,17 @@ namespace SlaveMatrix private void 腰振り_人() { - Torso.X0Y0_筋肉_筋肉左.PositionCont = Dat.Vec2DUnitY * (Waist.Yv * -0.004); - Torso.X0Y0_筋肉_筋肉右.PositionCont = Dat.Vec2DUnitY * (Waist.Yv * -0.004); - 胴腹板_人.X0Y0_虫性_腹板.PositionCont = Dat.Vec2DUnitY * (Waist.Yv * -0.002); - 胴肌_人.Body.SizeYCont = 0.85 + (1.0 - Waist.Yv) * 0.15; + Torso.X0Y0_筋肉_筋肉左.SetPositionCont(Dat.Vec2DUnitY * (Waist.Yv * -0.004)); + Torso.X0Y0_筋肉_筋肉右.SetPositionCont(Dat.Vec2DUnitY * (Waist.Yv * -0.004)); + 胴腹板_人.X0Y0_虫性_腹板.SetPositionCont(Dat.Vec2DUnitY * (Waist.Yv * -0.002)); + 胴肌_人.Body.SetSizeYCont(0.85 + (1.0 - Waist.Yv) * 0.15); } private void 腰振り_獣() { - Torso_獣.X0Y0_筋肉_筋肉左.PositionCont = Dat.Vec2DUnitY * (Waist_獣.Yv * -0.004); - Torso_獣.X0Y0_筋肉_筋肉右.PositionCont = Dat.Vec2DUnitY * (Waist_獣.Yv * -0.004); - 胴肌_獣.Body.SizeYCont = 0.85 + (1.0 - Waist_獣.Yv) * 0.15; + Torso_獣.X0Y0_筋肉_筋肉左.SetPositionCont(Dat.Vec2DUnitY * (Waist_獣.Yv * -0.004)); + Torso_獣.X0Y0_筋肉_筋肉右.SetPositionCont(Dat.Vec2DUnitY * (Waist_獣.Yv * -0.004)); + 胴肌_獣.Body.SetSizeYCont(0.85 + (1.0 - Waist_獣.Yv) * 0.15); if (EI半中1 != null) { EI半中1.Updatef = true; diff --git a/SlaveMatrix/SlaveMatrix/GameClasses/CM.cs b/SlaveMatrix/SlaveMatrix/GameClasses/CM.cs index a7ef4ad..8fd0400 100644 --- a/SlaveMatrix/SlaveMatrix/GameClasses/CM.cs +++ b/SlaveMatrix/SlaveMatrix/GameClasses/CM.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -48,7 +49,7 @@ namespace SlaveMatrix this.Ele = Ele; foreach (Par item in Ele.Body.EnumAllPar()) { - item.HitColor = Med.GetUniqueColor(); + item.SetHitColor(Med.GetUniqueColor()); } } diff --git a/SlaveMatrix/SlaveMatrix/GameClasses/Character.cs b/SlaveMatrix/SlaveMatrix/GameClasses/Character.cs index 87ce60f..68a9b6d 100644 --- a/SlaveMatrix/SlaveMatrix/GameClasses/Character.cs +++ b/SlaveMatrix/SlaveMatrix/GameClasses/Character.cs @@ -512,9 +512,9 @@ namespace SlaveMatrix double 尺度C = Body.Chest.尺度C; Body.Chest.尺度C = 0.99; - double num = Body.Chest.X0Y0_胸郭.ToGlobal(Body.Chest.X0Y0_胸郭.JP[0].Joint).Y; + double num = Body.Chest.X0Y0_胸郭.ToGlobal(Body.Chest.X0Y0_胸郭.GetJP()[0].Joint).Y; Body.Chest.尺度C = 1.01; - double num2 = Body.Chest.X0Y0_胸郭.ToGlobal(Body.Chest.X0Y0_胸郭.JP[0].Joint).Y; + double num2 = Body.Chest.X0Y0_胸郭.ToGlobal(Body.Chest.X0Y0_胸郭.GetJP()[0].Joint).Y; Body.Chest.尺度C = 尺度C; y = num2 - num; Breathing = new Motion(0.0, 1.0) @@ -1333,13 +1333,13 @@ namespace SlaveMatrix }; Motions.Add(ClimaxEnd.GetHashCode().ToString(), ClimaxEnd); double savedHipValue = 0.0; - Par pa = Body.Waist.Body.CurJoinRoot; + Par pa = Body.Waist.Body.GetCurJoinRoot(); Par pb = null; Vector2D vec = Dat.Vec2DZero; Action 腰接続 = delegate { - pb = cha.Body.Waist.Body.CurJoinRoot; - vec = pb.ToGlobal(pb.JP[5].Joint) - pa.ToGlobal(pa.JP[5].Joint); + pb = cha.Body.Waist.Body.GetCurJoinRoot(); + vec = pb.ToGlobal(pb.GetJP()[5].Joint) - pa.ToGlobal(pa.GetJP()[5].Joint); ApplyContParts(vec); }; diff --git a/SlaveMatrix/SlaveMatrix/GameClasses/ColorP.cs b/SlaveMatrix/SlaveMatrix/GameClasses/ColorP.cs index b258111..7aa9d8b 100644 --- a/SlaveMatrix/SlaveMatrix/GameClasses/ColorP.cs +++ b/SlaveMatrix/SlaveMatrix/GameClasses/ColorP.cs @@ -41,12 +41,12 @@ namespace SlaveMatrix public void Setting() { - Par.Brush = new SolidBrush(Color.LightGray); + Par.SetBrush1(new SolidBrush(Color.LightGray)); u0 = Unit * 0.99009900990099; u1 = Unit * 1.01; if (ColorD.線 == Col.Empty) { - Par.Pen = null; + Par.SetPen(null); p = delegate { }; @@ -60,13 +60,13 @@ namespace SlaveMatrix } p = delegate { - Par.PenColor = ColorD.線; + Par.SetPenColor(ColorD.線); }; UpdateLine(); } if (ColorD.色.Col1 == Col.Empty) { - Par.Brush = null; + Par.SetBrush1(null); b = delegate { }; @@ -77,7 +77,7 @@ namespace SlaveMatrix { b = delegate { - Par.BrushColor = ColorD.色.Col1; + Par.SetBrushColor(ColorD.色.Col1); }; } else @@ -94,13 +94,13 @@ namespace SlaveMatrix { LGB = new LinearGradientBrush(new PointF(0f, f0), new PointF(0f, f1), ColorD.色.Col1, ColorD.色.Col2); LGB.GammaCorrection = true; - Par.Brush = LGB; + Par.SetBrush1(LGB); } }; } UpdateColor(); } - if (Par.Pen == null && Par.Brush == null) + if (Par.GetPen() == null && Par.GetBrush1() == null) { Par.Dra = false; Par.Hit = false; @@ -137,7 +137,7 @@ namespace SlaveMatrix { LGB = new LinearGradientBrush(new PointF(0f, f0), new PointF(0f, f1), ColorD.色.Col1, ColorD.色.Col2); LGB.GammaCorrection = true; - Par.Brush = LGB; + Par.SetBrush1(LGB); } } } diff --git a/SlaveMatrix/SlaveMatrix/GameClasses/Ele.cs b/SlaveMatrix/SlaveMatrix/GameClasses/Ele.cs index 23514b6..b01008f 100644 --- a/SlaveMatrix/SlaveMatrix/GameClasses/Ele.cs +++ b/SlaveMatrix/SlaveMatrix/GameClasses/Ele.cs @@ -4,1071 +4,954 @@ using System.Linq; using System.Reflection; using _2DGAMELIB; -namespace SlaveMatrix +namespace SlaveMatrix.GameClasses { public class Ele : IDisposable { - public Ele Par; + public Ele Par; - public ConnectionInfo ConnectionType; + public ConnectionInfo ConnectionType; - public Difs Body; //本体 + public Difs Body; //本体 public static double 肥大mi1 = -5E-07; - public static double 肥大ma1 = 8E-05; + public static double 肥大ma1 = 8E-05; - public static double 肥大d1 = 肥大ma1 - 肥大mi1; + public static double 肥大d1 = 肥大ma1 - 肥大mi1; - public static double 肥大mi2 = 0.92; + public static double 肥大mi2 = 0.92; - public static double 肥大ma2 = 1.05; + public static double 肥大ma2 = 1.05; - public static double 肥大d2 = 肥大ma2 - 肥大mi2; + public static double 肥大d2 = 肥大ma2 - 肥大mi2; - public static double 身長mi2 = 0.95; + public static double 身長mi2 = 0.95; - public static double 身長ma2 = 1.05; + public static double 身長ma2 = 1.05; - public static double 身長d2 = 身長ma2 - 身長mi2; - - protected double 肥大_; - - protected double 身長_; - - protected bool Xasix = true; - - protected bool 右_; - - protected bool 反転X_; - - protected bool 反転Y_; - - public JointD 接続根; - - public 配色指定 配色指定; - - protected double サイズ_; - - protected double サイズX_; - - protected double サイズY_; - - protected bool 欠損_; - - protected bool 筋肉_; - - protected bool 拘束_; - - public Type ThisType; - - public virtual Vector2D 基準B - { - get - { - return Body.CurJoinRoot.BasePointBase; - } - set - { - foreach (Par item in Body.EnumJoinRoot) - { - item.BasePointBase = value; - } - Body.JoinP(); - } - } - - public virtual Vector2D 基準C - { - get - { - return Body.CurJoinRoot.BasePointCont; - } - set - { - foreach (Par item in Body.EnumJoinRoot) - { - item.BasePointCont = value; - } - Body.JoinP(); - } - } - - public virtual Vector2D 位置 => Body.CurJoinRoot.Position; - - public virtual Vector2D 位置B - { - get - { - return Body.CurJoinRoot.PositionBase; - } - set - { - foreach (Par item in Body.EnumJoinRoot) - { - item.PositionBase = value; - } - Body.JoinP(); - } - } - - public virtual Vector2D 位置C - { - get - { - return Body.CurJoinRoot.PositionCont; - } - set - { - foreach (Par item in Body.EnumJoinRoot) - { - item.PositionCont = value; - } - Body.JoinP(); - } - } - - public virtual double AngleAll - { - set - { - foreach (Par item in Body.EnumAllPar()) - { - item.AngleBase = value; - } - Body.JoinPA(); - } - } - - public virtual double 角度B - { - get - { - return Body.CurJoinRoot.AngleBase; - } - set - { - foreach (Par item in Body.EnumJoinRoot) - { - item.AngleBase = value; - } - Body.JoinPA(); - } - } - - public virtual double 角度C - { - get - { - return Body.CurJoinRoot.AngleCont; - } - set - { - foreach (Par item in Body.EnumJoinRoot) - { - item.AngleCont = value; - } - Body.JoinPA(); - } - } - - public virtual double 尺度B - { - get - { - return Body.CurJoinRoot.SizeBase; - } - set - { - foreach (Par item in Body.EnumAllPar()) - { - item.SizeBase *= value; - } - Body.JoinP(); - } - } - - public virtual double 尺度C - { - get - { - return Body.CurJoinRoot.SizeCont; - } - set - { - foreach (Par item in Body.EnumAllPar()) - { - item.SizeCont = value; - } - Body.JoinP(); - } - } - - public virtual double 尺度XB - { - get - { - return Body.CurJoinRoot.SizeXBase; - } - set - { - foreach (Par item in Body.EnumAllPar()) - { - item.SizeXBase *= value; - } - Body.JoinP(); - } - } - - public virtual double 尺度XC - { - get - { - return Body.CurJoinRoot.SizeXCont; - } - set - { - foreach (Par item in Body.EnumAllPar()) - { - item.SizeXCont = value; - } - Body.JoinP(); - } - } - - public virtual double 尺度YB - { - get - { - return Body.CurJoinRoot.SizeYBase; - } - set - { - foreach (Par item in Body.EnumAllPar()) - { - item.SizeYBase *= value; - } - Body.JoinP(); - } - } - - public virtual double 尺度YC - { - get - { - return Body.CurJoinRoot.SizeYCont; - } - set - { - foreach (Par item in Body.EnumAllPar()) - { - item.SizeYCont = value; - } - Body.JoinP(); - } - } - - public virtual double 尺度 => Body.CurJoinRoot.Size; - - public virtual double 尺度Y => Body.CurJoinRoot.SizeY; - - public virtual double 尺度X => Body.CurJoinRoot.SizeX; - - public virtual double 肥大 - { - get - { - return 肥大_; - } - set - { - 肥大_ = value; - double rate = 肥大mi1 + 肥大d1 * 肥大_; - double num = 肥大mi2 + 肥大d2 * 肥大_; - double num2 = num + 0.05 * 肥大_.Inverse(); - foreach (Par item in Body.EnumAllPar()) - { - if (item.Parent.Tag.Contains("眼") || item.Parent.Tag.Contains("コア") || item.Tag.Contains("傷") || item.Tag.Contains("ボタン")) - { - continue; - } - if (item.Parent.Tag.Contains("輪")) - { - item.SizeBase *= num2; - } - else if (item.Tag.Contains("吸盤") || this is 膣基 || this is 膣内精液 || this is 断面 || this is 性器 || this is 肛門 || this is 乳房 || this is 下着トップ || this is Waist || this is 腰肌 || this is 四足腰 || this is 下着ボトム || this is 上着ボトム || this is 手 || this is 噴乳 || this is 飛沫 || this is 潮吹_小 || this is 潮吹_大 || this is 放尿 || this is 半身 || this is 頭頂_天 || this is 背中_光 || this is ボテ腹) - { - item.SizeBase *= num; - } - else if (Xasix) - { - if (this is Head || this is 目隠帯 || this is 玉口枷) - { - item.OP.ExpansionX(item.OP.GetCenter(), rate); - } - else - { - item.SizeXBase *= num; - } - } - else if (this is Head || this is 目隠帯 || this is 玉口枷) - { - item.OP.ExpansionY(item.OP.GetCenter(), rate); - } - else - { - item.SizeYBase *= num; - } - } - Body.JoinP(); - } - } - - public virtual double 身長 - { - get - { - return 身長_; - } - set - { - 身長_ = value; - double num = 身長mi2 + 身長d2 * 身長_; - foreach (Par item in Body.EnumAllPar()) - { - if (!item.Parent.Tag.Contains("眼") && !item.Parent.Tag.Contains("コア") && !item.Tag.Contains("傷") && !item.Tag.Contains("ボタン") && !item.Parent.Tag.Contains("輪") && !item.Tag.Contains("吸盤") && !(this is 膣基) && !(this is 膣内精液) && !(this is 断面) && !(this is 性器) && !(this is 肛門) && !(this is 乳房) && !(this is 下着トップ) && !(this is Waist) && !(this is 腰肌) && !(this is 四足腰) && !(this is 下着ボトム) && !(this is 上着ボトム) && !(this is 手) && !(this is 噴乳) && !(this is 飛沫) && !(this is 潮吹_小) && !(this is 潮吹_大) && !(this is 放尿) && !(this is Head) && !(this is 目隠帯) && !(this is 玉口枷) && !(this is 半身) && !(this is 頭頂) && !(this is 背中_光) && !(this is ボテ腹)) - { - if (this is Head || this is 目隠帯 || this is 玉口枷) - { - if (num < 1.0) - { - if (Xasix) - { - item.SizeYBase *= num; - } - else - { - item.SizeXBase *= num; - } - } - } - else if (Xasix) - { - item.SizeYBase *= num; - } - else - { - item.SizeXBase *= num; - } - } - else if (item.Parent.Tag.Contains("コア")) - { - item.SizeBase *= num; - item.OP.ScalingXY(item.OP.GetCenter(), 1.0 / num); - } - } - Body.JoinP(); - } - } - - public virtual bool 右 - { - get - { - return 右_; - } - set - { - if (右_ != value) - { - Body.JoinPAall(); - Body.ReverseX(); - Body.JoinP(); - } - 右_ = value; - } - } - - public virtual bool 反転X - { - get - { - return 反転X_; - } - set - { - if (反転X_ != value) - { - Body.JoinPAall(); - Body.ReverseX(); - Body.JoinP(); - } - 反転X_ = value; - } - } - - public virtual bool 反転Y - { - get - { - return 反転Y_; - } - set - { - if (反転Y_ != value) - { - Body.JoinPAall(); - Body.ReverseY(); - Body.JoinP(); - } - 反転Y_ = value; - } - } - - public virtual double Xv - { - get - { - return Body.ValueX; - } - set - { - Body.ValueX = value; - } - } - - public virtual double Yv - { - get - { - return Body.ValueY; - } - set - { - Body.ValueY = value; - } - } - - public virtual int Xi - { - get - { - return Body.IndexX; - } - set - { - Body.IndexX = value; - } - } - - public virtual int Yi - { - get - { - return Body.IndexY; - } - set - { - Body.IndexY = value; - } - } - - public virtual double サイズ - { - get - { - return サイズ_; - } - set - { - サイズ_ = value; - double rate = 0.95 + 0.09 * サイズ_; - foreach (Par item in Body.EnumAllPar()) - { - Vector2D center = item.OP.GetCenter(); - item.OP.ScalingXY(center, rate); - item.JP.ScalingXY(center, rate); - } - } - } - - public virtual double サイズX - { - get - { - return サイズX_; - } - set - { - サイズX_ = value; - double rate = 0.95 + 0.09 * サイズX_; - foreach (Par item in Body.EnumAllPar()) - { - Vector2D center = item.OP.GetCenter(); - item.OP.ScalingX(center, rate); - item.JP.ScalingX(center, rate); - } - } - } - - public virtual double サイズY - { - get - { - return サイズY_; - } - set - { - サイズY_ = value; - double rate = 0.95 + 0.09 * サイズY_; - foreach (Par item in Body.EnumAllPar()) - { - Vector2D center = item.OP.GetCenter(); - item.OP.ScalingY(center, rate); - item.JP.ScalingY(center, rate); - } - } - } - - public virtual bool 欠損 { get; set; } - - public virtual bool 筋肉 { get; set; } - - public virtual bool 拘束 { get; set; } - - public virtual bool 表示 { get; set; } - - public virtual double Intensity { get; set; } - - public int 描画前後 => ConnectionType switch - { - ConnectionInfo.Head_基髪_接続 => 1, - ConnectionInfo.Head_目左_接続 => 1, - ConnectionInfo.Head_目右_接続 => 1, - ConnectionInfo.Head_鼻_接続 => 1, - ConnectionInfo.Head_口_接続 => 1, - ConnectionInfo.Head_頬左_接続 => 1, - ConnectionInfo.Head_頬右_接続 => 1, - ConnectionInfo.Head_額_接続 => 1, - ConnectionInfo.Head_眉左_接続 => 1, - ConnectionInfo.Head_眉右_接続 => 1, - ConnectionInfo.Head_耳左_接続 => 1, - ConnectionInfo.Head_耳右_接続 => 1, - ConnectionInfo.Head_鼻肌_接続 => 1, - ConnectionInfo.Head_単眼目_接続 => 1, - ConnectionInfo.Head_単眼眉_接続 => 1, - ConnectionInfo.Head_頬肌左_接続 => 1, - ConnectionInfo.Head_頬肌右_接続 => 1, - ConnectionInfo.Head_触覚左_接続 => 1, - ConnectionInfo.Head_触覚右_接続 => 1, - ConnectionInfo.基髪_頭頂左_接続 => 1, - ConnectionInfo.基髪_頭頂右_接続 => 1, - ConnectionInfo.基髪_前髪_接続 => 1, - ConnectionInfo.基髪_後髪_接続 => 0, - ConnectionInfo.BackHair0_肢系_左5_接続 => 1, - ConnectionInfo.BackHair0_肢系_左4_接続 => 1, - ConnectionInfo.BackHair0_肢系_左3_接続 => 1, - ConnectionInfo.BackHair0_肢系_左2_接続 => 1, - ConnectionInfo.BackHair0_肢系_左1_接続 => 1, - ConnectionInfo.BackHair0_肢系_中央_接続 => 1, - ConnectionInfo.BackHair0_肢系_右1_接続 => 1, - ConnectionInfo.BackHair0_肢系_右2_接続 => 1, - ConnectionInfo.BackHair0_肢系_右3_接続 => 1, - ConnectionInfo.BackHair0_肢系_右4_接続 => 1, - ConnectionInfo.BackHair0_肢系_右5_接続 => 1, - ConnectionInfo.SideHair_肢系_肢_接続 => 1, - ConnectionInfo.双目_瞼_接続 => 1, - ConnectionInfo.瞼_宇_涙_接続 => 1, - ConnectionInfo.単目_瞼_接続 => 1, - ConnectionInfo.頬目_瞼_接続 => 1, - ConnectionInfo.縦目_瞼_接続 => 1, - ConnectionInfo.鼻_人_鼻水左_接続 => 1, - ConnectionInfo.鼻_人_鼻水右_接続 => 1, - ConnectionInfo.鼻_獣_鼻水左_接続 => 1, - ConnectionInfo.鼻_獣_鼻水右_接続 => 1, - ConnectionInfo.Neck_Head_接続 => 1, - ConnectionInfo.Chest_Neck_接続 => 1, - ConnectionInfo.Chest_肩左_接続 => 1, - ConnectionInfo.Chest_肩右_接続 => 1, - ConnectionInfo.Chest_胸左_接続 => 1, - ConnectionInfo.Chest_胸右_接続 => 1, - ConnectionInfo.Chest_肌_接続 => 1, - ConnectionInfo.Chest_翼上左_接続 => 0, - ConnectionInfo.Chest_翼上右_接続 => 0, - ConnectionInfo.Chest_翼下左_接続 => 0, - ConnectionInfo.Chest_翼下右_接続 => 0, - ConnectionInfo.Chest_背中_接続 => 0, - ConnectionInfo.乳房_噴乳_接続 => 1, - ConnectionInfo.Shoulder_UpperArm_接続 => 1, - ConnectionInfo.Torso_Chest_接続 => 1, - ConnectionInfo.Torso_肌_接続 => 1, - ConnectionInfo.Torso_翼左_接続 => 0, - ConnectionInfo.Torso_翼右_接続 => 0, - ConnectionInfo.Waist_Torso_接続 => 1, - ConnectionInfo.Waist_腿左_接続 => 1, - ConnectionInfo.Waist_腿右_接続 => 1, - ConnectionInfo.Waist_膣基_接続 => 1, - ConnectionInfo.Waist_肛門_接続 => 1, - ConnectionInfo.Waist_尾_接続 => 0, - ConnectionInfo.Waist_半身_接続 => 1, - ConnectionInfo.Waist_上着_接続 => 0, - ConnectionInfo.Waist_肌_接続 => 1, - ConnectionInfo.Waist_翼左_接続 => 0, - ConnectionInfo.Waist_翼右_接続 => 0, - ConnectionInfo.ボテ腹_人_腹板_接続 => 1, - ConnectionInfo.ボテ腹_獣_腹板_接続 => 1, - ConnectionInfo.肛門_人_肛門精液_接続 => 1, - ConnectionInfo.肛門_獣_肛門精液_接続 => 1, - ConnectionInfo.性器_人_陰核_接続 => 1, - ConnectionInfo.性器_人_尿道_接続 => 1, - ConnectionInfo.性器_人_膣口_接続 => 1, - ConnectionInfo.性器_獣_陰核_接続 => 1, - ConnectionInfo.性器_獣_尿道_接続 => 1, - ConnectionInfo.性器_獣_膣口_接続 => 1, - ConnectionInfo.上着ボトム_クロス_上着ボトム後_接続 => 0, - ConnectionInfo.顔面_甲_触覚左_接続 => 1, - ConnectionInfo.顔面_甲_触覚右_接続 => 1, - ConnectionInfo.顔面_虫_触覚左_接続 => 1, - ConnectionInfo.顔面_虫_触覚右_接続 => 1, - ConnectionInfo.顔面_蟲_触覚左_接続 => 1, - ConnectionInfo.顔面_蟲_触覚右_接続 => 1, - ConnectionInfo.頭頂_宇_頭部後_接続 => 0, - ConnectionInfo.尾_ヘ_尾先_接続 => 0, - ConnectionInfo.尾_ウ_尾先_接続 => 0, - ConnectionInfo.尾_魚_左1_接続 => 1, - ConnectionInfo.尾_魚_右1_接続 => 1, - ConnectionInfo.尾_魚_左2_接続 => 1, - ConnectionInfo.尾_魚_右2_接続 => 1, - ConnectionInfo.尾_魚_左3_接続 => 1, - ConnectionInfo.尾_魚_右3_接続 => 1, - ConnectionInfo.尾_魚_左4_接続 => 1, - ConnectionInfo.尾_魚_右4_接続 => 1, - ConnectionInfo.尾_魚_左5_接続 => 1, - ConnectionInfo.尾_魚_右5_接続 => 1, - ConnectionInfo.尾_魚_左6_接続 => 1, - ConnectionInfo.尾_魚_右6_接続 => 1, - ConnectionInfo.尾_魚_左7_接続 => 1, - ConnectionInfo.尾_魚_右7_接続 => 1, - ConnectionInfo.尾_魚_左8_接続 => 1, - ConnectionInfo.尾_魚_右8_接続 => 1, - ConnectionInfo.尾_魚_左9_接続 => 1, - ConnectionInfo.尾_魚_右9_接続 => 1, - ConnectionInfo.尾_魚_左10_接続 => 1, - ConnectionInfo.尾_魚_右10_接続 => 1, - ConnectionInfo.尾_魚_左11_接続 => 1, - ConnectionInfo.尾_魚_右11_接続 => 1, - ConnectionInfo.尾_魚_左12_接続 => 1, - ConnectionInfo.尾_魚_右12_接続 => 1, - ConnectionInfo.尾_魚_左13_接続 => 1, - ConnectionInfo.尾_魚_右13_接続 => 1, - ConnectionInfo.尾_魚_左14_接続 => 1, - ConnectionInfo.尾_魚_右14_接続 => 1, - ConnectionInfo.尾_魚_左15_接続 => 1, - ConnectionInfo.尾_魚_右15_接続 => 1, - ConnectionInfo.尾_魚_左16_接続 => 1, - ConnectionInfo.尾_魚_右16_接続 => 1, - ConnectionInfo.尾_魚_左17_接続 => 1, - ConnectionInfo.尾_魚_右17_接続 => 1, - ConnectionInfo.尾_魚_左18_接続 => 1, - ConnectionInfo.尾_魚_右18_接続 => 1, - ConnectionInfo.尾_魚_左19_接続 => 1, - ConnectionInfo.尾_魚_右19_接続 => 1, - ConnectionInfo.尾_魚_左20_接続 => 1, - ConnectionInfo.尾_魚_右20_接続 => 1, - ConnectionInfo.尾_魚_左21_接続 => 1, - ConnectionInfo.尾_魚_右21_接続 => 1, - ConnectionInfo.尾_魚_左22_接続 => 1, - ConnectionInfo.尾_魚_右22_接続 => 1, - ConnectionInfo.尾_魚_左23_接続 => 1, - ConnectionInfo.尾_魚_右23_接続 => 1, - ConnectionInfo.尾_魚_左24_接続 => 1, - ConnectionInfo.尾_魚_右24_接続 => 1, - ConnectionInfo.尾_魚_左25_接続 => 1, - ConnectionInfo.尾_魚_右25_接続 => 1, - ConnectionInfo.尾_魚_左26_接続 => 1, - ConnectionInfo.尾_魚_右26_接続 => 1, - ConnectionInfo.尾_魚_左27_接続 => 1, - ConnectionInfo.尾_魚_右27_接続 => 1, - ConnectionInfo.尾_魚_左28_接続 => 1, - ConnectionInfo.尾_魚_右28_接続 => 1, - ConnectionInfo.尾_魚_左29_接続 => 1, - ConnectionInfo.尾_魚_右29_接続 => 1, - ConnectionInfo.尾_魚_左30_接続 => 1, - ConnectionInfo.尾_魚_右30_接続 => 1, - ConnectionInfo.尾_魚_左31_接続 => 1, - ConnectionInfo.尾_魚_右31_接続 => 1, - ConnectionInfo.尾_魚_左32_接続 => 1, - ConnectionInfo.尾_魚_右32_接続 => 1, - ConnectionInfo.尾_魚_左33_接続 => 1, - ConnectionInfo.尾_魚_右33_接続 => 1, - ConnectionInfo.尾_魚_左34_接続 => 1, - ConnectionInfo.尾_魚_右34_接続 => 1, - ConnectionInfo.尾_魚_尾先_接続 => 0, - ConnectionInfo.尾_鯨_左1_接続 => 1, - ConnectionInfo.尾_鯨_右1_接続 => 1, - ConnectionInfo.尾_鯨_左2_接続 => 1, - ConnectionInfo.尾_鯨_右2_接続 => 1, - ConnectionInfo.尾_鯨_左3_接続 => 1, - ConnectionInfo.尾_鯨_右3_接続 => 1, - ConnectionInfo.尾_鯨_左4_接続 => 1, - ConnectionInfo.尾_鯨_右4_接続 => 1, - ConnectionInfo.尾_鯨_左5_接続 => 1, - ConnectionInfo.尾_鯨_右5_接続 => 1, - ConnectionInfo.尾_鯨_左6_接続 => 1, - ConnectionInfo.尾_鯨_右6_接続 => 1, - ConnectionInfo.尾_鯨_左7_接続 => 1, - ConnectionInfo.尾_鯨_右7_接続 => 1, - ConnectionInfo.尾_鯨_左8_接続 => 1, - ConnectionInfo.尾_鯨_右8_接続 => 1, - ConnectionInfo.尾_鯨_左9_接続 => 1, - ConnectionInfo.尾_鯨_右9_接続 => 1, - ConnectionInfo.尾_鯨_左10_接続 => 1, - ConnectionInfo.尾_鯨_右10_接続 => 1, - ConnectionInfo.尾_鯨_左11_接続 => 1, - ConnectionInfo.尾_鯨_右11_接続 => 1, - ConnectionInfo.尾_鯨_左12_接続 => 1, - ConnectionInfo.尾_鯨_右12_接続 => 1, - ConnectionInfo.尾_鯨_左13_接続 => 1, - ConnectionInfo.尾_鯨_右13_接続 => 1, - ConnectionInfo.尾_鯨_左14_接続 => 1, - ConnectionInfo.尾_鯨_右14_接続 => 1, - ConnectionInfo.尾_鯨_左15_接続 => 1, - ConnectionInfo.尾_鯨_右15_接続 => 1, - ConnectionInfo.尾_鯨_左16_接続 => 1, - ConnectionInfo.尾_鯨_右16_接続 => 1, - ConnectionInfo.尾_鯨_左17_接続 => 1, - ConnectionInfo.尾_鯨_右17_接続 => 1, - ConnectionInfo.尾_鯨_左18_接続 => 1, - ConnectionInfo.尾_鯨_右18_接続 => 1, - ConnectionInfo.尾_鯨_左19_接続 => 1, - ConnectionInfo.尾_鯨_右19_接続 => 1, - ConnectionInfo.尾_鯨_左20_接続 => 1, - ConnectionInfo.尾_鯨_右20_接続 => 1, - ConnectionInfo.尾_鯨_左21_接続 => 1, - ConnectionInfo.尾_鯨_右21_接続 => 1, - ConnectionInfo.尾_鯨_左22_接続 => 1, - ConnectionInfo.尾_鯨_右22_接続 => 1, - ConnectionInfo.尾_鯨_左23_接続 => 1, - ConnectionInfo.尾_鯨_右23_接続 => 1, - ConnectionInfo.尾_鯨_左24_接続 => 1, - ConnectionInfo.尾_鯨_右24_接続 => 1, - ConnectionInfo.尾_鯨_左25_接続 => 1, - ConnectionInfo.尾_鯨_右25_接続 => 1, - ConnectionInfo.尾_鯨_左26_接続 => 1, - ConnectionInfo.尾_鯨_右26_接続 => 1, - ConnectionInfo.尾_鯨_左27_接続 => 1, - ConnectionInfo.尾_鯨_右27_接続 => 1, - ConnectionInfo.尾_鯨_左28_接続 => 1, - ConnectionInfo.尾_鯨_右28_接続 => 1, - ConnectionInfo.尾_鯨_左29_接続 => 1, - ConnectionInfo.尾_鯨_右29_接続 => 1, - ConnectionInfo.尾_鯨_左30_接続 => 1, - ConnectionInfo.尾_鯨_右30_接続 => 1, - ConnectionInfo.尾_鯨_左31_接続 => 1, - ConnectionInfo.尾_鯨_右31_接続 => 1, - ConnectionInfo.尾_鯨_左32_接続 => 1, - ConnectionInfo.尾_鯨_右32_接続 => 1, - ConnectionInfo.尾_鯨_左33_接続 => 1, - ConnectionInfo.尾_鯨_右33_接続 => 1, - ConnectionInfo.尾_鯨_左34_接続 => 1, - ConnectionInfo.尾_鯨_右34_接続 => 1, - ConnectionInfo.尾_鯨_尾先_接続 => 0, - ConnectionInfo.尾_蟲_左1_接続 => 1, - ConnectionInfo.尾_蟲_右1_接続 => 1, - ConnectionInfo.尾_蟲_左2_接続 => 1, - ConnectionInfo.尾_蟲_右2_接続 => 1, - ConnectionInfo.尾_蟲_左3_接続 => 1, - ConnectionInfo.尾_蟲_右3_接続 => 1, - ConnectionInfo.尾_蟲_左4_接続 => 1, - ConnectionInfo.尾_蟲_右4_接続 => 1, - ConnectionInfo.尾_蟲_左5_接続 => 1, - ConnectionInfo.尾_蟲_右5_接続 => 1, - ConnectionInfo.尾_蟲_尾左_接続 => 0, - ConnectionInfo.尾_蟲_尾右_接続 => 0, - ConnectionInfo.前翅_甲_軸1_接続 => 1, - ConnectionInfo.前翅_甲_軸2_接続 => 1, - ConnectionInfo.前翅_甲_軸3_接続 => 1, - ConnectionInfo.触手_犬_Head_接続 => 1, - ConnectionInfo.触手_犬_UpperArm左_接続 => 1, - ConnectionInfo.触手_犬_UpperArm右_接続 => 1, - ConnectionInfo.触手_犬_LowerArm左_接続 => 1, - ConnectionInfo.触手_犬_LowerArm右_接続 => 1, - ConnectionInfo.触手_犬_手左_接続 => 1, - ConnectionInfo.触手_犬_手右_接続 => 1, - ConnectionInfo.触手_蔦_節1_接続 => 1, - ConnectionInfo.触手_蔦_節2_接続 => 1, - ConnectionInfo.触手_蔦_節3_接続 => 1, - ConnectionInfo.触手_蔦_節4_接続 => 1, - ConnectionInfo.触手_蔦_節5_接続 => 1, - ConnectionInfo.触手_蔦_節6_接続 => 1, - ConnectionInfo.触手_蔦_節7_接続 => 1, - ConnectionInfo.触手_蔦_節8_接続 => 1, - ConnectionInfo.触手_蔦_節9_接続 => 1, - ConnectionInfo.触手_蔦_節10_接続 => 1, - ConnectionInfo.触手_蔦_節11_接続 => 1, - ConnectionInfo.触手_蔦_節12_接続 => 1, - ConnectionInfo.触手_蔦_節13_接続 => 1, - ConnectionInfo.触手_蔦_節14_接続 => 1, - ConnectionInfo.触手_蔦_節15_接続 => 1, - ConnectionInfo.触手_蔦_節16_接続 => 1, - ConnectionInfo.触手_蔦_節17_接続 => 1, - ConnectionInfo.触手_蔦_節18_接続 => 1, - ConnectionInfo.触手_蔦_節19_接続 => 1, - ConnectionInfo.触手_蔦_節20_接続 => 1, - ConnectionInfo.触手_蔦_節21_接続 => 1, - ConnectionInfo.触手_蔦_節22_接続 => 1, - ConnectionInfo.触手_蔦_節23_接続 => 1, - ConnectionInfo.触手_蔦_節24_接続 => 1, - ConnectionInfo.触手_蔦_先端_接続 => 1, - ConnectionInfo.UpperArm_人_LowerArm_接続 => 1, - ConnectionInfo.UpperArm_鳥_LowerArm_接続 => 1, - ConnectionInfo.UpperArm_蝙_LowerArm_接続 => 1, - ConnectionInfo.UpperArm_獣_LowerArm_接続 => 1, - ConnectionInfo.UpperArm_蹄_LowerArm_接続 => 1, - ConnectionInfo.LowerArm_人_OuterArm_接続 => 1, - ConnectionInfo.LowerArm_人_手_接続 => 1, - ConnectionInfo.LowerArm_人_虫鎌_接続 => 1, - ConnectionInfo.LowerArm_鳥_手_接続 => 1, - ConnectionInfo.LowerArm_蝙_手_接続 => 1, - ConnectionInfo.LowerArm_蝙_腕輪_接続 => 1, - ConnectionInfo.LowerArm_獣_手_接続 => 1, - ConnectionInfo.LowerArm_蹄_手_接続 => 1, - ConnectionInfo.腿_人_Leg_接続 => 1, - ConnectionInfo.腿_獣_Leg_接続 => 1, - ConnectionInfo.腿_蹄_Leg_接続 => 1, - ConnectionInfo.腿_鳥_Leg_接続 => 1, - ConnectionInfo.腿_竜_Leg_接続 => 1, - ConnectionInfo.Leg_人_足_接続 => 1, - ConnectionInfo.Leg_人_脚輪下_接続 => 1, - ConnectionInfo.Leg_人_脚輪上_接続 => 1, - ConnectionInfo.Leg_獣_足_接続 => 1, - ConnectionInfo.Leg_蹄_足_接続 => 1, - ConnectionInfo.Leg_鳥_足_接続 => 1, - ConnectionInfo.Leg_竜_足_接続 => 1, - ConnectionInfo.長物_魚_左0_接続 => 1, - ConnectionInfo.長物_魚_右0_接続 => 1, - ConnectionInfo.長物_魚_左1_接続 => 1, - ConnectionInfo.長物_魚_右1_接続 => 1, - ConnectionInfo.長物_魚_左2_接続 => 1, - ConnectionInfo.長物_魚_右2_接続 => 1, - ConnectionInfo.長物_魚_左3_接続 => 1, - ConnectionInfo.長物_魚_右3_接続 => 1, - ConnectionInfo.長物_魚_左4_接続 => 1, - ConnectionInfo.長物_魚_右4_接続 => 1, - ConnectionInfo.長物_魚_左5_接続 => 1, - ConnectionInfo.長物_魚_右5_接続 => 1, - ConnectionInfo.長物_魚_左6_接続 => 1, - ConnectionInfo.長物_魚_右6_接続 => 1, - ConnectionInfo.長物_魚_尾_接続 => 0, - ConnectionInfo.長物_鯨_左0_接続 => 1, - ConnectionInfo.長物_鯨_右0_接続 => 1, - ConnectionInfo.長物_鯨_左1_接続 => 1, - ConnectionInfo.長物_鯨_右1_接続 => 1, - ConnectionInfo.長物_鯨_左2_接続 => 1, - ConnectionInfo.長物_鯨_右2_接続 => 1, - ConnectionInfo.長物_鯨_左3_接続 => 1, - ConnectionInfo.長物_鯨_右3_接続 => 1, - ConnectionInfo.長物_鯨_左4_接続 => 1, - ConnectionInfo.長物_鯨_右4_接続 => 1, - ConnectionInfo.長物_鯨_左5_接続 => 1, - ConnectionInfo.長物_鯨_右5_接続 => 1, - ConnectionInfo.長物_鯨_左6_接続 => 1, - ConnectionInfo.長物_鯨_右6_接続 => 1, - ConnectionInfo.長物_鯨_尾_接続 => 0, - ConnectionInfo.長物_蛇_左_接続 => 1, - ConnectionInfo.長物_蛇_右_接続 => 1, - ConnectionInfo.長物_蛇_Torso_接続 => 0, - ConnectionInfo.長物_蟲_左0_接続 => 1, - ConnectionInfo.長物_蟲_右0_接続 => 1, - ConnectionInfo.長物_蟲_左1_接続 => 1, - ConnectionInfo.長物_蟲_右1_接続 => 1, - ConnectionInfo.長物_蟲_Torso_接続 => 0, - ConnectionInfo.四足胸_脇左_接続 => 0, - ConnectionInfo.四足胸_脇右_接続 => 0, - ConnectionInfo.四足胸_Torso_接続 => 0, - ConnectionInfo.四足胸_胸左_接続 => 1, - ConnectionInfo.四足胸_胸右_接続 => 1, - ConnectionInfo.四足胸_肌_接続 => 1, - ConnectionInfo.四足胸_翼上左_接続 => 0, - ConnectionInfo.四足胸_翼上右_接続 => 0, - ConnectionInfo.四足胸_翼下左_接続 => 0, - ConnectionInfo.四足胸_翼下右_接続 => 0, - ConnectionInfo.四足胸_背中_接続 => 0, - ConnectionInfo.四足脇_UpperArm_接続 => 1, - ConnectionInfo.四足胴_Waist_接続 => 0, - ConnectionInfo.四足胴_肌_接続 => 1, - ConnectionInfo.四足胴_翼左_接続 => 0, - ConnectionInfo.四足胴_翼右_接続 => 0, - ConnectionInfo.四足腰_腿左_接続 => 1, - ConnectionInfo.四足腰_腿右_接続 => 1, - ConnectionInfo.四足腰_膣基_接続 => 1, - ConnectionInfo.四足腰_肛門_接続 => 1, - ConnectionInfo.四足腰_尾_接続 => 0, - ConnectionInfo.四足腰_半身_接続 => 1, - ConnectionInfo.四足腰_上着_接続 => 1, - ConnectionInfo.四足腰_肌_接続 => 1, - ConnectionInfo.四足腰_翼左_接続 => 0, - ConnectionInfo.四足腰_翼右_接続 => 0, - ConnectionInfo.多足_蛸_軟体外左_接続 => 1, - ConnectionInfo.多足_蛸_軟体外右_接続 => 1, - ConnectionInfo.多足_蛸_軟体内左_接続 => 1, - ConnectionInfo.多足_蛸_軟体内右_接続 => 1, - ConnectionInfo.多足_蜘_触肢左_接続 => 1, - ConnectionInfo.多足_蜘_触肢右_接続 => 1, - ConnectionInfo.多足_蜘_節足左1_接続 => 1, - ConnectionInfo.多足_蜘_節足左2_接続 => 1, - ConnectionInfo.多足_蜘_節足左3_接続 => 1, - ConnectionInfo.多足_蜘_節足左4_接続 => 1, - ConnectionInfo.多足_蜘_節足右1_接続 => 1, - ConnectionInfo.多足_蜘_節足右2_接続 => 1, - ConnectionInfo.多足_蜘_節足右3_接続 => 1, - ConnectionInfo.多足_蜘_節足右4_接続 => 1, - ConnectionInfo.多足_蜘_尾_接続 => 0, - ConnectionInfo.多足_蠍_触肢左_接続 => 1, - ConnectionInfo.多足_蠍_節足左1_接続 => 1, - ConnectionInfo.多足_蠍_節足左2_接続 => 1, - ConnectionInfo.多足_蠍_節足左3_接続 => 1, - ConnectionInfo.多足_蠍_節足左4_接続 => 1, - ConnectionInfo.多足_蠍_触肢右_接続 => 1, - ConnectionInfo.多足_蠍_節足右1_接続 => 1, - ConnectionInfo.多足_蠍_節足右2_接続 => 1, - ConnectionInfo.多足_蠍_節足右3_接続 => 1, - ConnectionInfo.多足_蠍_節足右4_接続 => 1, - ConnectionInfo.多足_蠍_櫛状板左_接続 => 1, - ConnectionInfo.多足_蠍_櫛状板右_接続 => 1, - ConnectionInfo.多足_蠍_尾_接続 => 0, - ConnectionInfo.単足_植_根外左_接続 => 0, - ConnectionInfo.単足_植_根内左_接続 => 0, - ConnectionInfo.単足_植_根中央_接続 => 0, - ConnectionInfo.単足_植_根内右_接続 => 0, - ConnectionInfo.単足_植_根外右_接続 => 0, - ConnectionInfo.Torso_蛇_左_接続 => 1, - ConnectionInfo.Torso_蛇_右_接続 => 1, - ConnectionInfo.Torso_蛇_Torso_接続 => 0, - ConnectionInfo.Torso_蟲_左_接続 => 1, - ConnectionInfo.Torso_蟲_右_接続 => 1, - ConnectionInfo.Torso_蟲_Torso_接続 => 0, - ConnectionInfo.大顎基_顎左_接続 => 1, - ConnectionInfo.大顎基_顎右_接続 => 1, - ConnectionInfo.植_花_接続 => 1, - _ => 0, - }; - - public virtual void 接続(JointS 接続元) - { - 接続根.Set(接続元); - } - - public virtual void 描画0(RenderArea Are) - { - Body.Draw(Are); - } - - public virtual void 描画1(RenderArea Are) - { - } - - public virtual void 描画2(RenderArea Are) - { - } - - public virtual void Dispose() - { - Body.Dispose(); - } - - public virtual void 接続P() - { - 接続根.JoinP(); - } - - public virtual void 接続PA() - { - 接続根.JoinPA(); - } - - public virtual void 色更新() - { - } - - public virtual void 色更新(Vector2D[] mm) - { - } - - public virtual void SetAngle0() - { - 角度B = 0.0; - } - - public void SetAngle(Ele e) - { - foreach (var item in Body.EnumAllPar().Zip(e.Body.EnumAllPar(), (Par a0, Par a1) => new { a0, a1 })) - { - item.a0.AngleBase = 0.0 - item.a1.AngleBase; - } - Body.JoinPAall(); - } - - public virtual void SetRestraintAngle() - { - } - - public virtual IEnumerable EnumEle() - { - yield return this; - foreach (FieldInfo item in from e in ThisType.GetFields() - where e.FieldType.ToString() == Sta.at - select e) - { - Ele[] array = (Ele[])item.GetValue(this); - if (array == null) - { - continue; - } - Ele[] array2 = array; - foreach (Ele ele in array2) - { - foreach (Ele item2 in ele.EnumEle()) - { - yield return item2; - } - } - } - } - - public IEnumerable EnumConnectionType(ConnectionInfo 接続情報) - { - Ele[] array = (Ele[])ThisType.GetField(接続情報.ToString().Remove(0, ThisType.Name.Length + 1)).GetValue(this); - if (array != null) - { - Ele[] array2 = array; - for (int i = 0; i < array2.Length; i++) - { - yield return array2[i]; - } - } - } - - public ColorP GetParOfColorP(Par p) - { - return (from e in ThisType.GetFields() - where e.FieldType.ToString() == Sta.cpt - select e.GetValue(this)).Cast().FirstOrDefault((ColorP e) => e.Par == p); - } - - public virtual bool Is布(Par p) - { - return false; - } - - public virtual bool Is革(Par p) - { - return false; - } - - public virtual bool Is鉄(Par p) - { - return false; - } + public static double 身長d2 = 身長ma2 - 身長mi2; + + protected double 肥大_; + + protected double 身長_; + + protected bool Xasix = true; + + protected bool 右_; + + protected bool 反転X_; + + protected bool 反転Y_; + + public JointD 接続根; + + public 配色指定 配色指定; + + protected double サイズ_; + + protected double サイズX_; + + protected double サイズY_; + + protected bool 欠損_; + + protected bool 筋肉_; + + protected bool 拘束_; + + public Type ThisType; + + public virtual Vector2D 基準C + { + get => Body.GetCurJoinRoot().GetBasePointCont(); + set + { + foreach (Par item in Body.EnumJoinRoot) + { + item.SetBasePointCont(value); + } + Body.JoinP(); + } + } + + public virtual Vector2D 位置 => Body.GetCurJoinRoot().GetPosition(); + + public virtual Vector2D 位置B + { + get => Body.GetCurJoinRoot().GetPositionBase(); + set + { + foreach (Par item in Body.EnumJoinRoot) + { + item.SetPositionBase(value); + } + Body.JoinP(); + } + } + + public virtual Vector2D 位置C + { + get => Body.GetCurJoinRoot().GetPositionCont(); + set + { + foreach (Par item in Body.EnumJoinRoot) + { + item.SetPositionCont(value); + } + Body.JoinP(); + } + } + + public virtual double AngleAll + { + set + { + foreach (Par item in Body.EnumAllPar()) + { + item.SetAngleBase(value); + } + Body.JoinPA(); + } + } + + public virtual double 角度B + { + get => Body.GetCurJoinRoot().GetAngleBase(); + set + { + foreach (Par item in Body.EnumJoinRoot) + { + item.SetAngleBase(value); + } + Body.JoinPA(); + } + } + + public virtual double 角度C + { + get => Body.GetCurJoinRoot().GetAngleCont(); + set + { + foreach (Par item in Body.EnumJoinRoot) + { + item.SetAngleCont(value); + } + Body.JoinPA(); + } + } + + public virtual double 尺度B + { + get => Body.GetCurJoinRoot().GetSizeBase(); + set + { + foreach (Par item in Body.EnumAllPar()) + { + item.SetSizeBase(item.GetSizeBase() * value); + } + Body.JoinP(); + } + } + + public virtual double 尺度C + { + get => Body.GetCurJoinRoot().GetSizeCont(); + set + { + foreach (Par item in Body.EnumAllPar()) + { + item.SetSizeCont(value); + } + Body.JoinP(); + } + } + + public virtual double 尺度XB + { + get => Body.GetCurJoinRoot().GetSizeXBase(); + set + { + foreach (Par item in Body.EnumAllPar()) + { + item.SetSizeXBase(item.GetSizeXBase() * value); + } + Body.JoinP(); + } + } + + public virtual double 尺度XC + { + get => Body.GetCurJoinRoot().GetSizeXCont(); + set + { + foreach (Par item in Body.EnumAllPar()) + { + item.SetSizeXCont(value); + } + Body.JoinP(); + } + } + + public virtual double 尺度YB + { + get => Body.GetCurJoinRoot().GetSizeYBase(); + set + { + foreach (Par item in Body.EnumAllPar()) + { + item.SetSizeYBase(item.GetSizeYBase() * value); + } + Body.JoinP(); + } + } + + public virtual double 尺度YC + { + get => Body.GetCurJoinRoot().GetSizeYCont(); + set + { + foreach (Par item in Body.EnumAllPar()) + { + item.SetSizeYCont(value); + } + Body.JoinP(); + } + } + + public virtual double 肥大 + { + get => 肥大_; + set + { + 肥大_ = value; + double rate = 肥大mi1 + 肥大d1 * 肥大_; + double num = 肥大mi2 + 肥大d2 * 肥大_; + double num2 = num + 0.05 * 肥大_.Inverse(); + foreach (Par item in Body.EnumAllPar()) + { + if (item.GetParent().Tag.Contains("眼") || item.GetParent().Tag.Contains("コア") || item.Tag.Contains("傷") || item.Tag.Contains("ボタン")) + { + continue; + } + if (item.GetParent().Tag.Contains("輪")) + { + item.SetSizeBase(item.GetSizeBase() * num2); + } + else if (item.Tag.Contains("吸盤") || this is 膣基 || this is 膣内精液 || this is 断面 || this is 性器 || this is 肛門 || this is 乳房 || this is 下着トップ || this is Waist || this is 腰肌 || this is 四足腰 || this is 下着ボトム || this is 上着ボトム || this is 手 || this is 噴乳 || this is 飛沫 || this is 潮吹_小 || this is 潮吹_大 || this is 放尿 || this is 半身 || this is 頭頂_天 || this is 背中_光 || this is ボテ腹) + { + item.SetSizeBase(item.GetSizeBase() * num); + } + else if (Xasix) + { + if (this is Head or 目隠帯 or 玉口枷) + { + item.GetOP().ExpansionX(item.GetOP().GetCenter(), rate); + } + else + { + item.SetSizeXBase(item.GetSizeXBase() * num); + } + } + else if (this is Head or 目隠帯 or 玉口枷) + { + item.GetOP().ExpansionY(item.GetOP().GetCenter(), rate); + } + else + { + item.SetSizeYBase(item.GetSizeYBase() * num); + } + } + Body.JoinP(); + } + } + + public virtual double 身長 + { + get => 身長_; + set + { + 身長_ = value; + double num = 身長mi2 + 身長d2 * 身長_; + foreach (Par item in Body.EnumAllPar()) + { + if (!item.GetParent().Tag.Contains("眼") && !item.GetParent().Tag.Contains("コア") && !item.Tag.Contains("傷") && !item.Tag.Contains("ボタン") && !item.GetParent().Tag.Contains("輪") && !item.Tag.Contains("吸盤") && this is not 膣基 && this is not 膣内精液 && this is not 断面 && this is not 性器 && this is not 肛門 && this is not 乳房 && this is not 下着トップ && this is not Waist && this is not 腰肌 && this is not 四足腰 && this is not 下着ボトム && this is not 上着ボトム && this is not 手 && this is not 噴乳 && this is not 飛沫 && this is not 潮吹_小 && this is not 潮吹_大 && this is not 放尿 && this is not Head && this is not 目隠帯 && this is not 玉口枷 && this is not 半身 && this is not 頭頂 && this is not 背中_光 && this is not ボテ腹) + { + if (this is Head or 目隠帯 or 玉口枷) + { + if (num < 1.0) + { + if (Xasix) + { + item.SetSizeYBase(item.GetSizeYBase() * num); + } + else + { + item.SetSizeXBase(item.GetSizeXBase() * num); + } + } + } + else if (Xasix) + { + item.SetSizeYBase(item.GetSizeYBase() * num); + } + else + { + item.SetSizeXBase(item.GetSizeXBase() * num); + } + } + else if (item.GetParent().Tag.Contains("コア")) + { + item.SetSizeBase(item.GetSizeBase() * num); + item.GetOP().ScalingXY(item.GetOP().GetCenter(), 1.0 / num); + } + } + Body.JoinP(); + } + } + + public virtual bool 右 + { + get => 右_; + set + { + if (右_ != value) + { + Body.JoinPAall(); + Body.ReverseX(); + Body.JoinP(); + } + 右_ = value; + } + } + + public virtual bool 反転X + { + get => 反転X_; + set + { + if (反転X_ != value) + { + Body.JoinPAall(); + Body.ReverseX(); + Body.JoinP(); + } + 反転X_ = value; + } + } + + public virtual bool 反転Y + { + get => 反転Y_; + set + { + if (反転Y_ != value) + { + Body.JoinPAall(); + Body.ReverseY(); + Body.JoinP(); + } + 反転Y_ = value; + } + } + + public virtual double Xv + { + get => Body.ValueX; set => Body.ValueX = value; + } + + public virtual double Yv + { + get => Body.ValueY; set => Body.ValueY = value; + } + + public virtual int Xi + { + get => Body.GetIndexX(); set => Body.SetIndexX(value); + } + + public virtual int Yi + { + get => Body.GetIndexY(); set => Body.SetIndexY(value); + } + + public virtual double サイズ + { + get => サイズ_; + set + { + サイズ_ = value; + double rate = 0.95 + 0.09 * サイズ_; + foreach (Par item in Body.EnumAllPar()) + { + Vector2D center = item.GetOP().GetCenter(); + item.GetOP().ScalingXY(center, rate); + item.GetJP().ScalingXY(center, rate); + } + } + } + + public virtual double サイズX + { + get => サイズX_; + set + { + サイズX_ = value; + double rate = 0.95 + 0.09 * サイズX_; + foreach (Par item in Body.EnumAllPar()) + { + Vector2D center = item.GetOP().GetCenter(); + item.GetOP().ScalingX(center, rate); + item.GetJP().ScalingX(center, rate); + } + } + } + + public virtual double サイズY + { + get => サイズY_; + set + { + サイズY_ = value; + double rate = 0.95 + 0.09 * サイズY_; + foreach (Par item in Body.EnumAllPar()) + { + Vector2D center = item.GetOP().GetCenter(); + item.GetOP().ScalingY(center, rate); + item.GetJP().ScalingY(center, rate); + } + } + } + + public virtual bool 欠損 { get; set; } + + public virtual bool 筋肉 { get; set; } + + public virtual bool 拘束 { get; set; } + + public virtual bool 表示 { get; set; } + + public virtual double Intensity { get; set; } + + public int 描画前後 => ConnectionType switch + { + ConnectionInfo.Head_基髪_接続 => 1, + ConnectionInfo.Head_目左_接続 => 1, + ConnectionInfo.Head_目右_接続 => 1, + ConnectionInfo.Head_鼻_接続 => 1, + ConnectionInfo.Head_口_接続 => 1, + ConnectionInfo.Head_頬左_接続 => 1, + ConnectionInfo.Head_頬右_接続 => 1, + ConnectionInfo.Head_額_接続 => 1, + ConnectionInfo.Head_眉左_接続 => 1, + ConnectionInfo.Head_眉右_接続 => 1, + ConnectionInfo.Head_耳左_接続 => 1, + ConnectionInfo.Head_耳右_接続 => 1, + ConnectionInfo.Head_鼻肌_接続 => 1, + ConnectionInfo.Head_単眼目_接続 => 1, + ConnectionInfo.Head_単眼眉_接続 => 1, + ConnectionInfo.Head_頬肌左_接続 => 1, + ConnectionInfo.Head_頬肌右_接続 => 1, + ConnectionInfo.Head_触覚左_接続 => 1, + ConnectionInfo.Head_触覚右_接続 => 1, + ConnectionInfo.基髪_頭頂左_接続 => 1, + ConnectionInfo.基髪_頭頂右_接続 => 1, + ConnectionInfo.基髪_前髪_接続 => 1, + ConnectionInfo.基髪_後髪_接続 => 0, + ConnectionInfo.BackHair0_肢系_左5_接続 => 1, + ConnectionInfo.BackHair0_肢系_左4_接続 => 1, + ConnectionInfo.BackHair0_肢系_左3_接続 => 1, + ConnectionInfo.BackHair0_肢系_左2_接続 => 1, + ConnectionInfo.BackHair0_肢系_左1_接続 => 1, + ConnectionInfo.BackHair0_肢系_中央_接続 => 1, + ConnectionInfo.BackHair0_肢系_右1_接続 => 1, + ConnectionInfo.BackHair0_肢系_右2_接続 => 1, + ConnectionInfo.BackHair0_肢系_右3_接続 => 1, + ConnectionInfo.BackHair0_肢系_右4_接続 => 1, + ConnectionInfo.BackHair0_肢系_右5_接続 => 1, + ConnectionInfo.SideHair_肢系_肢_接続 => 1, + ConnectionInfo.双目_瞼_接続 => 1, + ConnectionInfo.瞼_宇_涙_接続 => 1, + ConnectionInfo.単目_瞼_接続 => 1, + ConnectionInfo.頬目_瞼_接続 => 1, + ConnectionInfo.縦目_瞼_接続 => 1, + ConnectionInfo.鼻_人_鼻水左_接続 => 1, + ConnectionInfo.鼻_人_鼻水右_接続 => 1, + ConnectionInfo.鼻_獣_鼻水左_接続 => 1, + ConnectionInfo.鼻_獣_鼻水右_接続 => 1, + ConnectionInfo.Neck_Head_接続 => 1, + ConnectionInfo.Chest_Neck_接続 => 1, + ConnectionInfo.Chest_肩左_接続 => 1, + ConnectionInfo.Chest_肩右_接続 => 1, + ConnectionInfo.Chest_胸左_接続 => 1, + ConnectionInfo.Chest_胸右_接続 => 1, + ConnectionInfo.Chest_肌_接続 => 1, + ConnectionInfo.Chest_翼上左_接続 => 0, + ConnectionInfo.Chest_翼上右_接続 => 0, + ConnectionInfo.Chest_翼下左_接続 => 0, + ConnectionInfo.Chest_翼下右_接続 => 0, + ConnectionInfo.Chest_背中_接続 => 0, + ConnectionInfo.乳房_噴乳_接続 => 1, + ConnectionInfo.Shoulder_UpperArm_接続 => 1, + ConnectionInfo.Torso_Chest_接続 => 1, + ConnectionInfo.Torso_肌_接続 => 1, + ConnectionInfo.Torso_翼左_接続 => 0, + ConnectionInfo.Torso_翼右_接続 => 0, + ConnectionInfo.Waist_Torso_接続 => 1, + ConnectionInfo.Waist_腿左_接続 => 1, + ConnectionInfo.Waist_腿右_接続 => 1, + ConnectionInfo.Waist_膣基_接続 => 1, + ConnectionInfo.Waist_肛門_接続 => 1, + ConnectionInfo.Waist_尾_接続 => 0, + ConnectionInfo.Waist_半身_接続 => 1, + ConnectionInfo.Waist_上着_接続 => 0, + ConnectionInfo.Waist_肌_接続 => 1, + ConnectionInfo.Waist_翼左_接続 => 0, + ConnectionInfo.Waist_翼右_接続 => 0, + ConnectionInfo.ボテ腹_人_腹板_接続 => 1, + ConnectionInfo.ボテ腹_獣_腹板_接続 => 1, + ConnectionInfo.肛門_人_肛門精液_接続 => 1, + ConnectionInfo.肛門_獣_肛門精液_接続 => 1, + ConnectionInfo.性器_人_陰核_接続 => 1, + ConnectionInfo.性器_人_尿道_接続 => 1, + ConnectionInfo.性器_人_膣口_接続 => 1, + ConnectionInfo.性器_獣_陰核_接続 => 1, + ConnectionInfo.性器_獣_尿道_接続 => 1, + ConnectionInfo.性器_獣_膣口_接続 => 1, + ConnectionInfo.上着ボトム_クロス_上着ボトム後_接続 => 0, + ConnectionInfo.顔面_甲_触覚左_接続 => 1, + ConnectionInfo.顔面_甲_触覚右_接続 => 1, + ConnectionInfo.顔面_虫_触覚左_接続 => 1, + ConnectionInfo.顔面_虫_触覚右_接続 => 1, + ConnectionInfo.顔面_蟲_触覚左_接続 => 1, + ConnectionInfo.顔面_蟲_触覚右_接続 => 1, + ConnectionInfo.頭頂_宇_頭部後_接続 => 0, + ConnectionInfo.尾_ヘ_尾先_接続 => 0, + ConnectionInfo.尾_ウ_尾先_接続 => 0, + ConnectionInfo.尾_魚_左1_接続 => 1, + ConnectionInfo.尾_魚_右1_接続 => 1, + ConnectionInfo.尾_魚_左2_接続 => 1, + ConnectionInfo.尾_魚_右2_接続 => 1, + ConnectionInfo.尾_魚_左3_接続 => 1, + ConnectionInfo.尾_魚_右3_接続 => 1, + ConnectionInfo.尾_魚_左4_接続 => 1, + ConnectionInfo.尾_魚_右4_接続 => 1, + ConnectionInfo.尾_魚_左5_接続 => 1, + ConnectionInfo.尾_魚_右5_接続 => 1, + ConnectionInfo.尾_魚_左6_接続 => 1, + ConnectionInfo.尾_魚_右6_接続 => 1, + ConnectionInfo.尾_魚_左7_接続 => 1, + ConnectionInfo.尾_魚_右7_接続 => 1, + ConnectionInfo.尾_魚_左8_接続 => 1, + ConnectionInfo.尾_魚_右8_接続 => 1, + ConnectionInfo.尾_魚_左9_接続 => 1, + ConnectionInfo.尾_魚_右9_接続 => 1, + ConnectionInfo.尾_魚_左10_接続 => 1, + ConnectionInfo.尾_魚_右10_接続 => 1, + ConnectionInfo.尾_魚_左11_接続 => 1, + ConnectionInfo.尾_魚_右11_接続 => 1, + ConnectionInfo.尾_魚_左12_接続 => 1, + ConnectionInfo.尾_魚_右12_接続 => 1, + ConnectionInfo.尾_魚_左13_接続 => 1, + ConnectionInfo.尾_魚_右13_接続 => 1, + ConnectionInfo.尾_魚_左14_接続 => 1, + ConnectionInfo.尾_魚_右14_接続 => 1, + ConnectionInfo.尾_魚_左15_接続 => 1, + ConnectionInfo.尾_魚_右15_接続 => 1, + ConnectionInfo.尾_魚_左16_接続 => 1, + ConnectionInfo.尾_魚_右16_接続 => 1, + ConnectionInfo.尾_魚_左17_接続 => 1, + ConnectionInfo.尾_魚_右17_接続 => 1, + ConnectionInfo.尾_魚_左18_接続 => 1, + ConnectionInfo.尾_魚_右18_接続 => 1, + ConnectionInfo.尾_魚_左19_接続 => 1, + ConnectionInfo.尾_魚_右19_接続 => 1, + ConnectionInfo.尾_魚_左20_接続 => 1, + ConnectionInfo.尾_魚_右20_接続 => 1, + ConnectionInfo.尾_魚_左21_接続 => 1, + ConnectionInfo.尾_魚_右21_接続 => 1, + ConnectionInfo.尾_魚_左22_接続 => 1, + ConnectionInfo.尾_魚_右22_接続 => 1, + ConnectionInfo.尾_魚_左23_接続 => 1, + ConnectionInfo.尾_魚_右23_接続 => 1, + ConnectionInfo.尾_魚_左24_接続 => 1, + ConnectionInfo.尾_魚_右24_接続 => 1, + ConnectionInfo.尾_魚_左25_接続 => 1, + ConnectionInfo.尾_魚_右25_接続 => 1, + ConnectionInfo.尾_魚_左26_接続 => 1, + ConnectionInfo.尾_魚_右26_接続 => 1, + ConnectionInfo.尾_魚_左27_接続 => 1, + ConnectionInfo.尾_魚_右27_接続 => 1, + ConnectionInfo.尾_魚_左28_接続 => 1, + ConnectionInfo.尾_魚_右28_接続 => 1, + ConnectionInfo.尾_魚_左29_接続 => 1, + ConnectionInfo.尾_魚_右29_接続 => 1, + ConnectionInfo.尾_魚_左30_接続 => 1, + ConnectionInfo.尾_魚_右30_接続 => 1, + ConnectionInfo.尾_魚_左31_接続 => 1, + ConnectionInfo.尾_魚_右31_接続 => 1, + ConnectionInfo.尾_魚_左32_接続 => 1, + ConnectionInfo.尾_魚_右32_接続 => 1, + ConnectionInfo.尾_魚_左33_接続 => 1, + ConnectionInfo.尾_魚_右33_接続 => 1, + ConnectionInfo.尾_魚_左34_接続 => 1, + ConnectionInfo.尾_魚_右34_接続 => 1, + ConnectionInfo.尾_魚_尾先_接続 => 0, + ConnectionInfo.尾_鯨_左1_接続 => 1, + ConnectionInfo.尾_鯨_右1_接続 => 1, + ConnectionInfo.尾_鯨_左2_接続 => 1, + ConnectionInfo.尾_鯨_右2_接続 => 1, + ConnectionInfo.尾_鯨_左3_接続 => 1, + ConnectionInfo.尾_鯨_右3_接続 => 1, + ConnectionInfo.尾_鯨_左4_接続 => 1, + ConnectionInfo.尾_鯨_右4_接続 => 1, + ConnectionInfo.尾_鯨_左5_接続 => 1, + ConnectionInfo.尾_鯨_右5_接続 => 1, + ConnectionInfo.尾_鯨_左6_接続 => 1, + ConnectionInfo.尾_鯨_右6_接続 => 1, + ConnectionInfo.尾_鯨_左7_接続 => 1, + ConnectionInfo.尾_鯨_右7_接続 => 1, + ConnectionInfo.尾_鯨_左8_接続 => 1, + ConnectionInfo.尾_鯨_右8_接続 => 1, + ConnectionInfo.尾_鯨_左9_接続 => 1, + ConnectionInfo.尾_鯨_右9_接続 => 1, + ConnectionInfo.尾_鯨_左10_接続 => 1, + ConnectionInfo.尾_鯨_右10_接続 => 1, + ConnectionInfo.尾_鯨_左11_接続 => 1, + ConnectionInfo.尾_鯨_右11_接続 => 1, + ConnectionInfo.尾_鯨_左12_接続 => 1, + ConnectionInfo.尾_鯨_右12_接続 => 1, + ConnectionInfo.尾_鯨_左13_接続 => 1, + ConnectionInfo.尾_鯨_右13_接続 => 1, + ConnectionInfo.尾_鯨_左14_接続 => 1, + ConnectionInfo.尾_鯨_右14_接続 => 1, + ConnectionInfo.尾_鯨_左15_接続 => 1, + ConnectionInfo.尾_鯨_右15_接続 => 1, + ConnectionInfo.尾_鯨_左16_接続 => 1, + ConnectionInfo.尾_鯨_右16_接続 => 1, + ConnectionInfo.尾_鯨_左17_接続 => 1, + ConnectionInfo.尾_鯨_右17_接続 => 1, + ConnectionInfo.尾_鯨_左18_接続 => 1, + ConnectionInfo.尾_鯨_右18_接続 => 1, + ConnectionInfo.尾_鯨_左19_接続 => 1, + ConnectionInfo.尾_鯨_右19_接続 => 1, + ConnectionInfo.尾_鯨_左20_接続 => 1, + ConnectionInfo.尾_鯨_右20_接続 => 1, + ConnectionInfo.尾_鯨_左21_接続 => 1, + ConnectionInfo.尾_鯨_右21_接続 => 1, + ConnectionInfo.尾_鯨_左22_接続 => 1, + ConnectionInfo.尾_鯨_右22_接続 => 1, + ConnectionInfo.尾_鯨_左23_接続 => 1, + ConnectionInfo.尾_鯨_右23_接続 => 1, + ConnectionInfo.尾_鯨_左24_接続 => 1, + ConnectionInfo.尾_鯨_右24_接続 => 1, + ConnectionInfo.尾_鯨_左25_接続 => 1, + ConnectionInfo.尾_鯨_右25_接続 => 1, + ConnectionInfo.尾_鯨_左26_接続 => 1, + ConnectionInfo.尾_鯨_右26_接続 => 1, + ConnectionInfo.尾_鯨_左27_接続 => 1, + ConnectionInfo.尾_鯨_右27_接続 => 1, + ConnectionInfo.尾_鯨_左28_接続 => 1, + ConnectionInfo.尾_鯨_右28_接続 => 1, + ConnectionInfo.尾_鯨_左29_接続 => 1, + ConnectionInfo.尾_鯨_右29_接続 => 1, + ConnectionInfo.尾_鯨_左30_接続 => 1, + ConnectionInfo.尾_鯨_右30_接続 => 1, + ConnectionInfo.尾_鯨_左31_接続 => 1, + ConnectionInfo.尾_鯨_右31_接続 => 1, + ConnectionInfo.尾_鯨_左32_接続 => 1, + ConnectionInfo.尾_鯨_右32_接続 => 1, + ConnectionInfo.尾_鯨_左33_接続 => 1, + ConnectionInfo.尾_鯨_右33_接続 => 1, + ConnectionInfo.尾_鯨_左34_接続 => 1, + ConnectionInfo.尾_鯨_右34_接続 => 1, + ConnectionInfo.尾_鯨_尾先_接続 => 0, + ConnectionInfo.尾_蟲_左1_接続 => 1, + ConnectionInfo.尾_蟲_右1_接続 => 1, + ConnectionInfo.尾_蟲_左2_接続 => 1, + ConnectionInfo.尾_蟲_右2_接続 => 1, + ConnectionInfo.尾_蟲_左3_接続 => 1, + ConnectionInfo.尾_蟲_右3_接続 => 1, + ConnectionInfo.尾_蟲_左4_接続 => 1, + ConnectionInfo.尾_蟲_右4_接続 => 1, + ConnectionInfo.尾_蟲_左5_接続 => 1, + ConnectionInfo.尾_蟲_右5_接続 => 1, + ConnectionInfo.尾_蟲_尾左_接続 => 0, + ConnectionInfo.尾_蟲_尾右_接続 => 0, + ConnectionInfo.前翅_甲_軸1_接続 => 1, + ConnectionInfo.前翅_甲_軸2_接続 => 1, + ConnectionInfo.前翅_甲_軸3_接続 => 1, + ConnectionInfo.触手_犬_Head_接続 => 1, + ConnectionInfo.触手_犬_UpperArm左_接続 => 1, + ConnectionInfo.触手_犬_UpperArm右_接続 => 1, + ConnectionInfo.触手_犬_LowerArm左_接続 => 1, + ConnectionInfo.触手_犬_LowerArm右_接続 => 1, + ConnectionInfo.触手_犬_手左_接続 => 1, + ConnectionInfo.触手_犬_手右_接続 => 1, + ConnectionInfo.触手_蔦_節1_接続 => 1, + ConnectionInfo.触手_蔦_節2_接続 => 1, + ConnectionInfo.触手_蔦_節3_接続 => 1, + ConnectionInfo.触手_蔦_節4_接続 => 1, + ConnectionInfo.触手_蔦_節5_接続 => 1, + ConnectionInfo.触手_蔦_節6_接続 => 1, + ConnectionInfo.触手_蔦_節7_接続 => 1, + ConnectionInfo.触手_蔦_節8_接続 => 1, + ConnectionInfo.触手_蔦_節9_接続 => 1, + ConnectionInfo.触手_蔦_節10_接続 => 1, + ConnectionInfo.触手_蔦_節11_接続 => 1, + ConnectionInfo.触手_蔦_節12_接続 => 1, + ConnectionInfo.触手_蔦_節13_接続 => 1, + ConnectionInfo.触手_蔦_節14_接続 => 1, + ConnectionInfo.触手_蔦_節15_接続 => 1, + ConnectionInfo.触手_蔦_節16_接続 => 1, + ConnectionInfo.触手_蔦_節17_接続 => 1, + ConnectionInfo.触手_蔦_節18_接続 => 1, + ConnectionInfo.触手_蔦_節19_接続 => 1, + ConnectionInfo.触手_蔦_節20_接続 => 1, + ConnectionInfo.触手_蔦_節21_接続 => 1, + ConnectionInfo.触手_蔦_節22_接続 => 1, + ConnectionInfo.触手_蔦_節23_接続 => 1, + ConnectionInfo.触手_蔦_節24_接続 => 1, + ConnectionInfo.触手_蔦_先端_接続 => 1, + ConnectionInfo.UpperArm_人_LowerArm_接続 => 1, + ConnectionInfo.UpperArm_鳥_LowerArm_接続 => 1, + ConnectionInfo.UpperArm_蝙_LowerArm_接続 => 1, + ConnectionInfo.UpperArm_獣_LowerArm_接続 => 1, + ConnectionInfo.UpperArm_蹄_LowerArm_接続 => 1, + ConnectionInfo.LowerArm_人_OuterArm_接続 => 1, + ConnectionInfo.LowerArm_人_手_接続 => 1, + ConnectionInfo.LowerArm_人_虫鎌_接続 => 1, + ConnectionInfo.LowerArm_鳥_手_接続 => 1, + ConnectionInfo.LowerArm_蝙_手_接続 => 1, + ConnectionInfo.LowerArm_蝙_腕輪_接続 => 1, + ConnectionInfo.LowerArm_獣_手_接続 => 1, + ConnectionInfo.LowerArm_蹄_手_接続 => 1, + ConnectionInfo.腿_人_Leg_接続 => 1, + ConnectionInfo.腿_獣_Leg_接続 => 1, + ConnectionInfo.腿_蹄_Leg_接続 => 1, + ConnectionInfo.腿_鳥_Leg_接続 => 1, + ConnectionInfo.腿_竜_Leg_接続 => 1, + ConnectionInfo.Leg_人_足_接続 => 1, + ConnectionInfo.Leg_人_脚輪下_接続 => 1, + ConnectionInfo.Leg_人_脚輪上_接続 => 1, + ConnectionInfo.Leg_獣_足_接続 => 1, + ConnectionInfo.Leg_蹄_足_接続 => 1, + ConnectionInfo.Leg_鳥_足_接続 => 1, + ConnectionInfo.Leg_竜_足_接続 => 1, + ConnectionInfo.長物_魚_左0_接続 => 1, + ConnectionInfo.長物_魚_右0_接続 => 1, + ConnectionInfo.長物_魚_左1_接続 => 1, + ConnectionInfo.長物_魚_右1_接続 => 1, + ConnectionInfo.長物_魚_左2_接続 => 1, + ConnectionInfo.長物_魚_右2_接続 => 1, + ConnectionInfo.長物_魚_左3_接続 => 1, + ConnectionInfo.長物_魚_右3_接続 => 1, + ConnectionInfo.長物_魚_左4_接続 => 1, + ConnectionInfo.長物_魚_右4_接続 => 1, + ConnectionInfo.長物_魚_左5_接続 => 1, + ConnectionInfo.長物_魚_右5_接続 => 1, + ConnectionInfo.長物_魚_左6_接続 => 1, + ConnectionInfo.長物_魚_右6_接続 => 1, + ConnectionInfo.長物_魚_尾_接続 => 0, + ConnectionInfo.長物_鯨_左0_接続 => 1, + ConnectionInfo.長物_鯨_右0_接続 => 1, + ConnectionInfo.長物_鯨_左1_接続 => 1, + ConnectionInfo.長物_鯨_右1_接続 => 1, + ConnectionInfo.長物_鯨_左2_接続 => 1, + ConnectionInfo.長物_鯨_右2_接続 => 1, + ConnectionInfo.長物_鯨_左3_接続 => 1, + ConnectionInfo.長物_鯨_右3_接続 => 1, + ConnectionInfo.長物_鯨_左4_接続 => 1, + ConnectionInfo.長物_鯨_右4_接続 => 1, + ConnectionInfo.長物_鯨_左5_接続 => 1, + ConnectionInfo.長物_鯨_右5_接続 => 1, + ConnectionInfo.長物_鯨_左6_接続 => 1, + ConnectionInfo.長物_鯨_右6_接続 => 1, + ConnectionInfo.長物_鯨_尾_接続 => 0, + ConnectionInfo.長物_蛇_左_接続 => 1, + ConnectionInfo.長物_蛇_右_接続 => 1, + ConnectionInfo.長物_蛇_Torso_接続 => 0, + ConnectionInfo.長物_蟲_左0_接続 => 1, + ConnectionInfo.長物_蟲_右0_接続 => 1, + ConnectionInfo.長物_蟲_左1_接続 => 1, + ConnectionInfo.長物_蟲_右1_接続 => 1, + ConnectionInfo.長物_蟲_Torso_接続 => 0, + ConnectionInfo.四足胸_脇左_接続 => 0, + ConnectionInfo.四足胸_脇右_接続 => 0, + ConnectionInfo.四足胸_Torso_接続 => 0, + ConnectionInfo.四足胸_胸左_接続 => 1, + ConnectionInfo.四足胸_胸右_接続 => 1, + ConnectionInfo.四足胸_肌_接続 => 1, + ConnectionInfo.四足胸_翼上左_接続 => 0, + ConnectionInfo.四足胸_翼上右_接続 => 0, + ConnectionInfo.四足胸_翼下左_接続 => 0, + ConnectionInfo.四足胸_翼下右_接続 => 0, + ConnectionInfo.四足胸_背中_接続 => 0, + ConnectionInfo.四足脇_UpperArm_接続 => 1, + ConnectionInfo.四足胴_Waist_接続 => 0, + ConnectionInfo.四足胴_肌_接続 => 1, + ConnectionInfo.四足胴_翼左_接続 => 0, + ConnectionInfo.四足胴_翼右_接続 => 0, + ConnectionInfo.四足腰_腿左_接続 => 1, + ConnectionInfo.四足腰_腿右_接続 => 1, + ConnectionInfo.四足腰_膣基_接続 => 1, + ConnectionInfo.四足腰_肛門_接続 => 1, + ConnectionInfo.四足腰_尾_接続 => 0, + ConnectionInfo.四足腰_半身_接続 => 1, + ConnectionInfo.四足腰_上着_接続 => 1, + ConnectionInfo.四足腰_肌_接続 => 1, + ConnectionInfo.四足腰_翼左_接続 => 0, + ConnectionInfo.四足腰_翼右_接続 => 0, + ConnectionInfo.多足_蛸_軟体外左_接続 => 1, + ConnectionInfo.多足_蛸_軟体外右_接続 => 1, + ConnectionInfo.多足_蛸_軟体内左_接続 => 1, + ConnectionInfo.多足_蛸_軟体内右_接続 => 1, + ConnectionInfo.多足_蜘_触肢左_接続 => 1, + ConnectionInfo.多足_蜘_触肢右_接続 => 1, + ConnectionInfo.多足_蜘_節足左1_接続 => 1, + ConnectionInfo.多足_蜘_節足左2_接続 => 1, + ConnectionInfo.多足_蜘_節足左3_接続 => 1, + ConnectionInfo.多足_蜘_節足左4_接続 => 1, + ConnectionInfo.多足_蜘_節足右1_接続 => 1, + ConnectionInfo.多足_蜘_節足右2_接続 => 1, + ConnectionInfo.多足_蜘_節足右3_接続 => 1, + ConnectionInfo.多足_蜘_節足右4_接続 => 1, + ConnectionInfo.多足_蜘_尾_接続 => 0, + ConnectionInfo.多足_蠍_触肢左_接続 => 1, + ConnectionInfo.多足_蠍_節足左1_接続 => 1, + ConnectionInfo.多足_蠍_節足左2_接続 => 1, + ConnectionInfo.多足_蠍_節足左3_接続 => 1, + ConnectionInfo.多足_蠍_節足左4_接続 => 1, + ConnectionInfo.多足_蠍_触肢右_接続 => 1, + ConnectionInfo.多足_蠍_節足右1_接続 => 1, + ConnectionInfo.多足_蠍_節足右2_接続 => 1, + ConnectionInfo.多足_蠍_節足右3_接続 => 1, + ConnectionInfo.多足_蠍_節足右4_接続 => 1, + ConnectionInfo.多足_蠍_櫛状板左_接続 => 1, + ConnectionInfo.多足_蠍_櫛状板右_接続 => 1, + ConnectionInfo.多足_蠍_尾_接続 => 0, + ConnectionInfo.単足_植_根外左_接続 => 0, + ConnectionInfo.単足_植_根内左_接続 => 0, + ConnectionInfo.単足_植_根中央_接続 => 0, + ConnectionInfo.単足_植_根内右_接続 => 0, + ConnectionInfo.単足_植_根外右_接続 => 0, + ConnectionInfo.Torso_蛇_左_接続 => 1, + ConnectionInfo.Torso_蛇_右_接続 => 1, + ConnectionInfo.Torso_蛇_Torso_接続 => 0, + ConnectionInfo.Torso_蟲_左_接続 => 1, + ConnectionInfo.Torso_蟲_右_接続 => 1, + ConnectionInfo.Torso_蟲_Torso_接続 => 0, + ConnectionInfo.大顎基_顎左_接続 => 1, + ConnectionInfo.大顎基_顎右_接続 => 1, + ConnectionInfo.植_花_接続 => 1, + ConnectionInfo.none => throw new NotImplementedException(), + ConnectionInfo.Head_大顎基_接続 => throw new NotImplementedException(), + ConnectionInfo.Head_顔面_接続 => throw new NotImplementedException(), + ConnectionInfo.Head_頭頂_接続 => throw new NotImplementedException(), + ConnectionInfo.基髪_横髪左_接続 => throw new NotImplementedException(), + ConnectionInfo.基髪_横髪右_接続 => throw new NotImplementedException(), + ConnectionInfo.吹出し_吹出し_接続 => throw new NotImplementedException(), + ConnectionInfo.尾_蜘_出糸_接続 => throw new NotImplementedException(), + ConnectionInfo.ペニス_尿道_接続 => throw new NotImplementedException(), + _ => 0, + }; + + public virtual void 接続(JointS 接続元) + { + 接続根.Set(接続元); + } + + public virtual void 描画0(RenderArea Are) + { + Body.Draw(Are); + } + + public virtual void 描画1(RenderArea Are) + { + } + + public virtual void 描画2(RenderArea Are) + { + } + + public virtual void Dispose() + { + Body.Dispose(); + } + + public virtual void 接続P() + { + 接続根.JoinP(); + } + + public virtual void 接続PA() + { + 接続根.JoinPA(); + } + + public virtual void 色更新() + { + } + + public virtual void 色更新(Vector2D[] mm) + { + } + + public virtual void SetAngle0() + { + 角度B = 0.0; + } + + public void SetAngle(Ele e) + { + foreach (var item in Body.EnumAllPar().Zip(e.Body.EnumAllPar(), static (a0, a1) => new { a0, a1 })) + { + item.a0.SetAngleBase(0.0 - item.a1.GetAngleBase()); + } + Body.JoinPAall(); + } + + public virtual IEnumerable EnumEle() + { + yield return this; + foreach (FieldInfo item in from e in ThisType.GetFields() + where e.FieldType.ToString() == Sta.at + select e) + { + Ele[] array = (Ele[])item.GetValue(this); + if (array == null) + { + continue; + } + Ele[] array2 = array; + foreach (Ele ele in array2) + { + foreach (Ele item2 in ele.EnumEle()) + { + yield return item2; + } + } + } + } + + public IEnumerable EnumConnectionType(ConnectionInfo 接続情報) + { + Ele[] array = (Ele[])ThisType.GetField(接続情報.ToString()[(ThisType.Name.Length + 1)..]).GetValue(this); + if (array != null) + { + Ele[] array2 = array; + for (int i = 0; i < array2.Length; i++) + { + yield return array2[i]; + } + } + } + + public ColorP GetParOfColorP(Par p) + { + return (from e in ThisType.GetFields() + where e.FieldType.ToString() == Sta.cpt + select e.GetValue(this)).Cast().FirstOrDefault(e => e.Par == p); + } } } diff --git a/SlaveMatrix/SlaveMatrix/GameClasses/EleD.cs b/SlaveMatrix/SlaveMatrix/GameClasses/EleD.cs index ca709bf..305e418 100644 --- a/SlaveMatrix/SlaveMatrix/GameClasses/EleD.cs +++ b/SlaveMatrix/SlaveMatrix/GameClasses/EleD.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; using System; using System.Collections.Generic; using System.Linq; diff --git a/SlaveMatrix/SlaveMatrix/GameClasses/EleI.cs b/SlaveMatrix/SlaveMatrix/GameClasses/EleI.cs index 791a3eb..c883628 100644 --- a/SlaveMatrix/SlaveMatrix/GameClasses/EleI.cs +++ b/SlaveMatrix/SlaveMatrix/GameClasses/EleI.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/GameClasses/ListView.cs b/SlaveMatrix/SlaveMatrix/GameClasses/ListView.cs index 25a7b59..53452fe 100644 --- a/SlaveMatrix/SlaveMatrix/GameClasses/ListView.cs +++ b/SlaveMatrix/SlaveMatrix/GameClasses/ListView.cs @@ -59,12 +59,12 @@ namespace SlaveMatrix { p = value; double num = 0.0; - double num2 = pt[0].OP[0].ps[3].Y * pt[0].SizeBase; + double num2 = pt[0].GetOP()[0].ps[3].Y * pt[0].GetSizeBase(); num2 += num2 * Space; ParT[] array = pt; for (int i = 0; i < array.Length; i++) { - array[i].PositionBase = p.AddY(num); + array[i].SetPositionBase(p.AddY(num)); num += num2; } } @@ -80,19 +80,19 @@ namespace SlaveMatrix { pt[i] = new ParT(); pt[i].Text = acts[i].Text; - pt[i].SizeBase = 0.095; - pt[i].Font = Font; - pt[i].FontSize = TextSize; - pt[i].RectSize = new Vector2D(100.0, 100.0); + pt[i].SetSizeBase(0.095); + pt[i].SetFont(Font); + pt[i].SetFontSize(TextSize); + pt[i].SetRectSize(new Vector2D(100.0, 100.0)); pt[i].SetStringRectOutline(Are.UnitScale, Are.DisplayGraphics); - pt[i].Closed = true; - pt[i].TextColor = TextColor; + pt[i].SetClosed(true); + pt[i].SetTextColor(TextColor); if (!ShadColor.IsEmpty) { - pt[i].ShadBrush = new SolidBrush(ShadColor); + pt[i].SetShadBrush(new SolidBrush(ShadColor)); } - pt[i].BrushColor = BackColor; - pt[i].PenColor = FramColor; + pt[i].SetBrushColor(BackColor); + pt[i].SetPenColor(FramColor); bs.Add(i.ToString(), new But1(pt[i], acts[i].act)); } this.Position = Position; @@ -104,8 +104,8 @@ namespace SlaveMatrix ParT[] array = pt; foreach (ParT obj in array) { - obj.HitColor = Med.GetUniqueColor(); - obj.HitColor = Med.GetUniqueColor(); + obj.SetHitColor(Med.GetUniqueColor()); + obj.SetHitColor(Med.GetUniqueColor()); } } diff --git a/SlaveMatrix/SlaveMatrix/GameClasses/Mods.cs b/SlaveMatrix/SlaveMatrix/GameClasses/Mods.cs index ad91803..995a4a9 100644 --- a/SlaveMatrix/SlaveMatrix/GameClasses/Mods.cs +++ b/SlaveMatrix/SlaveMatrix/GameClasses/Mods.cs @@ -20,20 +20,20 @@ namespace SlaveMatrix public static But1 Button(ModeEventDispatcher med, RenderArea buffer, string text, Vector2D pos, Action on_click) { ParT parT = new ParT(); - parT.Font = new Font("MS Gothic", 0.1f); - parT.PositionBase = buffer.GetPosition(pos); + parT.SetFont(new Font("MS Gothic", 0.1f)); + parT.SetPositionBase(buffer.GetPosition(pos)); parT.Text = text; - parT.FontSize = 0.14; - parT.SizeBase = 0.05; - parT.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT.OP.ScalingXY(parT.OP.GetCenter(), 0.87, 0.23); - parT.Closed = true; - parT.TextColor = Col.White; - parT.BrushColor = Color.FromArgb(160, Col.Black); - parT.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT.HitColor = med.GetUniqueColor(); - parT.StringFormat.Alignment = StringAlignment.Center; - parT.StringFormat.LineAlignment = StringAlignment.Center; + parT.SetFontSize(0.14); + parT.SetSizeBase(0.05); + parT.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT.GetOP().ScalingXY(parT.GetOP().GetCenter(), 0.87, 0.23); + parT.SetClosed(true); + parT.SetTextColor(Col.White); + parT.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT.SetHitColor(med.GetUniqueColor()); + parT.GetStringFormat().Alignment = StringAlignment.Center; + parT.GetStringFormat().LineAlignment = StringAlignment.Center; /* ParT parT = new ParT(); @@ -77,21 +77,21 @@ namespace SlaveMatrix //rhombus shaped buttons public static But1 Button2(ModeEventDispatcher med, RenderArea buffer, string text, Vector2D pos, Action on_click) { ParT parT = new ParT(); - parT.Font = new Font("MS Gothic", 0.1f); - parT.PositionBase = buffer.GetPosition(pos); + parT.SetFont(new Font("MS Gothic", 0.1f)); + parT.SetPositionBase(buffer.GetPosition(pos)); parT.Text = text; - parT.FontSize = 0.15; - parT.SizeBase = 0.05; - parT.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT.OP.ScalingY(parT.OP.GetCenter(), 0.47); - parT.OP.Rotation(parT.OP.GetCenter(), -26.0); - parT.Closed = true; - parT.TextColor = Col.White; - parT.BrushColor = Color.FromArgb(160, Col.Black); - parT.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT.HitColor = med.GetUniqueColor(); - parT.StringFormat.Alignment = StringAlignment.Center; - parT.StringFormat.LineAlignment = StringAlignment.Center; + parT.SetFontSize(0.15); + parT.SetSizeBase(0.05); + parT.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT.GetOP().ScalingY(parT.GetOP().GetCenter(), 0.47); + parT.GetOP().Rotation(parT.GetOP().GetCenter(), -26.0); + parT.SetClosed(true); + parT.SetTextColor(Col.White); + parT.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT.SetHitColor(med.GetUniqueColor()); + parT.GetStringFormat().Alignment = StringAlignment.Center; + parT.GetStringFormat().LineAlignment = StringAlignment.Center; return new But1(parT, on_click); } @@ -383,7 +383,7 @@ namespace SlaveMatrix npl = new Lab( DrawBuffer, "ラベル1", - new Vector2D(ip.MaiB.Position.X, 0.026), + new Vector2D(ip.MaiB.GetPosition().X, 0.026), 0.1, 1.5, new Font("MS Gothic", 1f), @@ -391,7 +391,7 @@ namespace SlaveMatrix "No Slave", Col.White, Col.Black, - ip.MaiB.BrushColor, + ip.MaiB.GetBrushColor(), Col.Black ); @@ -1136,7 +1136,7 @@ namespace SlaveMatrix public static void Player説明(ref Color hc, Action Reset) { - if (dbs["プレイヤー"].Pars.Values.First().ToPar().HitColor == hc) + if (dbs["プレイヤー"].Pars.Values.First().ToPar().GetHitColor() == hc) { ip.SubInfoIm = GameText.プレイヤーの遺伝情報を設定します + "(-" + 10000000uL.ToString("#,0") + ")"; } @@ -1551,7 +1551,7 @@ namespace SlaveMatrix } dbs.Move(ref hc); bs.Move(ref hc); - if (bs["ボタン7"].Pars.Values.First().ToPar().HitColor == hc) + if (bs["ボタン7"].Pars.Values.First().ToPar().GetHitColor() == hc) { ip.SubInfoIm = GameText.奴隷をランダムに選択します; } @@ -1606,7 +1606,7 @@ namespace SlaveMatrix ip.Up(ref HitColor); //Sounds.OPBGM.Stop(); //Sounds.日常BGM.Play(); - npl.ParT.PositionBase = new Vector2D(Player.UI.ステート.Position.X, 0.026); + npl.ParT.SetPositionBase(new Vector2D(Player.UI.ステート.Position.X, 0.026)); } }, Draw = delegate (FPS FPS) @@ -2015,7 +2015,7 @@ namespace SlaveMatrix { foreach (But item in lv.bs.EnumBut) { - item.Pars.Values.First().ToParT().PenColor = lv初期縁色; + item.Pars.Values.First().ToParT().SetPenColor(lv初期縁色); } }; Action SetUI = delegate(Unit u) @@ -2077,7 +2077,7 @@ namespace SlaveMatrix e.act = delegate(But b) { lv縁色初期化(); - b.Pars.Values.First().ToParT().PenColor = Color.Red; + b.Pars.Values.First().ToParT().SetPenColor(Color.Red); Sta.GameData.TrainingTarget = null; if (TrainingTarget != null) { @@ -2093,7 +2093,7 @@ namespace SlaveMatrix e.act = delegate(But b) { lv縁色初期化(); - b.Pars.Values.First().ToParT().PenColor = Color.Red; + b.Pars.Values.First().ToParT().SetPenColor(Color.Red); Sta.GameData.TrainingTarget = u; bs["子"].Action(bs["子"]); if (ip.Mai2Show) @@ -2124,7 +2124,7 @@ namespace SlaveMatrix { foreach (But item2 in bs.EnumBut.Skip(1).Take(3)) { - item2.Pars.Values.First().ToParT().PenColor = bs初期縁色; + item2.Pars.Values.First().ToParT().SetPenColor(bs初期縁色); } }; Color f初期縁色 = Col.Black; @@ -2132,13 +2132,13 @@ namespace SlaveMatrix { foreach (But item3 in bs.EnumBut.Skip(10)) { - item3.Pars.Values.First().ToParT().PenColor = f初期縁色; + item3.Pars.Values.First().ToParT().SetPenColor(f初期縁色); } }; Action 階層選択 = delegate (But b, int o) { f縁色初期化(); - b.Pars.Values.First().ToParT().PenColor = Color.Red; + b.Pars.Values.First().ToParT().SetPenColor(Color.Red); set(o); }; Action 部屋選択 = delegate @@ -2146,7 +2146,7 @@ namespace SlaveMatrix lv縁色初期化(); if (Sta.GameData.TrainingTarget != null && f == Sta.GameData.TrainingTarget.階層位置 * 15) { - lv.bs[Sta.GameData.TrainingTarget.RoomNumber.ToString()].Pars.Values.First().ToParT().PenColor = Color.Red; + lv.bs[Sta.GameData.TrainingTarget.RoomNumber.ToString()].Pars.Values.First().ToParT().SetPenColor(Color.Red); } }; @@ -2221,7 +2221,7 @@ namespace SlaveMatrix { dbs.Move(ref hc); bs.Move(ref hc); - if (bs["胸施術"].Pars.Values.First().ToPar().HitColor == hc && !(ip.SubInfoIm == GameText.胸の甲殻を切除しました) && !(ip.SubInfoIm == GameText.所持金が足りません)) + if (bs["胸施術"].Pars.Values.First().ToPar().GetHitColor() == hc && !(ip.SubInfoIm == GameText.胸の甲殻を切除しました) && !(ip.SubInfoIm == GameText.所持金が足りません)) { ip.SubInfoIm = GameText.胸の甲殻を切除します + "(-" + 胸施術価格.ToString("#,0") + ")"; } @@ -2231,7 +2231,7 @@ namespace SlaveMatrix } if (TrainingTarget != null) { - if (bs["股施術"].Pars.Values.First().ToPar().HitColor == hc && !(ip.SubInfoIm == GameText.股の + (TrainingTarget.Body.Is蛇 ? GameText.鱗 : GameText.甲殻) + GameText.を切除しました) && !(ip.SubInfoIm == GameText.所持金が足りません)) + if (bs["股施術"].Pars.Values.First().ToPar().GetHitColor() == hc && !(ip.SubInfoIm == GameText.股の + (TrainingTarget.Body.Is蛇 ? GameText.鱗 : GameText.甲殻) + GameText.を切除しました) && !(ip.SubInfoIm == GameText.所持金が足りません)) { ip.SubInfoIm = GameText.股の + (TrainingTarget.Body.Is蛇 ? GameText.鱗 : GameText.甲殻) + GameText.を切除します + "(-" + 股施術価格.ToString("#,0") + ")"; } @@ -2240,7 +2240,7 @@ namespace SlaveMatrix si.Set(bre: false); } } - if (bs["淫紋"].Pars.Values.First().ToPar().HitColor == hc && !(ip.SubInfoIm == GameText.淫紋を刻みました) && !(ip.SubInfoIm == GameText.所持金が足りません)) + if (bs["淫紋"].Pars.Values.First().ToPar().GetHitColor() == hc && !(ip.SubInfoIm == GameText.淫紋を刻みました) && !(ip.SubInfoIm == GameText.所持金が足りません)) { ip.SubInfoIm = GameText.淫紋を刻みます + "(-" + 淫紋価格.ToString("#,0") + ")"; } @@ -2248,7 +2248,7 @@ namespace SlaveMatrix { si.Set(bre: false); } - if (bs["衣装"].Pars.Values.First().ToPar().HitColor == hc && !(ip.SubInfoIm == GameText.衣装を変更しました) && !(ip.SubInfoIm == GameText.所持金が足りません)) + if (bs["衣装"].Pars.Values.First().ToPar().GetHitColor() == hc && !(ip.SubInfoIm == GameText.衣装を変更しました) && !(ip.SubInfoIm == GameText.所持金が足りません)) { ip.SubInfoIm = GameText.衣装を変更します + "(-" + 衣装変更価格.ToString("#,0") + ")"; } @@ -2256,7 +2256,7 @@ namespace SlaveMatrix { si.Set(bre: false); } - if (bs["保守"].Pars.Values.First().ToPar().HitColor == hc && !(ip.SubInfoIm == GameText.奴隷を保守対象に設定しました) && !(ip.SubInfoIm == GameText.奴隷の保守設定を解除しました)) + if (bs["保守"].Pars.Values.First().ToPar().GetHitColor() == hc && !(ip.SubInfoIm == GameText.奴隷を保守対象に設定しました) && !(ip.SubInfoIm == GameText.奴隷の保守設定を解除しました)) { ip.SubInfoIm = GameText.奴隷の保守設定を切り替えます; } @@ -2264,7 +2264,7 @@ namespace SlaveMatrix { si.Set(bre: false); } - if (bs["一般労働"].Pars.Values.First().ToPar().HitColor == hc && !(ip.SubInfoIm == GameText.奴隷を一般労働に設定しました) && !(ip.SubInfoIm == GameText.奴隷の一般労働を解除しました)) + if (bs["一般労働"].Pars.Values.First().ToPar().GetHitColor() == hc && !(ip.SubInfoIm == GameText.奴隷を一般労働に設定しました) && !(ip.SubInfoIm == GameText.奴隷の一般労働を解除しました)) { ip.SubInfoIm = GameText.奴隷の一般労働設定を切り替えます; } @@ -2272,7 +2272,7 @@ namespace SlaveMatrix { si.Set(bre: false); } - if (bs["娼婦労働"].Pars.Values.First().ToPar().HitColor == hc && !(ip.SubInfoIm == GameText.奴隷を娼婦労働に設定しました) && !(ip.SubInfoIm == GameText.奴隷の娼婦労働を解除しました)) + if (bs["娼婦労働"].Pars.Values.First().ToPar().GetHitColor() == hc && !(ip.SubInfoIm == GameText.奴隷を娼婦労働に設定しました) && !(ip.SubInfoIm == GameText.奴隷の娼婦労働を解除しました)) { ip.SubInfoIm = GameText.奴隷の娼婦労働設定を切り替えます; } @@ -2280,7 +2280,7 @@ namespace SlaveMatrix { si.Set(bre: false); } - if (bs["売却"].Pars.Values.First().ToPar().HitColor == hc) + if (bs["売却"].Pars.Values.First().ToPar().GetHitColor() == hc) { ip.SubInfoIm = GameText.奴隷を売却します; } @@ -2288,7 +2288,7 @@ namespace SlaveMatrix { si.Set(bre: false); } - if (bs["全一般"].Pars.Values.First().ToPar().HitColor == hc && !(ip.SubInfoIm == GameText.労働可能な全ての奴隷に一般労働を設定しました)) + if (bs["全一般"].Pars.Values.First().ToPar().GetHitColor() == hc && !(ip.SubInfoIm == GameText.労働可能な全ての奴隷に一般労働を設定しました)) { ip.SubInfoIm = GameText.労働可能な全ての奴隷を働かせます; } @@ -2296,7 +2296,7 @@ namespace SlaveMatrix { si.Set(bre: false); } - if (bs["全娼婦"].Pars.Values.First().ToPar().HitColor == hc && !(ip.SubInfoIm == GameText.労働可能な全ての奴隷に娼婦労働を設定しました)) + if (bs["全娼婦"].Pars.Values.First().ToPar().GetHitColor() == hc && !(ip.SubInfoIm == GameText.労働可能な全ての奴隷に娼婦労働を設定しました)) { ip.SubInfoIm = GameText.労働可能な全ての奴隷を娼婦として働かせます; } @@ -2304,7 +2304,7 @@ namespace SlaveMatrix { si.Set(bre: false); } - if (bs["全解除"].Pars.Values.First().ToPar().HitColor == hc && !(ip.SubInfoIm == GameText.労働中の全ての奴隷の労働を解除しました)) + if (bs["全解除"].Pars.Values.First().ToPar().GetHitColor() == hc && !(ip.SubInfoIm == GameText.労働中の全ての奴隷の労働を解除しました)) { ip.SubInfoIm = GameText.全ての奴隷の労働を解除します; } @@ -2312,7 +2312,7 @@ namespace SlaveMatrix { si.Set(bre: false); } - if (bs["全売却"].Pars.Values.First().ToPar().HitColor == hc && !ip.SubInfoIm.StartsWith(GameText.保守以外の全ての奴隷を売却しました) && !(ip.SubInfoIm == GameText.全売却をキャンセルしました)) + if (bs["全売却"].Pars.Values.First().ToPar().GetHitColor() == hc && !ip.SubInfoIm.StartsWith(GameText.保守以外の全ての奴隷を売却しました) && !(ip.SubInfoIm == GameText.全売却をキャンセルしました)) { ip.SubInfoIm = GameText.保守以外の全ての奴隷を売却します; } @@ -2350,7 +2350,7 @@ namespace SlaveMatrix int num2 = 0; using (IEnumerator enumerator2 = bs.EnumBut.Skip(12).GetEnumerator()) { - while (enumerator2.MoveNext() && !(enumerator2.Current.Pars.Values.First().ToParT().PenColor == Color.Red)) + while (enumerator2.MoveNext() && !(enumerator2.Current.Pars.Values.First().ToParT().GetPenColor() == Color.Red)) { num2++; } @@ -2358,7 +2358,7 @@ namespace SlaveMatrix int num3 = 0; using (IEnumerator enumerator2 = lv.bs.EnumBut.GetEnumerator()) { - while (enumerator2.MoveNext() && !(enumerator2.Current.Pars.Values.First().ToParT().PenColor == Color.Red)) + while (enumerator2.MoveNext() && !(enumerator2.Current.Pars.Values.First().ToParT().GetPenColor() == Color.Red)) { num3++; } @@ -2420,7 +2420,7 @@ namespace SlaveMatrix But but = bs["ボタン" + (Sta.GameData.TrainingTarget.階層位置 + 1)]; but.Action(but); lv縁色初期化(); - lv.bs[Sta.GameData.TrainingTarget.RoomNumber.ToString()].Pars.Values.First().ToParT().PenColor = Color.Red; + lv.bs[Sta.GameData.TrainingTarget.RoomNumber.ToString()].Pars.Values.First().ToParT().SetPenColor(Color.Red); bs["子"].Action(bs["子"]); } else @@ -2431,7 +2431,7 @@ namespace SlaveMatrix int num = 0; using (IEnumerator enumerator = lv.bs.EnumBut.GetEnumerator()) { - while (enumerator.MoveNext() && !(enumerator.Current.Pars.Values.First().ToParT().PenColor == Color.Red)) + while (enumerator.MoveNext() && !(enumerator.Current.Pars.Values.First().ToParT().GetPenColor() == Color.Red)) { num++; } @@ -2443,11 +2443,11 @@ namespace SlaveMatrix si.Set(bre: false); if (Sta.BigWindow) { - npl.ParT.PositionBase = new Vector2D(0.095, 0.035); + npl.ParT.SetPositionBase(new Vector2D(0.095, 0.035)); } else { - npl.ParT.PositionBase = new Vector2D(ip.MaiB.Position.X, 0.026); + npl.ParT.SetPositionBase(new Vector2D(ip.MaiB.GetPosition().X, 0.026)); } } }, @@ -2465,7 +2465,7 @@ namespace SlaveMatrix bs.Add("ボタン0", MyUI.Button2(Med, DrawBuffer, GameText.戻る, new Vector2D(0.85, 0.02), delegate { ////Sounds.操作.Play(); - if (Sta.GameData.TrainingTarget != null && bs["子"].Pars.Values.First().ToParT().PenColor != Color.Red) + if (Sta.GameData.TrainingTarget != null && bs["子"].Pars.Values.First().ToParT().GetPenColor() != Color.Red) { SetTrainingTarget(Med, Sta.GameData.TrainingTarget); SetUI(Sta.GameData.TrainingTarget); @@ -2482,7 +2482,7 @@ namespace SlaveMatrix ////Sounds.操作.Play(); } bs縁色初期化(); - b.Pars.Values.First().ToParT().PenColor = Color.Red; + b.Pars.Values.First().ToParT().SetPenColor(Color.Red); if (Sta.GameData.TrainingTarget != null) { if (TrainingTarget == null || TrainingTarget.CharacterData != Sta.GameData.TrainingTarget.ChaD) @@ -2501,7 +2501,7 @@ namespace SlaveMatrix { ////Sounds.操作.Play(); bs縁色初期化(); - b.Pars.Values.First().ToParT().PenColor = Color.Red; + b.Pars.Values.First().ToParT().SetPenColor(Color.Red); if (Sta.GameData.TrainingTarget != null) { if (TrainingTarget != null) @@ -2545,7 +2545,7 @@ namespace SlaveMatrix { ////Sounds.操作.Play(); bs縁色初期化(); - b.Pars.Values.First().ToParT().PenColor = Color.Red; + b.Pars.Values.First().ToParT().SetPenColor(Color.Red); if (Sta.GameData.TrainingTarget != null) { if (TrainingTarget != null) @@ -2822,21 +2822,21 @@ namespace SlaveMatrix ParT parT13 = new ParT(); - parT13.Font = new Font("MS Gothic", 0.1f); - parT13.PositionBase = DrawBuffer.GetPosition(0.03, 0.03); + parT13.SetFont(new Font("MS Gothic", 0.1f)); + parT13.SetPositionBase(DrawBuffer.GetPosition(0.03, 0.03)); parT13.Text = "1F"; - parT13.FontSize = 0.15; - parT13.SizeBase = 0.05; - parT13.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT13.BasePointBase = parT13.OP.GetCenter(); - parT13.OP.ScalingXY(parT13.BasePointBase, 0.3); - parT13.Closed = true; - parT13.TextColor = Col.White; - parT13.BrushColor = Color.FromArgb(160, Col.Black); - parT13.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT13.StringFormat.Alignment = StringAlignment.Center; - parT13.StringFormat.LineAlignment = StringAlignment.Center; - parT13.PenColor = Color.Red; + parT13.SetFontSize(0.15); + parT13.SetSizeBase(0.05); + parT13.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT13.SetBasePointBase(parT13.GetOP().GetCenter()); + parT13.GetOP().ScalingXY(parT13.GetBasePointBase(), 0.3); + parT13.SetClosed(true); + parT13.SetTextColor(Col.White); + parT13.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT13.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT13.GetStringFormat().Alignment = StringAlignment.Center; + parT13.GetStringFormat().LineAlignment = StringAlignment.Center; + parT13.SetPenColor(Color.Red); bs.Add("ボタン1", new But1(parT13, delegate(But b) { if (d) @@ -2849,20 +2849,20 @@ namespace SlaveMatrix ParT parT14 = new ParT(); - parT14.Font = new Font("MS Gothic", 0.1f); - parT14.PositionBase = DrawBuffer.GetPosition(0.07, 0.03); + parT14.SetFont(new Font("MS Gothic", 0.1f)); + parT14.SetPositionBase(DrawBuffer.GetPosition(0.07, 0.03)); parT14.Text = "2F"; - parT14.FontSize = 0.15; - parT14.SizeBase = 0.05; - parT14.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT14.BasePointBase = parT14.OP.GetCenter(); - parT14.OP.ScalingXY(parT14.BasePointBase, 0.3); - parT14.Closed = true; - parT14.TextColor = Col.White; - parT14.BrushColor = Color.FromArgb(160, Col.Black); - parT14.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT14.StringFormat.Alignment = StringAlignment.Center; - parT14.StringFormat.LineAlignment = StringAlignment.Center; + parT14.SetFontSize(0.15); + parT14.SetSizeBase(0.05); + parT14.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT14.SetBasePointBase(parT14.GetOP().GetCenter()); + parT14.GetOP().ScalingXY(parT14.GetBasePointBase(), 0.3); + parT14.SetClosed(true); + parT14.SetTextColor(Col.White); + parT14.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT14.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT14.GetStringFormat().Alignment = StringAlignment.Center; + parT14.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン2", new But1(parT14, delegate(But b) { if (d) @@ -2873,20 +2873,20 @@ namespace SlaveMatrix 部屋選択(); })); ParT parT15 = new ParT(); - parT15.Font = new Font("MS Gothic", 0.1f); - parT15.PositionBase = DrawBuffer.GetPosition(0.11, 0.03); + parT15.SetFont(new Font("MS Gothic", 0.1f)); + parT15.SetPositionBase(DrawBuffer.GetPosition(0.11, 0.03)); parT15.Text = "3F"; - parT15.FontSize = 0.15; - parT15.SizeBase = 0.05; - parT15.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT15.BasePointBase = parT15.OP.GetCenter(); - parT15.OP.ScalingXY(parT15.BasePointBase, 0.3); - parT15.Closed = true; - parT15.TextColor = Col.White; - parT15.BrushColor = Color.FromArgb(160, Col.Black); - parT15.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT15.StringFormat.Alignment = StringAlignment.Center; - parT15.StringFormat.LineAlignment = StringAlignment.Center; + parT15.SetFontSize(0.15); + parT15.SetSizeBase(0.05); + parT15.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT15.SetBasePointBase(parT15.GetOP().GetCenter()); + parT15.GetOP().ScalingXY(parT15.GetBasePointBase(), 0.3); + parT15.SetClosed(true); + parT15.SetTextColor(Col.White); + parT15.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT15.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT15.GetStringFormat().Alignment = StringAlignment.Center; + parT15.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン3", new But1(parT15, delegate(But b) { if (d) @@ -2897,20 +2897,20 @@ namespace SlaveMatrix 部屋選択(); })); ParT parT16 = new ParT(); - parT16.Font = new Font("MS Gothic", 0.1f); - parT16.PositionBase = DrawBuffer.GetPosition(0.15, 0.03); + parT16.SetFont(new Font("MS Gothic", 0.1f)); + parT16.SetPositionBase(DrawBuffer.GetPosition(0.15, 0.03)); parT16.Text = "4F"; - parT16.FontSize = 0.15; - parT16.SizeBase = 0.05; - parT16.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT16.BasePointBase = parT16.OP.GetCenter(); - parT16.OP.ScalingXY(parT16.BasePointBase, 0.3); - parT16.Closed = true; - parT16.TextColor = Col.White; - parT16.BrushColor = Color.FromArgb(160, Col.Black); - parT16.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT16.StringFormat.Alignment = StringAlignment.Center; - parT16.StringFormat.LineAlignment = StringAlignment.Center; + parT16.SetFontSize(0.15); + parT16.SetSizeBase(0.05); + parT16.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT16.SetBasePointBase(parT16.GetOP().GetCenter()); + parT16.GetOP().ScalingXY(parT16.GetBasePointBase(), 0.3); + parT16.SetClosed(true); + parT16.SetTextColor(Col.White); + parT16.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT16.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT16.GetStringFormat().Alignment = StringAlignment.Center; + parT16.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン4", new But1(parT16, delegate(But b) { if (d) @@ -2921,20 +2921,20 @@ namespace SlaveMatrix 部屋選択(); })); ParT parT17 = new ParT(); - parT17.Font = new Font("MS Gothic", 0.1f); - parT17.PositionBase = DrawBuffer.GetPosition(0.19, 0.03); + parT17.SetFont(new Font("MS Gothic", 0.1f)); + parT17.SetPositionBase(DrawBuffer.GetPosition(0.19, 0.03)); parT17.Text = "5F"; - parT17.FontSize = 0.15; - parT17.SizeBase = 0.05; - parT17.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT17.BasePointBase = parT17.OP.GetCenter(); - parT17.OP.ScalingXY(parT17.BasePointBase, 0.3); - parT17.Closed = true; - parT17.TextColor = Col.White; - parT17.BrushColor = Color.FromArgb(160, Col.Black); - parT17.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT17.StringFormat.Alignment = StringAlignment.Center; - parT17.StringFormat.LineAlignment = StringAlignment.Center; + parT17.SetFontSize(0.15); + parT17.SetSizeBase(0.05); + parT17.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT17.SetBasePointBase(parT17.GetOP().GetCenter()); + parT17.GetOP().ScalingXY(parT17.GetBasePointBase(), 0.3); + parT17.SetClosed(true); + parT17.SetTextColor(Col.White); + parT17.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT17.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT17.GetStringFormat().Alignment = StringAlignment.Center; + parT17.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン5", new But1(parT17, delegate(But b) { if (d) @@ -2945,20 +2945,20 @@ namespace SlaveMatrix 部屋選択(); })); ParT parT18 = new ParT(); - parT18.Font = new Font("MS Gothic", 0.1f); - parT18.PositionBase = DrawBuffer.GetPosition(0.23, 0.03); + parT18.SetFont(new Font("MS Gothic", 0.1f)); + parT18.SetPositionBase(DrawBuffer.GetPosition(0.23, 0.03)); parT18.Text = "6F"; - parT18.FontSize = 0.15; - parT18.SizeBase = 0.05; - parT18.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT18.BasePointBase = parT18.OP.GetCenter(); - parT18.OP.ScalingXY(parT18.BasePointBase, 0.3); - parT18.Closed = true; - parT18.TextColor = Col.White; - parT18.BrushColor = Color.FromArgb(160, Col.Black); - parT18.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT18.StringFormat.Alignment = StringAlignment.Center; - parT18.StringFormat.LineAlignment = StringAlignment.Center; + parT18.SetFontSize(0.15); + parT18.SetSizeBase(0.05); + parT18.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT18.SetBasePointBase(parT18.GetOP().GetCenter()); + parT18.GetOP().ScalingXY(parT18.GetBasePointBase(), 0.3); + parT18.SetClosed(true); + parT18.SetTextColor(Col.White); + parT18.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT18.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT18.GetStringFormat().Alignment = StringAlignment.Center; + parT18.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン6", new But1(parT18, delegate(But b) { if (d) @@ -2969,20 +2969,20 @@ namespace SlaveMatrix 部屋選択(); })); ParT parT19 = new ParT(); - parT19.Font = new Font("MS Gothic", 0.1f); - parT19.PositionBase = DrawBuffer.GetPosition(0.27, 0.03); + parT19.SetFont(new Font("MS Gothic", 0.1f)); + parT19.SetPositionBase(DrawBuffer.GetPosition(0.27, 0.03)); parT19.Text = "7F"; - parT19.FontSize = 0.15; - parT19.SizeBase = 0.05; - parT19.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT19.BasePointBase = parT19.OP.GetCenter(); - parT19.OP.ScalingXY(parT19.BasePointBase, 0.3); - parT19.Closed = true; - parT19.TextColor = Col.White; - parT19.BrushColor = Color.FromArgb(160, Col.Black); - parT19.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT19.StringFormat.Alignment = StringAlignment.Center; - parT19.StringFormat.LineAlignment = StringAlignment.Center; + parT19.SetFontSize(0.15); + parT19.SetSizeBase(0.05); + parT19.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT19.SetBasePointBase(parT19.GetOP().GetCenter()); + parT19.GetOP().ScalingXY(parT19.GetBasePointBase(), 0.3); + parT19.SetClosed(true); + parT19.SetTextColor(Col.White); + parT19.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT19.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT19.GetStringFormat().Alignment = StringAlignment.Center; + parT19.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン7", new But1(parT19, delegate(But b) { if (d) @@ -2993,20 +2993,20 @@ namespace SlaveMatrix 部屋選択(); })); ParT parT20 = new ParT(); - parT20.Font = new Font("MS Gothic", 0.1f); - parT20.PositionBase = DrawBuffer.GetPosition(0.31, 0.03); + parT20.SetFont(new Font("MS Gothic", 0.1f)); + parT20.SetPositionBase(DrawBuffer.GetPosition(0.31, 0.03)); parT20.Text = "8F"; - parT20.FontSize = 0.15; - parT20.SizeBase = 0.05; - parT20.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT20.BasePointBase = parT20.OP.GetCenter(); - parT20.OP.ScalingXY(parT20.BasePointBase, 0.3); - parT20.Closed = true; - parT20.TextColor = Col.White; - parT20.BrushColor = Color.FromArgb(160, Col.Black); - parT20.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT20.StringFormat.Alignment = StringAlignment.Center; - parT20.StringFormat.LineAlignment = StringAlignment.Center; + parT20.SetFontSize(0.15); + parT20.SetSizeBase(0.05); + parT20.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT20.SetBasePointBase(parT20.GetOP().GetCenter()); + parT20.GetOP().ScalingXY(parT20.GetBasePointBase(), 0.3); + parT20.SetClosed(true); + parT20.SetTextColor(Col.White); + parT20.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT20.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT20.GetStringFormat().Alignment = StringAlignment.Center; + parT20.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン8", new But1(parT20, delegate(But b) { if (d) @@ -3017,20 +3017,20 @@ namespace SlaveMatrix 部屋選択(); })); ParT parT21 = new ParT(); - parT21.Font = new Font("MS Gothic", 0.1f); - parT21.PositionBase = DrawBuffer.GetPosition(0.35, 0.03); + parT21.SetFont(new Font("MS Gothic", 0.1f)); + parT21.SetPositionBase(DrawBuffer.GetPosition(0.35, 0.03)); parT21.Text = "9F"; - parT21.FontSize = 0.15; - parT21.SizeBase = 0.05; - parT21.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT21.BasePointBase = parT21.OP.GetCenter(); - parT21.OP.ScalingXY(parT21.BasePointBase, 0.3); - parT21.Closed = true; - parT21.TextColor = Col.White; - parT21.BrushColor = Color.FromArgb(160, Col.Black); - parT21.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT21.StringFormat.Alignment = StringAlignment.Center; - parT21.StringFormat.LineAlignment = StringAlignment.Center; + parT21.SetFontSize(0.15); + parT21.SetSizeBase(0.05); + parT21.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT21.SetBasePointBase(parT21.GetOP().GetCenter()); + parT21.GetOP().ScalingXY(parT21.GetBasePointBase(), 0.3); + parT21.SetClosed(true); + parT21.SetTextColor(Col.White); + parT21.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT21.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT21.GetStringFormat().Alignment = StringAlignment.Center; + parT21.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン9", new But1(parT21, delegate(But b) { if (d) @@ -3307,7 +3307,7 @@ namespace SlaveMatrix { Character 祝福 = null; bool d = false; - Lab l = new Lab(DrawBuffer, "ラベル1", new Vector2D(ip.MaiB.Position.X, 0.026), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "No blessing", Col.White, Col.Black, ip.MaiB.BrushColor, Col.Black); + Lab l = new Lab(DrawBuffer, "ラベル1", new Vector2D(ip.MaiB.GetPosition().X, 0.026), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "No blessing", Col.White, Col.Black, ip.MaiB.GetBrushColor(), Col.Black); Buts bs = new Buts(); Action 祝福なし = delegate { @@ -3331,10 +3331,10 @@ namespace SlaveMatrix })); Action rs1 = delegate(Buts bs_) { - Color penColor = bs_["ボタン0"].Pars.Values.First().ToParT().PenColor; + Color penColor = bs_["ボタン0"].Pars.Values.First().ToParT().GetPenColor(); foreach (But item in bs_.EnumBut.Skip(1)) { - item.Pars.Values.First().ToParT().PenColor = penColor; + item.Pars.Values.First().ToParT().SetPenColor(penColor); } }; @@ -3345,7 +3345,7 @@ namespace SlaveMatrix //Sounds.操作.Play(); } rs1(bs); - bu.Pars.Values.First().ToParT().PenColor = Color.Red; + bu.Pars.Values.First().ToParT().SetPenColor(Color.Red); if (Sta.GameData.祝福 != null) { l.Text = Sta.GameData.祝福.Name; @@ -3385,7 +3385,7 @@ namespace SlaveMatrix { //Sounds.操作.Play(); rs1(bs); - bu.Pars.Values.First().ToParT().PenColor = Color.Red; + bu.Pars.Values.First().ToParT().SetPenColor(Color.Red); if (Sta.GameData.祝福 != null) { l.Text = GameText.親形質1; @@ -3425,7 +3425,7 @@ namespace SlaveMatrix { //Sounds.操作.Play(); rs1(bs); - bu.Pars.Values.First().ToParT().PenColor = Color.Red; + bu.Pars.Values.First().ToParT().SetPenColor(Color.Red); if (Sta.GameData.祝福 != null) { l.Text = GameText.親形質2; @@ -3639,20 +3639,20 @@ namespace SlaveMatrix Module mod = new Module(); Buts bs = new Buts(); ParT parT = new ParT(); - parT.Font = new Font("MS Gothic", 0.1f); - parT.PositionBase = DrawBuffer.GetPosition(0.85, 0.02); + parT.SetFont(new Font("MS Gothic", 0.1f)); + parT.SetPositionBase(DrawBuffer.GetPosition(0.85, 0.02)); parT.Text = GameText.戻る; - parT.FontSize = 0.15; - parT.SizeBase = 0.05; - parT.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT.OP.ScalingY(parT.OP.GetCenter(), 0.47); - parT.OP.Rotation(parT.OP.GetCenter(), -26.0); - parT.Closed = true; - parT.TextColor = Col.White; - parT.BrushColor = Color.FromArgb(160, Col.Black); - parT.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT.StringFormat.Alignment = StringAlignment.Center; - parT.StringFormat.LineAlignment = StringAlignment.Center; + parT.SetFontSize(0.15); + parT.SetSizeBase(0.05); + parT.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT.GetOP().ScalingY(parT.GetOP().GetCenter(), 0.47); + parT.GetOP().Rotation(parT.GetOP().GetCenter(), -26.0); + parT.SetClosed(true); + parT.SetTextColor(Col.White); + parT.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT.GetStringFormat().Alignment = StringAlignment.Center; + parT.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン0", new But1(parT, delegate { //Sounds.操作.Play(); @@ -3662,60 +3662,60 @@ namespace SlaveMatrix } })); ParT parT2 = new ParT(); - parT2.Font = new Font("MS Gothic", 0.1f); - parT2.PositionBase = DrawBuffer.GetPosition(0.85, 0.1); + parT2.SetFont(new Font("MS Gothic", 0.1f)); + parT2.SetPositionBase(DrawBuffer.GetPosition(0.85, 0.1)); parT2.Text = GameText.借金; - parT2.FontSize = 0.15; - parT2.SizeBase = 0.05; - parT2.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT2.OP.ScalingY(parT2.OP.GetCenter(), 0.47); - parT2.OP.Rotation(parT2.OP.GetCenter(), -26.0); - parT2.Closed = true; - parT2.TextColor = Col.White; - parT2.BrushColor = Color.FromArgb(160, Col.Black); - parT2.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT2.StringFormat.Alignment = StringAlignment.Center; - parT2.StringFormat.LineAlignment = StringAlignment.Center; + parT2.SetFontSize(0.15); + parT2.SetSizeBase(0.05); + parT2.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT2.GetOP().ScalingY(parT2.GetOP().GetCenter(), 0.47); + parT2.GetOP().Rotation(parT2.GetOP().GetCenter(), -26.0); + parT2.SetClosed(true); + parT2.SetTextColor(Col.White); + parT2.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT2.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT2.GetStringFormat().Alignment = StringAlignment.Center; + parT2.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン1", new But1(parT2, delegate { //Sounds.操作.Play(); Med.Mode = "Debt"; })); ParT parT3 = new ParT(); - parT3.Font = new Font("MS Gothic", 0.1f); - parT3.PositionBase = DrawBuffer.GetPosition(0.85, 0.18); + parT3.SetFont(new Font("MS Gothic", 0.1f)); + parT3.SetPositionBase(DrawBuffer.GetPosition(0.85, 0.18)); parT3.Text = GameText.購入; - parT3.FontSize = 0.15; - parT3.SizeBase = 0.05; - parT3.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT3.OP.ScalingY(parT3.OP.GetCenter(), 0.47); - parT3.OP.Rotation(parT3.OP.GetCenter(), -26.0); - parT3.Closed = true; - parT3.TextColor = Col.White; - parT3.BrushColor = Color.FromArgb(160, Col.Black); - parT3.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT3.StringFormat.Alignment = StringAlignment.Center; - parT3.StringFormat.LineAlignment = StringAlignment.Center; + parT3.SetFontSize(0.15); + parT3.SetSizeBase(0.05); + parT3.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT3.GetOP().ScalingY(parT3.GetOP().GetCenter(), 0.47); + parT3.GetOP().Rotation(parT3.GetOP().GetCenter(), -26.0); + parT3.SetClosed(true); + parT3.SetTextColor(Col.White); + parT3.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT3.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT3.GetStringFormat().Alignment = StringAlignment.Center; + parT3.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン2", new But1(parT3, delegate { //Sounds.操作.Play(); Med.Mode = "SlaveShop"; })); ParT parT4 = new ParT(); - parT4.Font = new Font("MS Gothic", 0.1f); - parT4.PositionBase = DrawBuffer.GetPosition(0.85, 0.58); + parT4.SetFont(new Font("MS Gothic", 0.1f)); + parT4.SetPositionBase(DrawBuffer.GetPosition(0.85, 0.58)); parT4.Text = GameText.祝福; - parT4.FontSize = 0.15; - parT4.SizeBase = 0.05; - parT4.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT4.OP.ScalingY(parT4.OP.GetCenter(), 0.47); - parT4.OP.Rotation(parT4.OP.GetCenter(), -26.0); - parT4.Closed = true; - parT4.TextColor = Col.White; - parT4.BrushColor = Color.FromArgb(160, Col.Black); - parT4.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT4.StringFormat.Alignment = StringAlignment.Center; - parT4.StringFormat.LineAlignment = StringAlignment.Center; + parT4.SetFontSize(0.15); + parT4.SetSizeBase(0.05); + parT4.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT4.GetOP().ScalingY(parT4.GetOP().GetCenter(), 0.47); + parT4.GetOP().Rotation(parT4.GetOP().GetCenter(), -26.0); + parT4.SetClosed(true); + parT4.SetTextColor(Col.White); + parT4.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT4.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT4.GetStringFormat().Alignment = StringAlignment.Center; + parT4.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン3", new But1(parT4, delegate { //Sounds.操作.Play(); @@ -3912,19 +3912,19 @@ namespace SlaveMatrix })); ParT parT2 = new ParT(); - parT2.Font = new Font("MS Gothic", 0.1f); - parT2.PositionBase = position + DrawBuffer.GetPosition(0.0, 0.0); + parT2.SetFont(new Font("MS Gothic", 0.1f)); + parT2.SetPositionBase(position + DrawBuffer.GetPosition(0.0, 0.0)); parT2.Text = "c"; - parT2.FontSize = 0.15; - parT2.SizeBase = 0.07; - parT2.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT2.OP.ScalingXY(parT2.OP.GetCenter(), 0.3, 0.3); - parT2.Closed = true; - parT2.TextColor = Col.White; - parT2.BrushColor = Color.FromArgb(160, Col.Black); - parT2.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT2.StringFormat.Alignment = StringAlignment.Center; - parT2.StringFormat.LineAlignment = StringAlignment.Center; + parT2.SetFontSize(0.15); + parT2.SetSizeBase(0.07); + parT2.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT2.GetOP().ScalingXY(parT2.GetOP().GetCenter(), 0.3, 0.3); + parT2.SetClosed(true); + parT2.SetTextColor(Col.White); + parT2.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT2.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT2.GetStringFormat().Alignment = StringAlignment.Center; + parT2.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("nc", new But1(parT2, delegate { //Sounds.操作.Play(); @@ -3932,19 +3932,19 @@ namespace SlaveMatrix })); ParT parT3 = new ParT(); - parT3.Font = new Font("MS Gothic", 0.1f); - parT3.PositionBase = position + DrawBuffer.GetPosition(0.06, 0.0); + parT3.SetFont(new Font("MS Gothic", 0.1f)); + parT3.SetPositionBase(position + DrawBuffer.GetPosition(0.06, 0.0)); parT3.Text = "m"; - parT3.FontSize = 0.15; - parT3.SizeBase = 0.07; - parT3.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT3.OP.ScalingXY(parT3.OP.GetCenter(), 0.3, 0.3); - parT3.Closed = true; - parT3.TextColor = Col.White; - parT3.BrushColor = Color.FromArgb(160, Col.Black); - parT3.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT3.StringFormat.Alignment = StringAlignment.Center; - parT3.StringFormat.LineAlignment = StringAlignment.Center; + parT3.SetFontSize(0.15); + parT3.SetSizeBase(0.07); + parT3.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT3.GetOP().ScalingXY(parT3.GetOP().GetCenter(), 0.3, 0.3); + parT3.SetClosed(true); + parT3.SetTextColor(Col.White); + parT3.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT3.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT3.GetStringFormat().Alignment = StringAlignment.Center; + parT3.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("nm", new But1(parT3, delegate { //Sounds.操作.Play(); @@ -3961,19 +3961,19 @@ namespace SlaveMatrix }; ParT parT4 = new ParT(); - parT4.Font = new Font("MS Gothic", 0.1f); - parT4.PositionBase = position + DrawBuffer.GetPosition(0.0, 0.07); + parT4.SetFont(new Font("MS Gothic", 0.1f)); + parT4.SetPositionBase(position + DrawBuffer.GetPosition(0.0, 0.07)); parT4.Text = "7"; - parT4.FontSize = 0.15; - parT4.SizeBase = 0.07; - parT4.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT4.OP.ScalingXY(parT4.OP.GetCenter(), 0.3, 0.3); - parT4.Closed = true; - parT4.TextColor = Col.White; - parT4.BrushColor = Color.FromArgb(160, Col.Black); - parT4.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT4.StringFormat.Alignment = StringAlignment.Center; - parT4.StringFormat.LineAlignment = StringAlignment.Center; + parT4.SetFontSize(0.15); + parT4.SetSizeBase(0.07); + parT4.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT4.GetOP().ScalingXY(parT4.GetOP().GetCenter(), 0.3, 0.3); + parT4.SetClosed(true); + parT4.SetTextColor(Col.White); + parT4.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT4.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT4.GetStringFormat().Alignment = StringAlignment.Center; + parT4.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("n7", new But1(parT4, delegate { //Sounds.操作.Play(); @@ -3981,19 +3981,19 @@ namespace SlaveMatrix })); ParT parT5 = new ParT(); - parT5.Font = new Font("MS Gothic", 0.1f); - parT5.PositionBase = position + DrawBuffer.GetPosition(0.06, 0.07); + parT5.SetFont(new Font("MS Gothic", 0.1f)); + parT5.SetPositionBase(position + DrawBuffer.GetPosition(0.06, 0.07)); parT5.Text = "8"; - parT5.FontSize = 0.15; - parT5.SizeBase = 0.07; - parT5.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT5.OP.ScalingXY(parT5.OP.GetCenter(), 0.3, 0.3); - parT5.Closed = true; - parT5.TextColor = Col.White; - parT5.BrushColor = Color.FromArgb(160, Col.Black); - parT5.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT5.StringFormat.Alignment = StringAlignment.Center; - parT5.StringFormat.LineAlignment = StringAlignment.Center; + parT5.SetFontSize(0.15); + parT5.SetSizeBase(0.07); + parT5.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT5.GetOP().ScalingXY(parT5.GetOP().GetCenter(), 0.3, 0.3); + parT5.SetClosed(true); + parT5.SetTextColor(Col.White); + parT5.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT5.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT5.GetStringFormat().Alignment = StringAlignment.Center; + parT5.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("n8", new But1(parT5, delegate { //Sounds.操作.Play(); @@ -4001,19 +4001,19 @@ namespace SlaveMatrix })); ParT parT6 = new ParT(); - parT6.Font = new Font("MS Gothic", 0.1f); - parT6.PositionBase = position + DrawBuffer.GetPosition(0.12, 0.07); + parT6.SetFont(new Font("MS Gothic", 0.1f)); + parT6.SetPositionBase(position + DrawBuffer.GetPosition(0.12, 0.07)); parT6.Text = "9"; - parT6.FontSize = 0.15; - parT6.SizeBase = 0.07; - parT6.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT6.OP.ScalingXY(parT6.OP.GetCenter(), 0.3, 0.3); - parT6.Closed = true; - parT6.TextColor = Col.White; - parT6.BrushColor = Color.FromArgb(160, Col.Black); - parT6.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT6.StringFormat.Alignment = StringAlignment.Center; - parT6.StringFormat.LineAlignment = StringAlignment.Center; + parT6.SetFontSize(0.15); + parT6.SetSizeBase(0.07); + parT6.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT6.GetOP().ScalingXY(parT6.GetOP().GetCenter(), 0.3, 0.3); + parT6.SetClosed(true); + parT6.SetTextColor(Col.White); + parT6.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT6.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT6.GetStringFormat().Alignment = StringAlignment.Center; + parT6.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("n9", new But1(parT6, delegate { //Sounds.操作.Play(); @@ -4021,19 +4021,19 @@ namespace SlaveMatrix })); ParT parT7 = new ParT(); - parT7.Font = new Font("MS Gothic", 0.1f); - parT7.PositionBase = position + DrawBuffer.GetPosition(0.0, 0.14); + parT7.SetFont(new Font("MS Gothic", 0.1f)); + parT7.SetPositionBase(position + DrawBuffer.GetPosition(0.0, 0.14)); parT7.Text = "4"; - parT7.FontSize = 0.15; - parT7.SizeBase = 0.07; - parT7.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT7.OP.ScalingXY(parT7.OP.GetCenter(), 0.3, 0.3); - parT7.Closed = true; - parT7.TextColor = Col.White; - parT7.BrushColor = Color.FromArgb(160, Col.Black); - parT7.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT7.StringFormat.Alignment = StringAlignment.Center; - parT7.StringFormat.LineAlignment = StringAlignment.Center; + parT7.SetFontSize(0.15); + parT7.SetSizeBase(0.07); + parT7.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT7.GetOP().ScalingXY(parT7.GetOP().GetCenter(), 0.3, 0.3); + parT7.SetClosed(true); + parT7.SetTextColor(Col.White); + parT7.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT7.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT7.GetStringFormat().Alignment = StringAlignment.Center; + parT7.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("n4", new But1(parT7, delegate { //Sounds.操作.Play(); @@ -4041,19 +4041,19 @@ namespace SlaveMatrix })); ParT parT8 = new ParT(); - parT8.Font = new Font("MS Gothic", 0.1f); - parT8.PositionBase = position + DrawBuffer.GetPosition(0.06, 0.14); + parT8.SetFont(new Font("MS Gothic", 0.1f)); + parT8.SetPositionBase(position + DrawBuffer.GetPosition(0.06, 0.14)); parT8.Text = "5"; - parT8.FontSize = 0.15; - parT8.SizeBase = 0.07; - parT8.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT8.OP.ScalingXY(parT8.OP.GetCenter(), 0.3, 0.3); - parT8.Closed = true; - parT8.TextColor = Col.White; - parT8.BrushColor = Color.FromArgb(160, Col.Black); - parT8.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT8.StringFormat.Alignment = StringAlignment.Center; - parT8.StringFormat.LineAlignment = StringAlignment.Center; + parT8.SetFontSize(0.15); + parT8.SetSizeBase(0.07); + parT8.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT8.GetOP().ScalingXY(parT8.GetOP().GetCenter(), 0.3, 0.3); + parT8.SetClosed(true); + parT8.SetTextColor(Col.White); + parT8.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT8.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT8.GetStringFormat().Alignment = StringAlignment.Center; + parT8.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("n5", new But1(parT8, delegate { //Sounds.操作.Play(); @@ -4061,19 +4061,19 @@ namespace SlaveMatrix })); ParT parT9 = new ParT(); - parT9.Font = new Font("MS Gothic", 0.1f); - parT9.PositionBase = position + DrawBuffer.GetPosition(0.12, 0.14); + parT9.SetFont(new Font("MS Gothic", 0.1f)); + parT9.SetPositionBase(position + DrawBuffer.GetPosition(0.12, 0.14)); parT9.Text = "6"; - parT9.FontSize = 0.15; - parT9.SizeBase = 0.07; - parT9.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT9.OP.ScalingXY(parT9.OP.GetCenter(), 0.3, 0.3); - parT9.Closed = true; - parT9.TextColor = Col.White; - parT9.BrushColor = Color.FromArgb(160, Col.Black); - parT9.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT9.StringFormat.Alignment = StringAlignment.Center; - parT9.StringFormat.LineAlignment = StringAlignment.Center; + parT9.SetFontSize(0.15); + parT9.SetSizeBase(0.07); + parT9.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT9.GetOP().ScalingXY(parT9.GetOP().GetCenter(), 0.3, 0.3); + parT9.SetClosed(true); + parT9.SetTextColor(Col.White); + parT9.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT9.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT9.GetStringFormat().Alignment = StringAlignment.Center; + parT9.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("n6", new But1(parT9, delegate { //Sounds.操作.Play(); @@ -4081,19 +4081,19 @@ namespace SlaveMatrix })); ParT parT10 = new ParT(); - parT10.Font = new Font("MS Gothic", 0.1f); - parT10.PositionBase = position + DrawBuffer.GetPosition(0.0, 0.21); + parT10.SetFont(new Font("MS Gothic", 0.1f)); + parT10.SetPositionBase(position + DrawBuffer.GetPosition(0.0, 0.21)); parT10.Text = "1"; - parT10.FontSize = 0.15; - parT10.SizeBase = 0.07; - parT10.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT10.OP.ScalingXY(parT10.OP.GetCenter(), 0.3, 0.3); - parT10.Closed = true; - parT10.TextColor = Col.White; - parT10.BrushColor = Color.FromArgb(160, Col.Black); - parT10.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT10.StringFormat.Alignment = StringAlignment.Center; - parT10.StringFormat.LineAlignment = StringAlignment.Center; + parT10.SetFontSize(0.15); + parT10.SetSizeBase(0.07); + parT10.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT10.GetOP().ScalingXY(parT10.GetOP().GetCenter(), 0.3, 0.3); + parT10.SetClosed(true); + parT10.SetTextColor(Col.White); + parT10.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT10.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT10.GetStringFormat().Alignment = StringAlignment.Center; + parT10.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("n1", new But1(parT10, delegate { //Sounds.操作.Play(); @@ -4101,19 +4101,19 @@ namespace SlaveMatrix })); ParT parT11 = new ParT(); - parT11.Font = new Font("MS Gothic", 0.1f); - parT11.PositionBase = position + DrawBuffer.GetPosition(0.06, 0.21); + parT11.SetFont(new Font("MS Gothic", 0.1f)); + parT11.SetPositionBase(position + DrawBuffer.GetPosition(0.06, 0.21)); parT11.Text = "2"; - parT11.FontSize = 0.15; - parT11.SizeBase = 0.07; - parT11.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT11.OP.ScalingXY(parT11.OP.GetCenter(), 0.3, 0.3); - parT11.Closed = true; - parT11.TextColor = Col.White; - parT11.BrushColor = Color.FromArgb(160, Col.Black); - parT11.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT11.StringFormat.Alignment = StringAlignment.Center; - parT11.StringFormat.LineAlignment = StringAlignment.Center; + parT11.SetFontSize(0.15); + parT11.SetSizeBase(0.07); + parT11.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT11.GetOP().ScalingXY(parT11.GetOP().GetCenter(), 0.3, 0.3); + parT11.SetClosed(true); + parT11.SetTextColor(Col.White); + parT11.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT11.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT11.GetStringFormat().Alignment = StringAlignment.Center; + parT11.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("n2", new But1(parT11, delegate { //Sounds.操作.Play(); @@ -4121,19 +4121,19 @@ namespace SlaveMatrix })); ParT parT12 = new ParT(); - parT12.Font = new Font("MS Gothic", 0.1f); - parT12.PositionBase = position + DrawBuffer.GetPosition(0.12, 0.21); + parT12.SetFont(new Font("MS Gothic", 0.1f)); + parT12.SetPositionBase(position + DrawBuffer.GetPosition(0.12, 0.21)); parT12.Text = "3"; - parT12.FontSize = 0.15; - parT12.SizeBase = 0.07; - parT12.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT12.OP.ScalingXY(parT12.OP.GetCenter(), 0.3, 0.3); - parT12.Closed = true; - parT12.TextColor = Col.White; - parT12.BrushColor = Color.FromArgb(160, Col.Black); - parT12.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT12.StringFormat.Alignment = StringAlignment.Center; - parT12.StringFormat.LineAlignment = StringAlignment.Center; + parT12.SetFontSize(0.15); + parT12.SetSizeBase(0.07); + parT12.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT12.GetOP().ScalingXY(parT12.GetOP().GetCenter(), 0.3, 0.3); + parT12.SetClosed(true); + parT12.SetTextColor(Col.White); + parT12.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT12.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT12.GetStringFormat().Alignment = StringAlignment.Center; + parT12.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("n3", new But1(parT12, delegate { //Sounds.操作.Play(); @@ -4141,19 +4141,19 @@ namespace SlaveMatrix })); ParT parT13 = new ParT(); - parT13.Font = new Font("MS Gothic", 0.1f); - parT13.PositionBase = position + DrawBuffer.GetPosition(0.0, 0.28); + parT13.SetFont(new Font("MS Gothic", 0.1f)); + parT13.SetPositionBase(position + DrawBuffer.GetPosition(0.0, 0.28)); parT13.Text = "0"; - parT13.FontSize = 0.15; - parT13.SizeBase = 0.07; - parT13.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT13.OP.ScalingXY(parT13.OP.GetCenter(), 0.3, 0.3); - parT13.Closed = true; - parT13.TextColor = Col.White; - parT13.BrushColor = Color.FromArgb(160, Col.Black); - parT13.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT13.StringFormat.Alignment = StringAlignment.Center; - parT13.StringFormat.LineAlignment = StringAlignment.Center; + parT13.SetFontSize(0.15); + parT13.SetSizeBase(0.07); + parT13.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT13.GetOP().ScalingXY(parT13.GetOP().GetCenter(), 0.3, 0.3); + parT13.SetClosed(true); + parT13.SetTextColor(Col.White); + parT13.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT13.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT13.GetStringFormat().Alignment = StringAlignment.Center; + parT13.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("n0", new But1(parT13, delegate { //Sounds.操作.Play(); @@ -4161,19 +4161,19 @@ namespace SlaveMatrix })); ParT parT14 = new ParT(); - parT14.Font = new Font("MS Gothic", 0.1f); - parT14.PositionBase = position + DrawBuffer.GetPosition(0.12, 0.28); + parT14.SetFont(new Font("MS Gothic", 0.1f)); + parT14.SetPositionBase(position + DrawBuffer.GetPosition(0.12, 0.28)); parT14.Text = GameText.借; - parT14.FontSize = 0.15; - parT14.SizeBase = 0.07; - parT14.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT14.OP.ScalingXY(parT14.OP.GetCenter(), 0.3, 0.3); - parT14.Closed = true; - parT14.TextColor = Col.White; - parT14.BrushColor = Color.FromArgb(160, Col.Black); - parT14.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT14.StringFormat.Alignment = StringAlignment.Center; - parT14.StringFormat.LineAlignment = StringAlignment.Center; + parT14.SetFontSize(0.15); + parT14.SetSizeBase(0.07); + parT14.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT14.GetOP().ScalingXY(parT14.GetOP().GetCenter(), 0.3, 0.3); + parT14.SetClosed(true); + parT14.SetTextColor(Col.White); + parT14.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT14.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT14.GetStringFormat().Alignment = StringAlignment.Center; + parT14.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("nb", new But1(parT14, delegate { if (Sta.GameData.日借金可能額 != 0) @@ -4208,19 +4208,19 @@ namespace SlaveMatrix })); ParT parT15 = new ParT(); - parT15.Font = new Font("MS Gothic", 0.1f); - parT15.PositionBase = position + DrawBuffer.GetPosition(0.06, 0.28); + parT15.SetFont(new Font("MS Gothic", 0.1f)); + parT15.SetPositionBase(position + DrawBuffer.GetPosition(0.06, 0.28)); parT15.Text = GameText.返; - parT15.FontSize = 0.15; - parT15.SizeBase = 0.07; - parT15.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT15.OP.ScalingXY(parT15.OP.GetCenter(), 0.3, 0.3); - parT15.Closed = true; - parT15.TextColor = Col.White; - parT15.BrushColor = Color.FromArgb(160, Col.Black); - parT15.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT15.StringFormat.Alignment = StringAlignment.Center; - parT15.StringFormat.LineAlignment = StringAlignment.Center; + parT15.SetFontSize(0.15); + parT15.SetSizeBase(0.07); + parT15.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT15.GetOP().ScalingXY(parT15.GetOP().GetCenter(), 0.3, 0.3); + parT15.SetClosed(true); + parT15.SetTextColor(Col.White); + parT15.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT15.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT15.GetStringFormat().Alignment = StringAlignment.Center; + parT15.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("nr", new But1(parT15, delegate { if (Sta.GameData.所持金 != 0) @@ -4418,20 +4418,20 @@ namespace SlaveMatrix Generator g = null; Buts bs = new Buts(); ParT parT = new ParT(); - parT.Font = new Font("MS Gothic", 0.1f); - parT.PositionBase = DrawBuffer.GetPosition(0.85, 0.02); + parT.SetFont(new Font("MS Gothic", 0.1f)); + parT.SetPositionBase(DrawBuffer.GetPosition(0.85, 0.02)); parT.Text = GameText.戻る; - parT.FontSize = 0.15; - parT.SizeBase = 0.05; - parT.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT.OP.ScalingY(parT.OP.GetCenter(), 0.47); - parT.OP.Rotation(parT.OP.GetCenter(), -26.0); - parT.Closed = true; - parT.TextColor = Col.White; - parT.BrushColor = Color.FromArgb(160, Col.Black); - parT.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT.StringFormat.Alignment = StringAlignment.Center; - parT.StringFormat.LineAlignment = StringAlignment.Center; + parT.SetFontSize(0.15); + parT.SetSizeBase(0.05); + parT.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT.GetOP().ScalingY(parT.GetOP().GetCenter(), 0.47); + parT.GetOP().Rotation(parT.GetOP().GetCenter(), -26.0); + parT.SetClosed(true); + parT.SetTextColor(Col.White); + parT.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT.GetStringFormat().Alignment = StringAlignment.Center; + parT.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン0", new But1(parT, delegate { //Sounds.操作.Play(); @@ -4445,41 +4445,41 @@ namespace SlaveMatrix } })); ParT parT2 = new ParT(); - parT2.Font = new Font("MS Gothic", 0.1f); - parT2.PositionBase = DrawBuffer.GetPosition(0.85, 0.1); + parT2.SetFont(new Font("MS Gothic", 0.1f)); + parT2.SetPositionBase(DrawBuffer.GetPosition(0.85, 0.1)); parT2.Text = GameText.奴隷; - parT2.FontSize = 0.15; - parT2.SizeBase = 0.05; - parT2.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT2.OP.ScalingY(parT2.OP.GetCenter(), 0.47); - parT2.OP.Rotation(parT2.OP.GetCenter(), -26.0); - parT2.Closed = true; - parT2.TextColor = Col.White; - parT2.BrushColor = Color.FromArgb(160, Col.Black); - parT2.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT2.StringFormat.Alignment = StringAlignment.Center; - parT2.StringFormat.LineAlignment = StringAlignment.Center; - parT2.PenColor = Color.Red; + parT2.SetFontSize(0.15); + parT2.SetSizeBase(0.05); + parT2.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT2.GetOP().ScalingY(parT2.GetOP().GetCenter(), 0.47); + parT2.GetOP().Rotation(parT2.GetOP().GetCenter(), -26.0); + parT2.SetClosed(true); + parT2.SetTextColor(Col.White); + parT2.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT2.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT2.GetStringFormat().Alignment = StringAlignment.Center; + parT2.GetStringFormat().LineAlignment = StringAlignment.Center; + parT2.SetPenColor(Color.Red); bs.Add("ボタン1", new But1(parT2, delegate { //Sounds.操作.Play(); Med.Mode = "SlaveShop"; })); ParT parT3 = new ParT(); - parT3.Font = new Font("MS Gothic", 0.1f); - parT3.PositionBase = DrawBuffer.GetPosition(0.85, 0.18); + parT3.SetFont(new Font("MS Gothic", 0.1f)); + parT3.SetPositionBase(DrawBuffer.GetPosition(0.85, 0.18)); parT3.Text = GameText.道具; - parT3.FontSize = 0.15; - parT3.SizeBase = 0.05; - parT3.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT3.OP.ScalingY(parT3.OP.GetCenter(), 0.47); - parT3.OP.Rotation(parT3.OP.GetCenter(), -26.0); - parT3.Closed = true; - parT3.TextColor = Col.White; - parT3.BrushColor = Color.FromArgb(160, Col.Black); - parT3.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT3.StringFormat.Alignment = StringAlignment.Center; - parT3.StringFormat.LineAlignment = StringAlignment.Center; + parT3.SetFontSize(0.15); + parT3.SetSizeBase(0.05); + parT3.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT3.GetOP().ScalingY(parT3.GetOP().GetCenter(), 0.47); + parT3.GetOP().Rotation(parT3.GetOP().GetCenter(), -26.0); + parT3.SetClosed(true); + parT3.SetTextColor(Col.White); + parT3.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT3.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT3.GetStringFormat().Alignment = StringAlignment.Center; + parT3.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン2", new But1(parT3, delegate { //Sounds.操作.Play(); @@ -4490,26 +4490,26 @@ namespace SlaveMatrix { foreach (But item in bs.EnumBut.Skip(3).Take(10)) { - item.Pars.Values.First().ToParT().PenColor = bs初期縁色; + item.Pars.Values.First().ToParT().SetPenColor(bs初期縁色); } }; double num = 0.7; double num2 = -0.03; ParT parT4 = new ParT(); - parT4.Font = new Font("MS Gothic", 0.1f); - parT4.PositionBase = DrawBuffer.GetPosition(0.01, num2 + 0.02 * num); + parT4.SetFont(new Font("MS Gothic", 0.1f)); + parT4.SetPositionBase(DrawBuffer.GetPosition(0.01, num2 + 0.02 * num)); parT4.Text = GameText.ランダム; - parT4.FontSize = 0.15; - parT4.SizeBase = 0.05; - parT4.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT4.OP.ScalingY(parT4.OP.GetCenter(), 0.5 * num); - parT4.Closed = true; - parT4.TextColor = Col.White; - parT4.BrushColor = Color.FromArgb(160, Col.Black); - parT4.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT4.StringFormat.Alignment = StringAlignment.Center; - parT4.StringFormat.LineAlignment = StringAlignment.Center; - parT4.PenColor = Color.Red; + parT4.SetFontSize(0.15); + parT4.SetSizeBase(0.05); + parT4.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT4.GetOP().ScalingY(parT4.GetOP().GetCenter(), 0.5 * num); + parT4.SetClosed(true); + parT4.SetTextColor(Col.White); + parT4.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT4.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT4.GetStringFormat().Alignment = StringAlignment.Center; + parT4.GetStringFormat().LineAlignment = StringAlignment.Center; + parT4.SetPenColor(Color.Red); bs.Add("対象0", new But1(parT4, delegate(But bu) { if (d) @@ -4518,201 +4518,201 @@ namespace SlaveMatrix } d = true; bs縁色初期化(); - bu.Pars.Values.First().ToParT().PenColor = Color.Red; + bu.Pars.Values.First().ToParT().SetPenColor(Color.Red); Reload(); })); ParT parT5 = new ParT(); - parT5.Font = new Font("MS Gothic", 0.1f); - parT5.PositionBase = DrawBuffer.GetPosition(0.01, num2 + 0.1 * num); + parT5.SetFont(new Font("MS Gothic", 0.1f)); + parT5.SetPositionBase(DrawBuffer.GetPosition(0.01, num2 + 0.1 * num)); parT5.Text = GameText.鳥系; - parT5.FontSize = 0.15; - parT5.SizeBase = 0.05; - parT5.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT5.OP.ScalingY(parT5.OP.GetCenter(), 0.5 * num); - parT5.Closed = true; - parT5.TextColor = Col.White; - parT5.BrushColor = Color.FromArgb(160, Col.Black); - parT5.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT5.StringFormat.Alignment = StringAlignment.Center; - parT5.StringFormat.LineAlignment = StringAlignment.Center; + parT5.SetFontSize(0.15); + parT5.SetSizeBase(0.05); + parT5.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT5.GetOP().ScalingY(parT5.GetOP().GetCenter(), 0.5 * num); + parT5.SetClosed(true); + parT5.SetTextColor(Col.White); + parT5.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT5.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT5.GetStringFormat().Alignment = StringAlignment.Center; + parT5.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("対象1", new But1(parT5, delegate(But bu) { //Sounds.操作.Play(); bs縁色初期化(); - bu.Pars.Values.First().ToParT().PenColor = Color.Red; + bu.Pars.Values.First().ToParT().SetPenColor(Color.Red); Reload(); })); ParT parT6 = new ParT(); - parT6.Font = new Font("MS Gothic", 0.1f); - parT6.PositionBase = DrawBuffer.GetPosition(0.01, num2 + 0.18 * num); + parT6.SetFont(new Font("MS Gothic", 0.1f)); + parT6.SetPositionBase(DrawBuffer.GetPosition(0.01, num2 + 0.18 * num)); parT6.Text = GameText.蛇系; - parT6.FontSize = 0.15; - parT6.SizeBase = 0.05; - parT6.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT6.OP.ScalingY(parT6.OP.GetCenter(), 0.5 * num); - parT6.Closed = true; - parT6.TextColor = Col.White; - parT6.BrushColor = Color.FromArgb(160, Col.Black); - parT6.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT6.StringFormat.Alignment = StringAlignment.Center; - parT6.StringFormat.LineAlignment = StringAlignment.Center; + parT6.SetFontSize(0.15); + parT6.SetSizeBase(0.05); + parT6.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT6.GetOP().ScalingY(parT6.GetOP().GetCenter(), 0.5 * num); + parT6.SetClosed(true); + parT6.SetTextColor(Col.White); + parT6.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT6.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT6.GetStringFormat().Alignment = StringAlignment.Center; + parT6.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("対象2", new But1(parT6, delegate(But bu) { //Sounds.操作.Play(); bs縁色初期化(); - bu.Pars.Values.First().ToParT().PenColor = Color.Red; + bu.Pars.Values.First().ToParT().SetPenColor(Color.Red); Reload(); })); ParT parT7 = new ParT(); - parT7.Font = new Font("MS Gothic", 0.1f); - parT7.PositionBase = DrawBuffer.GetPosition(0.01, num2 + 0.26 * num); + parT7.SetFont(new Font("MS Gothic", 0.1f)); + parT7.SetPositionBase(DrawBuffer.GetPosition(0.01, num2 + 0.26 * num)); parT7.Text = GameText.獣系; - parT7.FontSize = 0.15; - parT7.SizeBase = 0.05; - parT7.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT7.OP.ScalingY(parT7.OP.GetCenter(), 0.5 * num); - parT7.Closed = true; - parT7.TextColor = Col.White; - parT7.BrushColor = Color.FromArgb(160, Col.Black); - parT7.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT7.StringFormat.Alignment = StringAlignment.Center; - parT7.StringFormat.LineAlignment = StringAlignment.Center; + parT7.SetFontSize(0.15); + parT7.SetSizeBase(0.05); + parT7.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT7.GetOP().ScalingY(parT7.GetOP().GetCenter(), 0.5 * num); + parT7.SetClosed(true); + parT7.SetTextColor(Col.White); + parT7.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT7.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT7.GetStringFormat().Alignment = StringAlignment.Center; + parT7.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("対象3", new But1(parT7, delegate(But bu) { //Sounds.操作.Play(); bs縁色初期化(); - bu.Pars.Values.First().ToParT().PenColor = Color.Red; + bu.Pars.Values.First().ToParT().SetPenColor(Color.Red); Reload(); })); ParT parT8 = new ParT(); - parT8.Font = new Font("MS Gothic", 0.1f); - parT8.PositionBase = DrawBuffer.GetPosition(0.01, num2 + 0.34 * num); + parT8.SetFont(new Font("MS Gothic", 0.1f)); + parT8.SetPositionBase(DrawBuffer.GetPosition(0.01, num2 + 0.34 * num)); parT8.Text = GameText.水系; - parT8.FontSize = 0.15; - parT8.SizeBase = 0.05; - parT8.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT8.OP.ScalingY(parT8.OP.GetCenter(), 0.5 * num); - parT8.Closed = true; - parT8.TextColor = Col.White; - parT8.BrushColor = Color.FromArgb(160, Col.Black); - parT8.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT8.StringFormat.Alignment = StringAlignment.Center; - parT8.StringFormat.LineAlignment = StringAlignment.Center; + parT8.SetFontSize(0.15); + parT8.SetSizeBase(0.05); + parT8.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT8.GetOP().ScalingY(parT8.GetOP().GetCenter(), 0.5 * num); + parT8.SetClosed(true); + parT8.SetTextColor(Col.White); + parT8.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT8.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT8.GetStringFormat().Alignment = StringAlignment.Center; + parT8.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("対象4", new But1(parT8, delegate(But bu) { //Sounds.操作.Play(); bs縁色初期化(); - bu.Pars.Values.First().ToParT().PenColor = Color.Red; + bu.Pars.Values.First().ToParT().SetPenColor(Color.Red); Reload(); })); ParT parT9 = new ParT(); - parT9.Font = new Font("MS Gothic", 0.1f); - parT9.PositionBase = DrawBuffer.GetPosition(0.01, num2 + 0.42 * num); + parT9.SetFont(new Font("MS Gothic", 0.1f)); + parT9.SetPositionBase(DrawBuffer.GetPosition(0.01, num2 + 0.42 * num)); parT9.Text = GameText.虫系; - parT9.FontSize = 0.15; - parT9.SizeBase = 0.05; - parT9.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT9.OP.ScalingY(parT9.OP.GetCenter(), 0.5 * num); - parT9.Closed = true; - parT9.TextColor = Col.White; - parT9.BrushColor = Color.FromArgb(160, Col.Black); - parT9.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT9.StringFormat.Alignment = StringAlignment.Center; - parT9.StringFormat.LineAlignment = StringAlignment.Center; + parT9.SetFontSize(0.15); + parT9.SetSizeBase(0.05); + parT9.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT9.GetOP().ScalingY(parT9.GetOP().GetCenter(), 0.5 * num); + parT9.SetClosed(true); + parT9.SetTextColor(Col.White); + parT9.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT9.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT9.GetStringFormat().Alignment = StringAlignment.Center; + parT9.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("対象5", new But1(parT9, delegate(But bu) { //Sounds.操作.Play(); bs縁色初期化(); - bu.Pars.Values.First().ToParT().PenColor = Color.Red; + bu.Pars.Values.First().ToParT().SetPenColor(Color.Red); Reload(); })); ParT parT10 = new ParT(); - parT10.Font = new Font("MS Gothic", 0.1f); - parT10.PositionBase = DrawBuffer.GetPosition(0.01, num2 + 0.5 * num); + parT10.SetFont(new Font("MS Gothic", 0.1f)); + parT10.SetPositionBase(DrawBuffer.GetPosition(0.01, num2 + 0.5 * num)); parT10.Text = GameText.人型; - parT10.FontSize = 0.15; - parT10.SizeBase = 0.05; - parT10.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT10.OP.ScalingY(parT10.OP.GetCenter(), 0.5 * num); - parT10.Closed = true; - parT10.TextColor = Col.White; - parT10.BrushColor = Color.FromArgb(160, Col.Black); - parT10.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT10.StringFormat.Alignment = StringAlignment.Center; - parT10.StringFormat.LineAlignment = StringAlignment.Center; + parT10.SetFontSize(0.15); + parT10.SetSizeBase(0.05); + parT10.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT10.GetOP().ScalingY(parT10.GetOP().GetCenter(), 0.5 * num); + parT10.SetClosed(true); + parT10.SetTextColor(Col.White); + parT10.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT10.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT10.GetStringFormat().Alignment = StringAlignment.Center; + parT10.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("対象6", new But1(parT10, delegate(But bu) { //Sounds.操作.Play(); bs縁色初期化(); - bu.Pars.Values.First().ToParT().PenColor = Color.Red; + bu.Pars.Values.First().ToParT().SetPenColor(Color.Red); Reload(); })); ParT parT11 = new ParT(); - parT11.Font = new Font("MS Gothic", 0.1f); - parT11.PositionBase = DrawBuffer.GetPosition(0.01, num2 + 0.58 * num); + parT11.SetFont(new Font("MS Gothic", 0.1f)); + parT11.SetPositionBase(DrawBuffer.GetPosition(0.01, num2 + 0.58 * num)); parT11.Text = GameText.幻獣; - parT11.FontSize = 0.15; - parT11.SizeBase = 0.05; - parT11.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT11.OP.ScalingY(parT11.OP.GetCenter(), 0.5 * num); - parT11.Closed = true; - parT11.TextColor = Col.White; - parT11.BrushColor = Color.FromArgb(160, Col.Black); - parT11.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT11.StringFormat.Alignment = StringAlignment.Center; - parT11.StringFormat.LineAlignment = StringAlignment.Center; + parT11.SetFontSize(0.15); + parT11.SetSizeBase(0.05); + parT11.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT11.GetOP().ScalingY(parT11.GetOP().GetCenter(), 0.5 * num); + parT11.SetClosed(true); + parT11.SetTextColor(Col.White); + parT11.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT11.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT11.GetStringFormat().Alignment = StringAlignment.Center; + parT11.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("対象7", new But1(parT11, delegate(But bu) { //Sounds.操作.Play(); bs縁色初期化(); - bu.Pars.Values.First().ToParT().PenColor = Color.Red; + bu.Pars.Values.First().ToParT().SetPenColor(Color.Red); Reload(); })); ParT parT12 = new ParT(); - parT12.Font = new Font("MS Gothic", 0.1f); - parT12.PositionBase = DrawBuffer.GetPosition(0.01, num2 + 0.66 * num); + parT12.SetFont(new Font("MS Gothic", 0.1f)); + parT12.SetPositionBase(DrawBuffer.GetPosition(0.01, num2 + 0.66 * num)); parT12.Text = GameText.魔獣; - parT12.FontSize = 0.15; - parT12.SizeBase = 0.05; - parT12.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT12.OP.ScalingY(parT12.OP.GetCenter(), 0.5 * num); - parT12.Closed = true; - parT12.TextColor = Col.White; - parT12.BrushColor = Color.FromArgb(160, Col.Black); - parT12.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT12.StringFormat.Alignment = StringAlignment.Center; - parT12.StringFormat.LineAlignment = StringAlignment.Center; + parT12.SetFontSize(0.15); + parT12.SetSizeBase(0.05); + parT12.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT12.GetOP().ScalingY(parT12.GetOP().GetCenter(), 0.5 * num); + parT12.SetClosed(true); + parT12.SetTextColor(Col.White); + parT12.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT12.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT12.GetStringFormat().Alignment = StringAlignment.Center; + parT12.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("対象8", new But1(parT12, delegate(But bu) { //Sounds.操作.Play(); bs縁色初期化(); - bu.Pars.Values.First().ToParT().PenColor = Color.Red; + bu.Pars.Values.First().ToParT().SetPenColor(Color.Red); Reload(); })); ParT parT13 = new ParT(); - parT13.Font = new Font("MS Gothic", 0.1f); - parT13.PositionBase = DrawBuffer.GetPosition(0.01, num2 + 0.74 * num); + parT13.SetFont(new Font("MS Gothic", 0.1f)); + parT13.SetPositionBase(DrawBuffer.GetPosition(0.01, num2 + 0.74 * num)); parT13.Text = GameText.竜系; - parT13.FontSize = 0.15; - parT13.SizeBase = 0.05; - parT13.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT13.OP.ScalingY(parT13.OP.GetCenter(), 0.5 * num); - parT13.Closed = true; - parT13.TextColor = Col.White; - parT13.BrushColor = Color.FromArgb(160, Col.Black); - parT13.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT13.StringFormat.Alignment = StringAlignment.Center; - parT13.StringFormat.LineAlignment = StringAlignment.Center; + parT13.SetFontSize(0.15); + parT13.SetSizeBase(0.05); + parT13.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT13.GetOP().ScalingY(parT13.GetOP().GetCenter(), 0.5 * num); + parT13.SetClosed(true); + parT13.SetTextColor(Col.White); + parT13.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT13.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT13.GetStringFormat().Alignment = StringAlignment.Center; + parT13.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("対象9", new But1(parT13, delegate(But bu) { //Sounds.操作.Play(); bs縁色初期化(); - bu.Pars.Values.First().ToParT().PenColor = Color.Red; + bu.Pars.Values.First().ToParT().SetPenColor(Color.Red); Reload(); })); Action SetGen = delegate { - if (bs["対象0"].Pars.Values.First().ToParT().PenColor == Color.Red) + if (bs["対象0"].Pars.Values.First().ToParT().GetPenColor() == Color.Red) { if ((Sta.GameData.鳥系.Count != 0 && Sta.GameData.系統開放[0]) || (Sta.GameData.蛇系.Count != 0 && Sta.GameData.系統開放[1]) || (Sta.GameData.獣系.Count != 0 && Sta.GameData.系統開放[2]) || (Sta.GameData.水系.Count != 0 && Sta.GameData.系統開放[3]) || (Sta.GameData.虫系.Count != 0 && Sta.GameData.系統開放[4]) || (Sta.GameData.人型.Count != 0 && Sta.GameData.系統開放[5]) || (Sta.GameData.幻獣.Count != 0 && Sta.GameData.系統開放[6]) || (Sta.GameData.魔獣.Count != 0 && Sta.GameData.系統開放[7]) || (Sta.GameData.竜系.Count != 0 && Sta.GameData.系統開放[8])) { @@ -4785,39 +4785,39 @@ namespace SlaveMatrix } } } - else if (bs["対象1"].Pars.Values.First().ToParT().PenColor == Color.Red) + else if (bs["対象1"].Pars.Values.First().ToParT().GetPenColor() == Color.Red) { g = Sta.GameData.鳥系; } - else if (bs["対象2"].Pars.Values.First().ToParT().PenColor == Color.Red) + else if (bs["対象2"].Pars.Values.First().ToParT().GetPenColor() == Color.Red) { g = Sta.GameData.蛇系; } - else if (bs["対象3"].Pars.Values.First().ToParT().PenColor == Color.Red) + else if (bs["対象3"].Pars.Values.First().ToParT().GetPenColor() == Color.Red) { g = Sta.GameData.獣系; } - else if (bs["対象4"].Pars.Values.First().ToParT().PenColor == Color.Red) + else if (bs["対象4"].Pars.Values.First().ToParT().GetPenColor() == Color.Red) { g = Sta.GameData.水系; } - else if (bs["対象5"].Pars.Values.First().ToParT().PenColor == Color.Red) + else if (bs["対象5"].Pars.Values.First().ToParT().GetPenColor() == Color.Red) { g = Sta.GameData.虫系; } - else if (bs["対象6"].Pars.Values.First().ToParT().PenColor == Color.Red) + else if (bs["対象6"].Pars.Values.First().ToParT().GetPenColor() == Color.Red) { g = Sta.GameData.人型; } - else if (bs["対象7"].Pars.Values.First().ToParT().PenColor == Color.Red) + else if (bs["対象7"].Pars.Values.First().ToParT().GetPenColor() == Color.Red) { g = Sta.GameData.幻獣; } - else if (bs["対象8"].Pars.Values.First().ToParT().PenColor == Color.Red) + else if (bs["対象8"].Pars.Values.First().ToParT().GetPenColor() == Color.Red) { g = Sta.GameData.魔獣; } - else if (bs["対象9"].Pars.Values.First().ToParT().PenColor == Color.Red) + else if (bs["対象9"].Pars.Values.First().ToParT().GetPenColor() == Color.Red) { g = Sta.GameData.竜系; } @@ -4846,19 +4846,19 @@ namespace SlaveMatrix } }; ParT parT14 = new ParT(); - parT14.Font = new Font("MS Gothic", 0.1f); - parT14.PositionBase = DrawBuffer.GetPosition(0.01, num2 + 0.9 * num); + parT14.SetFont(new Font("MS Gothic", 0.1f)); + parT14.SetPositionBase(DrawBuffer.GetPosition(0.01, num2 + 0.9 * num)); parT14.Text = GameText.チェンジ; - parT14.FontSize = 0.15; - parT14.SizeBase = 0.05; - parT14.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT14.OP.ScalingY(parT14.OP.GetCenter(), 0.5 * num); - parT14.Closed = true; - parT14.TextColor = Col.White; - parT14.BrushColor = Color.FromArgb(160, Col.Black); - parT14.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT14.StringFormat.Alignment = StringAlignment.Center; - parT14.StringFormat.LineAlignment = StringAlignment.Center; + parT14.SetFontSize(0.15); + parT14.SetSizeBase(0.05); + parT14.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT14.GetOP().ScalingY(parT14.GetOP().GetCenter(), 0.5 * num); + parT14.SetClosed(true); + parT14.SetTextColor(Col.White); + parT14.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT14.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT14.GetStringFormat().Alignment = StringAlignment.Center; + parT14.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("変更", new But1(parT14, delegate { if (!ip.Mai.TextIm.StartsWith(GameText.売り切れです)) @@ -4872,19 +4872,19 @@ namespace SlaveMatrix Reload(); })); ParT parT15 = new ParT(); - parT15.Font = new Font("MS Gothic", 0.1f); - parT15.PositionBase = DrawBuffer.GetPosition(0.01, num2 + 0.98 * num); + parT15.SetFont(new Font("MS Gothic", 0.1f)); + parT15.SetPositionBase(DrawBuffer.GetPosition(0.01, num2 + 0.98 * num)); parT15.Text = GameText.購入; - parT15.FontSize = 0.15; - parT15.SizeBase = 0.05; - parT15.OP.AddRange(new Out[1] { Shas.GetSquare() }); - parT15.OP.ScalingY(parT15.OP.GetCenter(), 0.5 * num); - parT15.Closed = true; - parT15.TextColor = Col.White; - parT15.BrushColor = Color.FromArgb(160, Col.Black); - parT15.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT15.StringFormat.Alignment = StringAlignment.Center; - parT15.StringFormat.LineAlignment = StringAlignment.Center; + parT15.SetFontSize(0.15); + parT15.SetSizeBase(0.05); + parT15.GetOP().AddRange(new Out[1] { Shas.GetSquare() }); + parT15.GetOP().ScalingY(parT15.GetOP().GetCenter(), 0.5 * num); + parT15.SetClosed(true); + parT15.SetTextColor(Col.White); + parT15.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT15.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT15.GetStringFormat().Alignment = StringAlignment.Center; + parT15.GetStringFormat().LineAlignment = StringAlignment.Center; ulong 買値; bs.Add("購入", new But1(parT15, delegate { @@ -5010,7 +5010,7 @@ namespace SlaveMatrix int num3 = 0; using (IEnumerator enumerator = bs.EnumBut.Skip(3).Take(10).GetEnumerator()) { - while (enumerator.MoveNext() && !(enumerator.Current.Pars.Values.First().ToParT().PenColor == Color.Red)) + while (enumerator.MoveNext() && !(enumerator.Current.Pars.Values.First().ToParT().GetPenColor() == Color.Red)) { num3++; } @@ -5094,7 +5094,7 @@ namespace SlaveMatrix { d = false; bs縁色初期化(); - bs["対象0"].Pars.Values.First().ToParT().PenColor = Color.Red; + bs["対象0"].Pars.Values.First().ToParT().SetPenColor(Color.Red); }; return mod; } @@ -5307,63 +5307,63 @@ namespace SlaveMatrix dbs.Move(ref hc); bs.Move(ref hc); lv.Move(ref hc); - if (lv.bs["0"].Pars.Values.First().ToPar().HitColor == hc) + if (lv.bs["0"].Pars.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.ペニスを模したバイブ + "\r\n" + GameText.刺激は控えめ; } - if (lv.bs["1"].Pars.Values.First().ToPar().HitColor == hc) + if (lv.bs["1"].Pars.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.一般的なバイブ + "\r\n" + GameText.ディルドバイブより刺激が強い; } - if (lv.bs["2"].Pars.Values.First().ToPar().HitColor == hc) + if (lv.bs["2"].Pars.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.振動と回転の2つの刺激をもたらすバイブ; } - if (lv.bs["3"].Pars.Values.First().ToPar().HitColor == hc) + if (lv.bs["3"].Pars.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.強力な振動のバイブ + "\r\n" + GameText.刺激が強い; } - if (lv.bs["4"].Pars.Values.First().ToPar().HitColor == hc) + if (lv.bs["4"].Pars.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.アナルの調教に適したバイブ; } - if (lv.bs["5"].Pars.Values.First().ToPar().HitColor == hc) + if (lv.bs["5"].Pars.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.痛みを与えるための道具; } - if (lv.bs["6"].Pars.Values.First().ToPar().HitColor == hc) + if (lv.bs["6"].Pars.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.緊張を解きほぐすために利用する; } - if (lv.bs["7"].Pars.Values.First().ToPar().HitColor == hc) + if (lv.bs["7"].Pars.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.陰毛を剃ることが出来る; } - if (lv.bs["8"].Pars.Values.First().ToPar().HitColor == hc) + if (lv.bs["8"].Pars.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.吸着振動するキャップ; } - if (lv.bs["9"].Pars.Values.First().ToPar().HitColor == hc) + if (lv.bs["9"].Pars.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.刺激の弱いバイブの一種; } - if (lv.bs["10"].Pars.Values.First().ToPar().HitColor == hc) + if (lv.bs["10"].Pars.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.アナルの調教に適した道具; } - if (lv.bs["11"].Pars.Values.First().ToPar().HitColor == hc) + if (lv.bs["11"].Pars.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.奴隷の視界を遮るための道具; } - if (lv.bs["12"].Pars.Values.First().ToPar().HitColor == hc) + if (lv.bs["12"].Pars.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.奴隷の口をふさぐための道具; } - if (lv.bs["13"].Pars.Values.First().ToPar().HitColor == hc) + if (lv.bs["13"].Pars.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.写真を撮影することが出来る; } - if (lv.bs["14"].Pars.Values.First().ToPar().HitColor == hc) + if (lv.bs["14"].Pars.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.フロアを増設し収容できる奴隷の数を増やす; } @@ -5587,84 +5587,84 @@ namespace SlaveMatrix } }); Labs ls = new Labs(Med, DrawBuffer); - ls.Add("ラベル0", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 - 0.1)), 0.1, 2.5, new Font("MS Gothic", 1f), 0.085, " ", Col.White, Col.Black, ip.MaiB.BrushColor, Col.Black, Input: false); - ls.Add("ラベル1", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 0.0 + 0.005)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, GameText.肌の色, Col.White, Col.Black, ip.MaiB.BrushColor, Col.Black, Input: false); - ls.Add("ラベル2", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 0.0 + 0.045)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "H:", Col.White, Col.Black, ip.MaiB.BrushColor, Col.Black, Input: false); - ls.Add("ラベル3", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 0.0 + 0.086)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "S:", Col.White, Col.Black, ip.MaiB.BrushColor, Col.Black, Input: false); - ls.Add("ラベル4", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 0.0 + 0.127)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "V:", Col.White, Col.Black, ip.MaiB.BrushColor, Col.Black, Input: false); - ls.Add("ラベル5", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 1.0 + 0.005)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, GameText.髪の色, Col.White, Col.Black, ip.MaiB.BrushColor, Col.Black, Input: false); - ls.Add("ラベル6", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 1.0 + 0.045)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "H:", Col.White, Col.Black, ip.MaiB.BrushColor, Col.Black, Input: false); - ls.Add("ラベル7", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 1.0 + 0.086)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "S:", Col.White, Col.Black, ip.MaiB.BrushColor, Col.Black, Input: false); - ls.Add("ラベル8", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 1.0 + 0.127)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "V:", Col.White, Col.Black, ip.MaiB.BrushColor, Col.Black, Input: false); - ls.Add("ラベル9", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 2.0 + 0.005)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, GameText.瞳の色, Col.White, Col.Black, ip.MaiB.BrushColor, Col.Black, Input: false); - ls.Add("ラベル10", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 2.0 + 0.045)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "H:", Col.White, Col.Black, ip.MaiB.BrushColor, Col.Black, Input: false); - ls.Add("ラベル11", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 2.0 + 0.086)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "S:", Col.White, Col.Black, ip.MaiB.BrushColor, Col.Black, Input: false); - ls.Add("ラベル12", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 2.0 + 0.127)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "V:", Col.White, Col.Black, ip.MaiB.BrushColor, Col.Black, Input: false); - ls.Add("ラベル13", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 3.0 + 0.005)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, GameText.体格, Col.White, Col.Black, ip.MaiB.BrushColor, Col.Black, Input: false); - ls.Add("ラベル14", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 3.0 + 0.045)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "H:", Col.White, Col.Black, ip.MaiB.BrushColor, Col.Black, Input: false); - ls.Add("ラベル15", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 3.0 + 0.086)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "W:", Col.White, Col.Black, ip.MaiB.BrushColor, Col.Black, Input: false); + ls.Add("ラベル0", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 - 0.1)), 0.1, 2.5, new Font("MS Gothic", 1f), 0.085, " ", Col.White, Col.Black, ip.MaiB.GetBrushColor(), Col.Black, Input: false); + ls.Add("ラベル1", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 0.0 + 0.005)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, GameText.肌の色, Col.White, Col.Black, ip.MaiB.GetBrushColor(), Col.Black, Input: false); + ls.Add("ラベル2", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 0.0 + 0.045)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "H:", Col.White, Col.Black, ip.MaiB.GetBrushColor(), Col.Black, Input: false); + ls.Add("ラベル3", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 0.0 + 0.086)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "S:", Col.White, Col.Black, ip.MaiB.GetBrushColor(), Col.Black, Input: false); + ls.Add("ラベル4", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 0.0 + 0.127)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "V:", Col.White, Col.Black, ip.MaiB.GetBrushColor(), Col.Black, Input: false); + ls.Add("ラベル5", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 1.0 + 0.005)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, GameText.髪の色, Col.White, Col.Black, ip.MaiB.GetBrushColor(), Col.Black, Input: false); + ls.Add("ラベル6", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 1.0 + 0.045)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "H:", Col.White, Col.Black, ip.MaiB.GetBrushColor(), Col.Black, Input: false); + ls.Add("ラベル7", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 1.0 + 0.086)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "S:", Col.White, Col.Black, ip.MaiB.GetBrushColor(), Col.Black, Input: false); + ls.Add("ラベル8", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 1.0 + 0.127)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "V:", Col.White, Col.Black, ip.MaiB.GetBrushColor(), Col.Black, Input: false); + ls.Add("ラベル9", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 2.0 + 0.005)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, GameText.瞳の色, Col.White, Col.Black, ip.MaiB.GetBrushColor(), Col.Black, Input: false); + ls.Add("ラベル10", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 2.0 + 0.045)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "H:", Col.White, Col.Black, ip.MaiB.GetBrushColor(), Col.Black, Input: false); + ls.Add("ラベル11", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 2.0 + 0.086)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "S:", Col.White, Col.Black, ip.MaiB.GetBrushColor(), Col.Black, Input: false); + ls.Add("ラベル12", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 2.0 + 0.127)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "V:", Col.White, Col.Black, ip.MaiB.GetBrushColor(), Col.Black, Input: false); + ls.Add("ラベル13", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 3.0 + 0.005)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, GameText.体格, Col.White, Col.Black, ip.MaiB.GetBrushColor(), Col.Black, Input: false); + ls.Add("ラベル14", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 3.0 + 0.045)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "H:", Col.White, Col.Black, ip.MaiB.GetBrushColor(), Col.Black, Input: false); + ls.Add("ラベル15", DrawBuffer.GetPosition(new Vector2D(num2 + 0.19, num3 + num * 3.0 + 0.086)), 0.1, 1.0, new Font("MS Gothic", 1f), 0.085, "W:", Col.White, Col.Black, ip.MaiB.GetBrushColor(), Col.Black, Input: false); Gau H肌 = new Gau("H肌", DrawBuffer.GetPosition(new Vector2D(num2 + 0.532, num3 + num * 0.0 + 0.06)), DrawBuffer.Size, 0.6, 0.03, 0.02, Open.Rig, _2DGAMELIB.Range.ZeroOne, DrawBuffer.DisplayUnitScale, Color.Transparent, Color.Transparent, Color.Transparent, Color.Transparent, Col.Black, Knob: true); - H肌.Gauge.PenColor = Col.White; - H肌.Frame1.PenColor = Col.White; - H肌.Knob.PenColor = Col.White; - H肌.Knob.HitColor = Med.GetUniqueColor(); + H肌.Gauge.SetPenColor(Col.White); + H肌.Frame1.SetPenColor(Col.White); + H肌.Knob.SetPenColor(Col.White); + H肌.Knob.SetHitColor(Med.GetUniqueColor()); Gau S肌 = new Gau("S肌", DrawBuffer.GetPosition(new Vector2D(num2 + 0.532, num3 + num * 0.0 + 0.1)), DrawBuffer.Size, 0.6, 0.03, 0.02, Open.Rig, _2DGAMELIB.Range.ZeroOne, DrawBuffer.DisplayUnitScale, Color.Transparent, Color.Transparent, Color.Transparent, Color.Transparent, Col.Black, Knob: true); - S肌.Gauge.PenColor = Col.White; - S肌.Frame1.PenColor = Col.White; - S肌.Knob.PenColor = Col.White; - S肌.Knob.HitColor = Med.GetUniqueColor(); + S肌.Gauge.SetPenColor(Col.White); + S肌.Frame1.SetPenColor(Col.White); + S肌.Knob.SetPenColor(Col.White); + S肌.Knob.SetHitColor(Med.GetUniqueColor()); Gau V肌 = new Gau("V肌", DrawBuffer.GetPosition(new Vector2D(num2 + 0.532, num3 + num * 0.0 + 0.14)), DrawBuffer.Size, 0.6, 0.03, 0.02, Open.Rig, _2DGAMELIB.Range.ZeroOne, DrawBuffer.DisplayUnitScale, Color.Transparent, Color.Transparent, Color.Transparent, Color.Transparent, Col.Black, Knob: true); - V肌.Gauge.PenColor = Col.White; - V肌.Frame1.PenColor = Col.White; - V肌.Knob.PenColor = Col.White; - V肌.Knob.HitColor = Med.GetUniqueColor(); + V肌.Gauge.SetPenColor(Col.White); + V肌.Frame1.SetPenColor(Col.White); + V肌.Knob.SetPenColor(Col.White); + V肌.Knob.SetHitColor(Med.GetUniqueColor()); Gau H髪 = new Gau("H髪", DrawBuffer.GetPosition(new Vector2D(num2 + 0.532, num3 + num * 1.0 + 0.06)), DrawBuffer.Size, 0.6, 0.03, 0.02, Open.Rig, _2DGAMELIB.Range.ZeroOne, DrawBuffer.DisplayUnitScale, Color.Transparent, Color.Transparent, Color.Transparent, Color.Transparent, Col.Black, Knob: true); - H髪.Gauge.PenColor = Col.White; - H髪.Frame1.PenColor = Col.White; - H髪.Knob.PenColor = Col.White; - H髪.Knob.HitColor = Med.GetUniqueColor(); + H髪.Gauge.SetPenColor(Col.White); + H髪.Frame1.SetPenColor(Col.White); + H髪.Knob.SetPenColor(Col.White); + H髪.Knob.SetHitColor(Med.GetUniqueColor()); Gau S髪 = new Gau("S髪", DrawBuffer.GetPosition(new Vector2D(num2 + 0.532, num3 + num * 1.0 + 0.1)), DrawBuffer.Size, 0.6, 0.03, 0.02, Open.Rig, _2DGAMELIB.Range.ZeroOne, DrawBuffer.DisplayUnitScale, Color.Transparent, Color.Transparent, Color.Transparent, Color.Transparent, Col.Black, Knob: true); - S髪.Gauge.PenColor = Col.White; - S髪.Frame1.PenColor = Col.White; - S髪.Knob.PenColor = Col.White; - S髪.Knob.HitColor = Med.GetUniqueColor(); + S髪.Gauge.SetPenColor(Col.White); + S髪.Frame1.SetPenColor(Col.White); + S髪.Knob.SetPenColor(Col.White); + S髪.Knob.SetHitColor(Med.GetUniqueColor()); Gau V髪 = new Gau("V髪", DrawBuffer.GetPosition(new Vector2D(num2 + 0.532, num3 + num * 1.0 + 0.14)), DrawBuffer.Size, 0.6, 0.03, 0.02, Open.Rig, _2DGAMELIB.Range.ZeroOne, DrawBuffer.DisplayUnitScale, Color.Transparent, Color.Transparent, Color.Transparent, Color.Transparent, Col.Black, Knob: true); - V髪.Gauge.PenColor = Col.White; - V髪.Frame1.PenColor = Col.White; - V髪.Knob.PenColor = Col.White; - V髪.Knob.HitColor = Med.GetUniqueColor(); + V髪.Gauge.SetPenColor(Col.White); + V髪.Frame1.SetPenColor(Col.White); + V髪.Knob.SetPenColor(Col.White); + V髪.Knob.SetHitColor(Med.GetUniqueColor()); Gau H瞳 = new Gau("H瞳", DrawBuffer.GetPosition(new Vector2D(num2 + 0.532, num3 + num * 2.0 + 0.06)), DrawBuffer.Size, 0.6, 0.03, 0.02, Open.Rig, _2DGAMELIB.Range.ZeroOne, DrawBuffer.DisplayUnitScale, Color.Transparent, Color.Transparent, Color.Transparent, Color.Transparent, Col.Black, Knob: true); - H瞳.Gauge.PenColor = Col.White; - H瞳.Frame1.PenColor = Col.White; - H瞳.Knob.PenColor = Col.White; - H瞳.Knob.HitColor = Med.GetUniqueColor(); + H瞳.Gauge.SetPenColor(Col.White); + H瞳.Frame1.SetPenColor(Col.White); + H瞳.Knob.SetPenColor(Col.White); + H瞳.Knob.SetHitColor(Med.GetUniqueColor()); Gau S瞳 = new Gau("S瞳", DrawBuffer.GetPosition(new Vector2D(num2 + 0.532, num3 + num * 2.0 + 0.1)), DrawBuffer.Size, 0.6, 0.03, 0.02, Open.Rig, _2DGAMELIB.Range.ZeroOne, DrawBuffer.DisplayUnitScale, Color.Transparent, Color.Transparent, Color.Transparent, Color.Transparent, Col.Black, Knob: true); - S瞳.Gauge.PenColor = Col.White; - S瞳.Frame1.PenColor = Col.White; - S瞳.Knob.PenColor = Col.White; - S瞳.Knob.HitColor = Med.GetUniqueColor(); + S瞳.Gauge.SetPenColor(Col.White); + S瞳.Frame1.SetPenColor(Col.White); + S瞳.Knob.SetPenColor(Col.White); + S瞳.Knob.SetHitColor(Med.GetUniqueColor()); Gau V瞳 = new Gau("V瞳", DrawBuffer.GetPosition(new Vector2D(num2 + 0.532, num3 + num * 2.0 + 0.14)), DrawBuffer.Size, 0.6, 0.03, 0.02, Open.Rig, _2DGAMELIB.Range.ZeroOne, DrawBuffer.DisplayUnitScale, Color.Transparent, Color.Transparent, Color.Transparent, Color.Transparent, Col.Black, Knob: true); - V瞳.Gauge.PenColor = Col.White; - V瞳.Frame1.PenColor = Col.White; - V瞳.Knob.PenColor = Col.White; - V瞳.Knob.HitColor = Med.GetUniqueColor(); + V瞳.Gauge.SetPenColor(Col.White); + V瞳.Frame1.SetPenColor(Col.White); + V瞳.Knob.SetPenColor(Col.White); + V瞳.Knob.SetHitColor(Med.GetUniqueColor()); Gau 身長 = new Gau("身長", DrawBuffer.GetPosition(new Vector2D(num2 + 0.532, num3 + num * 3.0 + 0.06)), DrawBuffer.Size, 0.6, 0.03, 0.02, Open.Rig, _2DGAMELIB.Range.ZeroOne, DrawBuffer.DisplayUnitScale, Color.Transparent, Color.Transparent, Color.Transparent, Color.Transparent, Col.Black, Knob: true); - 身長.Gauge.PenColor = Col.White; - 身長.Frame1.PenColor = Col.White; - 身長.Knob.PenColor = Col.White; - 身長.Knob.HitColor = Med.GetUniqueColor(); + 身長.Gauge.SetPenColor(Col.White); + 身長.Frame1.SetPenColor(Col.White); + 身長.Knob.SetPenColor(Col.White); + 身長.Knob.SetHitColor(Med.GetUniqueColor()); Gau 体重 = new Gau("体重", DrawBuffer.GetPosition(new Vector2D(num2 + 0.532, num3 + num * 3.0 + 0.1)), DrawBuffer.Size, 0.6, 0.03, 0.02, Open.Rig, _2DGAMELIB.Range.ZeroOne, DrawBuffer.DisplayUnitScale, Color.Transparent, Color.Transparent, Color.Transparent, Color.Transparent, Col.Black, Knob: true); - 体重.Gauge.PenColor = Col.White; - 体重.Frame1.PenColor = Col.White; - 体重.Knob.PenColor = Col.White; - 体重.Knob.HitColor = Med.GetUniqueColor(); + 体重.Gauge.SetPenColor(Col.White); + 体重.Frame1.SetPenColor(Col.White); + 体重.Knob.SetPenColor(Col.White); + 体重.Knob.SetHitColor(Med.GetUniqueColor()); Hsv hsv = HSV.ToHSV(ref Sta.GameData.色.肌色); H肌.Value = (double)hsv.H / 360.0; S肌.Value = (double)hsv.S / 255.0; V肌.Value = (double)hsv.V / 255.0; - H肌.Base.BrushColor = Sta.GameData.色.肌色; - S肌.Base.BrushColor = Sta.GameData.色.肌色; - V肌.Base.BrushColor = Sta.GameData.色.肌色; + H肌.Base.SetBrushColor(Sta.GameData.色.肌色); + S肌.Base.SetBrushColor(Sta.GameData.色.肌色); + V肌.Base.SetBrushColor(Sta.GameData.色.肌色); ls["ラベル2"].Text = "H:" + hsv.H; ls["ラベル3"].Text = "S:" + hsv.S; ls["ラベル4"].Text = "V:" + hsv.V; @@ -5672,9 +5672,9 @@ namespace SlaveMatrix H髪.Value = (double)hsv.H / 360.0; S髪.Value = (double)hsv.S / 255.0; V髪.Value = (double)hsv.V / 255.0; - H髪.Base.BrushColor = Sta.GameData.色.髪色; - S髪.Base.BrushColor = Sta.GameData.色.髪色; - V髪.Base.BrushColor = Sta.GameData.色.髪色; + H髪.Base.SetBrushColor(Sta.GameData.色.髪色); + S髪.Base.SetBrushColor(Sta.GameData.色.髪色); + V髪.Base.SetBrushColor(Sta.GameData.色.髪色); ls["ラベル6"].Text = "H:" + hsv.H; ls["ラベル7"].Text = "S:" + hsv.S; ls["ラベル8"].Text = "V:" + hsv.V; @@ -5682,9 +5682,9 @@ namespace SlaveMatrix H瞳.Value = (double)hsv.H / 360.0; S瞳.Value = (double)hsv.S / 255.0; V瞳.Value = (double)hsv.V / 255.0; - H瞳.Base.BrushColor = Sta.GameData.色.瞳色; - S瞳.Base.BrushColor = Sta.GameData.色.瞳色; - V瞳.Base.BrushColor = Sta.GameData.色.瞳色; + H瞳.Base.SetBrushColor(Sta.GameData.色.瞳色); + S瞳.Base.SetBrushColor(Sta.GameData.色.瞳色); + V瞳.Base.SetBrushColor(Sta.GameData.色.瞳色); ls["ラベル10"].Text = "H:" + hsv.H; ls["ラベル11"].Text = "S:" + hsv.S; ls["ラベル12"].Text = "V:" + hsv.V; @@ -5742,9 +5742,9 @@ namespace SlaveMatrix s = (int)(255.0 * S肌.Value); v = (int)(255.0 * V肌.Value); HSV.ToRGB(h, s, v, out Sta.GameData.色.肌色); - H肌.Base.BrushColor = Sta.GameData.色.肌色; - S肌.Base.BrushColor = Sta.GameData.色.肌色; - V肌.Base.BrushColor = Sta.GameData.色.肌色; + H肌.Base.SetBrushColor(Sta.GameData.色.肌色); + S肌.Base.SetBrushColor(Sta.GameData.色.肌色); + V肌.Base.SetBrushColor(Sta.GameData.色.肌色); ls["ラベル2"].Text = "H:" + h; ls["ラベル3"].Text = "S:" + s; ls["ラベル4"].Text = "V:" + v; @@ -5755,9 +5755,9 @@ namespace SlaveMatrix s = (int)(255.0 * S髪.Value); v = (int)(255.0 * V髪.Value); HSV.ToRGB(h, s, v, out Sta.GameData.色.髪色); - H髪.Base.BrushColor = Sta.GameData.色.髪色; - S髪.Base.BrushColor = Sta.GameData.色.髪色; - V髪.Base.BrushColor = Sta.GameData.色.髪色; + H髪.Base.SetBrushColor(Sta.GameData.色.髪色); + S髪.Base.SetBrushColor(Sta.GameData.色.髪色); + V髪.Base.SetBrushColor(Sta.GameData.色.髪色); ls["ラベル6"].Text = "H:" + h; ls["ラベル7"].Text = "S:" + s; ls["ラベル8"].Text = "V:" + v; @@ -5768,9 +5768,9 @@ namespace SlaveMatrix s = (int)(255.0 * S瞳.Value); v = (int)(255.0 * V瞳.Value); HSV.ToRGB(h, s, v, out Sta.GameData.色.瞳色); - H瞳.Base.BrushColor = Sta.GameData.色.瞳色; - S瞳.Base.BrushColor = Sta.GameData.色.瞳色; - V瞳.Base.BrushColor = Sta.GameData.色.瞳色; + H瞳.Base.SetBrushColor(Sta.GameData.色.瞳色); + S瞳.Base.SetBrushColor(Sta.GameData.色.瞳色); + V瞳.Base.SetBrushColor(Sta.GameData.色.瞳色); ls["ラベル10"].Text = "H:" + h; ls["ラベル11"].Text = "S:" + s; ls["ラベル12"].Text = "V:" + v; @@ -5806,9 +5806,9 @@ namespace SlaveMatrix H肌.Value = (double)hsv.H / 360.0; S肌.Value = (double)hsv.S / 255.0; V肌.Value = (double)hsv.V / 255.0; - H肌.Base.BrushColor = Sta.GameData.色.肌色; - S肌.Base.BrushColor = Sta.GameData.色.肌色; - V肌.Base.BrushColor = Sta.GameData.色.肌色; + H肌.Base.SetBrushColor(Sta.GameData.色.肌色); + S肌.Base.SetBrushColor(Sta.GameData.色.肌色); + V肌.Base.SetBrushColor(Sta.GameData.色.肌色); ls["ラベル2"].Text = "H:" + hsv.H; ls["ラベル3"].Text = "S:" + hsv.S; ls["ラベル4"].Text = "V:" + hsv.V; @@ -5816,9 +5816,9 @@ namespace SlaveMatrix H髪.Value = (double)hsv.H / 360.0; S髪.Value = (double)hsv.S / 255.0; V髪.Value = (double)hsv.V / 255.0; - H髪.Base.BrushColor = Sta.GameData.色.髪色; - S髪.Base.BrushColor = Sta.GameData.色.髪色; - V髪.Base.BrushColor = Sta.GameData.色.髪色; + H髪.Base.SetBrushColor(Sta.GameData.色.髪色); + S髪.Base.SetBrushColor(Sta.GameData.色.髪色); + V髪.Base.SetBrushColor(Sta.GameData.色.髪色); ls["ラベル6"].Text = "H:" + hsv.H; ls["ラベル7"].Text = "S:" + hsv.S; ls["ラベル8"].Text = "V:" + hsv.V; @@ -5826,9 +5826,9 @@ namespace SlaveMatrix H瞳.Value = (double)hsv.H / 360.0; S瞳.Value = (double)hsv.S / 255.0; V瞳.Value = (double)hsv.V / 255.0; - H瞳.Base.BrushColor = Sta.GameData.色.瞳色; - S瞳.Base.BrushColor = Sta.GameData.色.瞳色; - V瞳.Base.BrushColor = Sta.GameData.色.瞳色; + H瞳.Base.SetBrushColor(Sta.GameData.色.瞳色); + S瞳.Base.SetBrushColor(Sta.GameData.色.瞳色); + V瞳.Base.SetBrushColor(Sta.GameData.色.瞳色); ls["ラベル10"].Text = "H:" + hsv.H; ls["ラベル11"].Text = "S:" + hsv.S; ls["ラベル12"].Text = "V:" + hsv.V; diff --git a/SlaveMatrix/SlaveMatrix/GameClasses/Onomatopoeia.cs b/SlaveMatrix/SlaveMatrix/GameClasses/Onomatopoeia.cs index 0d1e0a2..5716936 100644 --- a/SlaveMatrix/SlaveMatrix/GameClasses/Onomatopoeia.cs +++ b/SlaveMatrix/SlaveMatrix/GameClasses/Onomatopoeia.cs @@ -15,19 +15,21 @@ namespace SlaveMatrix { ParT pt = new ParT { - PositionBase = p, Text = s, - Font = f, - TextColor = c, - SizeBase = 0.5 * d, - FontSize = 0.07, - Closed = true, - Pen = null, - Brush = null, Hit = false }; + + pt.SetFont(f); + pt.SetTextColor(c); + pt.SetFontSize(0.07); + pt.SetSizeBase(0.5 * d); + pt.SetClosed(true); + pt.SetPen(null); + pt.SetBrush(null); + pt.SetPositionBase(p); pt.SetStringRectOutline(Are.UnitScale, Are.DisplayGraphics); - pt.BasePointBase = pt.OP.GetCenter(); + pt.SetBasePointBase(pt.GetOP().GetCenter()); + Motion mot = new Motion(0.0, 1.0); string n = mot.GetHashCode().ToString(); TextRenderingHint tr = Are.DisplayGraphics.TextRenderingHint; @@ -36,9 +38,9 @@ namespace SlaveMatrix { if (b) { - pt.PositionCont = Oth.GetRandomVector() * 0.0025 * d; + pt.SetPositionCont(Oth.GetRandomVector() * 0.0025 * d); } - pt.TextColor = Color.FromArgb((int)((double)(int)pt.TextColor.A * m.Value.Inverse()), pt.TextColor); + pt.SetTextColor(Color.FromArgb((int)((double)(int)pt.GetTextColor().A * m.Value.Inverse()), pt.GetTextColor())); Are.DisplayGraphics.TextRenderingHint = TextRenderingHint.AntiAlias; Are.Draw(pt); Are.DisplayGraphics.TextRenderingHint = tr; diff --git a/SlaveMatrix/SlaveMatrix/GameClasses/Reactions.cs b/SlaveMatrix/SlaveMatrix/GameClasses/Reactions.cs index db13ac7..c54c6af 100644 --- a/SlaveMatrix/SlaveMatrix/GameClasses/Reactions.cs +++ b/SlaveMatrix/SlaveMatrix/GameClasses/Reactions.cs @@ -2,6 +2,7 @@ using System; using System.Collections.Generic; using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -2938,8 +2939,8 @@ namespace SlaveMatrix double num5 = (double)(num - num2) * 17.0; e.角度B += num5; 触手_犬 obj = (触手_犬)e; - obj.X0Y0_脚前_UpperArm.AngleBase -= num5; - obj.X0Y0_脚後_UpperArm.AngleBase -= num5; + obj.X0Y0_脚前_UpperArm.SetAngleBase(obj.X0Y0_脚前_UpperArm.GetAngleBase() - num5); + obj.X0Y0_脚後_UpperArm.SetAngleBase(obj.X0Y0_脚後_UpperArm.GetAngleBase() - num5); } else { @@ -2962,8 +2963,8 @@ namespace SlaveMatrix double num8 = (double)(num - num2) * -17.0; e.角度B += num8; 触手_犬 obj2 = (触手_犬)e; - obj2.X0Y0_脚前_UpperArm.AngleBase -= num8; - obj2.X0Y0_脚後_UpperArm.AngleBase -= num8; + obj2.X0Y0_脚前_UpperArm.SetAngleBase(obj2.X0Y0_脚前_UpperArm.GetAngleBase() - num8); + obj2.X0Y0_脚後_UpperArm.SetAngleBase(obj2.X0Y0_脚後_UpperArm.GetAngleBase() - num8); } else { @@ -3088,22 +3089,22 @@ namespace SlaveMatrix public static void 眉_下左(this Character Cha) { - Cha.Body.眉左.Body.CurJoinRoot.PositionCont = Dat.Vec2DZero; + Cha.Body.眉左.Body.GetCurJoinRoot().SetPositionCont(Dat.Vec2DZero); } public static void 眉_下右(this Character Cha) { - Cha.Body.眉右.Body.CurJoinRoot.PositionCont = Dat.Vec2DZero; + Cha.Body.眉右.Body.GetCurJoinRoot().SetPositionCont(Dat.Vec2DZero); } public static void 眉_上左(this Character Cha) { - Cha.Body.眉左.Body.CurJoinRoot.PositionCont = -Dat.Vec2DUnitY * 0.003; + Cha.Body.眉左.Body.GetCurJoinRoot().SetPositionCont(-Dat.Vec2DUnitY * 0.003); } public static void 眉_上右(this Character Cha) { - Cha.Body.眉右.Body.CurJoinRoot.PositionCont = -Dat.Vec2DUnitY * 0.003; + Cha.Body.眉右.Body.GetCurJoinRoot().SetPositionCont(-Dat.Vec2DUnitY * 0.003); } public static void 両眉_下(this Character Cha) @@ -3183,12 +3184,12 @@ namespace SlaveMatrix public static void 単眉_下(this Character Cha) { - Cha.Body.単眼眉.Body.CurJoinRoot.PositionCont = Dat.Vec2DZero; + Cha.Body.単眼眉.Body.GetCurJoinRoot().SetPositionCont(Dat.Vec2DZero); } public static void 単眉_上(this Character Cha) { - Cha.Body.単眼眉.Body.CurJoinRoot.PositionCont = -Dat.Vec2DUnitY * 0.003; + Cha.Body.単眼眉.Body.GetCurJoinRoot().SetPositionCont(-Dat.Vec2DUnitY * 0.003); } public static void 単眉_1(this Character c, int i) @@ -3207,43 +3208,43 @@ namespace SlaveMatrix public static void 目_見つめ左(this Character Cha) { Cha.Body.目左.視線 = new Vector2D(0.0, -0.00023); - Cha.Body.目左.X0Y0_黒目_黒目.SizeXCont = 1.0; - Cha.Body.目左.X0Y0_黒目_瞳孔.SizeXCont = 1.0; + Cha.Body.目左.X0Y0_黒目_黒目.SetSizeXCont(1.0); + Cha.Body.目左.X0Y0_黒目_瞳孔.SetSizeXCont(1.0); } public static void 目_見つめ右(this Character Cha) { Cha.Body.目右.視線 = new Vector2D(0.0, -0.00023); - Cha.Body.目右.X0Y0_黒目_黒目.SizeXCont = 1.0; - Cha.Body.目右.X0Y0_黒目_瞳孔.SizeXCont = 1.0; + Cha.Body.目右.X0Y0_黒目_黒目.SetSizeXCont(1.0); + Cha.Body.目右.X0Y0_黒目_瞳孔.SetSizeXCont(1.0); } public static void 目_逸らし左(this Character Cha, bool b) { Cha.Body.目左.視線 = new Vector2D((b ? 1.0 : (-1.0)) * 0.0015, 0.0); - Cha.Body.目左.X0Y0_黒目_黒目.SizeXCont = 0.95; - Cha.Body.目左.X0Y0_黒目_瞳孔.SizeXCont = 0.95; + Cha.Body.目左.X0Y0_黒目_黒目.SetSizeXCont(0.95); + Cha.Body.目左.X0Y0_黒目_瞳孔.SetSizeXCont(0.95); } public static void 目_逸らし右(this Character Cha, bool b) { Cha.Body.目右.視線 = new Vector2D((b ? 1.0 : (-1.0)) * 0.0015, 0.0); - Cha.Body.目右.X0Y0_黒目_黒目.SizeXCont = 0.95; - Cha.Body.目右.X0Y0_黒目_瞳孔.SizeXCont = 0.95; + Cha.Body.目右.X0Y0_黒目_黒目.SetSizeXCont(0.95); + Cha.Body.目右.X0Y0_黒目_瞳孔.SetSizeXCont(0.95); } public static void 目_上転左(this Character Cha) { Cha.Body.目左.視線 = new Vector2D(0.0, -0.0021); - Cha.Body.目左.X0Y0_黒目_黒目.SizeXCont = 1.0; - Cha.Body.目左.X0Y0_黒目_瞳孔.SizeXCont = 1.0; + Cha.Body.目左.X0Y0_黒目_黒目.SetSizeXCont(1.0); + Cha.Body.目左.X0Y0_黒目_瞳孔.SetSizeXCont(1.0); } public static void 目_上転右(this Character Cha) { Cha.Body.目右.視線 = new Vector2D(0.0, -0.002); - Cha.Body.目右.X0Y0_黒目_黒目.SizeXCont = 1.0; - Cha.Body.目右.X0Y0_黒目_瞳孔.SizeXCont = 1.0; + Cha.Body.目右.X0Y0_黒目_黒目.SetSizeXCont(1.0); + Cha.Body.目右.X0Y0_黒目_瞳孔.SetSizeXCont(1.0); } public static void 両目_見つめ(this Character Cha) @@ -3299,55 +3300,55 @@ namespace SlaveMatrix public static void 頬目_見つめ左(this Character Cha) { Cha.Body.頬目左.視線 = new Vector2D(0.0, -0.00023); - Cha.Body.頬目左.X0Y0_黒目_黒目.SizeXCont = 1.0; - Cha.Body.頬目左.X0Y0_黒目_瞳孔.SizeXCont = 1.0; - Cha.Body.頬目左.X0Y0_黒目_黒目.SizeYCont = 1.0; - Cha.Body.頬目左.X0Y0_黒目_瞳孔.SizeYCont = 1.0; + Cha.Body.頬目左.X0Y0_黒目_黒目.SetSizeXCont(1.0); + Cha.Body.頬目左.X0Y0_黒目_瞳孔.SetSizeXCont(1.0); + Cha.Body.頬目左.X0Y0_黒目_黒目.SetSizeYCont(1.0); + Cha.Body.頬目左.X0Y0_黒目_瞳孔.SetSizeYCont(1.0); } public static void 頬目_見つめ右(this Character Cha) { Cha.Body.頬目右.視線 = new Vector2D(0.0, -0.00023); - Cha.Body.頬目右.X0Y0_黒目_黒目.SizeXCont = 1.0; - Cha.Body.頬目右.X0Y0_黒目_瞳孔.SizeXCont = 1.0; - Cha.Body.頬目右.X0Y0_黒目_黒目.SizeYCont = 1.0; - Cha.Body.頬目右.X0Y0_黒目_瞳孔.SizeYCont = 1.0; + Cha.Body.頬目右.X0Y0_黒目_黒目.SetSizeXCont(1.0); + Cha.Body.頬目右.X0Y0_黒目_瞳孔.SetSizeXCont(1.0); + Cha.Body.頬目右.X0Y0_黒目_黒目.SetSizeYCont(1.0); + Cha.Body.頬目右.X0Y0_黒目_瞳孔.SetSizeYCont(1.0); } public static void 頬目_逸らし左(this Character Cha, bool b) { Cha.Body.頬目左.視線 = new Vector2D((b ? 1.0 : (-1.0)) * 0.0015, 0.0); - Cha.Body.頬目左.X0Y0_黒目_黒目.SizeXCont = 0.95; - Cha.Body.頬目左.X0Y0_黒目_瞳孔.SizeXCont = 0.95; - Cha.Body.頬目左.X0Y0_黒目_黒目.SizeYCont = 1.0; - Cha.Body.頬目左.X0Y0_黒目_瞳孔.SizeYCont = 1.0; + Cha.Body.頬目左.X0Y0_黒目_黒目.SetSizeXCont(0.95); + Cha.Body.頬目左.X0Y0_黒目_瞳孔.SetSizeXCont(0.95); + Cha.Body.頬目左.X0Y0_黒目_黒目.SetSizeYCont(1.0); + Cha.Body.頬目左.X0Y0_黒目_瞳孔.SetSizeYCont(1.0); } public static void 頬目_逸らし右(this Character Cha, bool b) { Cha.Body.頬目右.視線 = new Vector2D((b ? 1.0 : (-1.0)) * 0.0015, 0.0); - Cha.Body.頬目右.X0Y0_黒目_黒目.SizeXCont = 0.95; - Cha.Body.頬目右.X0Y0_黒目_瞳孔.SizeXCont = 0.95; - Cha.Body.頬目右.X0Y0_黒目_黒目.SizeYCont = 1.0; - Cha.Body.頬目右.X0Y0_黒目_瞳孔.SizeYCont = 1.0; + Cha.Body.頬目右.X0Y0_黒目_黒目.SetSizeXCont(0.95); + Cha.Body.頬目右.X0Y0_黒目_瞳孔.SetSizeXCont(0.95); + Cha.Body.頬目右.X0Y0_黒目_黒目.SetSizeYCont(1.0); + Cha.Body.頬目右.X0Y0_黒目_瞳孔.SetSizeYCont(1.0); } public static void 頬目_上転左(this Character Cha) { Cha.Body.頬目左.視線 = new Vector2D(0.0, -0.0016); - Cha.Body.頬目左.X0Y0_黒目_黒目.SizeXCont = 1.0; - Cha.Body.頬目左.X0Y0_黒目_瞳孔.SizeXCont = 1.0; - Cha.Body.頬目左.X0Y0_黒目_黒目.SizeYCont = 0.75; - Cha.Body.頬目左.X0Y0_黒目_瞳孔.SizeYCont = 0.75; + Cha.Body.頬目左.X0Y0_黒目_黒目.SetSizeXCont(1.0); + Cha.Body.頬目左.X0Y0_黒目_瞳孔.SetSizeXCont(1.0); + Cha.Body.頬目左.X0Y0_黒目_黒目.SetSizeYCont(0.75); + Cha.Body.頬目左.X0Y0_黒目_瞳孔.SetSizeYCont(0.75); } public static void 頬目_上転右(this Character Cha) { Cha.Body.頬目右.視線 = new Vector2D(0.0, -0.0016); - Cha.Body.頬目右.X0Y0_黒目_黒目.SizeXCont = 1.0; - Cha.Body.頬目右.X0Y0_黒目_瞳孔.SizeXCont = 1.0; - Cha.Body.頬目右.X0Y0_黒目_黒目.SizeYCont = 0.75; - Cha.Body.頬目右.X0Y0_黒目_瞳孔.SizeYCont = 0.75; + Cha.Body.頬目右.X0Y0_黒目_黒目.SetSizeXCont(1.0); + Cha.Body.頬目右.X0Y0_黒目_瞳孔.SetSizeXCont(1.0); + Cha.Body.頬目右.X0Y0_黒目_黒目.SetSizeYCont(0.75); + Cha.Body.頬目右.X0Y0_黒目_瞳孔.SetSizeYCont(0.75); } public static void 両頬目_見つめ(this Character Cha) @@ -3403,28 +3404,28 @@ namespace SlaveMatrix public static void 額目_見つめ(this Character Cha) { Cha.Body.額目.視線 = new Vector2D(0.0, 0.0); - Cha.Body.額目.X0Y0_黒目_黒目.SizeXCont = 1.0; - Cha.Body.額目.X0Y0_黒目_瞳孔.SizeXCont = 1.0; - Cha.Body.額目.X0Y0_黒目_黒目.SizeYCont = 1.0; - Cha.Body.額目.X0Y0_黒目_瞳孔.SizeYCont = 1.0; + Cha.Body.額目.X0Y0_黒目_黒目.SetSizeXCont(1.0); + Cha.Body.額目.X0Y0_黒目_瞳孔.SetSizeXCont(1.0); + Cha.Body.額目.X0Y0_黒目_黒目.SetSizeYCont(1.0); + Cha.Body.額目.X0Y0_黒目_瞳孔.SetSizeYCont(1.0); } public static void 額目_逸らし(this Character Cha, bool b) { Cha.Body.額目.視線 = new Vector2D((b ? 1.0 : (-1.0)) * 0.0014, 0.0); - Cha.Body.額目.X0Y0_黒目_黒目.SizeXCont = 0.9; - Cha.Body.額目.X0Y0_黒目_瞳孔.SizeXCont = 0.9; - Cha.Body.額目.X0Y0_黒目_黒目.SizeYCont = 1.0; - Cha.Body.額目.X0Y0_黒目_瞳孔.SizeYCont = 1.0; + Cha.Body.額目.X0Y0_黒目_黒目.SetSizeXCont(0.9); + Cha.Body.額目.X0Y0_黒目_瞳孔.SetSizeXCont(0.9); + Cha.Body.額目.X0Y0_黒目_黒目.SetSizeYCont(1.0); + Cha.Body.額目.X0Y0_黒目_瞳孔.SetSizeYCont(1.0); } public static void 額目_上転(this Character Cha) { Cha.Body.額目.視線 = new Vector2D(0.0, -0.0025); - Cha.Body.額目.X0Y0_黒目_黒目.SizeXCont = 1.0; - Cha.Body.額目.X0Y0_黒目_瞳孔.SizeXCont = 1.0; - Cha.Body.額目.X0Y0_黒目_黒目.SizeYCont = 0.95; - Cha.Body.額目.X0Y0_黒目_瞳孔.SizeYCont = 0.95; + Cha.Body.額目.X0Y0_黒目_黒目.SetSizeXCont(1.0); + Cha.Body.額目.X0Y0_黒目_瞳孔.SetSizeXCont(1.0); + Cha.Body.額目.X0Y0_黒目_黒目.SetSizeYCont(0.95); + Cha.Body.額目.X0Y0_黒目_瞳孔.SetSizeYCont(0.95); } public static void 額目_0(this Character c, int i) @@ -3449,22 +3450,22 @@ namespace SlaveMatrix public static void 単目_見つめ(this Character Cha) { Cha.Body.単眼目.視線 = new Vector2D(0.0, -0.00023); - Cha.Body.単眼目.X0Y0_黒目_黒目.SizeXCont = 1.0; - Cha.Body.単眼目.X0Y0_黒目_瞳孔.SizeXCont = 1.0; + Cha.Body.単眼目.X0Y0_黒目_黒目.SetSizeXCont(1.0); + Cha.Body.単眼目.X0Y0_黒目_瞳孔.SetSizeXCont(1.0); } public static void 単目_逸らし(this Character Cha, bool b) { Cha.Body.単眼目.視線 = new Vector2D((b ? 1.0 : (-1.0)) * 0.0025, 0.0); - Cha.Body.単眼目.X0Y0_黒目_黒目.SizeXCont = 0.95; - Cha.Body.単眼目.X0Y0_黒目_瞳孔.SizeXCont = 0.95; + Cha.Body.単眼目.X0Y0_黒目_黒目.SetSizeXCont(0.95); + Cha.Body.単眼目.X0Y0_黒目_瞳孔.SetSizeXCont(0.95); } public static void 単目_上転(this Character Cha) { Cha.Body.単眼目.視線 = new Vector2D(0.0, -0.0035); - Cha.Body.単眼目.X0Y0_黒目_黒目.SizeXCont = 1.0; - Cha.Body.単眼目.X0Y0_黒目_瞳孔.SizeXCont = 1.0; + Cha.Body.単眼目.X0Y0_黒目_黒目.SetSizeXCont(1.0); + Cha.Body.単眼目.X0Y0_黒目_瞳孔.SetSizeXCont(1.0); } public static void 単目_0(this Character c, int i) @@ -4228,14 +4229,14 @@ namespace SlaveMatrix { 大顎 obj = Cha.Body.大顎左[n]; obj.SetAngle0(); - obj.Body.CurJoinRoot.AngleBase += 根本角度 + u1; + obj.Body.GetCurJoinRoot().SetAngleBase(obj.Body.GetCurJoinRoot().GetAngleBase() + (根本角度 + u1)); } public static void 大顎右(this Character Cha, int n, double u1, double 根本角度) { 大顎 obj = Cha.Body.大顎右[n]; obj.SetAngle0(); - obj.Body.CurJoinRoot.AngleBase += 0.0 - 根本角度 + (0.0 - u1); + obj.Body.GetCurJoinRoot().SetAngleBase(obj.Body.GetCurJoinRoot().GetAngleBase() + (0.0 - 根本角度 + (0.0 - u1))); } public static void 大顎_基本左(this Character Cha, int n, double u1) @@ -4325,14 +4326,14 @@ namespace SlaveMatrix { 虫顎 obj = Cha.Body.虫顎左[n]; obj.SetAngle0(); - obj.X0Y0_顎.AngleBase += 根本角度 + u1; + obj.X0Y0_顎.SetAngleBase(obj.X0Y0_顎.GetAngleBase() + (根本角度 + u1)); } public static void 虫顎右(this Character Cha, int n, double u1, double 根本角度) { 虫顎 obj = Cha.Body.虫顎右[n]; obj.SetAngle0(); - obj.X0Y0_顎.AngleBase += 0.0 - 根本角度 + (0.0 - u1); + obj.X0Y0_顎.SetAngleBase(obj.X0Y0_顎.GetAngleBase() + (0.0 - 根本角度 + (0.0 - u1))); } public static void 虫顎_基本左(this Character Cha, int n, double u1) @@ -4464,11 +4465,11 @@ namespace SlaveMatrix 腕人2.手.小指_小指3_表示 = false; if (flag) { - 腕人2.手.X0Y3_小指_小指2.AngleCont = 20.0; + 腕人2.手.X0Y3_小指_小指2.SetAngleCont(20.0); } else { - 腕人2.手.X0Y3_小指_小指2.AngleCont = -20.0; + 腕人2.手.X0Y3_小指_小指2.SetAngleCont(-20.0); } } else @@ -4483,21 +4484,21 @@ namespace SlaveMatrix 腕人2.手.薬指_薬指3_表示 = true; } 腕人2.手.小指_小指3_表示 = true; - 腕人2.手.X0Y3_小指_小指2.AngleCont = 0.0; + 腕人2.手.X0Y3_小指_小指2.SetAngleCont(0.0); 腕人2.手.Yi = 手Yi; if (手Yi == 9) { if (!腕人2.手.中指_中指1_表示) { - 腕人2.手.X0Y9_小指_小指1.AngleBase = -110.0; - 腕人2.手.X0Y9_小指_小指2.AngleBase = -70.0; - 腕人2.手.X0Y9_小指_小指3.AngleBase = -105.0; + 腕人2.手.X0Y9_小指_小指1.SetAngleBase(-110.0); + 腕人2.手.X0Y9_小指_小指2.SetAngleBase(-70.0); + 腕人2.手.X0Y9_小指_小指3.SetAngleBase(-105.0); } else { - 腕人2.手.X0Y9_小指_小指1.AngleBase = 0.0; - 腕人2.手.X0Y9_小指_小指2.AngleBase = 0.0; - 腕人2.手.X0Y9_小指_小指3.AngleBase = 0.0; + 腕人2.手.X0Y9_小指_小指1.SetAngleBase(0.0); + 腕人2.手.X0Y9_小指_小指2.SetAngleBase(0.0); + 腕人2.手.X0Y9_小指_小指3.SetAngleBase(0.0); } } } @@ -4553,11 +4554,11 @@ namespace SlaveMatrix 腕人2.手.小指_小指3_表示 = false; if (flag) { - 腕人2.手.X0Y3_小指_小指2.AngleCont = -20.0; + 腕人2.手.X0Y3_小指_小指2.SetAngleCont(-20.0); } else { - 腕人2.手.X0Y3_小指_小指2.AngleCont = 20.0; + 腕人2.手.X0Y3_小指_小指2.SetAngleCont(20.0); } } else @@ -4572,21 +4573,21 @@ namespace SlaveMatrix 腕人2.手.薬指_薬指3_表示 = true; } 腕人2.手.小指_小指3_表示 = true; - 腕人2.手.X0Y3_小指_小指2.AngleCont = 0.0; + 腕人2.手.X0Y3_小指_小指2.SetAngleCont(0.0); 腕人2.手.Yi = 手Yi; if (手Yi == 9) { if (!腕人2.手.中指_中指1_表示) { - 腕人2.手.X0Y9_小指_小指1.AngleBase = 110.0; - 腕人2.手.X0Y9_小指_小指2.AngleBase = 70.0; - 腕人2.手.X0Y9_小指_小指3.AngleBase = 105.0; + 腕人2.手.X0Y9_小指_小指1.SetAngleBase(110.0); + 腕人2.手.X0Y9_小指_小指2.SetAngleBase(70.0); + 腕人2.手.X0Y9_小指_小指3.SetAngleBase(105.0); } else { - 腕人2.手.X0Y9_小指_小指1.AngleBase = 0.0; - 腕人2.手.X0Y9_小指_小指2.AngleBase = 0.0; - 腕人2.手.X0Y9_小指_小指3.AngleBase = 0.0; + 腕人2.手.X0Y9_小指_小指1.SetAngleBase(0.0); + 腕人2.手.X0Y9_小指_小指2.SetAngleBase(0.0); + 腕人2.手.X0Y9_小指_小指3.SetAngleBase(0.0); } } } @@ -5973,16 +5974,16 @@ namespace SlaveMatrix if (脚獣2.足 is 足_鳥) { 足_鳥 obj = (足_鳥)脚獣2.足; - obj.X0Y0_足首.AngleCont = -25.0 * u4; - obj.X0Y0_親指_指1.AngleCont = 45.0 * u4; - obj.X0Y0_人指_指1.AngleCont = -60.0 * u4; - obj.X0Y0_人指_指2.AngleCont = -60.0 * u4; - obj.X0Y0_薬指_指1.AngleCont = -45.0 * u4; - obj.X0Y0_薬指_指2.AngleCont = -45.0 * u4; - obj.X0Y0_薬指_指3.AngleCont = -45.0 * u4; - obj.X0Y0_中指_指1.AngleCont = -45.0 * u4; - obj.X0Y0_中指_指2.AngleCont = -45.0 * u4; - obj.X0Y0_中指_指3.AngleCont = -45.0 * u4; + obj.X0Y0_足首.SetAngleCont(-25.0 * u4); + obj.X0Y0_親指_指1.SetAngleCont(45.0 * u4); + obj.X0Y0_人指_指1.SetAngleCont(-60.0 * u4); + obj.X0Y0_人指_指2.SetAngleCont(-60.0 * u4); + obj.X0Y0_薬指_指1.SetAngleCont(-45.0 * u4); + obj.X0Y0_薬指_指2.SetAngleCont(-45.0 * u4); + obj.X0Y0_薬指_指3.SetAngleCont(-45.0 * u4); + obj.X0Y0_中指_指1.SetAngleCont(-45.0 * u4); + obj.X0Y0_中指_指2.SetAngleCont(-45.0 * u4); + obj.X0Y0_中指_指3.SetAngleCont(-45.0 * u4); } } } @@ -6015,16 +6016,16 @@ namespace SlaveMatrix if (脚獣2.足 is 足_鳥) { 足_鳥 obj = (足_鳥)脚獣2.足; - obj.X0Y0_足首.AngleCont = 25.0 * u4; - obj.X0Y0_親指_指1.AngleCont = -45.0 * u4; - obj.X0Y0_人指_指1.AngleCont = 60.0 * u4; - obj.X0Y0_人指_指2.AngleCont = 60.0 * u4; - obj.X0Y0_薬指_指1.AngleCont = 45.0 * u4; - obj.X0Y0_薬指_指2.AngleCont = 45.0 * u4; - obj.X0Y0_薬指_指3.AngleCont = 45.0 * u4; - obj.X0Y0_中指_指1.AngleCont = 45.0 * u4; - obj.X0Y0_中指_指2.AngleCont = 45.0 * u4; - obj.X0Y0_中指_指3.AngleCont = 45.0 * u4; + obj.X0Y0_足首.SetAngleCont(25.0 * u4); + obj.X0Y0_親指_指1.SetAngleCont(-45.0 * u4); + obj.X0Y0_人指_指1.SetAngleCont(60.0 * u4); + obj.X0Y0_人指_指2.SetAngleCont(60.0 * u4); + obj.X0Y0_薬指_指1.SetAngleCont(45.0 * u4); + obj.X0Y0_薬指_指2.SetAngleCont(45.0 * u4); + obj.X0Y0_薬指_指3.SetAngleCont(45.0 * u4); + obj.X0Y0_中指_指1.SetAngleCont(45.0 * u4); + obj.X0Y0_中指_指2.SetAngleCont(45.0 * u4); + obj.X0Y0_中指_指3.SetAngleCont(45.0 * u4); } } } @@ -6571,7 +6572,7 @@ namespace SlaveMatrix 鰭2.角度B += 根本角度 + u1; if (鰭2 is 鰭_魚 && 根本角度 < 0.0) { - ((鰭_魚)鰭2).X0Y0_鰭1_鰭膜.AngleBase += (0.0 - 根本角度) * 0.5; + ((鰭_魚)鰭2).X0Y0_鰭1_鰭膜.SetAngleBase(((鰭_魚)鰭2).X0Y0_鰭1_鰭膜.GetAngleBase() + (0.0 - 根本角度) * 0.5); } } @@ -6582,7 +6583,7 @@ namespace SlaveMatrix 鰭2.角度B += 0.0 - 根本角度 + (0.0 - u1); if (鰭2 is 鰭_魚 && 根本角度 < 0.0) { - ((鰭_魚)鰭2).X0Y0_鰭1_鰭膜.AngleBase += 根本角度 * 0.5; + ((鰭_魚)鰭2).X0Y0_鰭1_鰭膜.SetAngleBase(((鰭_魚)鰭2).X0Y0_鰭1_鰭膜.GetAngleBase() + 根本角度 * 0.5); } } @@ -7168,24 +7169,24 @@ namespace SlaveMatrix { 触肢_肢蜘 obj = Cha.Body.触肢蜘左[n]; obj.SetAngle0(); - obj.X0Y0_基節.AngleBase += 基節角度 + u1; - obj.X0Y0_転節.AngleBase += 転節角度 + u2; - obj.X0Y0_腿節.AngleBase += 腿節角度 + u3; - obj.X0Y0_膝節.AngleBase += 膝節角度 + u4; - obj.X0Y0_脛節.AngleBase += 脛節角度 + u5; - obj.X0Y0_蹠節.AngleBase += 蹠節角度 + u6; + obj.X0Y0_基節.SetAngleBase(obj.X0Y0_基節.GetAngleBase() + (基節角度 + u1)); + obj.X0Y0_転節.SetAngleBase(obj.X0Y0_転節.GetAngleBase() + (転節角度 + u2)); + obj.X0Y0_腿節.SetAngleBase(obj.X0Y0_腿節.GetAngleBase() + (腿節角度 + u3)); + obj.X0Y0_膝節.SetAngleBase(obj.X0Y0_膝節.GetAngleBase() + (膝節角度 + u4)); + obj.X0Y0_脛節.SetAngleBase(obj.X0Y0_脛節.GetAngleBase() + (脛節角度 + u5)); + obj.X0Y0_蹠節.SetAngleBase(obj.X0Y0_蹠節.GetAngleBase() + (蹠節角度 + u6)); } public static void 触肢蜘右(this Character Cha, int n, double u1, double u2, double u3, double u4, double u5, double u6, double 基節角度, double 転節角度, double 腿節角度, double 膝節角度, double 脛節角度, double 蹠節角度) { 触肢_肢蜘 obj = Cha.Body.触肢蜘右[n]; obj.SetAngle0(); - obj.X0Y0_基節.AngleBase += 0.0 - 基節角度 + (0.0 - u1); - obj.X0Y0_転節.AngleBase += 0.0 - 転節角度 + (0.0 - u2); - obj.X0Y0_腿節.AngleBase += 0.0 - 腿節角度 + (0.0 - u3); - obj.X0Y0_膝節.AngleBase += 0.0 - 膝節角度 + (0.0 - u4); - obj.X0Y0_脛節.AngleBase += 0.0 - 脛節角度 + (0.0 - u5); - obj.X0Y0_蹠節.AngleBase += 0.0 - 蹠節角度 + (0.0 - u6); + obj.X0Y0_基節.SetAngleBase(obj.X0Y0_基節.GetAngleBase() + (0.0 - 基節角度 + (0.0 - u1))); + obj.X0Y0_転節.SetAngleBase(obj.X0Y0_転節.GetAngleBase() + (0.0 - 転節角度 + (0.0 - u2))); + obj.X0Y0_腿節.SetAngleBase(obj.X0Y0_腿節.GetAngleBase() + (0.0 - 腿節角度 + (0.0 - u3))); + obj.X0Y0_膝節.SetAngleBase(obj.X0Y0_膝節.GetAngleBase() + (0.0 - 膝節角度 + (0.0 - u4))); + obj.X0Y0_脛節.SetAngleBase(obj.X0Y0_脛節.GetAngleBase() + (0.0 - 脛節角度 + (0.0 - u5))); + obj.X0Y0_蹠節.SetAngleBase(obj.X0Y0_蹠節.GetAngleBase() + (0.0 - 蹠節角度 + (0.0 - u6))); } public static void 触肢蜘_基本左(this Character Cha, int n, double u1, double u2, double u3, double u4, double u5, double u6) @@ -7286,21 +7287,21 @@ namespace SlaveMatrix { foreach (触肢_肢蜘 item in Cha.Body.触肢蜘左) { - item.X0Y0_基節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_転節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_腿節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_膝節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_脛節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_蹠節.AngleCont = a * RNG.XS.NextDouble(); + item.X0Y0_基節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_転節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_腿節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_膝節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_脛節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_蹠節.SetAngleCont(a * RNG.XS.NextDouble()); } foreach (触肢_肢蜘 item2 in Cha.Body.触肢蜘右) { - item2.X0Y0_基節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_転節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_腿節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_膝節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_脛節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_蹠節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); + item2.X0Y0_基節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_転節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_腿節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_膝節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_脛節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_蹠節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); } } @@ -7308,17 +7309,17 @@ namespace SlaveMatrix { 触肢_肢蠍 触肢_肢蠍2 = Cha.Body.触肢蠍左[n]; 触肢_肢蠍2.SetAngle0(); - 触肢_肢蠍2.X0Y0_転節.AngleBase += 転節角度 + u1; - 触肢_肢蠍2.X0Y0_腿節.AngleBase += 腿節角度 + u2; - 触肢_肢蠍2.X0Y0_膝節.AngleBase += 膝節角度 + u3; - 触肢_肢蠍2.X0Y0_爪1.AngleBase += 爪1角度 + u4; + 触肢_肢蠍2.X0Y0_転節.SetAngleBase(触肢_肢蠍2.X0Y0_転節.GetAngleBase() + (転節角度 + u1)); + 触肢_肢蠍2.X0Y0_腿節.SetAngleBase(触肢_肢蠍2.X0Y0_腿節.GetAngleBase() + (腿節角度 + u2)); + 触肢_肢蠍2.X0Y0_膝節.SetAngleBase(触肢_肢蠍2.X0Y0_膝節.GetAngleBase() + (膝節角度 + u3)); + 触肢_肢蠍2.X0Y0_爪1.SetAngleBase(触肢_肢蠍2.X0Y0_爪1.GetAngleBase() + (爪1角度 + u4)); if (触肢_肢蠍2.拘束) { - 触肢_肢蠍2.X0Y0_爪2.AngleBase = 0.0; + 触肢_肢蠍2.X0Y0_爪2.SetAngleBase(0.0); } else { - 触肢_肢蠍2.X0Y0_爪2.AngleBase += 爪2角度 + u5; + 触肢_肢蠍2.X0Y0_爪2.SetAngleBase(触肢_肢蠍2.X0Y0_爪2.GetAngleBase() + (爪2角度 + u5)); } } @@ -7326,17 +7327,17 @@ namespace SlaveMatrix { 触肢_肢蠍 触肢_肢蠍2 = Cha.Body.触肢蠍右[n]; 触肢_肢蠍2.SetAngle0(); - 触肢_肢蠍2.X0Y0_転節.AngleBase += 0.0 - 転節角度 + (0.0 - u1); - 触肢_肢蠍2.X0Y0_腿節.AngleBase += 0.0 - 腿節角度 + (0.0 - u2); - 触肢_肢蠍2.X0Y0_膝節.AngleBase += 0.0 - 膝節角度 + (0.0 - u3); - 触肢_肢蠍2.X0Y0_爪1.AngleBase += 0.0 - 爪1角度 + (0.0 - u4); + 触肢_肢蠍2.X0Y0_転節.SetAngleBase(触肢_肢蠍2.X0Y0_転節.GetAngleBase() + (0.0 - 転節角度 + (0.0 - u1))); + 触肢_肢蠍2.X0Y0_腿節.SetAngleBase(触肢_肢蠍2.X0Y0_腿節.GetAngleBase() + (0.0 - 腿節角度 + (0.0 - u2))); + 触肢_肢蠍2.X0Y0_膝節.SetAngleBase(触肢_肢蠍2.X0Y0_膝節.GetAngleBase() + (0.0 - 膝節角度 + (0.0 - u3))); + 触肢_肢蠍2.X0Y0_爪1.SetAngleBase(触肢_肢蠍2.X0Y0_爪1.GetAngleBase() + (0.0 - 爪1角度 + (0.0 - u4))); if (触肢_肢蠍2.拘束) { - 触肢_肢蠍2.X0Y0_爪2.AngleBase = 0.0; + 触肢_肢蠍2.X0Y0_爪2.SetAngleBase(0.0); } else { - 触肢_肢蠍2.X0Y0_爪2.AngleBase += 0.0 - 爪2角度 + (0.0 - u5); + 触肢_肢蠍2.X0Y0_爪2.SetAngleBase(触肢_肢蠍2.X0Y0_爪2.GetAngleBase() + (0.0 - 爪2角度 + (0.0 - u5))); } } @@ -7438,24 +7439,24 @@ namespace SlaveMatrix { foreach (触肢_肢蠍 item in Cha.Body.触肢蠍左) { - item.X0Y0_転節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_腿節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_膝節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_爪1.AngleCont = a * RNG.XS.NextDouble(); + item.X0Y0_転節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_腿節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_膝節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_爪1.SetAngleCont(a * RNG.XS.NextDouble()); if (!item.拘束) { - item.X0Y0_爪2.AngleCont = a * RNG.XS.NextDouble(); + item.X0Y0_爪2.SetAngleCont(a * RNG.XS.NextDouble()); } } foreach (触肢_肢蠍 item2 in Cha.Body.触肢蠍右) { - item2.X0Y0_転節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_腿節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_膝節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_爪1.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); + item2.X0Y0_転節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_腿節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_膝節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_爪1.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); if (!item2.拘束) { - item2.X0Y0_爪2.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); + item2.X0Y0_爪2.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); } } } @@ -7481,25 +7482,25 @@ namespace SlaveMatrix } if (節足_足蜘2.反転Y) { - 節足_足蜘2.X0Y0_基節.AngleBase += 0.0 - 基節角度 + (0.0 - u1); - 節足_足蜘2.X0Y0_転節.AngleBase += 0.0 - 転節角度 + (0.0 - u2); - 節足_足蜘2.X0Y0_腿節.AngleBase += 0.0 - 腿節角度 + (0.0 - u3); - 節足_足蜘2.X0Y0_膝節.AngleBase += 0.0 - 膝節角度 + (0.0 - u4); - 節足_足蜘2.X0Y0_脛節.AngleBase += 0.0 - 脛節角度 + (0.0 - u5); - 節足_足蜘2.X0Y0_蹠節.AngleBase += 0.0 - 蹠節角度 + (0.0 - u6); - 節足_足蜘2.X0Y0_跗節1.AngleBase += 0.0 - 跗節1角度 + (0.0 - u7); - 節足_足蜘2.X0Y0_跗節2.AngleBase += 0.0 - 跗節2角度 + (0.0 - u8); + 節足_足蜘2.X0Y0_基節.SetAngleBase(節足_足蜘2.X0Y0_基節.GetAngleBase() + (0.0 - 基節角度 + (0.0 - u1))); + 節足_足蜘2.X0Y0_転節.SetAngleBase(節足_足蜘2.X0Y0_転節.GetAngleBase() + (0.0 - 転節角度 + (0.0 - u2))); + 節足_足蜘2.X0Y0_腿節.SetAngleBase(節足_足蜘2.X0Y0_腿節.GetAngleBase() + (0.0 - 腿節角度 + (0.0 - u3))); + 節足_足蜘2.X0Y0_膝節.SetAngleBase(節足_足蜘2.X0Y0_膝節.GetAngleBase() + (0.0 - 膝節角度 + (0.0 - u4))); + 節足_足蜘2.X0Y0_脛節.SetAngleBase(節足_足蜘2.X0Y0_脛節.GetAngleBase() + (0.0 - 脛節角度 + (0.0 - u5))); + 節足_足蜘2.X0Y0_蹠節.SetAngleBase(節足_足蜘2.X0Y0_蹠節.GetAngleBase() + (0.0 - 蹠節角度 + (0.0 - u6))); + 節足_足蜘2.X0Y0_跗節1.SetAngleBase(節足_足蜘2.X0Y0_跗節1.GetAngleBase() + (0.0 - 跗節1角度 + (0.0 - u7))); + 節足_足蜘2.X0Y0_跗節2.SetAngleBase(節足_足蜘2.X0Y0_跗節2.GetAngleBase() + (0.0 - 跗節2角度 + (0.0 - u8))); } else { - 節足_足蜘2.X0Y0_基節.AngleBase += 基節角度 + u1; - 節足_足蜘2.X0Y0_転節.AngleBase += 転節角度 + u2; - 節足_足蜘2.X0Y0_腿節.AngleBase += 腿節角度 + u3; - 節足_足蜘2.X0Y0_膝節.AngleBase += 膝節角度 + u4; - 節足_足蜘2.X0Y0_脛節.AngleBase += 脛節角度 + u5; - 節足_足蜘2.X0Y0_蹠節.AngleBase += 蹠節角度 + u6; - 節足_足蜘2.X0Y0_跗節1.AngleBase += 跗節1角度 + u7; - 節足_足蜘2.X0Y0_跗節2.AngleBase += 跗節2角度 + u8; + 節足_足蜘2.X0Y0_基節.SetAngleBase(節足_足蜘2.X0Y0_基節.GetAngleBase() + (基節角度 + u1)); + 節足_足蜘2.X0Y0_転節.SetAngleBase(節足_足蜘2.X0Y0_転節.GetAngleBase() + (転節角度 + u2)); + 節足_足蜘2.X0Y0_腿節.SetAngleBase(節足_足蜘2.X0Y0_腿節.GetAngleBase() + (腿節角度 + u3)); + 節足_足蜘2.X0Y0_膝節.SetAngleBase(節足_足蜘2.X0Y0_膝節.GetAngleBase() + (膝節角度 + u4)); + 節足_足蜘2.X0Y0_脛節.SetAngleBase(節足_足蜘2.X0Y0_脛節.GetAngleBase() + (脛節角度 + u5)); + 節足_足蜘2.X0Y0_蹠節.SetAngleBase(節足_足蜘2.X0Y0_蹠節.GetAngleBase() + (蹠節角度 + u6)); + 節足_足蜘2.X0Y0_跗節1.SetAngleBase(節足_足蜘2.X0Y0_跗節1.GetAngleBase() + (跗節1角度 + u7)); + 節足_足蜘2.X0Y0_跗節2.SetAngleBase(節足_足蜘2.X0Y0_跗節2.GetAngleBase() + (跗節2角度 + u8)); } } @@ -7524,25 +7525,25 @@ namespace SlaveMatrix } if (節足_足蜘2.反転Y) { - 節足_足蜘2.X0Y0_基節.AngleBase += 基節角度 + u1; - 節足_足蜘2.X0Y0_転節.AngleBase += 転節角度 + u2; - 節足_足蜘2.X0Y0_腿節.AngleBase += 腿節角度 + u3; - 節足_足蜘2.X0Y0_膝節.AngleBase += 膝節角度 + u4; - 節足_足蜘2.X0Y0_脛節.AngleBase += 脛節角度 + u5; - 節足_足蜘2.X0Y0_蹠節.AngleBase += 蹠節角度 + u6; - 節足_足蜘2.X0Y0_跗節1.AngleBase += 跗節1角度 + u7; - 節足_足蜘2.X0Y0_跗節2.AngleBase += 跗節2角度 + u8; + 節足_足蜘2.X0Y0_基節.SetAngleBase(節足_足蜘2.X0Y0_基節.GetAngleBase() + (基節角度 + u1)); + 節足_足蜘2.X0Y0_転節.SetAngleBase(節足_足蜘2.X0Y0_転節.GetAngleBase() + (転節角度 + u2)); + 節足_足蜘2.X0Y0_腿節.SetAngleBase(節足_足蜘2.X0Y0_腿節.GetAngleBase() + (腿節角度 + u3)); + 節足_足蜘2.X0Y0_膝節.SetAngleBase(節足_足蜘2.X0Y0_膝節.GetAngleBase() + (膝節角度 + u4)); + 節足_足蜘2.X0Y0_脛節.SetAngleBase(節足_足蜘2.X0Y0_脛節.GetAngleBase() + (脛節角度 + u5)); + 節足_足蜘2.X0Y0_蹠節.SetAngleBase(節足_足蜘2.X0Y0_蹠節.GetAngleBase() + (蹠節角度 + u6)); + 節足_足蜘2.X0Y0_跗節1.SetAngleBase(節足_足蜘2.X0Y0_跗節1.GetAngleBase() + (跗節1角度 + u7)); + 節足_足蜘2.X0Y0_跗節2.SetAngleBase(節足_足蜘2.X0Y0_跗節2.GetAngleBase() + (跗節2角度 + u8)); } else { - 節足_足蜘2.X0Y0_基節.AngleBase += 0.0 - 基節角度 + (0.0 - u1); - 節足_足蜘2.X0Y0_転節.AngleBase += 0.0 - 転節角度 + (0.0 - u2); - 節足_足蜘2.X0Y0_腿節.AngleBase += 0.0 - 腿節角度 + (0.0 - u3); - 節足_足蜘2.X0Y0_膝節.AngleBase += 0.0 - 膝節角度 + (0.0 - u4); - 節足_足蜘2.X0Y0_脛節.AngleBase += 0.0 - 脛節角度 + (0.0 - u5); - 節足_足蜘2.X0Y0_蹠節.AngleBase += 0.0 - 蹠節角度 + (0.0 - u6); - 節足_足蜘2.X0Y0_跗節1.AngleBase += 0.0 - 跗節1角度 + (0.0 - u7); - 節足_足蜘2.X0Y0_跗節2.AngleBase += 0.0 - 跗節2角度 + (0.0 - u8); + 節足_足蜘2.X0Y0_基節.SetAngleBase(節足_足蜘2.X0Y0_基節.GetAngleBase() + (0.0 - 基節角度 + (0.0 - u1))); + 節足_足蜘2.X0Y0_転節.SetAngleBase(節足_足蜘2.X0Y0_転節.GetAngleBase() + (0.0 - 転節角度 + (0.0 - u2))); + 節足_足蜘2.X0Y0_腿節.SetAngleBase(節足_足蜘2.X0Y0_腿節.GetAngleBase() + (0.0 - 腿節角度 + (0.0 - u3))); + 節足_足蜘2.X0Y0_膝節.SetAngleBase(節足_足蜘2.X0Y0_膝節.GetAngleBase() + (0.0 - 膝節角度 + (0.0 - u4))); + 節足_足蜘2.X0Y0_脛節.SetAngleBase(節足_足蜘2.X0Y0_脛節.GetAngleBase() + (0.0 - 脛節角度 + (0.0 - u5))); + 節足_足蜘2.X0Y0_蹠節.SetAngleBase(節足_足蜘2.X0Y0_蹠節.GetAngleBase() + (0.0 - 蹠節角度 + (0.0 - u6))); + 節足_足蜘2.X0Y0_跗節1.SetAngleBase(節足_足蜘2.X0Y0_跗節1.GetAngleBase() + (0.0 - 跗節1角度 + (0.0 - u7))); + 節足_足蜘2.X0Y0_跗節2.SetAngleBase(節足_足蜘2.X0Y0_跗節2.GetAngleBase() + (0.0 - 跗節2角度 + (0.0 - u8))); } } @@ -7648,25 +7649,25 @@ namespace SlaveMatrix { foreach (節足_足蜘 item in Cha.Body.節足蜘左) { - item.X0Y0_基節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_転節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_腿節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_膝節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_脛節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_蹠節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_跗節1.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_跗節2.AngleCont = a * RNG.XS.NextDouble(); + item.X0Y0_基節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_転節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_腿節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_膝節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_脛節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_蹠節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_跗節1.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_跗節2.SetAngleCont(a * RNG.XS.NextDouble()); } foreach (節足_足蜘 item2 in Cha.Body.節足蜘右) { - item2.X0Y0_基節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_転節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_腿節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_膝節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_脛節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_蹠節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_跗節1.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_跗節2.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); + item2.X0Y0_基節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_転節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_腿節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_膝節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_脛節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_蹠節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_跗節1.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_跗節2.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); } } @@ -7691,23 +7692,23 @@ namespace SlaveMatrix } if (節足_足蠍2.反転Y) { - 節足_足蠍2.X0Y0_転節.AngleBase += 0.0 - 転節角度 + (0.0 - u1); - 節足_足蠍2.X0Y0_腿節.AngleBase += 0.0 - 腿節角度 + (0.0 - u2); - 節足_足蠍2.X0Y0_膝節.AngleBase += 0.0 - 膝節角度 + (0.0 - u3); - 節足_足蠍2.X0Y0_脛節.AngleBase += 0.0 - 脛節角度 + (0.0 - u4); - 節足_足蠍2.X0Y0_蹠節.AngleBase += 0.0 - 蹠節角度 + (0.0 - u5); - 節足_足蠍2.X0Y0_跗節1.AngleBase += 0.0 - 跗節1角度 + (0.0 - u6); - 節足_足蠍2.X0Y0_跗節2.AngleBase += 0.0 - 跗節2角度 + (0.0 - u7); + 節足_足蠍2.X0Y0_転節.SetAngleBase(節足_足蠍2.X0Y0_転節.GetAngleBase() + (0.0 - 転節角度 + (0.0 - u1))); + 節足_足蠍2.X0Y0_腿節.SetAngleBase(節足_足蠍2.X0Y0_腿節.GetAngleBase() + (0.0 - 腿節角度 + (0.0 - u2))); + 節足_足蠍2.X0Y0_膝節.SetAngleBase(節足_足蠍2.X0Y0_膝節.GetAngleBase() + (0.0 - 膝節角度 + (0.0 - u3))); + 節足_足蠍2.X0Y0_脛節.SetAngleBase(節足_足蠍2.X0Y0_脛節.GetAngleBase() + (0.0 - 脛節角度 + (0.0 - u4))); + 節足_足蠍2.X0Y0_蹠節.SetAngleBase(節足_足蠍2.X0Y0_蹠節.GetAngleBase() + (0.0 - 蹠節角度 + (0.0 - u5))); + 節足_足蠍2.X0Y0_跗節1.SetAngleBase(節足_足蠍2.X0Y0_跗節1.GetAngleBase() + (0.0 - 跗節1角度 + (0.0 - u6))); + 節足_足蠍2.X0Y0_跗節2.SetAngleBase(節足_足蠍2.X0Y0_跗節2.GetAngleBase() + (0.0 - 跗節2角度 + (0.0 - u7))); } else { - 節足_足蠍2.X0Y0_転節.AngleBase += 転節角度 + u1; - 節足_足蠍2.X0Y0_腿節.AngleBase += 腿節角度 + u2; - 節足_足蠍2.X0Y0_膝節.AngleBase += 膝節角度 + u3; - 節足_足蠍2.X0Y0_脛節.AngleBase += 脛節角度 + u4; - 節足_足蠍2.X0Y0_蹠節.AngleBase += 蹠節角度 + u5; - 節足_足蠍2.X0Y0_跗節1.AngleBase += 跗節1角度 + u6; - 節足_足蠍2.X0Y0_跗節2.AngleBase += 跗節2角度 + u7; + 節足_足蠍2.X0Y0_転節.SetAngleBase(節足_足蠍2.X0Y0_転節.GetAngleBase() + (転節角度 + u1)); + 節足_足蠍2.X0Y0_腿節.SetAngleBase(節足_足蠍2.X0Y0_腿節.GetAngleBase() + (腿節角度 + u2)); + 節足_足蠍2.X0Y0_膝節.SetAngleBase(節足_足蠍2.X0Y0_膝節.GetAngleBase() + (膝節角度 + u3)); + 節足_足蠍2.X0Y0_脛節.SetAngleBase(節足_足蠍2.X0Y0_脛節.GetAngleBase() + (脛節角度 + u4)); + 節足_足蠍2.X0Y0_蹠節.SetAngleBase(節足_足蠍2.X0Y0_蹠節.GetAngleBase() + (蹠節角度 + u5)); + 節足_足蠍2.X0Y0_跗節1.SetAngleBase(節足_足蠍2.X0Y0_跗節1.GetAngleBase() + (跗節1角度 + u6)); + 節足_足蠍2.X0Y0_跗節2.SetAngleBase(節足_足蠍2.X0Y0_跗節2.GetAngleBase() + (跗節2角度 + u7)); } } @@ -7732,23 +7733,23 @@ namespace SlaveMatrix } if (節足_足蠍2.反転Y) { - 節足_足蠍2.X0Y0_転節.AngleBase += 転節角度 + u1; - 節足_足蠍2.X0Y0_腿節.AngleBase += 腿節角度 + u2; - 節足_足蠍2.X0Y0_膝節.AngleBase += 膝節角度 + u3; - 節足_足蠍2.X0Y0_脛節.AngleBase += 脛節角度 + u4; - 節足_足蠍2.X0Y0_蹠節.AngleBase += 蹠節角度 + u5; - 節足_足蠍2.X0Y0_跗節1.AngleBase += 跗節1角度 + u6; - 節足_足蠍2.X0Y0_跗節2.AngleBase += 跗節2角度 + u7; + 節足_足蠍2.X0Y0_転節.SetAngleBase(節足_足蠍2.X0Y0_転節.GetAngleBase() + (転節角度 + u1)); + 節足_足蠍2.X0Y0_腿節.SetAngleBase(節足_足蠍2.X0Y0_腿節.GetAngleBase() + (腿節角度 + u2)); + 節足_足蠍2.X0Y0_膝節.SetAngleBase(節足_足蠍2.X0Y0_膝節.GetAngleBase() + (膝節角度 + u3)); + 節足_足蠍2.X0Y0_脛節.SetAngleBase(節足_足蠍2.X0Y0_脛節.GetAngleBase() + (脛節角度 + u4)); + 節足_足蠍2.X0Y0_蹠節.SetAngleBase(節足_足蠍2.X0Y0_蹠節.GetAngleBase() + (蹠節角度 + u5)); + 節足_足蠍2.X0Y0_跗節1.SetAngleBase(節足_足蠍2.X0Y0_跗節1.GetAngleBase() + (跗節1角度 + u6)); + 節足_足蠍2.X0Y0_跗節2.SetAngleBase(節足_足蠍2.X0Y0_跗節2.GetAngleBase() + (跗節2角度 + u7)); } else { - 節足_足蠍2.X0Y0_転節.AngleBase += 0.0 - 転節角度 + (0.0 - u1); - 節足_足蠍2.X0Y0_腿節.AngleBase += 0.0 - 腿節角度 + (0.0 - u2); - 節足_足蠍2.X0Y0_膝節.AngleBase += 0.0 - 膝節角度 + (0.0 - u3); - 節足_足蠍2.X0Y0_脛節.AngleBase += 0.0 - 脛節角度 + (0.0 - u4); - 節足_足蠍2.X0Y0_蹠節.AngleBase += 0.0 - 蹠節角度 + (0.0 - u5); - 節足_足蠍2.X0Y0_跗節1.AngleBase += 0.0 - 跗節1角度 + (0.0 - u6); - 節足_足蠍2.X0Y0_跗節2.AngleBase += 0.0 - 跗節2角度 + (0.0 - u7); + 節足_足蠍2.X0Y0_転節.SetAngleBase(節足_足蠍2.X0Y0_転節.GetAngleBase() + (0.0 - 転節角度 + (0.0 - u1))); + 節足_足蠍2.X0Y0_腿節.SetAngleBase(節足_足蠍2.X0Y0_腿節.GetAngleBase() + (0.0 - 腿節角度 + (0.0 - u2))); + 節足_足蠍2.X0Y0_膝節.SetAngleBase(節足_足蠍2.X0Y0_膝節.GetAngleBase() + (0.0 - 膝節角度 + (0.0 - u3))); + 節足_足蠍2.X0Y0_脛節.SetAngleBase(節足_足蠍2.X0Y0_脛節.GetAngleBase() + (0.0 - 脛節角度 + (0.0 - u4))); + 節足_足蠍2.X0Y0_蹠節.SetAngleBase(節足_足蠍2.X0Y0_蹠節.GetAngleBase() + (0.0 - 蹠節角度 + (0.0 - u5))); + 節足_足蠍2.X0Y0_跗節1.SetAngleBase(節足_足蠍2.X0Y0_跗節1.GetAngleBase() + (0.0 - 跗節1角度 + (0.0 - u6))); + 節足_足蠍2.X0Y0_跗節2.SetAngleBase(節足_足蠍2.X0Y0_跗節2.GetAngleBase() + (0.0 - 跗節2角度 + (0.0 - u7))); } } @@ -7854,23 +7855,23 @@ namespace SlaveMatrix { foreach (節足_足蠍 item in Cha.Body.節足蠍左) { - item.X0Y0_転節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_腿節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_膝節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_脛節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_蹠節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_跗節1.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_跗節2.AngleCont = a * RNG.XS.NextDouble(); + item.X0Y0_転節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_腿節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_膝節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_脛節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_蹠節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_跗節1.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_跗節2.SetAngleCont(a * RNG.XS.NextDouble()); } foreach (節足_足蠍 item2 in Cha.Body.節足蠍右) { - item2.X0Y0_転節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_腿節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_膝節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_脛節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_蹠節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_跗節1.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_跗節2.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); + item2.X0Y0_転節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_腿節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_膝節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_脛節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_蹠節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_跗節1.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_跗節2.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); } } @@ -7880,23 +7881,23 @@ namespace SlaveMatrix 節足_足百2.SetAngle0(); if (節足_足百2.反転Y) { - 節足_足百2.X0Y0_基節.AngleBase += 0.0 - 基節角度 + (0.0 - u1); - 節足_足百2.X0Y0_転節.AngleBase += 0.0 - 転節角度 + (0.0 - u2); - 節足_足百2.X0Y0_前腿節.AngleBase += 0.0 - 前腿節角度 + (0.0 - u3); - 節足_足百2.X0Y0_腿節.AngleBase += 0.0 - 腿節角度 + (0.0 - u4); - 節足_足百2.X0Y0_脛節.AngleBase += 0.0 - 脛節角度 + (0.0 - u5); - 節足_足百2.X0Y0_跗節1.AngleBase += 0.0 - 跗節1角度 + (0.0 - u6); - 節足_足百2.X0Y0_跗節2.AngleBase += 0.0 - 跗節2角度 + (0.0 - u7); + 節足_足百2.X0Y0_基節.SetAngleBase(節足_足百2.X0Y0_基節.GetAngleBase() + (0.0 - 基節角度 + (0.0 - u1))); + 節足_足百2.X0Y0_転節.SetAngleBase(節足_足百2.X0Y0_転節.GetAngleBase() + (0.0 - 転節角度 + (0.0 - u2))); + 節足_足百2.X0Y0_前腿節.SetAngleBase(節足_足百2.X0Y0_前腿節.GetAngleBase() + (0.0 - 前腿節角度 + (0.0 - u3))); + 節足_足百2.X0Y0_腿節.SetAngleBase(節足_足百2.X0Y0_腿節.GetAngleBase() + (0.0 - 腿節角度 + (0.0 - u4))); + 節足_足百2.X0Y0_脛節.SetAngleBase(節足_足百2.X0Y0_脛節.GetAngleBase() + (0.0 - 脛節角度 + (0.0 - u5))); + 節足_足百2.X0Y0_跗節1.SetAngleBase(節足_足百2.X0Y0_跗節1.GetAngleBase() + (0.0 - 跗節1角度 + (0.0 - u6))); + 節足_足百2.X0Y0_跗節2.SetAngleBase(節足_足百2.X0Y0_跗節2.GetAngleBase() + (0.0 - 跗節2角度 + (0.0 - u7))); } else { - 節足_足百2.X0Y0_基節.AngleBase += 基節角度 + u1; - 節足_足百2.X0Y0_転節.AngleBase += 転節角度 + u2; - 節足_足百2.X0Y0_前腿節.AngleBase += 前腿節角度 + u3; - 節足_足百2.X0Y0_腿節.AngleBase += 腿節角度 + u4; - 節足_足百2.X0Y0_脛節.AngleBase += 脛節角度 + u5; - 節足_足百2.X0Y0_跗節1.AngleBase += 跗節1角度 + u6; - 節足_足百2.X0Y0_跗節2.AngleBase += 跗節2角度 + u7; + 節足_足百2.X0Y0_基節.SetAngleBase(節足_足百2.X0Y0_基節.GetAngleBase() + (基節角度 + u1)); + 節足_足百2.X0Y0_転節.SetAngleBase(節足_足百2.X0Y0_転節.GetAngleBase() + (転節角度 + u2)); + 節足_足百2.X0Y0_前腿節.SetAngleBase(節足_足百2.X0Y0_前腿節.GetAngleBase() + (前腿節角度 + u3)); + 節足_足百2.X0Y0_腿節.SetAngleBase(節足_足百2.X0Y0_腿節.GetAngleBase() + (腿節角度 + u4)); + 節足_足百2.X0Y0_脛節.SetAngleBase(節足_足百2.X0Y0_脛節.GetAngleBase() + (脛節角度 + u5)); + 節足_足百2.X0Y0_跗節1.SetAngleBase(節足_足百2.X0Y0_跗節1.GetAngleBase() + (跗節1角度 + u6)); + 節足_足百2.X0Y0_跗節2.SetAngleBase(節足_足百2.X0Y0_跗節2.GetAngleBase() + (跗節2角度 + u7)); } } @@ -7906,23 +7907,23 @@ namespace SlaveMatrix 節足_足百2.SetAngle0(); if (節足_足百2.反転Y) { - 節足_足百2.X0Y0_基節.AngleBase += 基節角度 + u1; - 節足_足百2.X0Y0_転節.AngleBase += 転節角度 + u2; - 節足_足百2.X0Y0_前腿節.AngleBase += 前腿節角度 + u3; - 節足_足百2.X0Y0_腿節.AngleBase += 腿節角度 + u4; - 節足_足百2.X0Y0_脛節.AngleBase += 脛節角度 + u5; - 節足_足百2.X0Y0_跗節1.AngleBase += 跗節1角度 + u6; - 節足_足百2.X0Y0_跗節2.AngleBase += 跗節2角度 + u7; + 節足_足百2.X0Y0_基節.SetAngleBase(節足_足百2.X0Y0_基節.GetAngleBase() + (基節角度 + u1)); + 節足_足百2.X0Y0_転節.SetAngleBase(節足_足百2.X0Y0_転節.GetAngleBase() + (転節角度 + u2)); + 節足_足百2.X0Y0_前腿節.SetAngleBase(節足_足百2.X0Y0_前腿節.GetAngleBase() + (前腿節角度 + u3)); + 節足_足百2.X0Y0_腿節.SetAngleBase(節足_足百2.X0Y0_腿節.GetAngleBase() + (腿節角度 + u4)); + 節足_足百2.X0Y0_脛節.SetAngleBase(節足_足百2.X0Y0_脛節.GetAngleBase() + (脛節角度 + u5)); + 節足_足百2.X0Y0_跗節1.SetAngleBase(節足_足百2.X0Y0_跗節1.GetAngleBase() + (跗節1角度 + u6)); + 節足_足百2.X0Y0_跗節2.SetAngleBase(節足_足百2.X0Y0_跗節2.GetAngleBase() + (跗節2角度 + u7)); } else { - 節足_足百2.X0Y0_基節.AngleBase += 0.0 - 基節角度 + (0.0 - u1); - 節足_足百2.X0Y0_転節.AngleBase += 0.0 - 転節角度 + (0.0 - u2); - 節足_足百2.X0Y0_前腿節.AngleBase += 0.0 - 前腿節角度 + (0.0 - u3); - 節足_足百2.X0Y0_腿節.AngleBase += 0.0 - 腿節角度 + (0.0 - u4); - 節足_足百2.X0Y0_脛節.AngleBase += 0.0 - 脛節角度 + (0.0 - u5); - 節足_足百2.X0Y0_跗節1.AngleBase += 0.0 - 跗節1角度 + (0.0 - u6); - 節足_足百2.X0Y0_跗節2.AngleBase += 0.0 - 跗節2角度 + (0.0 - u7); + 節足_足百2.X0Y0_基節.SetAngleBase(節足_足百2.X0Y0_基節.GetAngleBase() + (0.0 - 基節角度 + (0.0 - u1))); + 節足_足百2.X0Y0_転節.SetAngleBase(節足_足百2.X0Y0_転節.GetAngleBase() + (0.0 - 転節角度 + (0.0 - u2))); + 節足_足百2.X0Y0_前腿節.SetAngleBase(節足_足百2.X0Y0_前腿節.GetAngleBase() + (0.0 - 前腿節角度 + (0.0 - u3))); + 節足_足百2.X0Y0_腿節.SetAngleBase(節足_足百2.X0Y0_腿節.GetAngleBase() + (0.0 - 腿節角度 + (0.0 - u4))); + 節足_足百2.X0Y0_脛節.SetAngleBase(節足_足百2.X0Y0_脛節.GetAngleBase() + (0.0 - 脛節角度 + (0.0 - u5))); + 節足_足百2.X0Y0_跗節1.SetAngleBase(節足_足百2.X0Y0_跗節1.GetAngleBase() + (0.0 - 跗節1角度 + (0.0 - u6))); + 節足_足百2.X0Y0_跗節2.SetAngleBase(節足_足百2.X0Y0_跗節2.GetAngleBase() + (0.0 - 跗節2角度 + (0.0 - u7))); } } @@ -8028,23 +8029,23 @@ namespace SlaveMatrix { foreach (節足_足百 item in Cha.Body.節足百左) { - item.X0Y0_基節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_転節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_前腿節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_腿節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_脛節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_跗節1.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_跗節2.AngleCont = a * RNG.XS.NextDouble(); + item.X0Y0_基節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_転節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_前腿節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_腿節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_脛節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_跗節1.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_跗節2.SetAngleCont(a * RNG.XS.NextDouble()); } foreach (節足_足百 item2 in Cha.Body.節足百右) { - item2.X0Y0_基節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_転節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_前腿節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_腿節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_脛節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_跗節1.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_跗節2.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); + item2.X0Y0_基節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_転節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_前腿節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_腿節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_脛節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_跗節1.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_跗節2.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); } } @@ -8052,22 +8053,22 @@ namespace SlaveMatrix { 節尾_曳航 obj = Cha.Body.節尾曳左[n]; obj.SetAngle0(); - obj.X0Y0_前腿節.AngleBase += 根本角度 + u1; - obj.X0Y0_腿節.AngleBase += 節角度1 + u2; - obj.X0Y0_脛節.AngleBase += 節角度2 + u3; - obj.X0Y0_付節1.AngleBase += 節角度3 + u4; - obj.X0Y0_付節2.AngleBase += 節角度4 + u5; + obj.X0Y0_前腿節.SetAngleBase(obj.X0Y0_前腿節.GetAngleBase() + (根本角度 + u1)); + obj.X0Y0_腿節.SetAngleBase(obj.X0Y0_腿節.GetAngleBase() + (節角度1 + u2)); + obj.X0Y0_脛節.SetAngleBase(obj.X0Y0_脛節.GetAngleBase() + (節角度2 + u3)); + obj.X0Y0_付節1.SetAngleBase(obj.X0Y0_付節1.GetAngleBase() + (節角度3 + u4)); + obj.X0Y0_付節2.SetAngleBase(obj.X0Y0_付節2.GetAngleBase() + (節角度4 + u5)); } public static void 節尾曳右(this Character Cha, int n, double u1, double u2, double u3, double u4, double u5, double 根本角度, double 節角度1, double 節角度2, double 節角度3, double 節角度4) { 節尾_曳航 obj = Cha.Body.節尾曳右[n]; obj.SetAngle0(); - obj.X0Y0_前腿節.AngleBase += 0.0 - 根本角度 + (0.0 - u1); - obj.X0Y0_腿節.AngleBase += 0.0 - 節角度1 + (0.0 - u2); - obj.X0Y0_脛節.AngleBase += 0.0 - 節角度2 + (0.0 - u3); - obj.X0Y0_付節1.AngleBase += 0.0 - 節角度3 + (0.0 - u4); - obj.X0Y0_付節2.AngleBase += 0.0 - 節角度4 + (0.0 - u5); + obj.X0Y0_前腿節.SetAngleBase(obj.X0Y0_前腿節.GetAngleBase() + (0.0 - 根本角度 + (0.0 - u1))); + obj.X0Y0_腿節.SetAngleBase(obj.X0Y0_腿節.GetAngleBase() + (0.0 - 節角度1 + (0.0 - u2))); + obj.X0Y0_脛節.SetAngleBase(obj.X0Y0_脛節.GetAngleBase() + (0.0 - 節角度2 + (0.0 - u3))); + obj.X0Y0_付節1.SetAngleBase(obj.X0Y0_付節1.GetAngleBase() + (0.0 - 節角度3 + (0.0 - u4))); + obj.X0Y0_付節2.SetAngleBase(obj.X0Y0_付節2.GetAngleBase() + (0.0 - 節角度4 + (0.0 - u5))); } public static void 節尾曳_基本左(this Character Cha, int n, double u1, double u2, double u3, double u4, double u5) @@ -8168,19 +8169,19 @@ namespace SlaveMatrix { foreach (節尾_曳航 item in Cha.Body.節尾曳左) { - item.X0Y0_前腿節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_腿節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_脛節.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_付節1.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_付節2.AngleCont = a * RNG.XS.NextDouble(); + item.X0Y0_前腿節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_腿節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_脛節.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_付節1.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_付節2.SetAngleCont(a * RNG.XS.NextDouble()); } foreach (節尾_曳航 item2 in Cha.Body.節尾曳右) { - item2.X0Y0_前腿節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_腿節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_脛節.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_付節1.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item2.X0Y0_付節2.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); + item2.X0Y0_前腿節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_腿節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_脛節.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_付節1.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item2.X0Y0_付節2.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); } } @@ -8188,14 +8189,14 @@ namespace SlaveMatrix { 節尾_鋏 obj = Cha.Body.節尾鋏左[n]; obj.SetAngle0(); - obj.X0Y0_牙.AngleBase += 根本角度 + u1; + obj.X0Y0_牙.SetAngleBase(obj.X0Y0_牙.GetAngleBase() + (根本角度 + u1)); } public static void 節尾鋏右(this Character Cha, int n, double u1, double 根本角度) { 節尾_鋏 obj = Cha.Body.節尾鋏右[n]; obj.SetAngle0(); - obj.X0Y0_牙.AngleBase += 0.0 - 根本角度 + (0.0 - u1); + obj.X0Y0_牙.SetAngleBase(obj.X0Y0_牙.GetAngleBase() + (0.0 - 根本角度 + (0.0 - u1))); } public static void 節尾鋏_基本左(this Character Cha, int n, double u1, double u2, double u3, double u4, double u5) @@ -8296,11 +8297,11 @@ namespace SlaveMatrix { foreach (節尾_鋏 item in Cha.Body.節尾鋏左) { - item.X0Y0_牙.AngleCont = a * RNG.XS.NextDouble(); + item.X0Y0_牙.SetAngleCont(a * RNG.XS.NextDouble()); } foreach (節尾_鋏 item2 in Cha.Body.節尾鋏右) { - item2.X0Y0_牙.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); + item2.X0Y0_牙.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); } } @@ -8315,11 +8316,11 @@ namespace SlaveMatrix 虫鎌2.SetAngle0(); if (虫鎌2.反転Y) { - 虫鎌2.X0Y0_虫鎌1.AngleBase += 0.0 - 根本角度 + (0.0 - u1); + 虫鎌2.X0Y0_虫鎌1.SetAngleBase(虫鎌2.X0Y0_虫鎌1.GetAngleBase() + (0.0 - 根本角度 + (0.0 - u1))); } else { - 虫鎌2.X0Y0_虫鎌1.AngleBase += 根本角度 + u1; + 虫鎌2.X0Y0_虫鎌1.SetAngleBase(虫鎌2.X0Y0_虫鎌1.GetAngleBase() + (根本角度 + u1)); } } @@ -8334,11 +8335,11 @@ namespace SlaveMatrix 虫鎌2.SetAngle0(); if (虫鎌2.反転Y) { - 虫鎌2.X0Y0_虫鎌1.AngleBase += 根本角度 + u1; + 虫鎌2.X0Y0_虫鎌1.SetAngleBase(虫鎌2.X0Y0_虫鎌1.GetAngleBase() + (根本角度 + u1)); } else { - 虫鎌2.X0Y0_虫鎌1.AngleBase += 0.0 - 根本角度 + (0.0 - u1); + 虫鎌2.X0Y0_虫鎌1.SetAngleBase(虫鎌2.X0Y0_虫鎌1.GetAngleBase() + (0.0 - 根本角度 + (0.0 - u1))); } } @@ -8444,10 +8445,10 @@ namespace SlaveMatrix double num3 = (double)array.Length * 0.1; foreach (Par item in array.Skip(1)) { - item.AngleBase = (double)si * (angs[(num / num2).Limit(0, angs.Length)](num) / num3 + u2); + item.SetAngleBase((double)si * (angs[(num / num2).Limit(0, angs.Length)](num) / num3 + u2)); num++; } - array[0].AngleBase = (double)si * (根本角度 + u1); + array[0].SetAngleBase((double)si * (根本角度 + u1)); } } if (触手2 is 触手_蔦) @@ -8457,11 +8458,11 @@ namespace SlaveMatrix 触手_蔦 触手_蔦2 = (触手_蔦)触手2; if (触手_蔦2.先端_上顎_顎_表示) { - 触手_蔦2.X0Y0_先端_上顎_顎.AngleBase = 0.0; + 触手_蔦2.X0Y0_先端_上顎_顎.SetAngleBase(0.0); } if (触手_蔦2.先端_下顎_顎_表示) { - 触手_蔦2.X0Y0_先端_下顎_顎.AngleBase = 0.0; + 触手_蔦2.X0Y0_先端_下顎_顎.SetAngleBase(0.0); } } else @@ -8469,11 +8470,11 @@ namespace SlaveMatrix 触手_蔦 触手_蔦3 = (触手_蔦)触手2; if (触手_蔦3.先端_上顎_顎_表示) { - 触手_蔦3.X0Y0_先端_上顎_顎.AngleBase = 15.0 * 開口 + u3; + 触手_蔦3.X0Y0_先端_上顎_顎.SetAngleBase(15.0 * 開口 + u3); } if (触手_蔦3.先端_下顎_顎_表示) { - 触手_蔦3.X0Y0_先端_下顎_顎.AngleBase = -15.0 * 開口 + (0.0 - u3); + 触手_蔦3.X0Y0_先端_下顎_顎.SetAngleBase(-15.0 * 開口 + (0.0 - u3)); } } } @@ -8494,10 +8495,10 @@ namespace SlaveMatrix double num3 = (double)array.Length * 0.1; foreach (Par item in array.Skip(1)) { - item.AngleBase = (double)si * ((0.0 - angs[(num / num2).Limit(0, angs.Length)](num)) / num3 + (0.0 - u2)); + item.SetAngleBase((double)si * ((0.0 - angs[(num / num2).Limit(0, angs.Length)](num)) / num3 + (0.0 - u2))); num++; } - array[0].AngleBase = (double)si * (0.0 - 根本角度 + (0.0 - u1)); + array[0].SetAngleBase((double)si * (0.0 - 根本角度 + (0.0 - u1))); } } if (触手2 is 触手_蔦) @@ -8507,11 +8508,11 @@ namespace SlaveMatrix 触手_蔦 触手_蔦2 = (触手_蔦)触手2; if (触手_蔦2.先端_上顎_顎_表示) { - 触手_蔦2.X0Y0_先端_上顎_顎.AngleBase = 0.0; + 触手_蔦2.X0Y0_先端_上顎_顎.SetAngleBase(0.0); } if (触手_蔦2.先端_下顎_顎_表示) { - 触手_蔦2.X0Y0_先端_下顎_顎.AngleBase = 0.0; + 触手_蔦2.X0Y0_先端_下顎_顎.SetAngleBase(0.0); } } else @@ -8519,11 +8520,11 @@ namespace SlaveMatrix 触手_蔦 触手_蔦3 = (触手_蔦)触手2; if (触手_蔦3.先端_上顎_顎_表示) { - 触手_蔦3.X0Y0_先端_上顎_顎.AngleBase = -15.0 * 開口 + (0.0 - u3); + 触手_蔦3.X0Y0_先端_上顎_顎.SetAngleBase(-15.0 * 開口 + (0.0 - u3)); } if (触手_蔦3.先端_下顎_顎_表示) { - 触手_蔦3.X0Y0_先端_下顎_顎.AngleBase = 15.0 * 開口 + u3; + 触手_蔦3.X0Y0_先端_下顎_顎.SetAngleBase(15.0 * 開口 + u3); } } } @@ -8595,18 +8596,18 @@ namespace SlaveMatrix { foreach (Par item2 in item.Enum軸()) { - item2.AngleCont = a * RNG.XS.NextDouble(); + item2.SetAngleCont(a * RNG.XS.NextDouble()); } if (!item.拘束 && item is 触手_蔦) { 触手_蔦 触手_蔦2 = (触手_蔦)item; if (触手_蔦2.先端_上顎_顎_表示) { - 触手_蔦2.X0Y0_先端_上顎_顎.AngleCont = a * RNG.XS.NextDouble(); + 触手_蔦2.X0Y0_先端_上顎_顎.SetAngleCont(a * RNG.XS.NextDouble()); } if (触手_蔦2.先端_下顎_顎_表示) { - 触手_蔦2.X0Y0_先端_下顎_顎.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); + 触手_蔦2.X0Y0_先端_下顎_顎.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); } } } @@ -8614,18 +8615,18 @@ namespace SlaveMatrix { foreach (Par item4 in item3.Enum軸()) { - item4.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); + item4.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); } if (!item3.拘束 && item3 is 触手_蔦) { 触手_蔦 触手_蔦3 = (触手_蔦)item3; if (触手_蔦3.先端_上顎_顎_表示) { - 触手_蔦3.X0Y0_先端_上顎_顎.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); + 触手_蔦3.X0Y0_先端_上顎_顎.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); } if (触手_蔦3.先端_下顎_顎_表示) { - 触手_蔦3.X0Y0_先端_下顎_顎.AngleCont = a * RNG.XS.NextDouble(); + 触手_蔦3.X0Y0_先端_下顎_顎.SetAngleCont(a * RNG.XS.NextDouble()); } } } @@ -8635,35 +8636,35 @@ namespace SlaveMatrix { 触手_犬 触手_犬2 = Cha.Body.触手犬右[n]; 触手_犬2.SetAngle0(); - 触手_犬2.X0Y0_脚後_UpperArm.AngleBase -= 触手_犬2.X0Y0_Torso_節9_Torso.Angle; - 触手_犬2.X0Y0_脚前_UpperArm.AngleBase -= 触手_犬2.X0Y0_Torso_節9_Torso.Angle; - 触手_犬2.X0Y0_頭_口膜_口膜1.AngleBase -= 17.0; - 触手_犬2.X0Y0_脚後_UpperArm.AngleBase += 0.0 - UpperArm角度 + (0.0 - u1); - 触手_犬2.X0Y0_脚後_LowerArm.AngleBase += 0.0 - LowerArm角度 + (0.0 - u2); - 触手_犬2.X0Y0_脚後_手_手.AngleBase += 0.0 - 手角度 + (0.0 - u3); - 触手_犬2.X0Y0_脚前_UpperArm.AngleBase += 0.0 - UpperArm角度 + u1; - 触手_犬2.X0Y0_脚前_LowerArm.AngleBase += 0.0 - LowerArm角度 + u2; - 触手_犬2.X0Y0_脚前_手_手.AngleBase += 0.0 - 手角度 + u3; + 触手_犬2.X0Y0_脚後_UpperArm.SetAngleBase(触手_犬2.X0Y0_脚後_UpperArm.GetAngleBase() - 触手_犬2.X0Y0_Torso_節9_Torso.GetAngle()); + 触手_犬2.X0Y0_脚前_UpperArm.SetAngleBase(触手_犬2.X0Y0_脚前_UpperArm.GetAngleBase() - 触手_犬2.X0Y0_Torso_節9_Torso.GetAngle()); + 触手_犬2.X0Y0_頭_口膜_口膜1.SetAngleBase(触手_犬2.X0Y0_頭_口膜_口膜1.GetAngleBase() - 17.0); + 触手_犬2.X0Y0_脚後_UpperArm.SetAngleBase(触手_犬2.X0Y0_脚後_UpperArm.GetAngleBase() + (0.0 - UpperArm角度 + (0.0 - u1))); + 触手_犬2.X0Y0_脚後_LowerArm.SetAngleBase(触手_犬2.X0Y0_脚後_LowerArm.GetAngleBase() + (0.0 - LowerArm角度 + (0.0 - u2))); + 触手_犬2.X0Y0_脚後_手_手.SetAngleBase(触手_犬2.X0Y0_脚後_手_手.GetAngleBase() + (0.0 - 手角度 + (0.0 - u3))); + 触手_犬2.X0Y0_脚前_UpperArm.SetAngleBase(触手_犬2.X0Y0_脚前_UpperArm.GetAngleBase() + (0.0 - UpperArm角度 + u1)); + 触手_犬2.X0Y0_脚前_LowerArm.SetAngleBase(触手_犬2.X0Y0_脚前_LowerArm.GetAngleBase() + (0.0 - LowerArm角度 + u2)); + 触手_犬2.X0Y0_脚前_手_手.SetAngleBase(触手_犬2.X0Y0_脚前_手_手.GetAngleBase() + (0.0 - 手角度 + u3)); if (触手_犬2.拘束) { - 触手_犬2.X0Y0_頭_上顎_眼下_眼下.AngleBase = 0.0; - 触手_犬2.X0Y0_頭_下顎_眼下_眼下.AngleBase = 0.0; + 触手_犬2.X0Y0_頭_上顎_眼下_眼下.SetAngleBase(0.0); + 触手_犬2.X0Y0_頭_下顎_眼下_眼下.SetAngleBase(0.0); } else { - 触手_犬2.X0Y0_頭_上顎_眼下_眼下.AngleBase += -10.0 * 開口 + (0.0 - u4); - 触手_犬2.X0Y0_頭_下顎_眼下_眼下.AngleBase += 10.0 * 開口 + u4; + 触手_犬2.X0Y0_頭_上顎_眼下_眼下.SetAngleBase(触手_犬2.X0Y0_頭_上顎_眼下_眼下.GetAngleBase() + (-10.0 * 開口 + (0.0 - u4))); + 触手_犬2.X0Y0_頭_下顎_眼下_眼下.SetAngleBase(触手_犬2.X0Y0_頭_下顎_眼下_眼下.GetAngleBase() + (10.0 * 開口 + u4)); } - 触手_犬2.X0Y0_脚後_手_親指_爪.AngleBase += 30.0 * 開指 + (0.0 - u5); - 触手_犬2.X0Y0_脚後_手_人指_指.AngleBase += 15.0 * 開指 + (0.0 - u5); - 触手_犬2.X0Y0_脚後_手_中指_指.AngleBase += -0.0 * 開指 + (0.0 - u5); - 触手_犬2.X0Y0_脚後_手_薬指_指.AngleBase += -15.0 * 開指 + (0.0 - u5); - 触手_犬2.X0Y0_脚後_手_小指_指.AngleBase += -30.0 * 開指 + (0.0 - u5); - 触手_犬2.X0Y0_脚前_手_親指_爪.AngleBase += -30.0 * 開指 + u5; - 触手_犬2.X0Y0_脚前_手_人指_指.AngleBase += -15.0 * 開指 + u5; - 触手_犬2.X0Y0_脚前_手_中指_指.AngleBase += -0.0 * 開指 + u5; - 触手_犬2.X0Y0_脚前_手_薬指_指.AngleBase += 15.0 * 開指 + u5; - 触手_犬2.X0Y0_脚前_手_小指_指.AngleBase += 30.0 * 開指 + u5; + 触手_犬2.X0Y0_脚後_手_親指_爪.SetAngleBase(触手_犬2.X0Y0_脚後_手_親指_爪.GetAngleBase() + (30.0 * 開指 + (0.0 - u5))); + 触手_犬2.X0Y0_脚後_手_人指_指.SetAngleBase(触手_犬2.X0Y0_脚後_手_人指_指.GetAngleBase() + (15.0 * 開指 + (0.0 - u5))); + 触手_犬2.X0Y0_脚後_手_中指_指.SetAngleBase(触手_犬2.X0Y0_脚後_手_中指_指.GetAngleBase() + (-0.0 * 開指 + (0.0 - u5))); + 触手_犬2.X0Y0_脚後_手_薬指_指.SetAngleBase(触手_犬2.X0Y0_脚後_手_薬指_指.GetAngleBase() + (-15.0 * 開指 + (0.0 - u5))); + 触手_犬2.X0Y0_脚後_手_小指_指.SetAngleBase(触手_犬2.X0Y0_脚後_手_小指_指.GetAngleBase() + (-30.0 * 開指 + (0.0 - u5))); + 触手_犬2.X0Y0_脚前_手_親指_爪.SetAngleBase(触手_犬2.X0Y0_脚前_手_親指_爪.GetAngleBase() + (-30.0 * 開指 + u5)); + 触手_犬2.X0Y0_脚前_手_人指_指.SetAngleBase(触手_犬2.X0Y0_脚前_手_人指_指.GetAngleBase() + (-15.0 * 開指 + u5)); + 触手_犬2.X0Y0_脚前_手_中指_指.SetAngleBase(触手_犬2.X0Y0_脚前_手_中指_指.GetAngleBase() + (-0.0 * 開指 + u5)); + 触手_犬2.X0Y0_脚前_手_薬指_指.SetAngleBase(触手_犬2.X0Y0_脚前_手_薬指_指.GetAngleBase() + (15.0 * 開指 + u5)); + 触手_犬2.X0Y0_脚前_手_小指_指.SetAngleBase(触手_犬2.X0Y0_脚前_手_小指_指.GetAngleBase() + (30.0 * 開指 + u5)); if (angs.Length != 0) { Par[] array = 触手_犬2.Enum軸().ToArray(); @@ -8674,10 +8675,10 @@ namespace SlaveMatrix double num3 = (double)array.Length * 0.1; foreach (Par item in array.Skip(1)) { - item.AngleBase += (0.0 - angs[(num / num2).Limit(0, angs.Length)](num)) / num3 + (0.0 - u7); + item.SetAngleBase(item.GetAngleBase() + ((0.0 - angs[(num / num2).Limit(0, angs.Length)](num)) / num3 + (0.0 - u7))); num++; } - array[0].AngleBase += 0.0 - 根本角度 + (0.0 - u6); + array[0].SetAngleBase(array[0].GetAngleBase() + (0.0 - 根本角度 + (0.0 - u6))); } } 触手_犬2.重複角度処理(); @@ -8731,64 +8732,64 @@ namespace SlaveMatrix { foreach (触手_犬 item in Cha.Body.触手犬左) { - item.X0Y0_脚後_UpperArm.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_脚前_UpperArm.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_頭_口膜_口膜1.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_脚後_UpperArm.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_脚後_LowerArm.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_脚後_手_手.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_脚前_UpperArm.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_脚前_LowerArm.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_脚前_手_手.AngleCont = a * RNG.XS.NextDouble(); + item.X0Y0_脚後_UpperArm.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_脚前_UpperArm.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_頭_口膜_口膜1.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_脚後_UpperArm.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_脚後_LowerArm.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_脚後_手_手.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_脚前_UpperArm.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_脚前_LowerArm.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_脚前_手_手.SetAngleCont(a * RNG.XS.NextDouble()); if (!item.拘束) { - item.X0Y0_頭_上顎_眼下_眼下.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_頭_下顎_眼下_眼下.AngleCont = a * RNG.XS.NextDouble(); + item.X0Y0_頭_上顎_眼下_眼下.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_頭_下顎_眼下_眼下.SetAngleCont(a * RNG.XS.NextDouble()); } - item.X0Y0_脚後_手_親指_爪.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_脚後_手_人指_指.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_脚後_手_中指_指.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_脚後_手_薬指_指.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_脚後_手_小指_指.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_脚前_手_親指_爪.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_脚前_手_人指_指.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_脚前_手_中指_指.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_脚前_手_薬指_指.AngleCont = a * RNG.XS.NextDouble(); - item.X0Y0_脚前_手_小指_指.AngleCont = a * RNG.XS.NextDouble(); + item.X0Y0_脚後_手_親指_爪.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_脚後_手_人指_指.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_脚後_手_中指_指.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_脚後_手_薬指_指.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_脚後_手_小指_指.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_脚前_手_親指_爪.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_脚前_手_人指_指.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_脚前_手_中指_指.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_脚前_手_薬指_指.SetAngleCont(a * RNG.XS.NextDouble()); + item.X0Y0_脚前_手_小指_指.SetAngleCont(a * RNG.XS.NextDouble()); foreach (Par item2 in item.Enum軸()) { - item2.AngleCont = a * RNG.XS.NextDouble(); + item2.SetAngleCont(a * RNG.XS.NextDouble()); } } foreach (触手_犬 item3 in Cha.Body.触手犬右) { - item3.X0Y0_脚後_UpperArm.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item3.X0Y0_脚前_UpperArm.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item3.X0Y0_頭_口膜_口膜1.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item3.X0Y0_脚後_UpperArm.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item3.X0Y0_脚後_LowerArm.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item3.X0Y0_脚後_手_手.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item3.X0Y0_脚前_UpperArm.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item3.X0Y0_脚前_LowerArm.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item3.X0Y0_脚前_手_手.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); + item3.X0Y0_脚後_UpperArm.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item3.X0Y0_脚前_UpperArm.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item3.X0Y0_頭_口膜_口膜1.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item3.X0Y0_脚後_UpperArm.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item3.X0Y0_脚後_LowerArm.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item3.X0Y0_脚後_手_手.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item3.X0Y0_脚前_UpperArm.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item3.X0Y0_脚前_LowerArm.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item3.X0Y0_脚前_手_手.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); if (!item3.拘束) { - item3.X0Y0_頭_上顎_眼下_眼下.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item3.X0Y0_頭_下顎_眼下_眼下.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); + item3.X0Y0_頭_上顎_眼下_眼下.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item3.X0Y0_頭_下顎_眼下_眼下.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); } - item3.X0Y0_脚後_手_親指_爪.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item3.X0Y0_脚後_手_人指_指.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item3.X0Y0_脚後_手_中指_指.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item3.X0Y0_脚後_手_薬指_指.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item3.X0Y0_脚後_手_小指_指.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item3.X0Y0_脚前_手_親指_爪.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item3.X0Y0_脚前_手_人指_指.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item3.X0Y0_脚前_手_中指_指.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item3.X0Y0_脚前_手_薬指_指.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); - item3.X0Y0_脚前_手_小指_指.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); + item3.X0Y0_脚後_手_親指_爪.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item3.X0Y0_脚後_手_人指_指.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item3.X0Y0_脚後_手_中指_指.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item3.X0Y0_脚後_手_薬指_指.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item3.X0Y0_脚後_手_小指_指.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item3.X0Y0_脚前_手_親指_爪.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item3.X0Y0_脚前_手_人指_指.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item3.X0Y0_脚前_手_中指_指.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item3.X0Y0_脚前_手_薬指_指.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); + item3.X0Y0_脚前_手_小指_指.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); foreach (Par item4 in item3.Enum軸()) { - item4.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); + item4.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); } } } @@ -8817,16 +8818,16 @@ namespace SlaveMatrix Par[] array2 = array; for (int i = 0; i < array2.Length; i++) { - array2[i].AngleBase = ((double)s * angs[(num2 / num3).Limit(0, angs.Length)](num2) / num4 + num5) * num; + array2[i].SetAngleBase(((double)s * angs[(num2 / num3).Limit(0, angs.Length)](num2) / num4 + num5) * num); num2++; } if (尾2 is 尾_鳥) { - array[0].AngleBase = 0.0; + array[0].SetAngleBase(0.0); } else { - array[0].AngleBase = 根本角度 + Cha.角度ムラ(RNG.XS.NextSign(), 3.0, RNG.XS.NextSign(), 1.5); + array[0].SetAngleBase(根本角度 + Cha.角度ムラ(RNG.XS.NextSign(), 3.0, RNG.XS.NextSign(), 1.5)); } } if (text.Contains("後髪0_肢系")) @@ -8834,7 +8835,7 @@ namespace SlaveMatrix double num6 = 1.0; foreach (Par item in array.Take(array.Length / 2)) { - item.AngleBase = item.AngleBase / num6 * num; + item.SetAngleBase(item.GetAngleBase() / num6 * num); num6 += 1.0; } } @@ -8901,7 +8902,7 @@ namespace SlaveMatrix { foreach (Par item2 in item.Enum軸()) { - item2.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); + item2.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); } 尾鰭_魚 ele = item.EnumEle().GetEle<尾鰭_魚>(); if (ele != null) @@ -8916,7 +8917,7 @@ namespace SlaveMatrix } foreach (Par item3 in item.Enum軸()) { - item3.AngleCont = a * RNG.XS.NextDouble(); + item3.SetAngleCont(a * RNG.XS.NextDouble()); } 尾鰭_魚 ele2 = item.EnumEle().GetEle<尾鰭_魚>(); if (ele2 != null) @@ -8968,7 +8969,7 @@ namespace SlaveMatrix Par[] array2 = array; for (int i = 0; i < array2.Length; i++) { - array2[i].AngleBase = (double)s * angs[(num / num2).Limit(0, angs.Length)](num) / num3 + num4; + array2[i].SetAngleBase((double)s * angs[(num / num2).Limit(0, angs.Length)](num) / num3 + num4); num++; } } @@ -9025,7 +9026,7 @@ namespace SlaveMatrix Par[] array2 = array; for (int i = 0; i < array2.Length; i++) { - array2[i].AngleBase = (double)s * angs[(num / num2).Limit(0, angs.Length)](num) / num3 + num4; + array2[i].SetAngleBase((double)s * angs[(num / num2).Limit(0, angs.Length)](num) / num3 + num4); num++; } } @@ -9082,7 +9083,7 @@ namespace SlaveMatrix Par[] array2 = array; for (int i = 0; i < array2.Length; i++) { - array2[i].AngleBase = (double)s * angs[(num / num2).Limit(0, angs.Length)](num) / num3 + num4; + array2[i].SetAngleBase((double)s * angs[(num / num2).Limit(0, angs.Length)](num) / num3 + num4); num++; } } @@ -9129,7 +9130,7 @@ namespace SlaveMatrix public static void 植(this Character Cha, int si, double 角度) { - Cha.Body.植.X0Y0_幹下.AngleBase = (double)si * 角度 + Cha.角度ムラ(RNG.XS.NextSign(), 10.0, RNG.XS.NextSign(), 5.0); + Cha.Body.植.X0Y0_幹下.SetAngleBase((double)si * 角度 + Cha.角度ムラ(RNG.XS.NextSign(), 10.0, RNG.XS.NextSign(), 5.0)); } public static void 植_基本(this Character Cha) @@ -9141,11 +9142,11 @@ namespace SlaveMatrix { if (Cha.Body.植.右) { - Cha.Body.植.X0Y0_幹下.AngleCont = (0.0 - a) * RNG.XS.NextDouble(); + Cha.Body.植.X0Y0_幹下.SetAngleCont((0.0 - a) * RNG.XS.NextDouble()); } else { - Cha.Body.植.X0Y0_幹下.AngleCont = a * RNG.XS.NextDouble(); + Cha.Body.植.X0Y0_幹下.SetAngleCont(a * RNG.XS.NextDouble()); } } diff --git a/SlaveMatrix/SlaveMatrix/GameClasses/Sta.cs b/SlaveMatrix/SlaveMatrix/GameClasses/Sta.cs index a8bf0ad..0824b17 100644 --- a/SlaveMatrix/SlaveMatrix/GameClasses/Sta.cs +++ b/SlaveMatrix/SlaveMatrix/GameClasses/Sta.cs @@ -10,6 +10,7 @@ using System.Text; using System.Text.RegularExpressions; using System.Threading.Tasks; using _2DGAMELIB; +using SlaveMatrix.GameClasses; using SlaveMatrix.Properties; namespace SlaveMatrix @@ -526,9 +527,9 @@ namespace SlaveMatrix タイル.SetJoints(); foreach (Par item in タイル.EnumAllPar()) { - item.BrushColor = Col.DarkGray; + item.SetBrushColor(Col.DarkGray); item.GetAlpha(out var ret); - item.PenColor = Color.FromArgb(ret / 2, Col.Black); + item.SetPenColor(Color.FromArgb(ret / 2, Col.Black)); item.Hit = false; } } diff --git a/SlaveMatrix/SlaveMatrix/GameClasses/TrainingUI.cs b/SlaveMatrix/SlaveMatrix/GameClasses/TrainingUI.cs index e4ee289..be47eca 100644 --- a/SlaveMatrix/SlaveMatrix/GameClasses/TrainingUI.cs +++ b/SlaveMatrix/SlaveMatrix/GameClasses/TrainingUI.cs @@ -5,6 +5,7 @@ using System.Drawing.Imaging; using System.IO; using System.Linq; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -162,7 +163,7 @@ namespace SlaveMatrix get { Par x0Y0_羽根 = 羽根箒.X0Y0_羽根1; - return Med.GetHitColor(Med.FromBasePosition(x0Y0_羽根.ToGlobal(x0Y0_羽根.JP[1].Joint))); + return Med.GetHitColor(Med.FromBasePosition(x0Y0_羽根.ToGlobal(x0Y0_羽根.GetJP()[1].Joint))); } } @@ -492,19 +493,19 @@ namespace SlaveMatrix switch (ロータ.Yi) { case 0: - t.位置B = ロータ.X0Y0_ロータ.ToGlobal_nc(ロータ.X0Y0_ロータ.JP[1].Joint.AddY(0.004)); + t.位置B = ロータ.X0Y0_ロータ.ToGlobal_nc(ロータ.X0Y0_ロータ.GetJP()[1].Joint.AddY(0.004)); break; case 1: - t.位置B = ロータ.X0Y1_ロータ.ToGlobal_nc(ロータ.X0Y1_ロータ.JP[1].Joint.AddY(0.004)); + t.位置B = ロータ.X0Y1_ロータ.ToGlobal_nc(ロータ.X0Y1_ロータ.GetJP()[1].Joint.AddY(0.004)); break; case 2: - t.位置B = ロータ.X0Y2_ロータ.ToGlobal_nc(ロータ.X0Y2_ロータ.JP[1].Joint.AddY(0.004)); + t.位置B = ロータ.X0Y2_ロータ.ToGlobal_nc(ロータ.X0Y2_ロータ.GetJP()[1].Joint.AddY(0.004)); break; case 3: - t.位置B = ロータ.X0Y3_ロータ.ToGlobal_nc(ロータ.X0Y3_ロータ.JP[0].Joint.AddY(0.004)); + t.位置B = ロータ.X0Y3_ロータ.ToGlobal_nc(ロータ.X0Y3_ロータ.GetJP()[0].Joint.AddY(0.004)); break; default: - t.位置B = ロータ.X0Y4_ロータ.ToGlobal_nc(ロータ.X0Y4_ロータ.JP[0].Joint.AddY(0.004)); + t.位置B = ロータ.X0Y4_ロータ.ToGlobal_nc(ロータ.X0Y4_ロータ.GetJP()[0].Joint.AddY(0.004)); break; } } @@ -514,19 +515,19 @@ namespace SlaveMatrix switch (コモン.Yi) { case 0: - t.位置B = コモン.X0Y0_ユニット_ユニット.ToGlobal_nc(コモン.X0Y0_ユニット_ユニット.JP[6].Joint); + t.位置B = コモン.X0Y0_ユニット_ユニット.ToGlobal_nc(コモン.X0Y0_ユニット_ユニット.GetJP()[6].Joint); break; case 1: - t.位置B = コモン.X0Y1_ユニット_ユニット.ToGlobal_nc(コモン.X0Y1_ユニット_ユニット.JP[6].Joint); + t.位置B = コモン.X0Y1_ユニット_ユニット.ToGlobal_nc(コモン.X0Y1_ユニット_ユニット.GetJP()[6].Joint); break; case 2: - t.位置B = コモン.X0Y2_ユニット_ユニット.ToGlobal_nc(コモン.X0Y2_ユニット_ユニット.JP[6].Joint); + t.位置B = コモン.X0Y2_ユニット_ユニット.ToGlobal_nc(コモン.X0Y2_ユニット_ユニット.GetJP()[6].Joint); break; case 3: - t.位置B = コモン.X0Y3_ユニット_ユニット.ToGlobal_nc(コモン.X0Y3_ユニット_ユニット.JP[6].Joint); + t.位置B = コモン.X0Y3_ユニット_ユニット.ToGlobal_nc(コモン.X0Y3_ユニット_ユニット.GetJP()[6].Joint); break; default: - t.位置B = コモン.X0Y4_ユニット_ユニット.ToGlobal_nc(コモン.X0Y4_ユニット_ユニット.JP[6].Joint); + t.位置B = コモン.X0Y4_ユニット_ユニット.ToGlobal_nc(コモン.X0Y4_ユニット_ユニット.GetJP()[6].Joint); break; } } @@ -536,19 +537,19 @@ namespace SlaveMatrix switch (ディル.Yi) { case 0: - t.位置B = ディル.X0Y0_ユニット_ユニット.ToGlobal_nc(ディル.X0Y0_ユニット_ユニット.JP[6].Joint); + t.位置B = ディル.X0Y0_ユニット_ユニット.ToGlobal_nc(ディル.X0Y0_ユニット_ユニット.GetJP()[6].Joint); break; case 1: - t.位置B = ディル.X0Y1_ユニット_ユニット.ToGlobal_nc(ディル.X0Y1_ユニット_ユニット.JP[6].Joint); + t.位置B = ディル.X0Y1_ユニット_ユニット.ToGlobal_nc(ディル.X0Y1_ユニット_ユニット.GetJP()[6].Joint); break; case 2: - t.位置B = ディル.X0Y2_ユニット_ユニット.ToGlobal_nc(ディル.X0Y2_ユニット_ユニット.JP[6].Joint); + t.位置B = ディル.X0Y2_ユニット_ユニット.ToGlobal_nc(ディル.X0Y2_ユニット_ユニット.GetJP()[6].Joint); break; case 3: - t.位置B = ディル.X0Y3_ユニット_ユニット.ToGlobal_nc(ディル.X0Y3_ユニット_ユニット.JP[6].Joint); + t.位置B = ディル.X0Y3_ユニット_ユニット.ToGlobal_nc(ディル.X0Y3_ユニット_ユニット.GetJP()[6].Joint); break; default: - t.位置B = ディル.X0Y4_ユニット_ユニット.ToGlobal_nc(ディル.X0Y4_ユニット_ユニット.JP[6].Joint); + t.位置B = ディル.X0Y4_ユニット_ユニット.ToGlobal_nc(ディル.X0Y4_ユニット_ユニット.GetJP()[6].Joint); break; } } @@ -558,19 +559,19 @@ namespace SlaveMatrix switch (アナル.Yi) { case 0: - t.位置B = アナル.X0Y0_ユニット_ユニット.ToGlobal_nc(アナル.X0Y0_ユニット_ユニット.JP[6].Joint); + t.位置B = アナル.X0Y0_ユニット_ユニット.ToGlobal_nc(アナル.X0Y0_ユニット_ユニット.GetJP()[6].Joint); break; case 1: - t.位置B = アナル.X0Y1_ユニット_ユニット.ToGlobal_nc(アナル.X0Y1_ユニット_ユニット.JP[6].Joint); + t.位置B = アナル.X0Y1_ユニット_ユニット.ToGlobal_nc(アナル.X0Y1_ユニット_ユニット.GetJP()[6].Joint); break; case 2: - t.位置B = アナル.X0Y2_ユニット_ユニット.ToGlobal_nc(アナル.X0Y2_ユニット_ユニット.JP[6].Joint); + t.位置B = アナル.X0Y2_ユニット_ユニット.ToGlobal_nc(アナル.X0Y2_ユニット_ユニット.GetJP()[6].Joint); break; case 3: - t.位置B = アナル.X0Y3_ユニット_ユニット.ToGlobal_nc(アナル.X0Y3_ユニット_ユニット.JP[6].Joint); + t.位置B = アナル.X0Y3_ユニット_ユニット.ToGlobal_nc(アナル.X0Y3_ユニット_ユニット.GetJP()[6].Joint); break; default: - t.位置B = アナル.X0Y4_ユニット_ユニット.ToGlobal_nc(アナル.X0Y4_ユニット_ユニット.JP[6].Joint); + t.位置B = アナル.X0Y4_ユニット_ユニット.ToGlobal_nc(アナル.X0Y4_ユニット_ユニット.GetJP()[6].Joint); break; } } @@ -580,19 +581,19 @@ namespace SlaveMatrix switch (デンマ.Yi) { case 0: - t.位置B = デンマ.X0Y0_ユニット_ユニット.ToGlobal_nc(デンマ.X0Y0_ユニット_ユニット.JP[6].Joint); + t.位置B = デンマ.X0Y0_ユニット_ユニット.ToGlobal_nc(デンマ.X0Y0_ユニット_ユニット.GetJP()[6].Joint); break; case 1: - t.位置B = デンマ.X0Y1_ユニット_ユニット.ToGlobal_nc(デンマ.X0Y1_ユニット_ユニット.JP[6].Joint); + t.位置B = デンマ.X0Y1_ユニット_ユニット.ToGlobal_nc(デンマ.X0Y1_ユニット_ユニット.GetJP()[6].Joint); break; case 2: - t.位置B = デンマ.X0Y2_ユニット_ユニット.ToGlobal_nc(デンマ.X0Y2_ユニット_ユニット.JP[6].Joint); + t.位置B = デンマ.X0Y2_ユニット_ユニット.ToGlobal_nc(デンマ.X0Y2_ユニット_ユニット.GetJP()[6].Joint); break; case 3: - t.位置B = デンマ.X0Y3_ユニット_ユニット.ToGlobal_nc(デンマ.X0Y3_ユニット_ユニット.JP[6].Joint); + t.位置B = デンマ.X0Y3_ユニット_ユニット.ToGlobal_nc(デンマ.X0Y3_ユニット_ユニット.GetJP()[6].Joint); break; default: - t.位置B = デンマ.X0Y4_ユニット_ユニット.ToGlobal_nc(デンマ.X0Y4_ユニット_ユニット.JP[6].Joint); + t.位置B = デンマ.X0Y4_ユニット_ユニット.ToGlobal_nc(デンマ.X0Y4_ユニット_ユニット.GetJP()[6].Joint); break; } } @@ -605,19 +606,19 @@ namespace SlaveMatrix switch (ドリル.Yi) { case 0: - t.位置B = ドリル.X0Y0_ユニット_ユニット.ToGlobal_nc(ドリル.X0Y0_ユニット_ユニット.JP[6].Joint); + t.位置B = ドリル.X0Y0_ユニット_ユニット.ToGlobal_nc(ドリル.X0Y0_ユニット_ユニット.GetJP()[6].Joint); break; case 1: - t.位置B = ドリル.X0Y1_ユニット_ユニット.ToGlobal_nc(ドリル.X0Y1_ユニット_ユニット.JP[6].Joint); + t.位置B = ドリル.X0Y1_ユニット_ユニット.ToGlobal_nc(ドリル.X0Y1_ユニット_ユニット.GetJP()[6].Joint); break; case 2: - t.位置B = ドリル.X0Y2_ユニット_ユニット.ToGlobal_nc(ドリル.X0Y2_ユニット_ユニット.JP[6].Joint); + t.位置B = ドリル.X0Y2_ユニット_ユニット.ToGlobal_nc(ドリル.X0Y2_ユニット_ユニット.GetJP()[6].Joint); break; case 3: - t.位置B = ドリル.X0Y3_ユニット_ユニット.ToGlobal_nc(ドリル.X0Y3_ユニット_ユニット.JP[6].Joint); + t.位置B = ドリル.X0Y3_ユニット_ユニット.ToGlobal_nc(ドリル.X0Y3_ユニット_ユニット.GetJP()[6].Joint); break; default: - t.位置B = ドリル.X0Y4_ユニット_ユニット.ToGlobal_nc(ドリル.X0Y4_ユニット_ユニット.JP[6].Joint); + t.位置B = ドリル.X0Y4_ユニット_ユニット.ToGlobal_nc(ドリル.X0Y4_ユニット_ユニット.GetJP()[6].Joint); break; } break; @@ -625,19 +626,19 @@ namespace SlaveMatrix switch (ドリル.Yi) { case 0: - t.位置B = ドリル.X1Y0_ユニット_ユニット.ToGlobal_nc(ドリル.X1Y0_ユニット_ユニット.JP[6].Joint); + t.位置B = ドリル.X1Y0_ユニット_ユニット.ToGlobal_nc(ドリル.X1Y0_ユニット_ユニット.GetJP()[6].Joint); break; case 1: - t.位置B = ドリル.X1Y1_ユニット_ユニット.ToGlobal_nc(ドリル.X1Y1_ユニット_ユニット.JP[6].Joint); + t.位置B = ドリル.X1Y1_ユニット_ユニット.ToGlobal_nc(ドリル.X1Y1_ユニット_ユニット.GetJP()[6].Joint); break; case 2: - t.位置B = ドリル.X1Y2_ユニット_ユニット.ToGlobal_nc(ドリル.X1Y2_ユニット_ユニット.JP[6].Joint); + t.位置B = ドリル.X1Y2_ユニット_ユニット.ToGlobal_nc(ドリル.X1Y2_ユニット_ユニット.GetJP()[6].Joint); break; case 3: - t.位置B = ドリル.X1Y3_ユニット_ユニット.ToGlobal_nc(ドリル.X1Y3_ユニット_ユニット.JP[6].Joint); + t.位置B = ドリル.X1Y3_ユニット_ユニット.ToGlobal_nc(ドリル.X1Y3_ユニット_ユニット.GetJP()[6].Joint); break; default: - t.位置B = ドリル.X1Y4_ユニット_ユニット.ToGlobal_nc(ドリル.X1Y4_ユニット_ユニット.JP[6].Joint); + t.位置B = ドリル.X1Y4_ユニット_ユニット.ToGlobal_nc(ドリル.X1Y4_ユニット_ユニット.GetJP()[6].Joint); break; } break; @@ -645,19 +646,19 @@ namespace SlaveMatrix switch (ドリル.Yi) { case 0: - t.位置B = ドリル.X2Y0_ユニット_ユニット.ToGlobal_nc(ドリル.X2Y0_ユニット_ユニット.JP[6].Joint); + t.位置B = ドリル.X2Y0_ユニット_ユニット.ToGlobal_nc(ドリル.X2Y0_ユニット_ユニット.GetJP()[6].Joint); break; case 1: - t.位置B = ドリル.X2Y1_ユニット_ユニット.ToGlobal_nc(ドリル.X2Y1_ユニット_ユニット.JP[6].Joint); + t.位置B = ドリル.X2Y1_ユニット_ユニット.ToGlobal_nc(ドリル.X2Y1_ユニット_ユニット.GetJP()[6].Joint); break; case 2: - t.位置B = ドリル.X2Y2_ユニット_ユニット.ToGlobal_nc(ドリル.X2Y2_ユニット_ユニット.JP[6].Joint); + t.位置B = ドリル.X2Y2_ユニット_ユニット.ToGlobal_nc(ドリル.X2Y2_ユニット_ユニット.GetJP()[6].Joint); break; case 3: - t.位置B = ドリル.X2Y3_ユニット_ユニット.ToGlobal_nc(ドリル.X2Y3_ユニット_ユニット.JP[6].Joint); + t.位置B = ドリル.X2Y3_ユニット_ユニット.ToGlobal_nc(ドリル.X2Y3_ユニット_ユニット.GetJP()[6].Joint); break; default: - t.位置B = ドリル.X2Y4_ユニット_ユニット.ToGlobal_nc(ドリル.X2Y4_ユニット_ユニット.JP[6].Joint); + t.位置B = ドリル.X2Y4_ユニット_ユニット.ToGlobal_nc(ドリル.X2Y4_ユニット_ユニット.GetJP()[6].Joint); break; } break; @@ -669,63 +670,63 @@ namespace SlaveMatrix switch (パール.Yi) { case 0: - t.位置B = パール.X0Y0_輪下.ToGlobal_nc(パール.X0Y0_輪下.JP[0].Joint); + t.位置B = パール.X0Y0_輪下.ToGlobal_nc(パール.X0Y0_輪下.GetJP()[0].Joint); break; case 1: - t.位置B = パール.X0Y1_輪下.ToGlobal_nc(パール.X0Y1_輪下.JP[0].Joint); + t.位置B = パール.X0Y1_輪下.ToGlobal_nc(パール.X0Y1_輪下.GetJP()[0].Joint); break; case 2: - t.位置B = パール.X0Y2_輪下.ToGlobal_nc(パール.X0Y2_輪下.JP[0].Joint); + t.位置B = パール.X0Y2_輪下.ToGlobal_nc(パール.X0Y2_輪下.GetJP()[0].Joint); break; case 3: - t.位置B = パール.X0Y3_輪下.ToGlobal_nc(パール.X0Y3_輪下.JP[0].Joint); + t.位置B = パール.X0Y3_輪下.ToGlobal_nc(パール.X0Y3_輪下.GetJP()[0].Joint); break; case 4: - t.位置B = パール.X0Y4_輪下.ToGlobal_nc(パール.X0Y4_輪下.JP[0].Joint); + t.位置B = パール.X0Y4_輪下.ToGlobal_nc(パール.X0Y4_輪下.GetJP()[0].Joint); break; case 5: - t.位置B = パール.X0Y5_輪下.ToGlobal_nc(パール.X0Y5_輪下.JP[0].Joint); + t.位置B = パール.X0Y5_輪下.ToGlobal_nc(パール.X0Y5_輪下.GetJP()[0].Joint); break; case 6: - t.位置B = パール.X0Y6_輪下.ToGlobal_nc(パール.X0Y6_輪下.JP[0].Joint); + t.位置B = パール.X0Y6_輪下.ToGlobal_nc(パール.X0Y6_輪下.GetJP()[0].Joint); break; case 7: - t.位置B = パール.X0Y7_輪下.ToGlobal_nc(パール.X0Y7_輪下.JP[0].Joint); + t.位置B = パール.X0Y7_輪下.ToGlobal_nc(パール.X0Y7_輪下.GetJP()[0].Joint); break; case 8: - t.位置B = パール.X0Y8_輪下.ToGlobal_nc(パール.X0Y8_輪下.JP[0].Joint); + t.位置B = パール.X0Y8_輪下.ToGlobal_nc(パール.X0Y8_輪下.GetJP()[0].Joint); break; case 9: - t.位置B = パール.X0Y9_輪下.ToGlobal_nc(パール.X0Y9_輪下.JP[0].Joint); + t.位置B = パール.X0Y9_輪下.ToGlobal_nc(パール.X0Y9_輪下.GetJP()[0].Joint); break; case 10: - t.位置B = パール.X0Y10_輪下.ToGlobal_nc(パール.X0Y10_輪下.JP[0].Joint); + t.位置B = パール.X0Y10_輪下.ToGlobal_nc(パール.X0Y10_輪下.GetJP()[0].Joint); break; case 11: - t.位置B = パール.X0Y11_輪下.ToGlobal_nc(パール.X0Y11_輪下.JP[0].Joint); + t.位置B = パール.X0Y11_輪下.ToGlobal_nc(パール.X0Y11_輪下.GetJP()[0].Joint); break; case 12: - t.位置B = パール.X0Y12_輪下.ToGlobal_nc(パール.X0Y12_輪下.JP[0].Joint); + t.位置B = パール.X0Y12_輪下.ToGlobal_nc(パール.X0Y12_輪下.GetJP()[0].Joint); break; case 13: - t.位置B = パール.X0Y13_輪下.ToGlobal_nc(パール.X0Y13_輪下.JP[0].Joint); + t.位置B = パール.X0Y13_輪下.ToGlobal_nc(パール.X0Y13_輪下.GetJP()[0].Joint); break; case 14: - t.位置B = パール.X0Y14_輪下.ToGlobal_nc(パール.X0Y14_輪下.JP[0].Joint); + t.位置B = パール.X0Y14_輪下.ToGlobal_nc(パール.X0Y14_輪下.GetJP()[0].Joint); break; case 15: - t.位置B = パール.X0Y15_輪下.ToGlobal_nc(パール.X0Y15_輪下.JP[0].Joint); + t.位置B = パール.X0Y15_輪下.ToGlobal_nc(パール.X0Y15_輪下.GetJP()[0].Joint); break; default: - t.位置B = パール.X0Y16_輪下.ToGlobal_nc(パール.X0Y16_輪下.JP[0].Joint); + t.位置B = パール.X0Y16_輪下.ToGlobal_nc(パール.X0Y16_輪下.GetJP()[0].Joint); break; } } private void Set_羽根箒(Ele t) { - t.位置B = 羽根箒.X0Y0_柄.ToGlobal_nc(羽根箒.X0Y0_柄.JP[1].Joint); - t.角度C = 羽根箒.X0Y0_柄.Angle; + t.位置B = 羽根箒.X0Y0_柄.ToGlobal_nc(羽根箒.X0Y0_柄.GetJP()[1].Joint); + t.角度C = 羽根箒.X0Y0_柄.GetAngle(); } private void Set_調教鞭(Ele t) @@ -736,83 +737,83 @@ namespace SlaveMatrix switch (調教鞭.Yi) { case 0: - t.位置B = 調教鞭.X0Y0_柄.ToGlobal_nc(調教鞭.X0Y0_柄.JP[1].Joint); - t.角度C = 調教鞭.X0Y0_柄.Angle; + t.位置B = 調教鞭.X0Y0_柄.ToGlobal_nc(調教鞭.X0Y0_柄.GetJP()[1].Joint); + t.角度C = 調教鞭.X0Y0_柄.GetAngle(); break; case 1: - t.位置B = 調教鞭.X0Y1_柄.ToGlobal_nc(調教鞭.X0Y1_柄.JP[1].Joint); - t.角度C = 調教鞭.X0Y1_柄.Angle; + t.位置B = 調教鞭.X0Y1_柄.ToGlobal_nc(調教鞭.X0Y1_柄.GetJP()[1].Joint); + t.角度C = 調教鞭.X0Y1_柄.GetAngle(); break; case 2: - t.位置B = 調教鞭.X0Y2_柄.ToGlobal_nc(調教鞭.X0Y2_柄.JP[1].Joint); - t.角度C = 調教鞭.X0Y2_柄.Angle; + t.位置B = 調教鞭.X0Y2_柄.ToGlobal_nc(調教鞭.X0Y2_柄.GetJP()[1].Joint); + t.角度C = 調教鞭.X0Y2_柄.GetAngle(); break; case 3: - t.位置B = 調教鞭.X0Y3_柄.ToGlobal_nc(調教鞭.X0Y3_柄.JP[1].Joint); - t.角度C = 調教鞭.X0Y3_柄.Angle; + t.位置B = 調教鞭.X0Y3_柄.ToGlobal_nc(調教鞭.X0Y3_柄.GetJP()[1].Joint); + t.角度C = 調教鞭.X0Y3_柄.GetAngle(); break; default: - t.位置B = 調教鞭.X0Y4_柄.ToGlobal_nc(調教鞭.X0Y4_柄.JP[1].Joint); - t.角度C = 調教鞭.X0Y4_柄.Angle; + t.位置B = 調教鞭.X0Y4_柄.ToGlobal_nc(調教鞭.X0Y4_柄.GetJP()[1].Joint); + t.角度C = 調教鞭.X0Y4_柄.GetAngle(); break; } } else if (調教鞭.Yi == 0) { - t.位置B = 調教鞭.X1Y0_柄.ToGlobal_nc(調教鞭.X1Y0_柄.JP[1].Joint); - t.角度C = (double)((調教鞭.Xi != 0) ? num : 0) + 調教鞭.X0Y0_柄.Angle; + t.位置B = 調教鞭.X1Y0_柄.ToGlobal_nc(調教鞭.X1Y0_柄.GetJP()[1].Joint); + t.角度C = (double)((調教鞭.Xi != 0) ? num : 0) + 調教鞭.X0Y0_柄.GetAngle(); } else { - t.位置B = 調教鞭.X1Y4_柄.ToGlobal_nc(調教鞭.X1Y4_柄.JP[1].Joint); - t.角度C = (double)((調教鞭.Xi != 0) ? (-num) : 0) + 調教鞭.X0Y4_柄.Angle; + t.位置B = 調教鞭.X1Y4_柄.ToGlobal_nc(調教鞭.X1Y4_柄.GetJP()[1].Joint); + t.角度C = (double)((調教鞭.Xi != 0) ? (-num) : 0) + 調教鞭.X0Y4_柄.GetAngle(); } } private void Set_T剃刀(Ele t) { - t.位置B = T剃刀.X0Y0_グリップ_グリップ4.ToGlobal_nc(T剃刀.X0Y0_グリップ_グリップ4.JP[0].Joint); - t.角度C = T剃刀.X0Y0_グリップ_グリップ4.Angle; + t.位置B = T剃刀.X0Y0_グリップ_グリップ4.ToGlobal_nc(T剃刀.X0Y0_グリップ_グリップ4.GetJP()[0].Joint); + t.角度C = T剃刀.X0Y0_グリップ_グリップ4.GetAngle(); } public void Set_キャップ1(Ele t) { - t.位置B = キャップ1.X0Y0_先端.ToGlobal_nc(キャップ1.X0Y0_先端.JP[0].Joint); + t.位置B = キャップ1.X0Y0_先端.ToGlobal_nc(キャップ1.X0Y0_先端.GetJP()[0].Joint); } public void Set_キャップ2(Ele t) { - t.位置B = キャップ2.X0Y0_先端.ToGlobal_nc(キャップ2.X0Y0_先端.JP[0].Joint); + t.位置B = キャップ2.X0Y0_先端.ToGlobal_nc(キャップ2.X0Y0_先端.GetJP()[0].Joint); } public void Set_キャップ3(Ele t) { - t.位置B = キャップ3.X0Y0_先端.ToGlobal_nc(キャップ3.X0Y0_先端.JP[0].Joint); + t.位置B = キャップ3.X0Y0_先端.ToGlobal_nc(キャップ3.X0Y0_先端.GetJP()[0].Joint); } public void Set_キャップ左(Ele t) { キャップ2 キャップ2左 = Bod.キャップ2左; - t.位置B = キャップ2左.X0Y0_先端.ToGlobal_nc(キャップ2左.X0Y0_先端.JP[0].Joint); + t.位置B = キャップ2左.X0Y0_先端.ToGlobal_nc(キャップ2左.X0Y0_先端.GetJP()[0].Joint); } public void Set_キャップ右(Ele t) { キャップ2 キャップ2右 = Bod.キャップ2右; - t.位置B = キャップ2右.X0Y0_先端.ToGlobal_nc(キャップ2右.X0Y0_先端.JP[0].Joint); + t.位置B = キャップ2右.X0Y0_先端.ToGlobal_nc(キャップ2右.X0Y0_先端.GetJP()[0].Joint); } public void Set_キャップ中(Ele t) { キャップ1 キャップ3 = Bod.キャップ1; - t.位置B = キャップ3.X0Y0_先端.ToGlobal_nc(キャップ3.X0Y0_先端.JP[0].Joint); + t.位置B = キャップ3.X0Y0_先端.ToGlobal_nc(キャップ3.X0Y0_先端.GetJP()[0].Joint); } public void Set_口(Ele t) { - Par par = Bod.口.Body.Current.EnumAllPar().First((Par e) => e.Tag == "口"); + Par par = Bod.口.Body.GetCurrent().EnumAllPar().First((Par e) => e.Tag == "口"); Bod.口.接続PA(); - t.位置B = par.Position; + t.位置B = par.GetPosition(); } public void Set_乳首(Ele t, bool 右) @@ -822,19 +823,19 @@ namespace SlaveMatrix switch (乳房2.Yi) { case 0: - t.位置B = 乳房2.X0Y0_乳首.ToGlobal_nc(乳房2.X0Y0_乳首.JP[0].Joint); + t.位置B = 乳房2.X0Y0_乳首.ToGlobal_nc(乳房2.X0Y0_乳首.GetJP()[0].Joint); break; case 1: - t.位置B = 乳房2.X0Y1_乳首.ToGlobal_nc(乳房2.X0Y1_乳首.JP[0].Joint); + t.位置B = 乳房2.X0Y1_乳首.ToGlobal_nc(乳房2.X0Y1_乳首.GetJP()[0].Joint); break; case 2: - t.位置B = 乳房2.X0Y2_乳首.ToGlobal_nc(乳房2.X0Y2_乳首.JP[0].Joint); + t.位置B = 乳房2.X0Y2_乳首.ToGlobal_nc(乳房2.X0Y2_乳首.GetJP()[0].Joint); break; case 3: - t.位置B = 乳房2.X0Y3_乳首.ToGlobal_nc(乳房2.X0Y3_乳首.JP[0].Joint); + t.位置B = 乳房2.X0Y3_乳首.ToGlobal_nc(乳房2.X0Y3_乳首.GetJP()[0].Joint); break; default: - t.位置B = 乳房2.X0Y4_乳首.ToGlobal_nc(乳房2.X0Y4_乳首.JP[0].Joint); + t.位置B = 乳房2.X0Y4_乳首.ToGlobal_nc(乳房2.X0Y4_乳首.GetJP()[0].Joint); break; } } @@ -846,35 +847,35 @@ namespace SlaveMatrix switch (乳房2.Yi) { case 0: - t.位置B = 乳房2.X0Y0_乳房.ToGlobal_nc(乳房2.X0Y0_乳房.OP.GetCenter()); + t.位置B = 乳房2.X0Y0_乳房.ToGlobal_nc(乳房2.X0Y0_乳房.GetOP().GetCenter()); break; case 1: - t.位置B = 乳房2.X0Y1_乳房.ToGlobal_nc(乳房2.X0Y1_乳房.OP.GetCenter()); + t.位置B = 乳房2.X0Y1_乳房.ToGlobal_nc(乳房2.X0Y1_乳房.GetOP().GetCenter()); break; case 2: - t.位置B = 乳房2.X0Y2_乳房.ToGlobal_nc(乳房2.X0Y2_乳房.OP.GetCenter()); + t.位置B = 乳房2.X0Y2_乳房.ToGlobal_nc(乳房2.X0Y2_乳房.GetOP().GetCenter()); break; case 3: - t.位置B = 乳房2.X0Y3_乳房.ToGlobal_nc(乳房2.X0Y3_乳房.OP.GetCenter()); + t.位置B = 乳房2.X0Y3_乳房.ToGlobal_nc(乳房2.X0Y3_乳房.GetOP().GetCenter()); break; default: - t.位置B = 乳房2.X0Y4_乳房.ToGlobal_nc(乳房2.X0Y4_乳房.OP.GetCenter()); + t.位置B = 乳房2.X0Y4_乳房.ToGlobal_nc(乳房2.X0Y4_乳房.GetOP().GetCenter()); break; } } public void Set_陰核(Ele t) { - Par par = Bod.性器.Body.Current.EnumAllPar().First((Par e) => e.Tag == "陰核"); + Par par = Bod.性器.Body.GetCurrent().EnumAllPar().First((Par e) => e.Tag == "陰核"); Bod.性器.接続PA(); - t.位置B = par.Position; + t.位置B = par.GetPosition(); } public void Set_膣口(Ele t) { - Par par = Bod.性器.Body.Current.EnumAllPar().First((Par e) => e.Tag == "膣口"); + Par par = Bod.性器.Body.GetCurrent().EnumAllPar().First((Par e) => e.Tag == "膣口"); Bod.性器.接続PA(); - t.位置B = par.Position; + t.位置B = par.GetPosition(); } public void Set_肛門(Ele t) @@ -886,20 +887,20 @@ namespace SlaveMatrix public void Set_出糸(Ele t) { Bod.蜘尾.接続PA(); - t.位置B = Bod.蜘尾.X0Y0_出糸突起後_出糸突起基.Position; + t.位置B = Bod.蜘尾.X0Y0_出糸突起後_出糸突起基.GetPosition(); } public void Set_くぱぁ(Ele t, bool 右) { - Par par = (Bod.Is獣 ? Bod.Waist_獣.Body.Current.EnumAllPar().First((Par e) => e.Tag == "股") : Bod.Waist.Body.Current.EnumAllPar().First((Par e) => e.Tag == "股")); + Par par = (Bod.Is獣 ? Bod.Waist_獣.Body.GetCurrent().EnumAllPar().First((Par e) => e.Tag == "股") : Bod.Waist.Body.GetCurrent().EnumAllPar().First((Par e) => e.Tag == "股")); Bod.Waist.接続PA(); if (右) { - t.位置B = par.Position.AddXY(0.018, 0.002); + t.位置B = par.GetPosition().AddXY(0.018, 0.002); } else { - t.位置B = par.Position.AddXY(-0.018, 0.002); + t.位置B = par.GetPosition().AddXY(-0.018, 0.002); } } @@ -1865,35 +1866,35 @@ namespace SlaveMatrix { ip.SubInfoIm = ((hcm == ペニスCM || hcm == マウスCM || hcm == ハンド右CM) ? ("LCl:" + GameText.選択) : ("LCl:" + GameText.持つ)); } - if (拘束具.Pars.Values.First().ToPar().HitColor == hc) + if (拘束具.Pars.Values.First().ToPar().GetHitColor() == hc) { ip.SubInfoIm = GameText.拘束状態を切換えます; } - if (目隠帯.Pars.Values.First().ToPar().HitColor == hc) + if (目隠帯.Pars.Values.First().ToPar().GetHitColor() == hc) { ip.SubInfoIm = GameText.目隠状態を切換えます; } - if (玉口枷.Pars.Values.First().ToPar().HitColor == hc) + if (玉口枷.Pars.Values.First().ToPar().GetHitColor() == hc) { ip.SubInfoIm = GameText.口枷状態を切換えます; } - if (断面.Pars.Values.First().ToPar().HitColor == hc) + if (断面.Pars.Values.First().ToPar().GetHitColor() == hc) { ip.SubInfoIm = GameText.断面表示を切換えます; } - if (媚薬.Pars.Values.First().ToPar().HitColor == hc) + if (媚薬.Pars.Values.First().ToPar().GetHitColor() == hc) { ip.SubInfoIm = GameText.発情状態になります + "(-" + 媚薬投与価格.ToString("#,0") + ")"; } - if (SlaveStamina.Pars.Values.First().ToPar().HitColor == hc) + if (SlaveStamina.Pars.Values.First().ToPar().GetHitColor() == hc) { ip.SubInfoIm = "Reset slave's stamina"; } - if (PlayerStamina.Pars.Values.First().ToPar().HitColor == hc) + if (PlayerStamina.Pars.Values.First().ToPar().GetHitColor() == hc) { ip.SubInfoIm = "Reset player's stamina"; } - if (撮影.Pars.Values.First().ToPar().HitColor == hc && ip.SubInfoIm != GameText.撮影しました + "\r\n" + GameText.写真はPhotoフォルダに保存されます) + if (撮影.Pars.Values.First().ToPar().GetHitColor() == hc && ip.SubInfoIm != GameText.撮影しました + "\r\n" + GameText.写真はPhotoフォルダに保存されます) { ip.SubInfoIm = GameText.撮影を行います; } @@ -2161,38 +2162,38 @@ namespace SlaveMatrix 射精.SetHitFalse(); ParT parT = new ParT(); parT.Text = GameText.調教終了; - parT.SizeBase = 0.095; - parT.Font = new Font("MS Gothic", 1f); - parT.FontSize = 0.07; + parT.SetSizeBase(0.095); + parT.SetFont(new Font("MS Gothic", 1f)); + parT.SetFontSize(0.07); parT.SetStringRectOutline(Are.UnitScale, Are.DisplayGraphics); - parT.RectSize = new Vector2D(parT.OP[0].ps[1].X, parT.OP[0].ps[2].Y); - parT.OP.ScalingY(parT.BasePointBase, 0.9); - parT.Closed = true; - parT.TextColor = Col.Black; - parT.BrushColor = Color.FromArgb(160, Col.Black); - parT.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT.HitColor = Med.GetUniqueColor(); - parT.StringFormat.Alignment = StringAlignment.Center; - parT.StringFormat.LineAlignment = StringAlignment.Center; - parT.PositionBase = Are.GetPosition(1.0 - (parT.OP[0].ps[1].X * parT.SizeBase / Are.LocalWidth + 0.005), 1.0 - parT.OP[0].ps[2].Y * parT.SizeBase / Are.LocalHeight).AddY(-0.001); - parT.PositionBase = new Vector2D(ip.SubB.PositionBase.X, parT.PositionBase.Y); + parT.SetRectSize(new Vector2D(parT.GetOP()[0].ps[1].X, parT.GetOP()[0].ps[2].Y)); + parT.GetOP().ScalingY(parT.GetBasePointBase(), 0.9); + parT.SetClosed(true); + parT.SetTextColor(Col.Black); + parT.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT.SetHitColor(Med.GetUniqueColor()); + parT.GetStringFormat().Alignment = StringAlignment.Center; + parT.GetStringFormat().LineAlignment = StringAlignment.Center; + parT.SetPositionBase(Are.GetPosition(1.0 - (parT.GetOP()[0].ps[1].X * parT.GetSizeBase() / Are.LocalWidth + 0.005), 1.0 - parT.GetOP()[0].ps[2].Y * parT.GetSizeBase() / Are.LocalHeight).AddY(-0.001)); + parT.SetPositionBase(new Vector2D(ip.SubB.GetPositionBase().X, parT.GetPositionBase().Y)); 調教終了 = new But1(parT, null); ParT parT2 = new ParT(); parT2.Text = GameText.拘束; - parT2.SizeBase = 0.095; - parT2.Font = new Font("MS Gothic", 1f); - parT2.FontSize = 0.07; + parT2.SetSizeBase(0.095); + parT2.SetFont(new Font("MS Gothic", 1f)); + parT2.SetFontSize(0.07); parT2.SetStringRectOutline(Are.UnitScale, Are.DisplayGraphics); - parT2.RectSize = new Vector2D(parT2.OP[0].ps[1].X, parT2.OP[0].ps[2].Y); - parT2.OP.ScalingY(parT2.BasePointBase, 0.9); - parT2.Closed = true; - parT2.TextColor = Col.Black; - parT2.BrushColor = Color.FromArgb(160, Col.Black); - parT2.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT2.HitColor = Med.GetUniqueColor(); - parT2.StringFormat.Alignment = StringAlignment.Center; - parT2.StringFormat.LineAlignment = StringAlignment.Center; - parT2.PositionBase = Are.GetPosition(0.08, 0.7); + parT2.SetRectSize(new Vector2D(parT2.GetOP()[0].ps[1].X, parT2.GetOP()[0].ps[2].Y)); + parT2.GetOP().ScalingY(parT2.GetBasePointBase(), 0.9); + parT2.SetClosed(true); + parT2.SetTextColor(Col.Black); + parT2.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT2.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT2.SetHitColor(Med.GetUniqueColor()); + parT2.GetStringFormat().Alignment = StringAlignment.Center; + parT2.GetStringFormat().LineAlignment = StringAlignment.Center; + parT2.SetPositionBase(Are.GetPosition(0.08, 0.7)); 拘束具 = new But1(parT2, delegate(But a) { if (調教UI2.拘束具sw.Flag) @@ -2211,20 +2212,20 @@ namespace SlaveMatrix }); ParT parT3 = new ParT(); parT3.Text = GameText.目隠; - parT3.SizeBase = 0.095; - parT3.Font = new Font("MS Gothic", 1f); - parT3.FontSize = 0.07; + parT3.SetSizeBase(0.095); + parT3.SetFont(new Font("MS Gothic", 1f)); + parT3.SetFontSize(0.07); parT3.SetStringRectOutline(Are.UnitScale, Are.DisplayGraphics); - parT3.RectSize = new Vector2D(parT3.OP[0].ps[1].X, parT3.OP[0].ps[2].Y); - parT3.OP.ScalingY(parT3.BasePointBase, 0.9); - parT3.Closed = true; - parT3.TextColor = Col.Black; - parT3.BrushColor = Color.FromArgb(160, Col.Black); - parT3.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT3.HitColor = Med.GetUniqueColor(); - parT3.StringFormat.Alignment = StringAlignment.Center; - parT3.StringFormat.LineAlignment = StringAlignment.Center; - parT3.PositionBase = parT2.PositionBase.AddY(0.015); + parT3.SetRectSize(new Vector2D(parT3.GetOP()[0].ps[1].X, parT3.GetOP()[0].ps[2].Y)); + parT3.GetOP().ScalingY(parT3.GetBasePointBase(), 0.9); + parT3.SetClosed(true); + parT3.SetTextColor(Col.Black); + parT3.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT3.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT3.SetHitColor(Med.GetUniqueColor()); + parT3.GetStringFormat().Alignment = StringAlignment.Center; + parT3.GetStringFormat().LineAlignment = StringAlignment.Center; + parT3.SetPositionBase(parT2.GetPositionBase().AddY(0.015)); 目隠帯 = new But1(parT3, delegate(But a) { 調教UI2.目隠帯sw.OnOff(a); @@ -2234,20 +2235,20 @@ namespace SlaveMatrix }); ParT parT4 = new ParT(); parT4.Text = GameText.口枷; - parT4.SizeBase = 0.095; - parT4.Font = new Font("MS Gothic", 1f); - parT4.FontSize = 0.07; + parT4.SetSizeBase(0.095); + parT4.SetFont(new Font("MS Gothic", 1f)); + parT4.SetFontSize(0.07); parT4.SetStringRectOutline(Are.UnitScale, Are.DisplayGraphics); - parT4.RectSize = new Vector2D(parT4.OP[0].ps[1].X, parT4.OP[0].ps[2].Y); - parT4.OP.ScalingY(parT4.BasePointBase, 0.9); - parT4.Closed = true; - parT4.TextColor = Col.Black; - parT4.BrushColor = Color.FromArgb(160, Col.Black); - parT4.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT4.HitColor = Med.GetUniqueColor(); - parT4.StringFormat.Alignment = StringAlignment.Center; - parT4.StringFormat.LineAlignment = StringAlignment.Center; - parT4.PositionBase = parT3.PositionBase.AddY(0.015); + parT4.SetRectSize(new Vector2D(parT4.GetOP()[0].ps[1].X, parT4.GetOP()[0].ps[2].Y)); + parT4.GetOP().ScalingY(parT4.GetBasePointBase(), 0.9); + parT4.SetClosed(true); + parT4.SetTextColor(Col.Black); + parT4.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT4.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT4.SetHitColor(Med.GetUniqueColor()); + parT4.GetStringFormat().Alignment = StringAlignment.Center; + parT4.GetStringFormat().LineAlignment = StringAlignment.Center; + parT4.SetPositionBase(parT3.GetPositionBase().AddY(0.015)); 玉口枷 = new But1(parT4, delegate(But a) { 調教UI2.玉口枷sw.OnOff(a); @@ -2257,20 +2258,20 @@ namespace SlaveMatrix }); ParT parT5 = new ParT(); parT5.Text = GameText.断面; - parT5.SizeBase = 0.095; - parT5.Font = new Font("MS Gothic", 1f); - parT5.FontSize = 0.07; + parT5.SetSizeBase(0.095); + parT5.SetFont(new Font("MS Gothic", 1f)); + parT5.SetFontSize(0.07); parT5.SetStringRectOutline(Are.UnitScale, Are.DisplayGraphics); - parT5.RectSize = new Vector2D(parT5.OP[0].ps[1].X, parT5.OP[0].ps[2].Y); - parT5.OP.ScalingY(parT5.BasePointBase, 0.9); - parT5.Closed = true; - parT5.TextColor = Col.Black; - parT5.BrushColor = Color.FromArgb(160, Col.Black); - parT5.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT5.HitColor = Med.GetUniqueColor(); - parT5.StringFormat.Alignment = StringAlignment.Center; - parT5.StringFormat.LineAlignment = StringAlignment.Center; - parT5.PositionBase = parT4.PositionBase.AddY(0.015); + parT5.SetRectSize(new Vector2D(parT5.GetOP()[0].ps[1].X, parT5.GetOP()[0].ps[2].Y)); + parT5.GetOP().ScalingY(parT5.GetBasePointBase(), 0.9); + parT5.SetClosed(true); + parT5.SetTextColor(Col.Black); + parT5.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT5.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT5.SetHitColor(Med.GetUniqueColor()); + parT5.GetStringFormat().Alignment = StringAlignment.Center; + parT5.GetStringFormat().LineAlignment = StringAlignment.Center; + parT5.SetPositionBase(parT4.GetPositionBase().AddY(0.015)); 断面 = new But1(parT5, delegate(But a) { double v = 0.0; @@ -2363,20 +2364,20 @@ namespace SlaveMatrix }); ParT parT6 = new ParT(); parT6.Text = GameText.媚薬; - parT6.SizeBase = 0.095; - parT6.Font = new Font("MS Gothic", 1f); - parT6.FontSize = 0.07; + parT6.SetSizeBase(0.095); + parT6.SetFont(new Font("MS Gothic", 1f)); + parT6.SetFontSize(0.07); parT6.SetStringRectOutline(Are.UnitScale, Are.DisplayGraphics); - parT6.RectSize = new Vector2D(parT6.OP[0].ps[1].X, parT6.OP[0].ps[2].Y); - parT6.OP.ScalingY(parT6.BasePointBase, 0.9); - parT6.Closed = true; - parT6.TextColor = Col.Black; - parT6.BrushColor = Color.FromArgb(160, Col.Black); - parT6.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT6.HitColor = Med.GetUniqueColor(); - parT6.StringFormat.Alignment = StringAlignment.Center; - parT6.StringFormat.LineAlignment = StringAlignment.Center; - parT6.PositionBase = parT5.PositionBase.AddY(0.015); + parT6.SetRectSize(new Vector2D(parT6.GetOP()[0].ps[1].X, parT6.GetOP()[0].ps[2].Y)); + parT6.GetOP().ScalingY(parT6.GetBasePointBase(), 0.9); + parT6.SetClosed(true); + parT6.SetTextColor(Col.Black); + parT6.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT6.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT6.SetHitColor(Med.GetUniqueColor()); + parT6.GetStringFormat().Alignment = StringAlignment.Center; + parT6.GetStringFormat().LineAlignment = StringAlignment.Center; + parT6.SetPositionBase(parT5.GetPositionBase().AddY(0.015)); 媚薬 = new But1(parT6, delegate { if (Sta.GameData.所持金 < 調教UI2.媚薬投与価格) @@ -2398,20 +2399,20 @@ namespace SlaveMatrix StaminaButtons(Are, Med, ip); ParT parT7 = new ParT(); parT7.Text = GameText.撮影; - parT7.SizeBase = 0.095; - parT7.Font = new Font("MS Gothic", 1f); - parT7.FontSize = 0.07; + parT7.SetSizeBase(0.095); + parT7.SetFont(new Font("MS Gothic", 1f)); + parT7.SetFontSize(0.07); parT7.SetStringRectOutline(Are.UnitScale, Are.DisplayGraphics); - parT7.RectSize = new Vector2D(parT7.OP[0].ps[1].X, parT7.OP[0].ps[2].Y); - parT7.OP.ScalingY(parT7.BasePointBase, 0.9); - parT7.Closed = true; - parT7.TextColor = Col.Black; - parT7.BrushColor = Color.FromArgb(160, Col.Black); - parT7.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT7.HitColor = Med.GetUniqueColor(); - parT7.StringFormat.Alignment = StringAlignment.Center; - parT7.StringFormat.LineAlignment = StringAlignment.Center; - parT7.PositionBase = parT6.PositionBase.AddY(0.015); + parT7.SetRectSize(new Vector2D(parT7.GetOP()[0].ps[1].X, parT7.GetOP()[0].ps[2].Y)); + parT7.GetOP().ScalingY(parT7.GetBasePointBase(), 0.9); + parT7.SetClosed(true); + parT7.SetTextColor(Col.Black); + parT7.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT7.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT7.SetHitColor(Med.GetUniqueColor()); + parT7.GetStringFormat().Alignment = StringAlignment.Center; + parT7.GetStringFormat().LineAlignment = StringAlignment.Center; + parT7.SetPositionBase(parT6.GetPositionBase().AddY(0.015)); string Path = "Photo"; Film = new RenderArea(Med, Hit: false); 撮影 = new But1(parT7, delegate @@ -2469,50 +2470,50 @@ namespace SlaveMatrix }); int alpha = 200; 体力sゲージ = new Gau("体力", Are.GetPosition(new Vector2D(0.025, 0.5)), Are.Size, 0.025, Are.YRatio * 0.98, 0.02, Open.Top, _2DGAMELIB.Range.ZeroOne, disUnit, Color.FromArgb(alpha, Color.Red), Color.Yellow, Color.FromArgb(alpha, Color.Gray), Color.FromArgb(alpha, Color.Gray), Color.FromArgb(alpha, Col.Black), Knob: false); - 体力sゲージ.Frame1.Pen = null; + 体力sゲージ.Frame1.SetPen(null); 絶頂sゲージ = new Gau("絶頂", Are.GetPosition(new Vector2D(0.060000000000000005, 0.5)), Are.Size, 0.01, Are.YRatio * 0.98, 0.02, Open.Top, _2DGAMELIB.Range.ZeroOne, disUnit, Color.FromArgb(alpha, Color.DeepPink), Col.White, Color.FromArgb(alpha, Color.Gray), Color.FromArgb(alpha, Color.Gray), Color.Transparent, Knob: false); - 絶頂sゲージ.Frame1.Pen = null; - 絶頂sゲージ.Gauge.Pen = null; + 絶頂sゲージ.Frame1.SetPen(null); + 絶頂sゲージ.Gauge.SetPen(null); 興奮sゲージ = new Gau("興奮", Are.GetPosition(new Vector2D(0.060000000000000005, 0.5)), Are.Size, 0.025, Are.YRatio * 0.98, 0.02, Open.Top, _2DGAMELIB.Range.ZeroOne, disUnit, Color.FromArgb(180, Col.White), Color.FromArgb(180, Color.Red), Color.FromArgb(alpha, Color.Gray), Color.FromArgb(alpha, Color.Gray), Color.FromArgb(alpha, Col.Black), Knob: false); - 興奮sゲージ.Frame1.Pen = null; - 興奮sゲージ.Gauge.Pen = null; + 興奮sゲージ.Frame1.SetPen(null); + 興奮sゲージ.Gauge.SetPen(null); 精力mゲージ = new Gau("精力", Are.GetPosition(new Vector2D(0.025.Inverse(), 0.5)), Are.Size, 0.025, Are.YRatio * 0.98, 0.02, Open.Top, _2DGAMELIB.Range.ZeroOne, disUnit, Color.FromArgb(alpha, Col.Yellow.Add(180, 0, 0)), Col.Red.Add(180, 0, 0), Color.FromArgb(alpha, Color.Gray), Color.FromArgb(alpha, Color.Gray), Color.FromArgb(alpha, Col.Black), Knob: false); - 精力mゲージ.Frame1.Pen = null; + 精力mゲージ.Frame1.SetPen(null); 射精mゲージ = new Gau("射精", Are.GetPosition(new Vector2D(0.060000000000000005.Inverse(), 0.5)), Are.Size, 0.01, Are.YRatio * 0.98, 0.02, Open.Top, _2DGAMELIB.Range.ZeroOne, disUnit, Color.FromArgb(alpha, Col.DeepPink.Add(180, 0, 0)), Col.White.Add(180, 0, 0), Color.FromArgb(alpha, Color.Gray), Color.FromArgb(alpha, Color.Gray), Color.Transparent, Knob: false); - 射精mゲージ.Frame1.Pen = null; - 射精mゲージ.Gauge.Pen = null; + 射精mゲージ.Frame1.SetPen(null); + 射精mゲージ.Gauge.SetPen(null); 興奮mゲージ = new Gau("興奮", Are.GetPosition(new Vector2D(0.060000000000000005.Inverse(), 0.5)), Are.Size, 0.025, Are.YRatio * 0.98, 0.02, Open.Top, _2DGAMELIB.Range.ZeroOne, disUnit, Color.FromArgb(180, Col.White), Color.FromArgb(180, Color.Red), Color.FromArgb(alpha, Color.Gray), Color.FromArgb(alpha, Color.Gray), Color.FromArgb(alpha, Col.Black), Knob: false); - 興奮mゲージ.Frame1.Pen = null; - 興奮mゲージ.Gauge.Pen = null; + 興奮mゲージ.Frame1.SetPen(null); + 興奮mゲージ.Gauge.SetPen(null); Color c = Med.GetUniqueColor(); foreach (Par item in 体力sゲージ.Pars.EnumAllPar()) { - item.HitColor = c; + item.SetHitColor(c); } Med.GetUniqueColor(out c); foreach (Par item2 in 絶頂sゲージ.Pars.EnumAllPar()) { - item2.HitColor = c; + item2.SetHitColor(c); } Med.GetUniqueColor(out c); foreach (Par item3 in 興奮sゲージ.Pars.EnumAllPar()) { - item3.HitColor = c; + item3.SetHitColor(c); } Med.GetUniqueColor(out c); foreach (Par item4 in 精力mゲージ.Pars.EnumAllPar()) { - item4.HitColor = c; + item4.SetHitColor(c); } Med.GetUniqueColor(out c); foreach (Par item5 in 射精mゲージ.Pars.EnumAllPar()) { - item5.HitColor = c; + item5.SetHitColor(c); } Med.GetUniqueColor(out c); foreach (Par item6 in 興奮mゲージ.Pars.EnumAllPar()) { - item6.HitColor = c; + item6.SetHitColor(c); } 体力sゲージ.Value = 1.0; 絶頂sゲージ.Value = 0.0; @@ -3069,20 +3070,20 @@ namespace SlaveMatrix } ParT parT = new ParT(); parT.Text = "SlaveStamina"; - parT.SizeBase = 0.095; - parT.Font = new Font("MS Gothic", 1f); - parT.FontSize = 0.07; + parT.SetSizeBase(0.095); + parT.SetFont(new Font("MS Gothic", 1f)); + parT.SetFontSize(0.07); parT.SetStringRectOutline(Are.UnitScale, Are.DisplayGraphics); - parT.RectSize = new Vector2D(parT.OP[0].ps[1].X, parT.OP[0].ps[2].Y); - parT.OP.ScalingY(parT.BasePointBase, 0.9); - parT.Closed = true; - parT.TextColor = Col.Black; - parT.BrushColor = Color.FromArgb(160, Col.Black); - parT.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT.HitColor = Med.GetUniqueColor(); - parT.StringFormat.Alignment = StringAlignment.Center; - parT.StringFormat.LineAlignment = StringAlignment.Center; - parT.PositionBase = Are.GetPosition(x, y); + parT.SetRectSize(new Vector2D(parT.GetOP()[0].ps[1].X, parT.GetOP()[0].ps[2].Y)); + parT.GetOP().ScalingY(parT.GetBasePointBase(), 0.9); + parT.SetClosed(true); + parT.SetTextColor(Col.Black); + parT.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT.SetHitColor(Med.GetUniqueColor()); + parT.GetStringFormat().Alignment = StringAlignment.Center; + parT.GetStringFormat().LineAlignment = StringAlignment.Center; + parT.SetPositionBase(Are.GetPosition(x, y)); SlaveStamina = new But1(parT, delegate { //Sounds.操作.Play(); @@ -3091,20 +3092,20 @@ namespace SlaveMatrix }); ParT parT2 = new ParT(); parT2.Text = "PlayerStamina"; - parT2.SizeBase = 0.095; - parT2.Font = new Font("MS Gothic", 1f); - parT2.FontSize = 0.07; + parT2.SetSizeBase(0.095); + parT2.SetFont(new Font("MS Gothic", 1f)); + parT2.SetFontSize(0.07); parT2.SetStringRectOutline(Are.UnitScale, Are.DisplayGraphics); - parT2.RectSize = new Vector2D(parT2.OP[0].ps[1].X, parT2.OP[0].ps[2].Y); - parT2.OP.ScalingY(parT2.BasePointBase, 0.9); - parT2.Closed = true; - parT2.TextColor = Col.Black; - parT2.BrushColor = Color.FromArgb(160, Col.Black); - parT2.ShadBrush = new SolidBrush(Color.FromArgb(64, Col.Black)); - parT2.HitColor = Med.GetUniqueColor(); - parT2.StringFormat.Alignment = StringAlignment.Center; - parT2.StringFormat.LineAlignment = StringAlignment.Center; - parT2.PositionBase = parT.PositionBase.AddY(0.015); + parT2.SetRectSize(new Vector2D(parT2.GetOP()[0].ps[1].X, parT2.GetOP()[0].ps[2].Y)); + parT2.GetOP().ScalingY(parT2.GetBasePointBase(), 0.9); + parT2.SetClosed(true); + parT2.SetTextColor(Col.Black); + parT2.SetBrushColor(Color.FromArgb(160, Col.Black)); + parT2.SetShadBrush(new SolidBrush(Color.FromArgb(64, Col.Black))); + parT2.SetHitColor(Med.GetUniqueColor()); + parT2.GetStringFormat().Alignment = StringAlignment.Center; + parT2.GetStringFormat().LineAlignment = StringAlignment.Center; + parT2.SetPositionBase(parT.GetPositionBase().AddY(0.015)); PlayerStamina = new But1(parT2, delegate { //Sounds.操作.Play();