diff --git a/2DGAMELIB/_2DGAMELIB/BodyTemplate.cs b/2DGAMELIB/_2DGAMELIB/BodyTemplate.cs index 00dd2e9..280b6ef 100644 --- a/2DGAMELIB/_2DGAMELIB/BodyTemplate.cs +++ b/2DGAMELIB/_2DGAMELIB/BodyTemplate.cs @@ -9,8 +9,6 @@ namespace _2DGAMELIB [Serializable] public class BodyTemplate { - public string Tag = ""; - public OrderedDictionary Difss = new OrderedDictionary(); private VariantGrid r; @@ -19,8 +17,6 @@ namespace _2DGAMELIB public IEnumerable Keys => Difss.Keys; - public IEnumerable Values => Difss.Values; - public VariantGrid this[string Name] { get @@ -45,46 +41,13 @@ namespace _2DGAMELIB } } - public double PositionSize - { - set - { - foreach (VariantGrid value2 in Difss.Values) - { - value2.PositionSize = value; - } - } - } - - public Vector2D PositionVector - { - set - { - foreach (VariantGrid value2 in Difss.Values) - { - value2.PositionVector = value; - } - } - } - public double AngleBase { set { foreach (VariantGrid value2 in Difss.Values) { - value2.AngleBase = value; - } - } - } - - public double AngleCont - { - set - { - foreach (VariantGrid value2 in Difss.Values) - { - value2.AngleCont = value; + value2.SetAngleBase(value); } } } @@ -95,84 +58,7 @@ namespace _2DGAMELIB { foreach (VariantGrid value2 in Difss.Values) { - value2.SizeBase = value; - } - } - } - - public double SizeCont - { - set - { - foreach (VariantGrid value2 in Difss.Values) - { - value2.SizeCont = value; - } - } - } - - public double SizeXBase - { - set - { - foreach (VariantGrid value2 in Difss.Values) - { - value2.SizeXBase = value; - } - } - } - - public double SizeXCont - { - set - { - foreach (VariantGrid value2 in Difss.Values) - { - value2.SizeXCont = value; - } - } - } - - public double SizeYBase - { - set - { - foreach (VariantGrid value2 in Difss.Values) - { - value2.SizeYBase = value; - } - } - } - - public double SizeYCont - { - set - { - foreach (VariantGrid value2 in Difss.Values) - { - value2.SizeYCont = value; - } - } - } - - public bool Dra - { - set - { - foreach (VariantGrid value2 in Difss.Values) - { - value2.Dra = value; - } - } - } - - public bool Hit - { - set - { - foreach (VariantGrid value2 in Difss.Values) - { - value2.Hit = value; + value2.SetSizeBase(value); } } } @@ -227,8 +113,8 @@ namespace _2DGAMELIB { if (difs.EnumJoinRoot.All(delegate(ShapePart p0) { - p = p0.Position; - return pa.All((ShapePart p1) => p0 == p1 || p1.JP.All((JointPoint j) => !(p1.ToGlobal(j.Joint).DistanceSquared(p) <= JointLink.IdentityDistance))); + p = p0.GetPosition(); + return pa.All((ShapePart p1) => p0 == p1 || p1.GetJP().All((JointPoint j) => !(p1.ToGlobal(j.Joint).DistanceSquared(p) <= JointLink.IdentityDistance))); })) { return difs; diff --git a/2DGAMELIB/_2DGAMELIB/Button.cs b/2DGAMELIB/_2DGAMELIB/Button.cs index 00c212b..666b866 100644 --- a/2DGAMELIB/_2DGAMELIB/Button.cs +++ b/2DGAMELIB/_2DGAMELIB/Button.cs @@ -25,7 +25,7 @@ namespace _2DGAMELIB { foreach (ShapePart item in partGroup.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 (ShapePart item2 in partGroup.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 (ShapePart item3 in partGroup.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 (ShapePart item4 in partGroup.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 (ShapePart item5 in partGroup.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/ButtonBase.cs b/2DGAMELIB/_2DGAMELIB/ButtonBase.cs index 5259898..f10a978 100644 --- a/2DGAMELIB/_2DGAMELIB/ButtonBase.cs +++ b/2DGAMELIB/_2DGAMELIB/ButtonBase.cs @@ -121,11 +121,11 @@ namespace _2DGAMELIB { foreach (ShapePart item in partGroup.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/GeometryUtils.cs b/2DGAMELIB/_2DGAMELIB/GeometryUtils.cs index ba8f508..21f192f 100644 --- a/2DGAMELIB/_2DGAMELIB/GeometryUtils.cs +++ b/2DGAMELIB/_2DGAMELIB/GeometryUtils.cs @@ -9,10 +9,6 @@ namespace _2DGAMELIB { public static class GeometryUtils { - 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(ShapePart ShapePart, ref double MinX, ref double MaxX) { - foreach (CurveOutline item in ShapePart.OP) + foreach (CurveOutline item in ShapePart.GetOP()) { foreach (Vector2D p in item.ps) { @@ -85,7 +81,7 @@ namespace _2DGAMELIB private static void GetMinMaxY(ShapePart ShapePart, ref double MinY, ref double MaxY) { - foreach (CurveOutline item in ShapePart.OP) + foreach (CurveOutline item in ShapePart.GetOP()) { foreach (Vector2D p in item.ps) { @@ -112,7 +108,7 @@ namespace _2DGAMELIB public static void GetMiX_MaX(this ShapePart ShapePart, out Vector2D[] MM) { - Vector2D vector2D = ShapePart.ToGlobal(ShapePart.OP.First().ps.First()); + Vector2D vector2D = ShapePart.ToGlobal(ShapePart.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 ShapePart ShapePart, out Vector2D[] MM) { - Vector2D vector2D = ShapePart.ToGlobal(ShapePart.OP.First().ps.First()); + Vector2D vector2D = ShapePart.ToGlobal(ShapePart.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 ShapePart ShapePart, out Vector2D[] MM) { - Vector2D vector2D = ShapePart.ToGlobal(ShapePart.OP.First().ps.First()); + Vector2D vector2D = ShapePart.ToGlobal(ShapePart.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 ShapePart[] Pars, out Vector2D[] MM) { ShapePart shapePart = Pars.First(); - Vector2D vector2D = shapePart.ToGlobal(shapePart.OP.First().ps.First()); + Vector2D vector2D = shapePart.ToGlobal(shapePart.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 ShapePart ShapePart, out Vector2D[] MM) { - Vector2D vector2D = ShapePart.ToGlobal(ShapePart.OP.First().ps.First()); + Vector2D vector2D = ShapePart.ToGlobal(ShapePart.GetOP().First().ps.First()); MM = new Vector2D[2]; MM[0].Y = vector2D.Y; MM[1].Y = vector2D.Y; @@ -198,7 +194,7 @@ public static BodyTemplate ObjLoad(this byte[] bd) public static Encoding GetEncoding(this byte[] Bytes) { - byte[] array = null; + byte[] array; if (Bytes.Length > 4000) { array = new byte[4000]; @@ -351,8 +347,6 @@ public static BodyTemplate ObjLoad(this byte[] bd) static GeometryUtils() { - s1 = 1.01; - s0 = s1.Reciprocal(); } public static void SaveExMod(this T Obj, string Path) diff --git a/2DGAMELIB/_2DGAMELIB/JointD.cs b/2DGAMELIB/_2DGAMELIB/JointD.cs index 7a82e02..ab7449c 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/JointLink.cs b/2DGAMELIB/_2DGAMELIB/JointLink.cs index bcd9201..c498288 100644 --- a/2DGAMELIB/_2DGAMELIB/JointLink.cs +++ b/2DGAMELIB/_2DGAMELIB/JointLink.cs @@ -14,7 +14,7 @@ namespace _2DGAMELIB int num = 0; List list = new List(); List list2 = EnumPar.ToList(); - foreach (JointPoint item in JoinRoot.JP) + foreach (JointPoint 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 { ShapePart shapePart = js.Joins[i].Par1; int num3 = 0; - foreach (JointPoint item in shapePart.JP) + foreach (JointPoint item in shapePart.GetJP()) { Vector2D v = shapePart.ToGlobal(item.Joint); int num4 = 0; @@ -68,7 +68,7 @@ namespace _2DGAMELIB { if (shapePart != item2) { - if (v.DistanceSquared(item2.Position) <= IdentityDistance) + if (v.DistanceSquared(item2.GetPosition()) <= IdentityDistance) { js.Joins.Add(new Joint(shapePart, num3, item2)); if (!del.Contains(num4)) @@ -108,12 +108,12 @@ namespace _2DGAMELIB if (JoinRoot != item2) { int num2 = 0; - foreach (JointPoint item3 in item.JP) + foreach (JointPoint item3 in item.GetJP()) { Vector2D v = item.ToGlobal(item3.Joint); foreach (ShapePart 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 (variantGrid != item2) { int num4 = 0; - foreach (JointPoint item3 in item.JP) + foreach (JointPoint item3 in item.GetJP()) { Vector2D v = item.ToGlobal(item3.Joint); foreach (ShapePart item4 in item2.EnumJoinRoot) { - if (v.DistanceSquared(item4.Position) <= IdentityDistance) + if (v.DistanceSquared(item4.GetPosition()) <= IdentityDistance) { jsd.Joins.Add(new JointD(variantGrid, item, num4, item2)); if (!del.Contains(num3)) diff --git a/2DGAMELIB/_2DGAMELIB/Lab.cs b/2DGAMELIB/_2DGAMELIB/Lab.cs index 10067ac..0fb85d7 100644 --- a/2DGAMELIB/_2DGAMELIB/Lab.cs +++ b/2DGAMELIB/_2DGAMELIB/Lab.cs @@ -57,62 +57,60 @@ namespace _2DGAMELIB _shapePartT = new ShapePartT { - 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" }; + _shapePartT.SetFont(Font); + _shapePartT.SetFontSize(TextSize); + _shapePartT.SetTextColor(TextColor); + _shapePartT.SetInitializeOP(array); + _shapePartT.SetBasePointBase(array[0].ps[0]); + _shapePartT.SetPositionBase(Position); + _shapePartT.SetSizeBase(Size); + _shapePartT.SetClosed(true); + _shapePartT.SetBrushColor(BackColor); + _shapePartT.SetPenColor(FramColor); + if (ShadColor != Color.Empty) { - _shapePartT.ShadBrush = new SolidBrush(ShadColor); + _shapePartT.SetShadBrush(new SolidBrush(ShadColor)); } SetRect(); - Min = _shapePartT.RectSize.Y; + Min = _shapePartT.GetRectSize().Y; SetText(Text); } public void SetHitColor(ModeEventDispatcher Med) { - if (_shapePartT.HitColor != Color.Transparent) + if (_shapePartT.GetHitColor() != Color.Transparent) { - Med.RemUniqueColor(_shapePartT.HitColor); + Med.RemUniqueColor(_shapePartT.GetHitColor()); } - _shapePartT.HitColor = Med.GetUniqueColor(); + _shapePartT.SetHitColor(Med.GetUniqueColor()); } private void SetRect() { if (!string.IsNullOrEmpty(_shapePartT.Text)) { - _shapePartT.RectSize = new Vector2D(Width, 10.0); - Vector2D_2 stringRect = _shapePartT.GetStringRect(Are.DisplayUnitScale, Are.DisplayGraphics); - double x = ((stringRect.v2.X > Min) ? stringRect.v2.X : Min) + 0.07; - _shapePartT.RectSize = new Vector2D(x, stringRect.v2.Y); + _shapePartT.SetRectSize(new Vector2D(Width, 10.0)); + double[] stringRect = _shapePartT.GetStringRect(Are.DisplayUnitScale, Are.DisplayGraphics); + double x = ((stringRect[2] > Min) ? stringRect[2] : Min) + 0.07; + _shapePartT.SetRectSize(new Vector2D(x, stringRect[3])); } else { double x2 = Min + 0.07; - _shapePartT.RectSize = new Vector2D(x2, Min); + _shapePartT.SetRectSize(new Vector2D(x2, Min)); } - - _shapePartT.OP[0].ps[0] = new Vector2D(0.0, 0.0); - _shapePartT.OP[0].ps[1] = new Vector2D(_shapePartT.RectSize.X, 0.0); - _shapePartT.OP[0].ps[2] = new Vector2D(_shapePartT.RectSize.X, _shapePartT.RectSize.Y); - _shapePartT.OP[0].ps[3] = new Vector2D(0.0, _shapePartT.RectSize.Y); + _shapePartT.GetOP()[0].ps[0] = new Vector2D(0.0, 0.0); + _shapePartT.GetOP()[0].ps[1] = new Vector2D(_shapePartT.GetRectSize().X, 0.0); + _shapePartT.GetOP()[0].ps[2] = new Vector2D(_shapePartT.GetRectSize().X, _shapePartT.GetRectSize().Y); + _shapePartT.GetOP()[0].ps[3] = new Vector2D(0.0, _shapePartT.GetRectSize().Y); } public void Dispose() diff --git a/2DGAMELIB/_2DGAMELIB/ManagedArea.cs b/2DGAMELIB/_2DGAMELIB/ManagedArea.cs index 44287ba..5aa537a 100644 --- a/2DGAMELIB/_2DGAMELIB/ManagedArea.cs +++ b/2DGAMELIB/_2DGAMELIB/ManagedArea.cs @@ -6,8 +6,6 @@ namespace _2DGAMELIB //TODO: Find a better name... public class ManagedArea : RenderArea { - private double strength; - private double unitS; public ManagedArea(double Unit, double XRatio, double YRatio, double Size, double DisMag, double HitMag, double Strength) : @@ -16,7 +14,6 @@ namespace _2DGAMELIB SetXYRatio(XRatio, YRatio); base.Size = Size; unitScale = Unit; - strength = Strength; displayUnitScale = Unit * DisMag; double num = 1.0 - Strength; unitS = displayUnitScale * num; 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 af9b7de..703aa00 100644 --- a/2DGAMELIB/_2DGAMELIB/ModeEventDispatcher.cs +++ b/2DGAMELIB/_2DGAMELIB/ModeEventDispatcher.cs @@ -370,7 +370,7 @@ namespace _2DGAMELIB { foreach (ShapePart p in ps) { - p.HitColor = GetUniqueColor(); + p.SetHitColor(GetUniqueColor()); } } @@ -383,7 +383,7 @@ namespace _2DGAMELIB { foreach (ShapePart p in ps) { - HitColors.Remove(p.HitColor); + HitColors.Remove(p.GetHitColor()); } } diff --git a/2DGAMELIB/_2DGAMELIB/MorphVariant.cs b/2DGAMELIB/_2DGAMELIB/MorphVariant.cs index 8ca479c..dfc4b06 100644 --- a/2DGAMELIB/_2DGAMELIB/MorphVariant.cs +++ b/2DGAMELIB/_2DGAMELIB/MorphVariant.cs @@ -27,139 +27,31 @@ namespace _2DGAMELIB } } - public double PositionSize - { - set - { - foreach (PartGroup item in parss) - { - item.PositionSize = value; - } - } - } + public void SetAngleBase(double value) + { + foreach (PartGroup item in parss) + { + item.SetAngleBase(value); + } + } - public Vector2D PositionVector - { - set - { - foreach (PartGroup item in parss) - { - item.PositionVector = value; - } - } - } + public void SetSizeBase(double value) + { + foreach (PartGroup item in parss) + { + item.SetSizeBase(value); + } + } - public double AngleBase - { - set - { - foreach (PartGroup item in parss) - { - item.AngleBase = value; - } - } - } + public void SetSizeYCont(double value) + { + foreach (PartGroup item in parss) + { + item.SetSizeYCont(value); + } + } - public double AngleCont - { - set - { - foreach (PartGroup item in parss) - { - item.AngleCont = value; - } - } - } - - public double SizeBase - { - set - { - foreach (PartGroup item in parss) - { - item.SizeBase = value; - } - } - } - - public double SizeCont - { - set - { - foreach (PartGroup item in parss) - { - item.SizeCont = value; - } - } - } - - public double SizeXBase - { - set - { - foreach (PartGroup item in parss) - { - item.SizeXBase = value; - } - } - } - - public double SizeXCont - { - set - { - foreach (PartGroup item in parss) - { - item.SizeXCont = value; - } - } - } - - public double SizeYBase - { - set - { - foreach (PartGroup item in parss) - { - item.SizeYBase = value; - } - } - } - - public double SizeYCont - { - set - { - foreach (PartGroup item in parss) - { - item.SizeYCont = value; - } - } - } - - public bool Dra - { - set - { - foreach (PartGroup item in parss) - { - item.Dra = value; - } - } - } - - public bool Hit - { - set - { - foreach (PartGroup item in parss) - { - item.Hit = value; - } - } - } - - public IEnumerable EnumAllPar() + public IEnumerable EnumAllPar() { foreach (PartGroup item in parss) { diff --git a/2DGAMELIB/_2DGAMELIB/PartGroup.cs b/2DGAMELIB/_2DGAMELIB/PartGroup.cs index d833f63..aa52d09 100644 --- a/2DGAMELIB/_2DGAMELIB/PartGroup.cs +++ b/2DGAMELIB/_2DGAMELIB/PartGroup.cs @@ -16,227 +16,54 @@ namespace _2DGAMELIB public PartGroup 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 PartGroup) - { - ((PartGroup)value2).PositionSize = value; - } - else if (value2 is ShapePart) - { - ((ShapePart)value2).PositionSize = value; - } - } - } - } + public void SetAngleBase(double value) + { + foreach (object value2 in pars.Values) + { + if (value2 is PartGroup) + { + ((PartGroup)value2).SetAngleBase(value); + } + else if (value2 is ShapePart) + { + ((ShapePart)value2).SetAngleBase(value); + } + } + } - public Vector2D PositionVector - { - set - { - foreach (object value2 in pars.Values) - { - if (value2 is PartGroup) - { - ((PartGroup)value2).PositionVector = value; - } - else if (value2 is ShapePart) - { - ((ShapePart)value2).PositionVector = value; - } - } - } - } + public void SetSizeBase(double value) + { + foreach (object value2 in pars.Values) + { + if (value2 is PartGroup) + { + ((PartGroup)value2).SetSizeBase(value); + } + else if (value2 is ShapePart) + { + ((ShapePart)value2).SetSizeBase(value); + } + } + } - public double AngleBase - { - set - { - foreach (object value2 in pars.Values) - { - if (value2 is PartGroup) - { - ((PartGroup)value2).AngleBase = value; - } - else if (value2 is ShapePart) - { - ((ShapePart)value2).AngleBase = value; - } - } - } - } + public void SetSizeYCont(double value) + { + foreach (object value2 in pars.Values) + { + if (value2 is PartGroup) + { + ((PartGroup)value2).SetSizeYCont(value); + } + else if (value2 is ShapePart) + { + ((ShapePart)value2).SetSizeYCont(value); + } + } + } - public double AngleCont - { - set - { - foreach (object value2 in pars.Values) - { - if (value2 is PartGroup) - { - ((PartGroup)value2).AngleCont = value; - } - else if (value2 is ShapePart) - { - ((ShapePart)value2).AngleCont = value; - } - } - } - } - - public double SizeBase - { - set - { - foreach (object value2 in pars.Values) - { - if (value2 is PartGroup) - { - ((PartGroup)value2).SizeBase = value; - } - else if (value2 is ShapePart) - { - ((ShapePart)value2).SizeBase = value; - } - } - } - } - - public double SizeCont - { - set - { - foreach (object value2 in pars.Values) - { - if (value2 is PartGroup) - { - ((PartGroup)value2).SizeCont = value; - } - else if (value2 is ShapePart) - { - ((ShapePart)value2).SizeCont = value; - } - } - } - } - - public double SizeXBase - { - set - { - foreach (object value2 in pars.Values) - { - if (value2 is PartGroup) - { - ((PartGroup)value2).SizeXBase = value; - } - else if (value2 is ShapePart) - { - ((ShapePart)value2).SizeXBase = value; - } - } - } - } - - public double SizeXCont - { - set - { - foreach (object value2 in pars.Values) - { - if (value2 is PartGroup) - { - ((PartGroup)value2).SizeXCont = value; - } - else if (value2 is ShapePart) - { - ((ShapePart)value2).SizeXCont = value; - } - } - } - } - - public double SizeYBase - { - set - { - foreach (object value2 in pars.Values) - { - if (value2 is PartGroup) - { - ((PartGroup)value2).SizeYBase = value; - } - else if (value2 is ShapePart) - { - ((ShapePart)value2).SizeYBase = value; - } - } - } - } - - public double SizeYCont - { - set - { - foreach (object value2 in pars.Values) - { - if (value2 is PartGroup) - { - ((PartGroup)value2).SizeYCont = value; - } - else if (value2 is ShapePart) - { - ((ShapePart)value2).SizeYCont = value; - } - } - } - } - - public bool Dra - { - set - { - foreach (object value2 in pars.Values) - { - if (value2 is PartGroup) - { - ((PartGroup)value2).Dra = value; - } - else if (value2 is ShapePart) - { - ((ShapePart)value2).Dra = value; - } - } - } - } - - public bool Hit - { - set - { - foreach (object value2 in pars.Values) - { - if (value2 is PartGroup) - { - ((PartGroup)value2).Hit = value; - } - else if (value2 is ShapePart) - { - ((ShapePart)value2).Hit = value; - } - } - } - } - - public object this[string Name] + public object this[string Name] { get { @@ -458,7 +285,7 @@ namespace _2DGAMELIB { list.AddRange(((PartGroup)value).GetHitTags(ref HitColor)); } - else if (value is ShapePart && (shapePart = (ShapePart)value).HitColor == HitColor) + else if (value is ShapePart && (shapePart = (ShapePart)value).GetHitColor() == HitColor) { list.Add(shapePart.Tag); } @@ -476,7 +303,7 @@ namespace _2DGAMELIB { list.AddRange(((PartGroup)value).GetHitPars(ref HitColor)); } - else if (value is ShapePart && (item = (ShapePart)value).HitColor == HitColor) + else if (value is ShapePart && (item = (ShapePart)value).GetHitColor() == HitColor) { list.Add(item); } @@ -492,7 +319,7 @@ namespace _2DGAMELIB { return true; } - if (value is ShapePart && ((ShapePart)value).HitColor == HitColor) + if (value is ShapePart && ((ShapePart)value).GetHitColor() == HitColor) { return true; } diff --git a/2DGAMELIB/_2DGAMELIB/ProgressBar.cs b/2DGAMELIB/_2DGAMELIB/ProgressBar.cs index 21be511..ab0871a 100644 --- a/2DGAMELIB/_2DGAMELIB/ProgressBar.cs +++ b/2DGAMELIB/_2DGAMELIB/ProgressBar.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 ShapePart { Tag = Name + "_ベース", - InitializeOP = new CurveOutline[1] { ShapeHelper.GetSquare() }, - PositionBase = Position, - SizeBase = Size, - SizeXBase = Width, - SizeYBase = Height, - Closed = true, - Pen = null, - BrushColor = BackColor }; - base_.BasePointBase = base_.OP.GetCenter(); + + base_.SetInitializeOP(new CurveOutline[1] { ShapeHelper.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()); _partGroup.Add(base_.Tag, base_); frame1 = new ShapePart { Tag = Name + "_フレーム1", - InitializeOP = new CurveOutline[1] { ShapeHelper.GetSquare() }, - PositionBase = Position, - SizeBase = Size, - SizeXBase = Width * GetWidthMag(), - SizeYBase = Height * GetHeightMag(), - Closed = true, - Brush = null }; - frame1.BasePointBase = GetBasePoint1(); + + frame1.SetInitializeOP(new CurveOutline[1] { ShapeHelper.GetSquare() }); + frame1.SetPositionBase(Position); + frame1.SetSizeBase(Size); + frame1.SetSizeXBase(Width * GetWidthMag()); + frame1.SetSizeYBase(Height * GetHeightMag()); + frame1.SetClosed(true); + frame1.SetBrush(null); + + + + frame1.SetBasePointBase(GetBasePoint1()); _partGroup.Add(frame1.Tag, frame1); if (Range == Range.MinusPlus) { frame2 = new ShapePart { Tag = Name + "_フレーム2", - InitializeOP = new CurveOutline[1] { ShapeHelper.GetSquare() }, - PositionBase = Position, - SizeBase = Size, - SizeXBase = Width * GetWidthMag(), - SizeYBase = Height * GetHeightMag(), - Closed = true, - Brush = null }; - frame2.BasePointBase = GetBasePoint2(); + + frame2.SetInitializeOP(new CurveOutline[1] { ShapeHelper.GetSquare() }); + frame2.SetPositionBase(Position); + frame2.SetSizeBase(Size); + frame2.SetSizeXBase(Width * GetWidthMag()); + frame2.SetSizeYBase(Height * GetHeightMag()); + frame2.SetClosed(true); + frame2.SetBrush(null); + frame2.SetBasePointBase(GetBasePoint2()); _partGroup.Add(frame2.Tag, frame2); } gauge = new ShapePart { Tag = Name + "_ゲージ", - InitializeOP = new CurveOutline[1] { ShapeHelper.GetSquare() }, - PositionBase = GetGaugePosition(), - SizeBase = Size, - SizeXBase = Width * GetWidthMag() * GetGaugeWidthMag(Margin), - SizeYBase = Height * GetHeightMag() * GetGaugeHeightMag(Margin), - Closed = true }; - gauge.BasePointBase = GetBasePoint(); + gauge.SetInitializeOP(new CurveOutline[1] { ShapeHelper.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()); _partGroup.Add(gauge.Tag, gauge); if (knob) { this.knob = new ShapePart { Tag = Name + "_ノブ", - InitializeOP = new CurveOutline[1] { ShapeHelper.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 CurveOutline[1] { ShapeHelper.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()); _partGroup.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/ScreenSwitch.cs b/2DGAMELIB/_2DGAMELIB/ScreenSwitch.cs index e032d1f..fb5bb35 100644 --- a/2DGAMELIB/_2DGAMELIB/ScreenSwitch.cs +++ b/2DGAMELIB/_2DGAMELIB/ScreenSwitch.cs @@ -51,7 +51,7 @@ namespace _2DGAMELIB { foreach (ShapePart item in but.PartGroup.EnumAllPar()) { - item.BrushColor = but.OverColors[i]; + item.SetBrushColor(but.OverColors[i]); i++; } return; @@ -84,7 +84,7 @@ namespace _2DGAMELIB j = 0; foreach (ShapePart item2 in but.PartGroup.EnumAllPar()) { - item2.BrushColor = but.OverColors[j]; + item2.SetBrushColor(but.OverColors[j]); j++; } } @@ -122,7 +122,7 @@ namespace _2DGAMELIB { foreach (ShapePart item in but.PartGroup.EnumAllPar()) { - item.BrushColor = but.BaseColors[i]; + item.SetBrushColor(but.BaseColors[i]); i++; } return; @@ -155,7 +155,7 @@ namespace _2DGAMELIB j = 0; foreach (ShapePart item2 in but.PartGroup.EnumAllPar()) { - item2.BrushColor = but.BaseColors[j]; + item2.SetBrushColor(but.BaseColors[j]); j++; } } diff --git a/2DGAMELIB/_2DGAMELIB/ShapePart.cs b/2DGAMELIB/_2DGAMELIB/ShapePart.cs index d71bdca..2472fa6 100644 --- a/2DGAMELIB/_2DGAMELIB/ShapePart.cs +++ b/2DGAMELIB/_2DGAMELIB/ShapePart.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 ShapePart { - //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 PartGroup parent; public string Tag = ""; @@ -35,7 +23,6 @@ namespace _2DGAMELIB protected Vector2D basePointBase = DataConsts.Vec2DZero; - //cont short for contract? protected Vector2D basePointCont = DataConsts.Vec2DZero; protected Vector2D positionBase = DataConsts.Vec2DZero; @@ -66,487 +53,292 @@ 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 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 PartGroup GetParent() + { + return parent; + } - private bool EditH = true; + public List GetOP() + { + return op; + } - public PartGroup 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(PartGroup 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(PartGroup Parent) { parent = Parent; } @@ -598,7 +390,6 @@ namespace _2DGAMELIB positionBase = ShapePart.positionBase; positionContO = ShapePart.positionContO; positionCont = ShapePart.positionCont; - positionSize = ShapePart.positionSize; positionVector = ShapePart.positionVector; anglePare = ShapePart.anglePare; angleBase = ShapePart.angleBase; @@ -614,11 +405,11 @@ namespace _2DGAMELIB closed = ShapePart.closed; if (ShapePart.pen != null) { - Pen = ShapePart.pen.Copy(); + SetPen(ShapePart.pen.Copy()); } if (ShapePart.brush != null) { - Brush = ShapePart.brush.Copy(); + SetBrush1(ShapePart.brush.Copy()); } Hit = ShapePart.Hit; if (ShapePart.HitBrush != null) @@ -629,56 +420,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 (CurveOutline 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 +457,7 @@ namespace _2DGAMELIB { OutlinePath.StartFigure(); - if (Closed) + if (closed) OutlinePath.AddClosedCurve(points, item.Tension); else OutlinePath.AddCurve(points, item.Tension); @@ -695,11 +465,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 +487,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 (CurveOutline 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 +539,13 @@ namespace _2DGAMELIB foreach (CurveOutline 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 +555,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 +575,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 +584,31 @@ namespace _2DGAMELIB { if (Index < jp.Count) { - ShapePart.PositionBase = ToGlobal(jp[Index].Joint); + ShapePart.SetPositionBase(ToGlobal(jp[Index].Joint)); } - ShapePart.Edit = true; - ShapePart.EditH = true; } public void SetJointPA(int Index, ShapePart ShapePart) { if (Index < jp.Count) { - ShapePart.PositionBase = ToGlobal(jp[Index].Joint); + ShapePart.SetPositionBase(ToGlobal(jp[Index].Joint)); } - ShapePart.AngleParent = Angle; - ShapePart.Edit = true; - ShapePart.EditH = true; + ShapePart.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 +631,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 +663,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 +754,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/ShapePartT.cs b/2DGAMELIB/_2DGAMELIB/ShapePartT.cs index 690525f..d55fb7c 100644 --- a/2DGAMELIB/_2DGAMELIB/ShapePartT.cs +++ b/2DGAMELIB/_2DGAMELIB/ShapePartT.cs @@ -9,19 +9,15 @@ namespace _2DGAMELIB [Serializable] public class ShapePartT : ShapePart { - [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 = DataConsts.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 = ShapePartT.fontSize; if (ShapePartT.font != null) - Font = ShapePartT.font.Copy(); + SetFont(ShapePartT.font.Copy()); if (ShapePartT.brusht != null) - TextBrush = ShapePartT.brusht.Copy(); + SetTextBrush(ShapePartT.brusht.Copy()); if (ShapePartT.brushs != null) - ShadBrush = ShapePartT.brushs.Copy(); + SetShadBrush(ShapePartT.brushs.Copy()); if (ShapePartT.stringformat != null) - StringFormat = ShapePartT.stringformat.Copy(); + SetStringFormat(ShapePartT.stringformat.Copy()); positionT = ShapePartT.positionT; rectSize = ShapePartT.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,46 @@ 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) + public double[] 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; } + CharacterRange[] crr = new CharacterRange[]{ + new CharacterRange(0, Text.Length) + }; - crr[0] = new CharacterRange(0, Text.Length); stringformat.SetMeasurableCharacterRanges(crr); RectangleF layoutRect = new RectangleF( @@ -339,17 +280,20 @@ namespace _2DGAMELIB .MeasureCharacterRanges(Text ?? string.Empty, font, layoutRect, stringformat)[0] .GetBounds(Graphics); - return new Vector2D_2( - new Vector2D(bounds.X / num, bounds.Y / num), - new Vector2D(bounds.Width / num, bounds.Height / num)); + return new double[4]{ + bounds.X / num, + bounds.Y / num, + bounds.Width / num, + bounds.Height / num + }; } public Vector2D[] GetStringRectPoints(double Unit, Graphics Graphics) { - Vector2D_2 stringRect = GetStringRect(Unit, Graphics); + double[] stringRect = GetStringRect(Unit, Graphics); - Vector2D pos = stringRect.v1; - Vector2D size = stringRect.v2; + Vector2D pos = new Vector2D(stringRect[0], stringRect[1]); + Vector2D size = new Vector2D(stringRect[2], stringRect[3]); size.X *= 1.07f; @@ -376,8 +320,9 @@ namespace _2DGAMELIB curveOutline.ps.Add(stringRectPoints[2].AddXY(x, num) + vector2D); curveOutline.ps.Add(stringRectPoints[3].AddY(num) + vector2D); - base.OP.Add(curveOutline); + base.GetOP().Add(curveOutline); } + public new void Dispose() { base.Dispose(); diff --git a/2DGAMELIB/_2DGAMELIB/TextBlock.cs b/2DGAMELIB/_2DGAMELIB/TextBlock.cs index eed0521..83d525a 100644 --- a/2DGAMELIB/_2DGAMELIB/TextBlock.cs +++ b/2DGAMELIB/_2DGAMELIB/TextBlock.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 _shapePartT.PositionBase; + return _shapePartT.GetPositionBase(); } set { - _shapePartT.PositionBase = value; + _shapePartT.SetPositionBase(value); if (feed != null) { - feed.PositionBase = _shapePartT.ToGlobal(_shapePartT.OP[0].ps[2] * 0.95); + feed.SetPositionBase(_shapePartT.ToGlobal(_shapePartT.GetOP()[0].ps[2] * 0.95)); } } } @@ -209,22 +209,23 @@ namespace _2DGAMELIB _shapePartT = new ShapePartT { 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 }; - ShapePartT.OP.ScalingX(ShapePartT.BasePointBase, Width); - ShapePartT.OP.ScalingY(ShapePartT.BasePointBase, Height); + + _shapePartT.SetFont(Font); + _shapePartT.SetFontSize(TextSize); + _shapePartT.SetTextColor(TextColor); + _shapePartT.SetRectSize(new Vector2D(Width, Height)); + _shapePartT.SetInitializeOP(array); + _shapePartT.SetPositionBase(Position); + _shapePartT.SetSizeBase(Size); + _shapePartT.SetClosed(true); + _shapePartT.SetBrushColor(BackColor); + _shapePartT.GetOP().ScalingX(_shapePartT.GetBasePointBase(), Width); + _shapePartT.GetOP().ScalingY(_shapePartT.GetBasePointBase(), Height); if (ShadColor != Color.Empty) { - _shapePartT.ShadBrush = new SolidBrush(ShadColor); + _shapePartT.SetShadBrush(new SolidBrush(ShadColor)); } _partGroup.Add(_shapePartT.Tag, _shapePartT); } @@ -235,27 +236,28 @@ namespace _2DGAMELIB feed = new ShapePart { Tag = Name + "_Feed", - InitializeOP = array, - BasePointBase = array.GetCenter(), - PositionBase = _shapePartT.ToGlobal(_shapePartT.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(feed.ToGlobal(feed.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()); _partGroup.Add(feed.Tag, feed); } public void SetHitColor(ModeEventDispatcher Med) { - if (_shapePartT.HitColor != Color.Transparent) + if (_shapePartT.GetHitColor() != Color.Transparent) { - Med.RemUniqueColor(_shapePartT.HitColor); + Med.RemUniqueColor(_shapePartT.GetHitColor()); } - _shapePartT.HitColor = Med.GetUniqueColor(); + _shapePartT.SetHitColor(Med.GetUniqueColor()); } public void Progression(FpsCounter 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 (_shapePartT.HitColor == HitColor) + if (_shapePartT.GetHitColor() == HitColor) { f2 = true; if (!f1 && Speed == speed) @@ -306,14 +308,14 @@ namespace _2DGAMELIB public bool Up(ref Color HitColor) { - if (f1 && f2 && _shapePartT.HitColor == HitColor && Speed == speed) + if (f1 && f2 && _shapePartT.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/VariantGrid.cs b/2DGAMELIB/_2DGAMELIB/VariantGrid.cs index bc69ac6..e015270 100644 --- a/2DGAMELIB/_2DGAMELIB/VariantGrid.cs +++ b/2DGAMELIB/_2DGAMELIB/VariantGrid.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 MorphVariant 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 MorphVariant this[int Index] { get { @@ -79,155 +75,46 @@ namespace _2DGAMELIB } } - public PartGroup Current => difs[IndexX][IndexY]; + public PartGroup GetCurrent() + { + return difs[GetIndexX()][GetIndexY()]; + } - public double PositionSize - { - set - { - foreach (MorphVariant dif in difs) - { - dif.PositionSize = value; - } - } - } + public void SetAngleBase(double value) + { + foreach (MorphVariant dif in difs) + { + dif.SetAngleBase(value); + } + } - public Vector2D PositionVector - { - set - { - foreach (MorphVariant dif in difs) - { - dif.PositionVector = value; - } - } - } + public void SetSizeBase(double value) + { + foreach (MorphVariant dif in difs) + { + dif.SetSizeBase(value); + } + } - public double AngleBase - { - set - { - foreach (MorphVariant dif in difs) - { - dif.AngleBase = value; - } - } - } + public void SetSizeYCont(double value) + { + foreach (MorphVariant dif in difs) + { + dif.SetSizeYCont(value); + } + } - public double AngleCont - { - set - { - foreach (MorphVariant dif in difs) - { - dif.AngleCont = value; - } - } - } + public ShapePart GetCurJoinRoot() + { + PartGroup current = GetCurrent(); + if (pr.ContainsKey(current)) + { + return pr[current]; + } + return null; + } - public double SizeBase - { - set - { - foreach (MorphVariant dif in difs) - { - dif.SizeBase = value; - } - } - } - - public double SizeCont - { - set - { - foreach (MorphVariant dif in difs) - { - dif.SizeCont = value; - } - } - } - - public double SizeXBase - { - set - { - foreach (MorphVariant dif in difs) - { - dif.SizeXBase = value; - } - } - } - - public double SizeXCont - { - set - { - foreach (MorphVariant dif in difs) - { - dif.SizeXCont = value; - } - } - } - - public double SizeYBase - { - set - { - foreach (MorphVariant dif in difs) - { - dif.SizeYBase = value; - } - } - } - - public double SizeYCont - { - set - { - foreach (MorphVariant dif in difs) - { - dif.SizeYCont = value; - } - } - } - - public bool Dra - { - set - { - foreach (MorphVariant dif in difs) - { - dif.Dra = value; - } - } - } - - public bool Hit - { - set - { - foreach (MorphVariant dif in difs) - { - dif.Hit = value; - } - } - } - - [JsonIgnore] - public ShapePart CurJoinRoot - { - get - { - PartGroup 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(ManagedArea ManagedArea) { - ManagedArea.Draw(Current); + ManagedArea.Draw(GetCurrent()); } private ShapePart GetJoinRoot(PartGroup ps) @@ -304,16 +191,16 @@ namespace _2DGAMELIB ShapePart[] array2 = array; foreach (ShapePart p0 in array2) { - Vector2D p = p0.Position; - if (array.All((ShapePart p1) => p0 == p1 || p1.JP.All((JointPoint j) => !(p1.ToGlobal(j.Joint).DistanceSquared(p) <= JointLink.IdentityDistance)))) + Vector2D p = p0.GetPosition(); + if (array.All((ShapePart p1) => p0 == p1 || p1.GetJP().All((JointPoint j) => !(p1.ToGlobal(j.Joint).DistanceSquared(p) <= JointLink.IdentityDistance)))) { return p0; } } - ShapePart shapePart = array.FirstOrDefault((ShapePart e) => e.JP.Count > 0); - if (shapePart != null) + ShapePart par = array.FirstOrDefault((ShapePart e) => e.GetJP().Count > 0); + if (par != null) { - return shapePart; + return par; } return array.First(); } @@ -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(PartGroup ps) - { - if (pj.ContainsKey(ps)) - { - pj[ps].JoinPA(); - } - } - public ShapePart GetHitPar_(Color HitColor) { - return difs.FirstOrDefault((MorphVariant d) => d.IsHit(ref HitColor)).Parss.FirstOrDefault((PartGroup ps) => ps.IsHit(ref HitColor)).EnumAllPar().FirstOrDefault((ShapePart e) => e.HitColor == HitColor); + return difs.FirstOrDefault((MorphVariant d) => d.IsHit(ref HitColor)).Parss.FirstOrDefault((PartGroup ps) => ps.IsHit(ref HitColor)).EnumAllPar().FirstOrDefault((ShapePart e) => e.GetHitColor() == HitColor); } public bool IsHit(ref Color HitColor) diff --git a/2DGAMELIB/_2DGAMELIB/Vector2D_2.cs b/2DGAMELIB/_2DGAMELIB/Vector2D_2.cs deleted file mode 100644 index cae38c1..0000000 --- a/2DGAMELIB/_2DGAMELIB/Vector2D_2.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; - - -namespace _2DGAMELIB -{ - [Serializable] - public struct Vector2D_2 - { - public Vector2D v1; - - public Vector2D v2; - - public Vector2D_2(Vector2D v1, Vector2D v2) - { - this.v1 = v1; - this.v2 = v2; - } - } -} \ No newline at end of file diff --git a/2DGAMELIB/_2DGAMELIB/rewrite/Common.cs b/2DGAMELIB/_2DGAMELIB/rewrite/Common.cs index b275b9b..6da1819 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,97 @@ namespace _2DGAMELIB VectorMath.Add(ref result, ref BasePoint, out result); return result; } + + + + + + /* + public static PartGroup ToPars(this object obj) + { + return (PartGroup)obj; + } + + public static ShapePartT ToParT(this object obj) + { + return (ShapePartT)obj; + } + + public static ShapePart ToPar(this object obj) + { + return (ShapePart)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 bb53b36..9df706e 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 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_カル.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_カル.cs index ce88cba..39f0141 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 7953004..245dba8 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 db51b54..eb6c189 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 67ff435..ac45a2e 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 56b694e..f3d967d 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 ac42248..186e3e3 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 a6995a8..ec69485 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 7fb293e..2c37d3d 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 e7a5fdb..c56e606 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布(ShapePart p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1カルD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1カルD.cs index 2082649..c19564d 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 c394983..fd6230b 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布(ShapePart p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1ジグD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1ジグD.cs index e1df21d..4b9fb06 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 e4d0786..35fe6c0 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布(ShapePart p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1ハネD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1ハネD.cs index af6a8a8..9f30ba9 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 85d4168..4aa5fdb 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布(ShapePart p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1パツD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下1パツD.cs index 05d1895..6fa4627 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 38aa826..bd8fe8b 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布(ShapePart p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2カルD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2カルD.cs index 233936a..644db6a 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 38569ed..331f2c5 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布(ShapePart p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2ジグD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2ジグD.cs index b938058..47cf522 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 280156c..2fff342 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布(ShapePart p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2ハネD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2ハネD.cs index 5a56d3e..3bc8ac7 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 0c6ed04..3cff979 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布(ShapePart p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2パツD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_下2パツD.cs index 1974b85..8f9888e 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 b2579a3..75d622f 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布(ShapePart p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1カルD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1カルD.cs index aca9018..cd2b978 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 cacc31f..1439877 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布(ShapePart p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1ジグD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1ジグD.cs index 4dfa131..08b8960 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 c604603..a965580 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布(ShapePart p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1ハネD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1ハネD.cs index 696836e..cbe8e9c 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 da2f48c..e309197 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布(ShapePart p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1パツD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編1パツD.cs index feb4a11..d9f5ccd 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 f12842d..62dbb99 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布(ShapePart p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2カルD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2カルD.cs index f74d6ea..d8e7953 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 f587cd9..e8094c4 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布(ShapePart p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2ジグD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2ジグD.cs index 827dab8..95ddad9 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 8b73933..4b1acae 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布(ShapePart p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2ハネD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2ハネD.cs index 22ec395..d33df2c 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 2d0b60e..8af6b13 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布(ShapePart p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2パツD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair0_編2パツD.cs index 90b3adc..1c1147b 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 b386ab1..c363a05 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 9444069..2c85201 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 123084e..8849560 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 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1カル.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/BackHair1_結1カル.cs index ab0e8a7..c7f8eb4 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 2ac1056..e1c603f 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 dbe06be..af92eb4 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 7879705..2da1f61 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 631a146..5711e83 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 55f7305..430141c 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 fab0b70..739fe5c 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 bf15ccf..c2069ed 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 8f87431..2117824 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 415be16..6b19201 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 7c4a2e6..a83be08 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 b3957de..a50f63f 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 0ff5055..dcc3ebd 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 0c0d6b5..3d021df 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 c1275d6..215f0da 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 1d67581..aea1678 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 2c114f2..86e6ca6 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 c558d53..82eca61 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 479a32f..f41b938 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 be083e6..fc212be 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 bbb0868..552915c 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 176b45e..30ec583 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 8026e43..4d2880c 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; ShapePart shapePart = GlobalState.胴体["Head"][0][0]["頭"].ToPar(); ShapePart x0Y0_頭 = X0Y0_Head; - x0Y0_頭.OP[0].ps[3] = shapePart.OP[0].ps[3].AddY(y); - x0Y0_頭.OP[0].ps[4] = shapePart.OP[0].ps[4].AddY(y); - x0Y0_頭.OP[1].ps[0] = shapePart.OP[1].ps[0].AddY(y); - x0Y0_頭.OP[1].ps[1] = shapePart.OP[1].ps[1].AddY(y); - x0Y0_頭.OP[1].ps[2] = shapePart.OP[1].ps[2].AddY(y); - x0Y0_頭.OP[1].ps[3] = shapePart.OP[1].ps[3].AddY(y); - x0Y0_頭.OP[2].ps[0] = shapePart.OP[2].ps[0].AddY(y); - x0Y0_頭.OP[2].ps[1] = shapePart.OP[2].ps[1].AddY(y); + x0Y0_頭.GetOP()[0].ps[3] = shapePart.GetOP()[0].ps[3].AddY(y); + x0Y0_頭.GetOP()[0].ps[4] = shapePart.GetOP()[0].ps[4].AddY(y); + x0Y0_頭.GetOP()[1].ps[0] = shapePart.GetOP()[1].ps[0].AddY(y); + x0Y0_頭.GetOP()[1].ps[1] = shapePart.GetOP()[1].ps[1].AddY(y); + x0Y0_頭.GetOP()[1].ps[2] = shapePart.GetOP()[1].ps[2].AddY(y); + x0Y0_頭.GetOP()[1].ps[3] = shapePart.GetOP()[1].ps[3].AddY(y); + x0Y0_頭.GetOP()[2].ps[0] = shapePart.GetOP()[2].ps[0].AddY(y); + x0Y0_頭.GetOP()[2].ps[1] = shapePart.GetOP()[2].ps[1].AddY(y); } public void 開顎(口 口) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/HeadD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/HeadD.cs index 7a59f56..3b7a2c4 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 5e4782b..4e01d85 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 ShapePart(); - MaiB.BasePointBase = DataConsts.Vec2DZero; - MaiB.PositionBase = vector2D; - MaiB.SizeBase = num2; - MaiB.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - MaiB.OP.ScalingX(MaiB.BasePointBase, num3); - MaiB.OP.ScalingY(MaiB.BasePointBase, num4); - MaiB.Closed = true; - MaiB.BrushColor = Color.FromArgb(160, ColorHelper.Black); + MaiB.SetBasePointBase(DataConsts.Vec2DZero); + MaiB.SetPositionBase(vector2D); + MaiB.SetSizeBase(num2); + MaiB.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + MaiB.GetOP().ScalingX(MaiB.GetBasePointBase(), num3); + MaiB.GetOP().ScalingY(MaiB.GetBasePointBase(), num4); + MaiB.SetClosed(true); + MaiB.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); MaiB.Hit = false; - MaiB.JP.Add(new JointPoint(MaiB.OP.GetCenter())); + MaiB.GetJP().Add(new JointPoint(MaiB.GetOP().GetCenter())); Mai = new TextBlock("Tex1", vector2D, num2, num3 * 0.98, num4 * 0.91, new Font("MS Gothic", 1f), 0.08, 0, " ", ColorHelper.White, ColorHelper.Black, Color.Transparent, 19.0, ColorHelper.White, delegate(TextBlock sp) { sp.Text = sp.Text; }); - Mai.ShapePartT.BasePointBase = Mai.ShapePartT.OP.GetCenter().MulY(y); - Mai.Position = MaiB.ToGlobal(MaiB.JP[0].Joint); - Mai.Feed.OP.OutlineFalse(); + Mai.ShapePartT.SetBasePointBase(Mai.ShapePartT.GetOP().GetCenter().MulY(y)); + Mai.Position = MaiB.ToGlobal(MaiB.GetJP()[0].Joint); + Mai.Feed.GetOP().OutlineFalse(); double num5 = num4 * 4.53; Mai2B = new ShapePart(); - Mai2B.BasePointBase = DataConsts.Vec2DZero; - Mai2B.PositionBase = new Vector2D(vector2D.X, 0.01); - Mai2B.SizeBase = num2; - Mai2B.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - Mai2B.OP.ScalingX(Mai2B.BasePointBase, num3); - Mai2B.OP.ScalingY(Mai2B.BasePointBase, num5); - Mai2B.Closed = true; - Mai2B.BrushColor = Color.FromArgb(160, ColorHelper.Black); + Mai2B.SetBasePointBase(DataConsts.Vec2DZero); + Mai2B.SetPositionBase(new Vector2D(vector2D.X, 0.01)); + Mai2B.SetSizeBase(num2); + Mai2B.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + Mai2B.GetOP().ScalingX(Mai2B.GetBasePointBase(), num3); + Mai2B.GetOP().ScalingY(Mai2B.GetBasePointBase(), num5); + Mai2B.SetClosed(true); + Mai2B.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); Mai2B.Hit = false; - Mai2B.JP.Add(new JointPoint(Mai2B.OP.GetCenter())); + Mai2B.GetJP().Add(new JointPoint(Mai2B.GetOP().GetCenter())); Mai2 = new TextBlock("Tex3", vector2D, num2, num3 * 0.98, num5 * 0.97, new Font("MS Gothic", 1f), 0.08, 0, " ", ColorHelper.White, ColorHelper.Black, Color.Transparent, 19.0, ColorHelper.White, delegate(TextBlock sp) { sp.Text = sp.Text; }); - Mai2.ShapePartT.BasePointBase = Mai2.ShapePartT.OP.GetCenter().MulY(y); - Mai2.Position = Mai2B.ToGlobal(Mai2B.JP[0].Joint); - Mai2.Feed.OP.OutlineFalse(); + Mai2.ShapePartT.SetBasePointBase(Mai2.ShapePartT.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 ShapePart(); - SubB.BasePointBase = DataConsts.Vec2DZero; - SubB.PositionBase = vector2D; - SubB.SizeBase = num2; - SubB.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - SubB.OP.ScalingX(SubB.BasePointBase, num3); - SubB.OP.ScalingY(SubB.BasePointBase, num4); - SubB.Closed = true; - SubB.BrushColor = Color.FromArgb(160, ColorHelper.Black); + SubB.SetBasePointBase(DataConsts.Vec2DZero); + SubB.SetPositionBase(vector2D); + SubB.SetSizeBase(num2); + SubB.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + SubB.GetOP().ScalingX(SubB.GetBasePointBase(), num3); + SubB.GetOP().ScalingY(SubB.GetBasePointBase(), num4); + SubB.SetClosed(true); + SubB.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); SubB.Hit = false; - SubB.JP.Add(new JointPoint(SubB.OP.GetCenter())); + SubB.GetJP().Add(new JointPoint(SubB.GetOP().GetCenter())); Sub = new TextBlock("Tex4", vector2D, num2 * 1.01, num3 * 0.98, num4 * 0.91, new Font("MS Gothic", 1f), 0.07, 0, " ", ColorHelper.White, ColorHelper.Black, Color.Transparent, 15.0); - Sub.ShapePartT.BasePointBase = Sub.ShapePartT.OP.GetCenter().MulY(y); - Sub.Position = SubB.ToGlobal(SubB.JP[0].Joint); + Sub.ShapePartT.SetBasePointBase(Sub.ShapePartT.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.", ColorHelper.White, ColorHelper.Black, Color.FromArgb(160, ColorHelper.Black), ColorHelper.Empty); - SubInnfo_l.ShapePartT.PositionBase = SubInnfo_l.ShapePartT.PositionBase.AddY((0.0 - SubInnfo_l.ShapePartT.OP[0].ps[3].Y) * SubInnfo_l.ShapePartT.SizeBase); + SubInnfo_l.ShapePartT.SetPositionBase(SubInnfo_l.ShapePartT.GetPositionBase().AddY((0.0 - SubInnfo_l.ShapePartT.GetOP()[0].ps[3].Y) * SubInnfo_l.ShapePartT.GetSizeBase())); Sub2B = new ShapePart(); - Sub2B.BasePointBase = DataConsts.Vec2DZero; - Sub2B.PositionBase = new Vector2D(0.0025, vector2D.Y); - Sub2B.SizeBase = num2; - Sub2B.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - Sub2B.OP.ScalingX(Sub2B.BasePointBase, num3); - Sub2B.OP.ScalingY(Sub2B.BasePointBase, num4); - Sub2B.Closed = true; - Sub2B.BrushColor = Color.FromArgb(160, ColorHelper.Black); + Sub2B.SetBasePointBase(DataConsts.Vec2DZero); + Sub2B.SetPositionBase(new Vector2D(0.0025, vector2D.Y)); + Sub2B.SetSizeBase(num2); + Sub2B.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + Sub2B.GetOP().ScalingX(Sub2B.GetBasePointBase(), num3); + Sub2B.GetOP().ScalingY(Sub2B.GetBasePointBase(), num4); + Sub2B.SetClosed(true); + Sub2B.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); Sub2B.Hit = false; - Sub2B.JP.Add(new JointPoint(SubB.OP.GetCenter())); - Sub2 = new TextBlock("Tex3", Sub2B.PositionBase, num2 * 1.01, num3 * 0.98, num4 * 0.91, new Font("MS Gothic", 1f), 0.07, 0, "", ColorHelper.White, ColorHelper.Black, Color.Transparent, 15.0); - Sub2.ShapePartT.BasePointBase = Sub2.ShapePartT.OP.GetCenter().MulY(y); - Sub2.Position = Sub2B.ToGlobal(Sub2B.JP[0].Joint); + Sub2B.GetJP().Add(new JointPoint(SubB.GetOP().GetCenter())); + Sub2 = new TextBlock("Tex3", Sub2B.GetPositionBase(), num2 * 1.01, num3 * 0.98, num4 * 0.91, new Font("MS Gothic", 1f), 0.07, 0, "", ColorHelper.White, ColorHelper.Black, Color.Transparent, 15.0); + Sub2.ShapePartT.SetBasePointBase(Sub2.ShapePartT.GetOP().GetCenter().MulY(y)); + Sub2.Position = Sub2B.ToGlobal(Sub2B.GetJP()[0].Joint); yp = new ShapePartT(); yp.Text = "・" + GameText.はい; - yp.SizeBase = Mai.ShapePartT.SizeBase; - yp.Font = new Font("MS Gothic", 1f); - yp.FontSize = Mai.ShapePartT.FontSize; + yp.SetSizeBase(Mai.ShapePartT.GetSizeBase()); + yp.SetFont(new Font("MS Gothic", 1f)); + yp.SetFontSize(Mai.ShapePartT.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 = ColorHelper.White; - yp.BrushColor = Color.FromArgb(0, ColorHelper.Black); - yp.ShadBrush = new SolidBrush(ColorHelper.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(ColorHelper.White); + yp.SetBrushColor(Color.FromArgb(0, ColorHelper.Black)); + yp.SetShadBrush(new SolidBrush(ColorHelper.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 Button(yp, delegate { }); np = new ShapePartT(); np.Text = "・" + GameText.いいえ; - np.SizeBase = Mai.ShapePartT.SizeBase; - np.Font = new Font("MS Gothic", 1f); - np.FontSize = Mai.ShapePartT.FontSize; + np.SetSizeBase(Mai.ShapePartT.GetSizeBase()); + np.SetFont(new Font("MS Gothic", 1f)); + np.SetFontSize(Mai.ShapePartT.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 = ColorHelper.White; - np.BrushColor = Color.FromArgb(0, ColorHelper.Black); - np.ShadBrush = new SolidBrush(ColorHelper.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(ColorHelper.White); + np.SetBrushColor(Color.FromArgb(0, ColorHelper.Black)); + np.SetShadBrush(new SolidBrush(ColorHelper.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 Button(np, delegate { @@ -280,8 +280,9 @@ namespace SlaveMatrix private void SetButPos() { - yp.PositionBase = new Vector2D(yp.PositionBase.X, Mai.ShapePartT.ToGlobal(Mai.ShapePartT.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); + double[] rect = Mai.ShapePartT.GetStringRect(Are.UnitScale, Are.DisplayGraphics); + yp.SetPositionBase(new Vector2D(yp.GetPositionBase().X, Mai.ShapePartT.ToGlobal(new Vector2D(rect[2], rect[3])).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 ed24e5b..57c4972 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 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Leg_人.cs index 799057b..8ca689a 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 a67d3cc..02b78d2 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 56e5a07..bf219e0 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 7485624..8ee190c 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 1635ce8..e70f89e 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 7de3b78..e6ba1b3 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 35064d5..1740636 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 bd5b1b7..33fed65 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 a82447c..477d85c 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 5dfee38..926e116 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 a9176c8..19cb46a 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 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_人.cs index 053a7c6..5648717 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 08c7485..27651e5 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 9022482..d8f4323 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 0d636ef..07129c8 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 131ab4d..9ba995d 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 69edc3b..a8e1f6e 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 2db61dc..9a549a9 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 74dffb5..383a016 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 be1ecfc..4df3ba9 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 1d1e9bb..72da546 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 00ed01b..76783d1 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 518a688..5343af4 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 63609c5..68b7160 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 1b74c6a..d1c6d28 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 5eb08eb..6a447d2 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 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_カル.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/SideHair_カル.cs index ff32b7d..58a2bc0 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 cc93ffd..afb1c7d 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 58fee75..11f72ff 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 d6d8fe3..c4a3a41 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 0593057..2629235 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 6464a50..7044ee3 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 0c02635..8521bc6 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 ebba510..4575f00 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 47cbdfc..5a8ee5a 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 8286e9e..6085ed4 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 d3f855e..b88ecb7 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 3c1aabd..359aa6c 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 5a62011..5d05512 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 9fe2a65..84bd4e4 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 (Element item in Cha.Body.Elements.Where((Element 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 7ba6265..6c57cab 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/TextBubble.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/TextBubble.cs @@ -18,7 +18,7 @@ namespace SlaveMatrix public Motion 消失; - public Color GetHitColor => TextBlock.ShapePartT.HitColor; + public Color GetHitColor => TextBlock.ShapePartT.GetHitColor(); public string Text { @@ -54,14 +54,14 @@ namespace SlaveMatrix 吹出し.尺度B = num * 1.1; 吹出し.尺度YB = num2; TextBlock = new TextBlock("TextBlock", DataConsts.Vec2DZero, 0.1, 吹出し.尺度B, 0.63 * num * num2, Font, TextSize, 25, Text, TextColor, ShadColor, Color.Transparent, Speed, FeedColor, Action); - TextBlock.Feed.OP.OutlineFalse(); - TextBlock.ShapePartT.BasePointBase = TextBlock.ShapePartT.OP.GetCenter().AddY(0.04); + TextBlock.Feed.GetOP().OutlineFalse(); + TextBlock.ShapePartT.SetBasePointBase(TextBlock.ShapePartT.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); - TextBlock.ShapePartT.TextColor = Color.FromArgb((int)((double)ta * v), TextBlock.ShapePartT.TextColor); - TextBlock.ShapePartT.ShadColor = Color.FromArgb((int)((double)sa * v), TextBlock.ShapePartT.ShadColor); + 吹出し.X0Y0_吹出し.SetPenColor(Color.FromArgb((int)((double)pa * v), 吹出し.X0Y0_吹出し.GetPenColor())); + 吹出し.X0Y0_吹出し.SetBrushColor(Color.FromArgb((int)((double)ba * v), 吹出し.X0Y0_吹出し.GetBrushColor())); + TextBlock.ShapePartT.SetTextColor(Color.FromArgb((int)((double)ta * v), TextBlock.ShapePartT.GetTextColor())); + TextBlock.ShapePartT.SetShadColor(Color.FromArgb((int)((double)sa * v), TextBlock.ShapePartT.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); - TextBlock.ShapePartT.TextColor = Color.FromArgb(ta, TextBlock.ShapePartT.TextColor); - TextBlock.ShapePartT.ShadColor = Color.FromArgb(sa, TextBlock.ShapePartT.ShadColor); + 吹出し.X0Y0_吹出し.SetPenColor(Color.FromArgb(pa, 吹出し.X0Y0_吹出し.GetPenColor())); + 吹出し.X0Y0_吹出し.SetBrushColor(Color.FromArgb(ba, 吹出し.X0Y0_吹出し.GetBrushColor())); + TextBlock.ShapePartT.SetTextColor(Color.FromArgb(ta, TextBlock.ShapePartT.GetTextColor())); + TextBlock.ShapePartT.SetShadColor(Color.FromArgb(sa, TextBlock.ShapePartT.GetShadColor())); } }; } @@ -114,13 +114,13 @@ namespace SlaveMatrix 吹出し.尺度B = num * 1.1; 吹出し.尺度YB = num2; TextBlock = new TextBlock("TextBlock", DataConsts.Vec2DZero, 0.1, 吹出し.尺度B, 0.63 * num * num2, Font, TextSize, 25, Text, TextColor, ShadColor, Color.Transparent, Speed); - TextBlock.ShapePartT.BasePointBase = TextBlock.ShapePartT.OP.GetCenter().AddY(0.04); + TextBlock.ShapePartT.SetBasePointBase(TextBlock.ShapePartT.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); - TextBlock.ShapePartT.TextColor = Color.FromArgb(correctTextAlpha, TextBlock.ShapePartT.TextColor); - TextBlock.ShapePartT.ShadColor = Color.FromArgb(correctShadeAlpha, TextBlock.ShapePartT.ShadColor); + 吹出し.X0Y0_吹出し.SetPenColor(Color.FromArgb(correctPenAlpha, 吹出し.X0Y0_吹出し.GetPenColor())); + 吹出し.X0Y0_吹出し.SetBrushColor(Color.FromArgb(correctBrushAlpha, 吹出し.X0Y0_吹出し.GetBrushColor())); + TextBlock.ShapePartT.SetTextColor(Color.FromArgb(correctTextAlpha, TextBlock.ShapePartT.GetTextColor())); + TextBlock.ShapePartT.SetShadColor(Color.FromArgb(correctShadeAlpha, TextBlock.ShapePartT.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); - TextBlock.ShapePartT.TextColor = Color.FromArgb(ta, TextBlock.ShapePartT.TextColor); - TextBlock.ShapePartT.ShadColor = Color.FromArgb(sa, TextBlock.ShapePartT.ShadColor); + 吹出し.X0Y0_吹出し.SetPenColor(Color.FromArgb(pa, 吹出し.X0Y0_吹出し.GetPenColor())); + 吹出し.X0Y0_吹出し.SetBrushColor(Color.FromArgb(ba, 吹出し.X0Y0_吹出し.GetBrushColor())); + TextBlock.ShapePartT.SetTextColor(Color.FromArgb(ta, TextBlock.ShapePartT.GetTextColor())); + TextBlock.ShapePartT.SetShadColor(Color.FromArgb(sa, TextBlock.ShapePartT.GetShadColor())); } }; } @@ -193,7 +193,7 @@ namespace SlaveMatrix public void 接続() { 吹出し.接続P(); - TextBlock.Position = 吹出し.X0Y0_吹出し.ToGlobal(吹出し.X0Y0_吹出し.JP[0].Joint); + TextBlock.Position = 吹出し.X0Y0_吹出し.ToGlobal(吹出し.X0Y0_吹出し.GetJP()[0].Joint); } public void Draw(RenderArea Are, FpsCounter FPS) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/Torso.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/Torso.cs index 95057ef..9e0a224 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 5963d4c..1dbec82 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 f69d9c4..e16f413 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 e09036b..57d446c 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 0a233a7..90b0781 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,7 +634,7 @@ namespace SlaveMatrix public override void SetAngle0() { _ = 右; - 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 5633b9a..8e17cf2 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 8bd351b..efb014d 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 (ShapePart 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 81cbe3d..d70e94d 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 2aa6f5e..304353a 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 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_人.cs index a4db5e6..036984b 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 3b6f11a..88a70ab 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 c77327c..a408217 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 e491f90..f086716 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 4bfa592..1f94d1a 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 095dcc1..f9f4d1e 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 6cdf20e..3a966a6 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 f09e6b8..00dbb6c 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 0bccc05..219c1e3 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 c9d33a9..28d18d8 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 c5e6ae9..4fcc223 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 1a3f169..55c57ea 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 ca1ce70..afda73d 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 a93995e..8d6495e 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 e61479e..430ecc2 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 1eb77ec..92e2895 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 0d9f5e5..4b60aa5 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 5cd4084..d4a82f5 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 3b3f23e..5ef57c4 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 (ShapePart 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 5ed37d4..47fc8c0 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 86fcce5..3dafec9 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 c47f0c1..5a7a16b 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 6243700..b9098dd 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 98a7275..e913c47 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.Element.Body.Current.GetPar(stum.Path); + p = stum.Element.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 702a532..929d372 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.Element.Body.Current.GetPar(stum.Path); - stum.Sta.角度B = p.AngleBase - stum.ShapePart.AngleBase; + p = stum.Element.Body.GetCurrent().GetPar(stum.Path); + stum.Sta.角度B = p.GetAngleBase() - stum.ShapePart.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 b0d5d57..030a345 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.Element.Body.Current.GetPar(stum.Path); - stum.Sta.角度B = p.AngleBase - stum.ShapePart.AngleBase; + p = stum.Element.Body.GetCurrent().GetPar(stum.Path); + stum.Sta.角度B = p.GetAngleBase() - stum.ShapePart.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 029a334..62ccc99 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 c7ab76a..beb4f6b 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 58c2ff0..e5a50d0 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 1388879..83afb91 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 53d235e..ce6f3c6 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 a74eb28..a6e7c23 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 e4aaace..3397155 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 b9046b2..1c360de 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 189523e..c6aeb2f 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 a5f65c4..2a418e5 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 858950a..897db3f 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 2a0b85a..7bbc845 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 89b8dfb..caf6607 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 51c4bbc..a5713ca 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 58259b8..2d1153e 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 dacb914..6c8abe8 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 f569007..590d23a 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 4c35dd9..b818991 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 3ce17f5..63ee56c 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.濃度; ManagedArea = new ManagedArea(Med.Unit, 3.0, 7.0, 0.07, Med.DisQuality, Med.HitAccuracy, 0.45); ManagedArea.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 = ManagedArea.GetPosition(ref ManagedArea.BasePoint); foreach (ShapePart 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 fb986cb..75ff712 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(対象.Element.位置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 = GeometryUtils.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() + GeometryUtils.GetRandomVector() * 0.0025); + p = 調教UI.射精.Body.GetCurrent().EnumAllPar().First(); + cp = p.ToGlobal(p.GetOP().GetCenter() + GeometryUtils.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 938a266..46695f0 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class ボテ腹 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ボテ腹_人.cs index a90b33b..e80dbb2 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 2aa2ec5..63309e7 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 6e6aa3e..46a3e6a 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 358aef9..204bc04 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 a5e4498..a8f80a0 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 b363dbc..e9f176f 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 5db7429..fd3013e 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 d11d87e..e8c10f4 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 cc2efdb..8aa85e7 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) { 対象.Element.Intensity = 0.5; @@ -365,7 +365,7 @@ namespace SlaveMatrix マウス処理2.対象.Element.尺度C = s * d; } マウス処理2.対象.Element.位置C = GeometryUtils.GetRandomVector() * d * 0.0005; - 調教UI.マウス.X2Y0_舌.PositionCont = GeometryUtils.GetRandomVector() * d * 0.001; + 調教UI.マウス.X2Y0_舌.SetPositionCont(GeometryUtils.GetRandomVector() * d * 0.001); if (sw.IsRunning) { if (sw.ElapsedMilliseconds > 250) @@ -413,7 +413,7 @@ namespace SlaveMatrix m.ResetValue(); マウス処理2.対象.Element.尺度C = 1.0; マウス処理2.対象.Element.位置C = DataConsts.Vec2DZero; - 調教UI.マウス.X2Y0_舌.PositionCont = DataConsts.Vec2DZero; + 調教UI.マウス.X2Y0_舌.SetPositionCont(DataConsts.Vec2DZero); } }; 調教UI.Mots.Add(キスモーション.GetHashCode().ToString(), キスモーション); diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/ロータ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/ロータ.cs index a29f88c..68dadae 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 63492d3..eaefb7d 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 c279253..47e9436 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着トップ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着トップ.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 上着トップ : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着トップ_ドレス.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着トップ_ドレス.cs index 5ab11d0..261ce6d 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 1f3e40b..8cf7340 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 7200909..ca55371 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 上着ボトム : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_クロス.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ボトム_クロス.cs index 63a1bb2..22e0ac2 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 cb10322..83c37d9 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 4d89187..80e6add 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 3f2d5a9..53731c1 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 eda5312..1c144cd 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 287a1ab..36b396e 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 448d86f..ce55629 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ミドル.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ミドル.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 上着ミドル : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ミドル_ドレスD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/上着ミドル_ドレスD.cs index 24b7662..234536e 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 894f093..784fcb9 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 下着トップ : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_クロス.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着トップ_クロス.cs index 901b5d5..7f7848c 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 2d3850d..7f60b07 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 3f52c66..291c0af 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 881e55b..10d816e 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 5bd2e53..a3b2813 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 e21e8a1..cca55e5 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 a6b3b5a..c5bfed1 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 42e021c..124a0fc 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 eaf40ed..7fa4512 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 9920941..39e5e92 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 027aee3..1cd4e2b 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着ボトム.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着ボトム.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 下着ボトム : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着ボトム_ノーマル.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/下着ボトム_ノーマル.cs index 2ba9cbc..99f7c7a 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 63f9721..76b0852 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 cb136b1..14b5659 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 ac5d960..d0878f7 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 a47fab4..b4b161a 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 (ShapePart 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 8f63ca3..7d306c2 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 3090336..bd8053d 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 d9deb70..6ebcbf8 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 a0273a4..001e745 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 (ShapePart 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 (ShapePart 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 31071c4..5ba00b3 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 fafd20c..a501ff0 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 前翅 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_甲.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前翅_甲.cs index a8ba3f5..3657b66 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 4c32c1c..5b590ff 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 669a2b9..cdb8773 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 a96c68e..f7a34e4 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 4e4c781..af46d16 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 c80c32f..23fb688 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 7722ff9..68a7306 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 fe4bf50..fb1a22b 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 1d93153..c3ae2ed 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 前髪 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグ.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/前髪_ジグ.cs index 69e58e3..088a5c5 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 2212891..83bb515 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 c59ffb0..b46c958 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 b770d7c..20303c7 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 dca8427..e54a0ae 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 bb8e78e..4746a76 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 7404a22..349872e 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 76a78f5..782b488 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 4f1fece..d877cb8 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 6066360..4f571a0 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 57131c9..cc573b0 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 817424d..673d0ce 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 a785bea..df23a98 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 b593797..62cb5b0 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 e67d40a..effcd50 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 72e1346..5361b23 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 ff6c017..f18501e 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 7fba8e4..1ae92e1 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 1806e3c..264c758 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 f2a5458..e585fa6 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 1e1b7d3..aac9f92 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 2b82585..8de9a16 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 853c8dc..7546aef 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 a0c4c16..8c89f09 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 c79c392..3af3b31 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 9e038fa..3c5b59b 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 55ebe4b..0a385b0 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 5b5ab81..3afe837 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 d188346..afbbffc 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 8aaeb92..83e2600 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 b7d7d9d..cfb2a89 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 5a743e3..e2c07f0 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 7959363..a2070ef 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 8ae5d62..750fff5 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 1ca7388..7166ba1 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 6a72670..c554d3a 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 4f6ceac..b06c8ea 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 161d120..e761017 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 913a286..aa9aa60 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/半身.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/半身.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 半身 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/単目.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/単目.cs index 114899d..39aee28 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 0c3d0fa..b9c49eb 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 19131c1..103d025 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 1205818..1d85f32 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 b793df1..ccdc98e 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 (ShapePart 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 980e57e..4ec4504 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 54ec643..9f4b6b1 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 bc7fd8c..24002b1 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 500dfb7..b8cbb37 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 7f30ba8..5ebd6d0 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 4277318..93e4b8e 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 bd919a9..183f05b 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/双瞼.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/双瞼.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 双瞼 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/口.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/口.cs index fdac83b..e43c5d1 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/口.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/口.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 口 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/口_裂け.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/口_裂け.cs index dae8097..08e6bbe 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 46482bc..1db136a 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 6a53fcc..d791bd7 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 8b18c35..5540905 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 e336a18..91fc63a 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.線 = ColorHelper.Black; 吹出しCD.色 = new Color2(ref ColorHelper.White, ref ColorHelper.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 fe644b2..5fab68c 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 47a5e3c..5e65cd9 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 d57032c..710b9df 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 914464f..9615ca5 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 ab93593..58b14c7 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 c3e1691..5828f1d 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 d0bc994..166a81e 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 3f05424..78bdde1 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 0e93923..cedbb5b 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 aaf5ce0..9852dbc 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 211b95d..9d174e7 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 efea003..165a43d 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 9259419..aca8d61 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 1a14e7b..6866113 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 3a90eb9..aa9ec19 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 8919025..3cd3334 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 379bf11..770f747 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 404e525..76c77cf 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 3e1f88b..978c6d4 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 0c03352..199ce03 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 ed966a5..076e3bf 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 8540f19..f1a3851 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 5787e18..a8b3339 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 c1f347e..d7bc048 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 6611526..d059c89 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 4822078..359449e 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 cfae954..88ee9ad 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 9585772..ecb3635 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 2828d7f..89260ff 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革(ShapePart p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ウD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ウD.cs index c0e5662..642aec1 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 7bf1c95..76af0dc 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 b67db6c..d63081d 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 0698f86..abdc211 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革(ShapePart p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ヘD.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_ヘD.cs index 57f4943..9a3ac94 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 f9ac1cd..8a58b05 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 8ee92fe..a1c33c7 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 3552016..3481d23 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 8dcfd5a..5965ecc 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 544dc3d..c79d54b 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 29cba53..55ec270 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 8d75c31..3cd638c 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 5d53deb..32fdadd 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 fb4516a..b2fa74e 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 efeca6f..323b1de 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 8b7e130..a7cd195 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 78ea1bc..399534e 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 614774a..1ccde34 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 9070cf7..0bf50ef 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 3ea43f9..55f8fd7 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 a175b50..4a32385 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 2eb6095..9364180 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 9393298..322e915 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 83f0c77..0e724a3 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 821da67..a78ac0a 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 73ecbd8..b617e28 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 d6185cc..5b3af42 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 5a7035b..5aa1810 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 abc6fc0..ccf058a 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 1551eeb..1763ace 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 24e7e6f..1d90d38 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 a18ce37..930797b 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 bff13e0..6720a7d 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 bfbaed3..331600c 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 5982882..78e0b44 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 2809392..7bc4842 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 7c03768..750ef45 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 822f541..3e690f9 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 8ab093e..2e1cfeb 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 f0142b2..1ae8c1c 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革(ShapePart p) diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_鯨D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾_鯨D.cs index f179192..27fccb8 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 3c1e975..806de16 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 69d9ed7..d2dde46 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 d1bafde..e721e4d 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 a049e9f..d3ced67 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 ef099f1..0e36a80 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾鰭.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾鰭.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 尾鰭 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾鰭_魚.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/尾鰭_魚.cs index 3eccfe1..3f791c8 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 adbf8bd..b166734 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 5db22a9..d600294 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 26bcb1b..b18d656 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 後翅 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_甲.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/後翅_甲.cs index 82b4a69..c44fcb8 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 (ShapePart 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 7484b4b..2e30cfc 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 6647720..771dd36 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 10901ce..4fcaf6b 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 3f9345b..86cd764 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 7544933..e21b72d 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 090ea46..ac8bf1d 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 87f7679..ab67a3a 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 f72b5d2..d9e6d42 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 性器 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器_人.cs index 49e45a1..760dd1b 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); - ManagedArea.Position = p.ToGlobal(p.JP[接続根.Index].Joint); + p = 接続根.Difs0.GetCurrent().GetPar(接続根.Path0); + ManagedArea.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 031477e..fe363ba 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 6b74022..e34f618 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); - ManagedArea.Position = p.ToGlobal(p.JP[接続根.Index].Joint); + p = 接続根.Difs0.GetCurrent().GetPar(接続根.Path0); + ManagedArea.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 220c2ab..8f58f8a 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 baee853..c26277e 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器精液.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器精液.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 性器精液 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器精液_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/性器精液_人.cs index 293904c..10445df 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 c7cb9ad..18d4a4c 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 8332510..e572406 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 23b72b5..5e2e5b1 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 4164e6f..9d4e0e4 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 手 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/手_人.cs index 791abbd..a19d571 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(); CurveOutline curveOutline = oP[(int)((double)(oP.Count - num2) * 0.5)]; int index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y0_人指_人指3.BasePointBase) * num * value; - List oP2 = X0Y0_中指_中指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y0_人指_人指3.GetBasePointBase()) * num * value; + List oP2 = X0Y0_中指_中指3.GetOP(); curveOutline = oP2[(int)((double)(oP2.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y0_中指_中指3.BasePointBase) * num * value; - List oP3 = X0Y0_薬指_薬指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y0_中指_中指3.GetBasePointBase()) * num * value; + List oP3 = X0Y0_薬指_薬指3.GetOP(); curveOutline = oP3[(int)((double)(oP3.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y0_薬指_薬指3.BasePointBase) * num * value; - List oP4 = X0Y0_小指_小指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y0_薬指_薬指3.GetBasePointBase()) * num * value; + List oP4 = X0Y0_小指_小指3.GetOP(); curveOutline = oP4[(int)((double)(oP4.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y0_小指_小指3.BasePointBase) * num * value; - List oP5 = X0Y0_親指_親指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y0_小指_小指3.GetBasePointBase()) * num * value; + List oP5 = X0Y0_親指_親指3.GetOP(); curveOutline = oP5[(int)((double)(oP5.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y0_親指_親指3.BasePointBase) * num * 0.65 * value; - List oP6 = X0Y9_人指_人指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y0_親指_親指3.GetBasePointBase()) * num * 0.65 * value; + List oP6 = X0Y9_人指_人指3.GetOP(); curveOutline = oP6[(int)((double)(oP6.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y9_人指_人指3.BasePointBase) * num * value; - List oP7 = X0Y9_中指_中指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y9_人指_人指3.GetBasePointBase()) * num * value; + List oP7 = X0Y9_中指_中指3.GetOP(); curveOutline = oP7[(int)((double)(oP7.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y9_中指_中指3.BasePointBase) * num * value; - List oP8 = X0Y9_薬指_薬指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y9_中指_中指3.GetBasePointBase()) * num * value; + List oP8 = X0Y9_薬指_薬指3.GetOP(); curveOutline = oP8[(int)((double)(oP8.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y9_薬指_薬指3.BasePointBase) * num * value; - List oP9 = X0Y9_小指_小指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y9_薬指_薬指3.GetBasePointBase()) * num * value; + List oP9 = X0Y9_小指_小指3.GetOP(); curveOutline = oP9[(int)((double)(oP9.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y9_小指_小指3.BasePointBase) * num * value; - List oP10 = X0Y9_親指_親指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y9_小指_小指3.GetBasePointBase()) * num * value; + List oP10 = X0Y9_親指_親指3.GetOP(); curveOutline = oP10[(int)((double)(oP10.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y9_親指_親指3.BasePointBase) * num * 0.65 * value; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y9_親指_親指3.GetBasePointBase()) * num * 0.65 * value; num2 = ((!右) ? 1 : 0); - List oP11 = X0Y1_人指_人指3.OP; + List oP11 = X0Y1_人指_人指3.GetOP(); curveOutline = oP11[(int)((double)(oP11.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y1_人指_人指3.BasePointBase) * num * value; - List oP12 = X0Y1_中指_中指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y1_人指_人指3.GetBasePointBase()) * num * value; + List oP12 = X0Y1_中指_中指3.GetOP(); curveOutline = oP12[(int)((double)(oP12.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y1_中指_中指3.BasePointBase) * num * value; - List oP13 = X0Y1_薬指_薬指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y1_中指_中指3.GetBasePointBase()) * num * value; + List oP13 = X0Y1_薬指_薬指3.GetOP(); curveOutline = oP13[(int)((double)(oP13.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y1_薬指_薬指3.BasePointBase) * num * value; - List oP14 = X0Y1_小指_小指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y1_薬指_薬指3.GetBasePointBase()) * num * value; + List oP14 = X0Y1_小指_小指3.GetOP(); curveOutline = oP14[(int)((double)(oP14.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y1_小指_小指3.BasePointBase) * num * value; - List oP15 = X0Y1_親指_親指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y1_小指_小指3.GetBasePointBase()) * num * value; + List oP15 = X0Y1_親指_親指3.GetOP(); curveOutline = oP15[(int)((double)(oP15.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y1_親指_親指3.BasePointBase) * num * 0.65 * value; - List oP16 = X0Y2_人指_人指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y1_親指_親指3.GetBasePointBase()) * num * 0.65 * value; + List oP16 = X0Y2_人指_人指3.GetOP(); curveOutline = oP16[(int)((double)(oP16.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y2_人指_人指3.BasePointBase) * num * value; - List oP17 = X0Y2_中指_中指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y2_人指_人指3.GetBasePointBase()) * num * value; + List oP17 = X0Y2_中指_中指3.GetOP(); curveOutline = oP17[(int)((double)(oP17.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y2_中指_中指3.BasePointBase) * num * value; - List oP18 = X0Y2_薬指_薬指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y2_中指_中指3.GetBasePointBase()) * num * value; + List oP18 = X0Y2_薬指_薬指3.GetOP(); curveOutline = oP18[(int)((double)(oP18.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y2_薬指_薬指3.BasePointBase) * num * value; - List oP19 = X0Y2_小指_小指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y2_薬指_薬指3.GetBasePointBase()) * num * value; + List oP19 = X0Y2_小指_小指3.GetOP(); curveOutline = oP19[(int)((double)(oP19.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y2_小指_小指3.BasePointBase) * num * value; - List oP20 = X0Y2_親指_親指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y2_小指_小指3.GetBasePointBase()) * num * value; + List oP20 = X0Y2_親指_親指3.GetOP(); curveOutline = oP20[(int)((double)(oP20.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y2_親指_親指3.BasePointBase) * num * 0.65 * value; - List oP21 = X0Y3_人指_人指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y2_親指_親指3.GetBasePointBase()) * num * 0.65 * value; + List oP21 = X0Y3_人指_人指3.GetOP(); curveOutline = oP21[(int)((double)(oP21.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y3_人指_人指3.BasePointBase) * num * value; - List oP22 = X0Y3_中指_中指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y3_人指_人指3.GetBasePointBase()) * num * value; + List oP22 = X0Y3_中指_中指3.GetOP(); curveOutline = oP22[(int)((double)(oP22.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y3_中指_中指3.BasePointBase) * num * value; - List oP23 = X0Y3_薬指_薬指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y3_中指_中指3.GetBasePointBase()) * num * value; + List oP23 = X0Y3_薬指_薬指3.GetOP(); curveOutline = oP23[(int)((double)(oP23.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y3_薬指_薬指3.BasePointBase) * num * value; - List oP24 = X0Y3_小指_小指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y3_薬指_薬指3.GetBasePointBase()) * num * value; + List oP24 = X0Y3_小指_小指3.GetOP(); curveOutline = oP24[(int)((double)(oP24.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y3_小指_小指3.BasePointBase) * num * value; - List oP25 = X0Y3_親指_親指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y3_小指_小指3.GetBasePointBase()) * num * value; + List oP25 = X0Y3_親指_親指3.GetOP(); curveOutline = oP25[(int)((double)(oP25.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y3_親指_親指3.BasePointBase) * num * 0.65 * value; - List oP26 = X0Y4_人指_人指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y3_親指_親指3.GetBasePointBase()) * num * 0.65 * value; + List oP26 = X0Y4_人指_人指3.GetOP(); curveOutline = oP26[(int)((double)(oP26.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y4_人指_人指3.BasePointBase) * num * value; - List oP27 = X0Y4_中指_中指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y4_人指_人指3.GetBasePointBase()) * num * value; + List oP27 = X0Y4_中指_中指3.GetOP(); curveOutline = oP27[(int)((double)(oP27.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y4_中指_中指3.BasePointBase) * num * value; - List oP28 = X0Y4_薬指_薬指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y4_中指_中指3.GetBasePointBase()) * num * value; + List oP28 = X0Y4_薬指_薬指3.GetOP(); curveOutline = oP28[(int)((double)(oP28.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y4_薬指_薬指3.BasePointBase) * num * value; - List oP29 = X0Y4_小指_小指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y4_薬指_薬指3.GetBasePointBase()) * num * value; + List oP29 = X0Y4_小指_小指3.GetOP(); curveOutline = oP29[(int)((double)(oP29.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y4_小指_小指3.BasePointBase) * num * value; - List oP30 = X0Y4_親指_親指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y4_小指_小指3.GetBasePointBase()) * num * value; + List oP30 = X0Y4_親指_親指3.GetOP(); curveOutline = oP30[(int)((double)(oP30.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y4_親指_親指3.BasePointBase) * num * 0.65 * value; - List oP31 = X0Y5_人指_人指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y4_親指_親指3.GetBasePointBase()) * num * 0.65 * value; + List oP31 = X0Y5_人指_人指3.GetOP(); curveOutline = oP31[(int)((double)(oP31.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y5_人指_人指3.BasePointBase) * num * value; - List oP32 = X0Y5_中指_中指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y5_人指_人指3.GetBasePointBase()) * num * value; + List oP32 = X0Y5_中指_中指3.GetOP(); curveOutline = oP32[(int)((double)(oP32.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y5_中指_中指3.BasePointBase) * num * value; - List oP33 = X0Y5_薬指_薬指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y5_中指_中指3.GetBasePointBase()) * num * value; + List oP33 = X0Y5_薬指_薬指3.GetOP(); curveOutline = oP33[(int)((double)(oP33.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y5_薬指_薬指3.BasePointBase) * num * value; - List oP34 = X0Y5_小指_小指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y5_薬指_薬指3.GetBasePointBase()) * num * value; + List oP34 = X0Y5_小指_小指3.GetOP(); curveOutline = oP34[(int)((double)(oP34.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y5_小指_小指3.BasePointBase) * num * value; - List oP35 = X0Y5_親指_親指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y5_小指_小指3.GetBasePointBase()) * num * value; + List oP35 = X0Y5_親指_親指3.GetOP(); curveOutline = oP35[(int)((double)(oP35.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y5_親指_親指3.BasePointBase) * num * 0.65 * value; - List oP36 = X0Y6_人指_人指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y5_親指_親指3.GetBasePointBase()) * num * 0.65 * value; + List oP36 = X0Y6_人指_人指3.GetOP(); curveOutline = oP36[(int)((double)(oP36.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y6_人指_人指3.BasePointBase) * num * value; - List oP37 = X0Y6_中指_中指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y6_人指_人指3.GetBasePointBase()) * num * value; + List oP37 = X0Y6_中指_中指3.GetOP(); curveOutline = oP37[(int)((double)(oP37.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y6_中指_中指3.BasePointBase) * num * value; - List oP38 = X0Y6_薬指_薬指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y6_中指_中指3.GetBasePointBase()) * num * value; + List oP38 = X0Y6_薬指_薬指3.GetOP(); curveOutline = oP38[(int)((double)(oP38.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y6_薬指_薬指3.BasePointBase) * num * value; - List oP39 = X0Y6_小指_小指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y6_薬指_薬指3.GetBasePointBase()) * num * value; + List oP39 = X0Y6_小指_小指3.GetOP(); curveOutline = oP39[(int)((double)(oP39.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y6_小指_小指3.BasePointBase) * num * value; - List oP40 = X0Y6_親指_親指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y6_小指_小指3.GetBasePointBase()) * num * value; + List oP40 = X0Y6_親指_親指3.GetOP(); curveOutline = oP40[(int)((double)(oP40.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y6_親指_親指3.BasePointBase) * num * 0.65 * value; - List oP41 = X0Y7_人指_人指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y6_親指_親指3.GetBasePointBase()) * num * 0.65 * value; + List oP41 = X0Y7_人指_人指3.GetOP(); curveOutline = oP41[(int)((double)(oP41.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y7_人指_人指3.BasePointBase) * num * value; - List oP42 = X0Y7_中指_中指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y7_人指_人指3.GetBasePointBase()) * num * value; + List oP42 = X0Y7_中指_中指3.GetOP(); curveOutline = oP42[(int)((double)(oP42.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y7_中指_中指3.BasePointBase) * num * value; - List oP43 = X0Y7_薬指_薬指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y7_中指_中指3.GetBasePointBase()) * num * value; + List oP43 = X0Y7_薬指_薬指3.GetOP(); curveOutline = oP43[(int)((double)(oP43.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y7_薬指_薬指3.BasePointBase) * num * value; - List oP44 = X0Y7_小指_小指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y7_薬指_薬指3.GetBasePointBase()) * num * value; + List oP44 = X0Y7_小指_小指3.GetOP(); curveOutline = oP44[(int)((double)(oP44.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y7_小指_小指3.BasePointBase) * num * value; - List oP45 = X0Y7_親指_親指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y7_小指_小指3.GetBasePointBase()) * num * value; + List oP45 = X0Y7_親指_親指3.GetOP(); curveOutline = oP45[(int)((double)(oP45.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y7_親指_親指3.BasePointBase) * num * 0.65 * value; - List oP46 = X0Y8_人指_人指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y7_親指_親指3.GetBasePointBase()) * num * 0.65 * value; + List oP46 = X0Y8_人指_人指3.GetOP(); curveOutline = oP46[(int)((double)(oP46.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y8_人指_人指3.BasePointBase) * num * value; - List oP47 = X0Y8_中指_中指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y8_人指_人指3.GetBasePointBase()) * num * value; + List oP47 = X0Y8_中指_中指3.GetOP(); curveOutline = oP47[(int)((double)(oP47.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y8_中指_中指3.BasePointBase) * num * value; - List oP48 = X0Y8_薬指_薬指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y8_中指_中指3.GetBasePointBase()) * num * value; + List oP48 = X0Y8_薬指_薬指3.GetOP(); curveOutline = oP48[(int)((double)(oP48.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y8_薬指_薬指3.BasePointBase) * num * value; - List oP49 = X0Y8_小指_小指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y8_薬指_薬指3.GetBasePointBase()) * num * value; + List oP49 = X0Y8_小指_小指3.GetOP(); curveOutline = oP49[(int)((double)(oP49.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y8_小指_小指3.BasePointBase) * num * value; - List oP50 = X0Y8_親指_親指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y8_小指_小指3.GetBasePointBase()) * num * value; + List oP50 = X0Y8_親指_親指3.GetOP(); curveOutline = oP50[(int)((double)(oP50.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y8_親指_親指3.BasePointBase) * num * 0.65 * value; - List oP51 = X0Y10_人指_人指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y8_親指_親指3.GetBasePointBase()) * num * 0.65 * value; + List oP51 = X0Y10_人指_人指3.GetOP(); curveOutline = oP51[(int)((double)(oP51.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y10_人指_人指3.BasePointBase) * num * value; - List oP52 = X0Y10_中指_中指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y10_人指_人指3.GetBasePointBase()) * num * value; + List oP52 = X0Y10_中指_中指3.GetOP(); curveOutline = oP52[(int)((double)(oP52.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y10_中指_中指3.BasePointBase) * num * value; - List oP53 = X0Y10_薬指_薬指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y10_中指_中指3.GetBasePointBase()) * num * value; + List oP53 = X0Y10_薬指_薬指3.GetOP(); curveOutline = oP53[(int)((double)(oP53.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y10_薬指_薬指3.BasePointBase) * num * value; - List oP54 = X0Y10_小指_小指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y10_薬指_薬指3.GetBasePointBase()) * num * value; + List oP54 = X0Y10_小指_小指3.GetOP(); curveOutline = oP54[(int)((double)(oP54.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y10_小指_小指3.BasePointBase) * num * value; - List oP55 = X0Y10_親指_親指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y10_小指_小指3.GetBasePointBase()) * num * value; + List oP55 = X0Y10_親指_親指3.GetOP(); curveOutline = oP55[(int)((double)(oP55.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y10_親指_親指3.BasePointBase) * num * 0.65 * value; + curveOutline.ps[index] += (curveOutline.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 (ShapePart 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布(ShapePart 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 7bcca2b..6e275fc 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 8b406cf..4393f8e 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 bd4ee86..648b0fc 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 67f99b3..f084d40 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 b86e9d4..8374999 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 9a0f38e..19cfe0f 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 4f7b8fa..8d3f84a 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 6cf744c..d2e7924 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 f3e72fe..d60db46 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 18abb2a..d253c17 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 c50a498..2cfb158 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 719fb1f..f2ff4ab 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() { - ShapePart shapePart = 接続根.Difs0.Current.GetPar(接続根.Path0); - if (shapePart.JP.Count <= 0) + ShapePart shapePart = 接続根.Difs0.GetCurrent().GetPar(接続根.Path0); + if (shapePart.GetJP().Count <= 0) { return; } int num = 0; Vector2D vec2DZero = DataConsts.Vec2DZero; - foreach (CurveOutline item in shapePart.OP) + foreach (CurveOutline item in shapePart.GetOP()) { foreach (Vector2D item2 in item.ps.Skip(1).Take(item.ps.Count - 2)) { @@ -306,7 +307,7 @@ namespace SlaveMatrix num++; } } - shapePart.JP[0] = new JointPoint(vec2DZero / num); + shapePart.GetJP()[0] = new JointPoint(vec2DZero / num); 接続P(); 尺度B = (shapePart.GetArea() / X0Y0_鎖1.GetArea()).Sqrt() * 1.2; } diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/挿入処理.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/挿入処理.cs index 24b5487..f459221 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) ? (対象.Element.Body.CountY - 1) : ((int)((double)対象.Element.Body.CountY * dv))); + dy = ((dv >= 1.0) ? (対象.Element.Body.GetCountY() - 1) : ((int)((double)対象.Element.Body.GetCountY() * dv))); if (対象.Element is バイブ_アナル) { dy = dy.Limit(0, Bod.Is獣 ? A断面獣最大i : A断面人最大i); @@ -660,31 +660,31 @@ namespace SlaveMatrix if (Bod.断面_表示) { Bod.性器.接続PA(); - 対象.Element.位置B = Bod.性器.Body.Current.EnumAllPar().First((ShapePart p_) => p_.Tag.Contains("膣口")).Position; - p0 = 対象.Element.Body.pr[対象.Element.Body[対象.Element.Body.IndexX][0]]; - py = 対象.Element.Body.pr[対象.Element.Body[対象.Element.Body.IndexX][dy]]; + 対象.Element.位置B = Bod.性器.Body.GetCurrent().EnumAllPar().First((ShapePart p_) => p_.Tag.Contains("膣口")).GetPosition(); + p0 = 対象.Element.Body.pr[対象.Element.Body[対象.Element.Body.GetIndexX()][0]]; + py = 対象.Element.Body.pr[対象.Element.Body[対象.Element.Body.GetIndexX()][dy]]; if (pn) { - bp = py.PositionBase; - py.PositionBase = 対象.Element.位置B; - y0 = py.ToGlobal(py.OP[0].ps[psi]).Y; - py.PositionBase = bp; + bp = py.GetPositionBase(); + py.SetPositionBase(対象.Element.位置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; } - 対象.Element.位置B = 対象.Element.位置B.AddY(p0.BasePointBase.Y - py.BasePointBase.Y); + 対象.Element.位置B = 対象.Element.位置B.AddY(p0.GetBasePointBase().Y - py.GetBasePointBase().Y); if (pn) { - bp = p0.PositionBase; - p0.PositionBase = 対象.Element.位置B; - 対象.Element.位置B = 対象.Element.位置B.AddY(y0 - p0.ToGlobal(p0.OP[0].ps[psi]).Y); - p0.PositionBase = bp; + bp = p0.GetPositionBase(); + p0.SetPositionBase(対象.Element.位置B); + 対象.Element.位置B = 対象.Element.位置B.AddY(y0 - p0.ToGlobal(p0.GetOP()[0].ps[psi]).Y); + p0.SetPositionBase(bp); } else { - 対象.Element.位置B = 対象.Element.位置B.AddY(y0 - p0.ToGlobal(p0.OP[0].ps[psi]).Y); + 対象.Element.位置B = 対象.Element.位置B.AddY(y0 - p0.ToGlobal(p0.GetOP()[0].ps[psi]).Y); } } else @@ -869,7 +869,7 @@ namespace SlaveMatrix 対象.Element.Yi = 0; Bod.性器.Xi = 3; dv = v; - dy = ((dv >= 1.0) ? (対象.Element.Body.CountY - 1) : ((int)((double)対象.Element.Body.CountY * dv))); + dy = ((dv >= 1.0) ? (対象.Element.Body.GetCountY() - 1) : ((int)((double)対象.Element.Body.GetCountY() * dv))); if (対象.Element is バイブ_アナル) { dy = dy.Limit(0, Bod.Is獣 ? A断面獣最大i : A断面人最大i); @@ -1517,7 +1517,7 @@ namespace SlaveMatrix if (v) { 対象.Element.位置C = p.MulX(0.5); - 対象.Element.Body.Current.EnumAllPar().First((ShapePart e) => e.Tag.Contains("ヘッド")).PositionCont = p; + 対象.Element.Body.GetCurrent().EnumAllPar().First((ShapePart e) => e.Tag.Contains("ヘッド")).SetPositionCont(p); } else { @@ -1559,7 +1559,7 @@ namespace SlaveMatrix m.ResetValue(); foreach (ShapePart item in 対象.Element.Body.EnumAllPar()) { - item.PositionCont = DataConsts.Vec2DZero; + item.SetPositionCont(DataConsts.Vec2DZero); } 挿入処理2.Bod.断面.位置C = DataConsts.Vec2DZero; } @@ -1675,12 +1675,12 @@ namespace SlaveMatrix 押し付け = 振動機能 || 対象.Element 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 = ((対象.Element 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 789a9bb..153bf19 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/放尿.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/放尿.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 放尿 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/放尿_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/放尿_人.cs index 3366850..8a79085 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 23c487d..3653409 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 e31f08b..727cdd4 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 5489f2f..f66a481 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 7d719ec..225ddb0 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/断面.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/断面.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 断面 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/断面_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/断面_人.cs index c925219..e71117e 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 121c7ec..b5a41c2 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 51c0db6..18341e0 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 889a55a..9e513d8 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 68451d2..fda496b 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/染み.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/染み.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 染み : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/染み_人D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/染み_人D.cs index fa08ae8..81d9e04 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 0fecc59..921d247 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 f8883bb..5b67f6c 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 3be7458..d67fe92 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 46223fd..7570c73 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 51673bd..e2fa694 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 eb5705c..8305e53 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/涎.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/涎.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 涎 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/涎_裂け.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/涎_裂け.cs index 50cd893..e54d5c0 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 5c8b637..5d53969 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 2f2aa5d..834ef59 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 16bacc7..cc45c7e 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 de5af4f..392d5b8 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 274a3e0..e6c798e 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 696b46a..4a6ffce 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_大.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_大.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 潮吹_大 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_大_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_大_人.cs index 417a510..007ef46 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 c668c19..74c3066 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 c83bbd7..0d0594d 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 b09e733..96bf4f6 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 0e5f516..f48b104 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_小.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_小.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 潮吹_小 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_小_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/潮吹_小_人.cs index 7559767..eea2042 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 362b2df..d330609 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 6c30a53..b401d1f 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 1193db3..41ef05e 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 82652ad..3595b99 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 8955aab..5120022 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 5ff2cf3..9493768 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 6d0a1be..12479dd 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 2b346ad..e2d4263 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 32c2b19..56e77ef 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 62e0762..30c3cf7 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 989b611..afd4f6a 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 7c38386..94d9dfa 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 d45ae91..b0b6254 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 3d4f604..7f2aefe 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 21c1c1e..6f995cd 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 638a818..6fc7d9d 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 35b22a1..400148b 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 0466d11..e2fa7e3 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 6c9c916..c898d17 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 b3d9a05..fc57bd1 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 8ff2df2..6ad9e9e 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 642ae3a..14adbd5 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 19c770b..256577c 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 9de427b..d96f08a 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 242d506..c923f85 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 7cf601b..57ceddf 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/節.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/節.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 節 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/節尾_曳航.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/節尾_曳航.cs index 9c28d73..9cb598a 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 983e9d5..54a973f 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 37fecb2..04da707 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 dfa7abd..a545bae 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 1bb5658..0eda66c 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 9b00344..d6f5ff6 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 fcc3840..fb8e66d 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 3a9db16..39cea41 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 b9f8455..e283772 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 52063ae..7838e83 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 b16e25f..3e90c89 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 2eb66dc..350fe1f 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 cc84700..bc1da60 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 8c5844f..e04e62c 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 82102f3..c7bace2 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 4b4590f..abb92fd 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 f73e7e5..4e11605 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 21d2a31..7c573f1 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 耳 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/耳_人.cs index e83306a..260829c 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 ba0d650..d178052 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 f66a253..7bd2e0f 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 6223028..48cb5d2 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 6954d5e..9e4a34b 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 7ee79f9..14d41d7 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 908cca0..56d31ab 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 07a381e..a0cdefb 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 04d7fae..b03472f 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 9ebdf25..317894d 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 b22999e..4f0defc 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 80b46b2..79b8966 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 93d93db..b8f15f4 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 肛門 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門_人.cs index e6b74cd..72b6676 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 67fa13b..42026e4 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 c2031fa..e8bdda8 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 7000d44..6254a08 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 2de07cf..69fb5fc 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門精液.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門精液.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 肛門精液 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門精液_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/肛門精液_人.cs index d53941c..2632f43 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 640201f..2bf74de 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 08e4269..60c9a83 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 5804dff..232420c 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 51d5227..7f9e81a 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 背中 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中_光D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/背中_光D.cs index cd7b81c..9989505 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 28b44e1..abc5de4 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 5b99de9..f15424d 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 f5be71d..5e4a51b 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 cade7c6..136f6aa 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 2734782..93c6d4c 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 4dc3780..f715ed8 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 dbddc29..493dc77 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 206ac40..73a70bf 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 e7dd604..42be610 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 3e0b948..94b85f3 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 3a73dd2..9cf8047 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 d29f996..34e0d4c 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 39bb365..b2debc4 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 21685d9..0a0d67b 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 2f29d3c..6f7c36c 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 d3faa69..8978471 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 7c36ddd..ce70e92 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 腿 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/腿_人.cs index bdcc61f..e371ed6 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 af98261..ec46479 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 32c8332..cbe21e2 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 874632e..6398958 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 492c83b..cb4c3da 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 3493c1d..67e19b3 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 d09f139..ed40906 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 ab4c913..5fee41e 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 7f908a8..a8127f9 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 302e1b8..f8c7d4b 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 8e1b263..9f6fce8 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣内精液.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣内精液.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 膣内精液 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣内精液_人D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣内精液_人D.cs index b0f59ac..670b8d5 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 9df295a..7b5a4ef 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 f3db5b7..2d6dcaf 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣基.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣基.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 膣基 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣基_人D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/膣基_人D.cs index 78f30cd..0a9a371 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 29d46a0..ba134f9 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 501146b..4730bc5 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/舌.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/舌.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 舌 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/舌_短D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/舌_短D.cs index 61fa0cb..9825273 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 fd12cdf..adf2d2e 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 1c5fdca..442a5fe 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/花.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/花.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 花 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/花_百.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/花_百.cs index c6c321c..30b2b15 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 9be2c43..b59bf9c 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 a7054e1..d2c5437 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 76f0f57..1d28b67 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 677e392..0be3ce5 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/葉.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/葉.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 葉 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/葉_心.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/葉_心.cs index f7bb634..4e8ed74 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 b1dba46..87c826a 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 db70f31..8307722 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 e96ccc0..6fd2adc 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 aec6775..a65ad97 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 c74d8f8..a603d48 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 0fa0296..1f4428a 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 2523f65..8a2088d 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 4c4b9ec..91f4acc 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 6239914..6f03e75 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 65176ca..15ef103 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 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_一.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/角1_一.cs index 155ae88..acfadde 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 a8d9c80..785986e 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 9eff37a..48299d4 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 281df1e..432dd77 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 54b86ab..6a614f8 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 2de3de5..497127d 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 d0e8d80..9dfae68 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 4c4130a..921c165 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 6ec9951..4dd60be 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 821986a..d105bb8 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 1fc9a60..bfde4c6 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 de994cc..b8b28ae 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 48e1500..cd571ba 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 4ced9a4..aa3ac48 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 88a378f..0980e12 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 402e0c1..88ae6d9 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 6e5a1ea..7d9c8bf 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 2f1650e..40ba14b 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 85d3036..8277ab3 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 ff00112..09f5192 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 1b5e1d7..88d92dd 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 cb2eb55..a16b6dd 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 cb75822..53f3f36 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 e35749f..b2b46da 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 f5597db..798f9d2 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 98264ff..8e6cb7f 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 b3b2b6b..a4fc46c 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 a0553d2..694d4cc 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 201d709..6811c83 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 d9e685b..079e2f5 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 f681af3..1690e21 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 0f627ff..6ded01a 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 4497df9..37e668b 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 ca69b13..608008f 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 69706a2..2321971 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 42b4f47..855221c 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 dcefe94..bfca143 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 e5c0773..1349d99 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 50439de..00521a4 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 53d3e4b..5a72d27 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 952b396..f660b22 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 90ee3de..a667227 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 cf27481..8f05afd 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 3fab2a8..1bdc0b1 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 9f29c02..405fc05 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 16416eb..3264a8d 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 0f87f4e..c4d2a08 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 c6b25f6..9a07a65 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 717640f..462d64a 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 9134654..de5a88b 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 e8b5ef8..d205738 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 0ad1180..b2b4b7b 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 f7b2491..6467c64 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 26443d5..abce3d8 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/調教背景.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/調教背景.cs @@ -50,7 +50,7 @@ namespace SlaveMatrix GlobalState.タイル.SizeBase = 0.7; GlobalState.タイル.JoinRoot.ValueY = Yv[c]; GlobalState.タイル.AngleBase = An[c]; - GlobalState.タイル.JoinRoot.CurJoinRoot.PositionBase = Are.GetPosition(new Vector2D(o.X + (double)x * r / Are.XRatio, o.Y + (double)y * r / Are.YRatio)); + GlobalState.タイル.JoinRoot.GetCurJoinRoot().SetPositionBase(Are.GetPosition(new Vector2D(o.X + (double)x * r / Are.XRatio, o.Y + (double)y * r / Are.YRatio))); GlobalState.タイル.JoinPA(); GlobalState.タイル.Draw(Are); c++; diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/調教鞭.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/調教鞭.cs index 067e1fc..ccd047b 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 43a91d4..6300332 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 c52e9ab..93586d3 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/調鞭処理.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/調鞭処理.cs @@ -56,7 +56,7 @@ namespace SlaveMatrix o = v; 対象.Element.角度C = 0.0; 対象.Element.Xi = 0; - 対象.Element.Yi = (対象.Element.Yi + x).Limit(0, 対象.Element.Body.CountY); + 対象.Element.Yi = (対象.Element.Yi + x).Limit(0, 対象.Element.Body.GetCountY()); 対象.Element.Body.JoinPA(); 移動時(); } @@ -151,8 +151,8 @@ namespace SlaveMatrix { 鞭.角度C = -100.0 * m.Value; } - p = 鞭.Body.Current.EnumAllPar().First((ShapePart e) => e.Tag.Contains("先")); - cp = p.ToGlobal(p.JP[0].Joint); + p = 鞭.Body.GetCurrent().EnumAllPar().First((ShapePart 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 5127f95..b43a9b9 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 足 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/足_人.cs index a486eb0..779b3c6 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(); CurveOutline curveOutline = oP[(int)((double)(oP.Count - num2) * 0.5)]; int index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y0_人指_人指3.BasePointBase) * num * value; - List oP2 = X0Y0_中指_中指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y0_人指_人指3.GetBasePointBase()) * num * value; + List oP2 = X0Y0_中指_中指3.GetOP(); curveOutline = oP2[(int)((double)(oP2.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y0_中指_中指3.BasePointBase) * num * value; - List oP3 = X0Y0_薬指_薬指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y0_中指_中指3.GetBasePointBase()) * num * value; + List oP3 = X0Y0_薬指_薬指3.GetOP(); curveOutline = oP3[(int)((double)(oP3.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y0_薬指_薬指3.BasePointBase) * num * value; - List oP4 = X0Y0_小指_小指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y0_薬指_薬指3.GetBasePointBase()) * num * value; + List oP4 = X0Y0_小指_小指3.GetOP(); curveOutline = oP4[(int)((double)(oP4.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y0_小指_小指3.BasePointBase) * num * value; - List oP5 = X0Y0_親指_親指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y0_小指_小指3.GetBasePointBase()) * num * value; + List oP5 = X0Y0_親指_親指3.GetOP(); curveOutline = oP5[(int)((double)(oP5.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y0_親指_親指3.BasePointBase) * num * 0.65 * value; - List oP6 = X0Y1_人指_人指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y0_親指_親指3.GetBasePointBase()) * num * 0.65 * value; + List oP6 = X0Y1_人指_人指3.GetOP(); curveOutline = oP6[(int)((double)(oP6.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y1_人指_人指3.BasePointBase) * num * value; - List oP7 = X0Y1_中指_中指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y1_人指_人指3.GetBasePointBase()) * num * value; + List oP7 = X0Y1_中指_中指3.GetOP(); curveOutline = oP7[(int)((double)(oP7.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y1_中指_中指3.BasePointBase) * num * value; - List oP8 = X0Y1_薬指_薬指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y1_中指_中指3.GetBasePointBase()) * num * value; + List oP8 = X0Y1_薬指_薬指3.GetOP(); curveOutline = oP8[(int)((double)(oP8.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y1_薬指_薬指3.BasePointBase) * num * value; - List oP9 = X0Y1_小指_小指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y1_薬指_薬指3.GetBasePointBase()) * num * value; + List oP9 = X0Y1_小指_小指3.GetOP(); curveOutline = oP9[(int)((double)(oP9.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y1_小指_小指3.BasePointBase) * num * value; - List oP10 = X0Y1_親指_親指3.OP; + curveOutline.ps[index] += (curveOutline.ps[index] - X0Y1_小指_小指3.GetBasePointBase()) * num * value; + List oP10 = X0Y1_親指_親指3.GetOP(); curveOutline = oP10[(int)((double)(oP10.Count - num2) * 0.5)]; index = (int)((double)curveOutline.ps.Count * 0.5); - curveOutline.ps[index] += (curveOutline.ps[index] - X0Y1_親指_親指3.BasePointBase) * num * 0.65 * value; + curveOutline.ps[index] += (curveOutline.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 0e952ca..c0079cf 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 d126b9e..2b4273a 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 ea4e2c4..6c387f8 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 34be9b8..2a22ce1 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 beb0934..baac887 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 75069b1..f389cdd 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 2f1477d..9d8d6d5 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 4a680f9..613e176 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 45bf4b1..aa129fc 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 95ee85e..62b5347 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 4273293..5b90659 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 d4bbdfe..bc7fe16 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 801cb2d..09383d5 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 66b8518..6d76046 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 e4e2ad1..5fce375 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 289deac..08dd1f2 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 7c9be48..2598198 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 dd3621a..d4cecf7 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 608d05c..2fcfaf9 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 756fdec..6e986b3 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 d0175b9..fb328c7 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 1f118ca..027faea 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/長胴.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/長胴.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 長胴 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鞭痕.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鞭痕.cs index 2a49cab..58f861d 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 9e38ff1..2a2e07f 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 b7c7452..261a31e 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 6d55bcd..216701c 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 2dff154..5fcce4f 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 1906e5a..b806b0c 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 c8ace60..edfef34 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 57e4adf..ec524f7 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 9aba4f2..9b8c58c 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 4ad46a8..c569a08 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 頭頂 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂_天D.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/頭頂_天D.cs index 0ec633e..b3a81e3 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 ec670f9..d2422a5 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 6a25370..192d254 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 51d6187..cf3d66c 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 2b5141e..495401f 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 55a5e77..ea6421f 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 c60a95c..ad1b7d9 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 6a1762d..ca87cf0 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 f5e99d9..55cd77b 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 3b2172d..dc9a60d 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 a9b8ad4..d64e559 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 b9ee436..378c000 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 5ec8945..60bc8bf 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 2209336..9e19555 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 c5db9b7..5cbfc3a 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 4520799..41d4b76 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛沫.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛沫.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 飛沫 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛沫_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/飛沫_人.cs index 2a57045..469e73c 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 6b31b0e..8f8fe90 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 67302db..b1f513e 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 f5e3b74..7b0f995 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 8b1e729..ae15f0e 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π(DataConsts.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π(DataConsts.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π(DataConsts.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π(DataConsts.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 3614075..ac8be4b 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π(DataConsts.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π(-DataConsts.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 2c23d06..10a3054 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 85da32a..ebf9e38 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 鰭 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_豚.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鰭_豚.cs index 5a1e543..f56de53 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 5273a07..f8146d8 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 ebfd79c..ec16da6 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 f920146..f2b3046 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 f502cc3..46504c9 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 ea31cbc..34e4f93 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 cf885fe..12cfb45 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 4e0fe33..be8e1a2 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 f1f2929..23b31cd 100644 --- a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻.cs +++ b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻.cs @@ -1,3 +1,5 @@ +using SlaveMatrix.GameClasses; + namespace SlaveMatrix { public class 鼻 : Element diff --git a/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻_人.cs b/SlaveMatrix/SlaveMatrix/BodyPartClasses/鼻_人.cs index 6678d3e..b8269c1 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 b7712ea..ae0d802 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 e011f37..928703c 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 e16135f..cef929f 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 64a372e..8eed7f1 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 f298462..7cc61bd 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 672b2cb..bf16dbd 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 5b1dd09..30cf74a 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 27f8439..b60424e 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 { - ShapePart shapePart = 性器.Body.Current.EnumAllPar().First((ShapePart e) => e.Tag == "陰核"); + ShapePart shapePart = 性器.Body.GetCurrent().EnumAllPar().First((ShapePart e) => e.Tag == "陰核"); 性器.接続PA(); - return shapePart.ToGlobal(shapePart.BasePointBase.AddY(-0.003)); + return shapePart.ToGlobal(shapePart.GetBasePointBase().AddY(-0.003)); } } @@ -1028,9 +1029,9 @@ namespace SlaveMatrix { get { - ShapePart shapePart = 乳房左.Body.Current.EnumAllPar().First((ShapePart e) => e.Tag == "乳首"); + ShapePart shapePart = 乳房左.Body.GetCurrent().EnumAllPar().First((ShapePart e) => e.Tag == "乳首"); 乳房左.接続PA(); - return shapePart.ToGlobal(shapePart.BasePointBase); + return shapePart.ToGlobal(shapePart.GetBasePointBase()); } } @@ -1038,9 +1039,9 @@ namespace SlaveMatrix { get { - ShapePart shapePart = 乳房右.Body.Current.EnumAllPar().First((ShapePart e) => e.Tag == "乳首"); + ShapePart shapePart = 乳房右.Body.GetCurrent().EnumAllPar().First((ShapePart e) => e.Tag == "乳首"); 乳房右.接続PA(); - return shapePart.ToGlobal(shapePart.BasePointBase); + return shapePart.ToGlobal(shapePart.GetBasePointBase()); } } @@ -1048,9 +1049,9 @@ namespace SlaveMatrix { get { - ShapePart shapePart = 性器.Body.Current.EnumAllPar().First((ShapePart e) => e.Tag == "尿道"); + ShapePart shapePart = 性器.Body.GetCurrent().EnumAllPar().First((ShapePart e) => e.Tag == "尿道"); 性器.接続PA(); - return shapePart.ToGlobal(shapePart.BasePointBase); + return shapePart.ToGlobal(shapePart.GetBasePointBase()); } } @@ -1058,9 +1059,9 @@ namespace SlaveMatrix { get { - ShapePart shapePart = 性器.Body.Current.EnumAllPar().First((ShapePart e) => e.Tag == "膣口"); + ShapePart shapePart = 性器.Body.GetCurrent().EnumAllPar().First((ShapePart e) => e.Tag == "膣口"); 性器.接続PA(); - return shapePart.Position; + return shapePart.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 = DataConsts.Vec2DUnitY * num * 子宮下がり_; - 断面_獣.X0Y1_子宮.BasePointCont = DataConsts.Vec2DUnitY * num * 子宮下がり_; - 断面_獣.X0Y2_子宮.BasePointCont = DataConsts.Vec2DUnitY * num * 子宮下がり_; - 断面_獣.X0Y3_子宮.BasePointCont = DataConsts.Vec2DUnitY * num * 子宮下がり_; - 断面_獣.X0Y4_子宮.BasePointCont = DataConsts.Vec2DUnitY * num * 子宮下がり_; + 断面_獣.X0Y0_子宮.SetBasePointCont(DataConsts.Vec2DUnitY * num * 子宮下がり_); + 断面_獣.X0Y1_子宮.SetBasePointCont(DataConsts.Vec2DUnitY * num * 子宮下がり_); + 断面_獣.X0Y2_子宮.SetBasePointCont(DataConsts.Vec2DUnitY * num * 子宮下がり_); + 断面_獣.X0Y3_子宮.SetBasePointCont(DataConsts.Vec2DUnitY * num * 子宮下がり_); + 断面_獣.X0Y4_子宮.SetBasePointCont(DataConsts.Vec2DUnitY * num * 子宮下がり_); } else { - 断面_人.X0Y0_子宮.BasePointCont = DataConsts.Vec2DUnitY * num * 子宮下がり_; - 断面_人.X0Y1_子宮.BasePointCont = DataConsts.Vec2DUnitY * num * 子宮下がり_; - 断面_人.X0Y2_子宮.BasePointCont = DataConsts.Vec2DUnitY * num * 子宮下がり_; - 断面_人.X0Y3_子宮.BasePointCont = DataConsts.Vec2DUnitY * num * 子宮下がり_; - 断面_人.X0Y4_子宮.BasePointCont = DataConsts.Vec2DUnitY * num * 子宮下がり_; + 断面_人.X0Y0_子宮.SetBasePointCont(DataConsts.Vec2DUnitY * num * 子宮下がり_); + 断面_人.X0Y1_子宮.SetBasePointCont(DataConsts.Vec2DUnitY * num * 子宮下がり_); + 断面_人.X0Y2_子宮.SetBasePointCont(DataConsts.Vec2DUnitY * num * 子宮下がり_); + 断面_人.X0Y3_子宮.SetBasePointCont(DataConsts.Vec2DUnitY * num * 子宮下がり_); + 断面_人.X0Y4_子宮.SetBasePointCont(DataConsts.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 (ShapePart item in 性器_人.Body.EnumJoinRoot) { - item.PositionCont = DataConsts.Vec2DUnitY * (Waist.Yv * 0.001 + 0.001); + item.SetPositionCont(DataConsts.Vec2DUnitY * (Waist.Yv * 0.001 + 0.001)); } - 肛門_人.Body.SizeYCont = 0.65 + Waist.Yv * 0.35; + 肛門_人.Body.SetSizeYCont(0.65 + Waist.Yv * 0.35); foreach (ShapePart item2 in 上着B_クロス.Body.EnumJoinRoot) { - item2.PositionCont = DataConsts.Vec2DUnitY * (Waist.Yv * 0.003); + item2.SetPositionCont(DataConsts.Vec2DUnitY * (Waist.Yv * 0.003)); } foreach (ShapePart item3 in 上着B_前掛け.Body.EnumJoinRoot) { - item3.PositionCont = DataConsts.Vec2DUnitY * (Waist.Yv * 0.003); + item3.SetPositionCont(DataConsts.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 (ShapePart item in 性器_人.Body.EnumJoinRoot) { - item.PositionCont = DataConsts.Vec2DUnitY * (Waist.Yv * 0.001 + 0.001); + item.SetPositionCont(DataConsts.Vec2DUnitY * (Waist.Yv * 0.001 + 0.001)); } - 肛門_人.Body.SizeYCont = 0.65 + Waist.Yv * 0.35; + 肛門_人.Body.SetSizeYCont(0.65 + Waist.Yv * 0.35); foreach (ShapePart item2 in 上着B_クロス.Body.EnumJoinRoot) { - item2.PositionCont = DataConsts.Vec2DUnitY * (Waist.Yv * 0.003); + item2.SetPositionCont(DataConsts.Vec2DUnitY * (Waist.Yv * 0.003)); } foreach (ShapePart item3 in 上着B_前掛け.Body.EnumJoinRoot) { - item3.PositionCont = DataConsts.Vec2DUnitY * (Waist.Yv * 0.003); + item3.SetPositionCont(DataConsts.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 (ShapePart item in 性器_獣.Body.EnumJoinRoot) { - item.PositionCont = DataConsts.Vec2DUnitY * (Waist_獣.Yv * 0.001 + 0.001); + item.SetPositionCont(DataConsts.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 (ShapePart item in 性器_獣.Body.EnumJoinRoot) { - item.PositionCont = DataConsts.Vec2DUnitY * (Waist_獣.Yv * 0.001 + 0.001); + item.SetPositionCont(DataConsts.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 JointPoint(頭.X0Y0_Head.JP[7].Joint.MulY(0.96)); - 頭.X0Y0_Head.JP[17] = new JointPoint(頭.X0Y0_Head.JP[17].Joint.MulY(0.96)); - 頭.X0Y0_Head.JP[18] = new JointPoint(頭.X0Y0_Head.JP[18].Joint.MulY(0.96)); + 頭.X0Y0_Head.GetJP()[7] = new JointPoint(頭.X0Y0_Head.GetJP()[7].Joint.MulY(0.96)); + 頭.X0Y0_Head.GetJP()[17] = new JointPoint(頭.X0Y0_Head.GetJP()[17].Joint.MulY(0.96)); + 頭.X0Y0_Head.GetJP()[18] = new JointPoint(頭.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((Element e) => e.サイズ) / (double)Elements.Length; 染み_人.Intensity = 0.0; Vector2D positionCont = DataConsts.Vec2DUnitY * -0.03; Vector2D positionCont2 = DataConsts.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 性器精液_人.精液配色(GlobalState.GameData.配色); 肛門精液_人.精液配色(GlobalState.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 (ShapePart 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 (ShapePart 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 = DataConsts.Vec2DUnitY * (Waist.Yv * -0.004); - Torso.X0Y0_筋肉_筋肉右.PositionCont = DataConsts.Vec2DUnitY * (Waist.Yv * -0.004); - 胴腹板_人.X0Y0_虫性_腹板.PositionCont = DataConsts.Vec2DUnitY * (Waist.Yv * -0.002); - 胴肌_人.Body.SizeYCont = 0.85 + (1.0 - Waist.Yv) * 0.15; + Torso.X0Y0_筋肉_筋肉左.SetPositionCont(DataConsts.Vec2DUnitY * (Waist.Yv * -0.004)); + Torso.X0Y0_筋肉_筋肉右.SetPositionCont(DataConsts.Vec2DUnitY * (Waist.Yv * -0.004)); + 胴腹板_人.X0Y0_虫性_腹板.SetPositionCont(DataConsts.Vec2DUnitY * (Waist.Yv * -0.002)); + 胴肌_人.Body.SetSizeYCont(0.85 + (1.0 - Waist.Yv) * 0.15); } private void 腰振り_獣() { - Torso_獣.X0Y0_筋肉_筋肉左.PositionCont = DataConsts.Vec2DUnitY * (Waist_獣.Yv * -0.004); - Torso_獣.X0Y0_筋肉_筋肉右.PositionCont = DataConsts.Vec2DUnitY * (Waist_獣.Yv * -0.004); - 胴肌_獣.Body.SizeYCont = 0.85 + (1.0 - Waist_獣.Yv) * 0.15; + Torso_獣.X0Y0_筋肉_筋肉左.SetPositionCont(DataConsts.Vec2DUnitY * (Waist_獣.Yv * -0.004)); + Torso_獣.X0Y0_筋肉_筋肉右.SetPositionCont(DataConsts.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/Character.cs b/SlaveMatrix/SlaveMatrix/GameClasses/Character.cs index 3df8683..f34347e 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; - ShapePart pa = Body.Waist.Body.CurJoinRoot; + ShapePart pa = Body.Waist.Body.GetCurJoinRoot(); ShapePart pb = null; Vector2D vec = DataConsts.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/CharacterElement.cs b/SlaveMatrix/SlaveMatrix/GameClasses/CharacterElement.cs index 40f7645..4869601 100644 --- a/SlaveMatrix/SlaveMatrix/GameClasses/CharacterElement.cs +++ b/SlaveMatrix/SlaveMatrix/GameClasses/CharacterElement.cs @@ -1,4 +1,5 @@ using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { @@ -48,7 +49,7 @@ namespace SlaveMatrix this.Element = Element; foreach (ShapePart item in Element.Body.EnumAllPar()) { - item.HitColor = Med.GetUniqueColor(); + item.SetHitColor(Med.GetUniqueColor()); } } diff --git a/SlaveMatrix/SlaveMatrix/GameClasses/ColorP.cs b/SlaveMatrix/SlaveMatrix/GameClasses/ColorP.cs index f686854..c06d201 100644 --- a/SlaveMatrix/SlaveMatrix/GameClasses/ColorP.cs +++ b/SlaveMatrix/SlaveMatrix/GameClasses/ColorP.cs @@ -41,12 +41,12 @@ namespace SlaveMatrix public void Setting() { - ShapePart.Brush = new SolidBrush(Color.LightGray); + ShapePart.SetBrush1(new SolidBrush(Color.LightGray)); u0 = Unit * 0.99009900990099; u1 = Unit * 1.01; if (ColorD.線 == ColorHelper.Empty) { - ShapePart.Pen = null; + ShapePart.SetPen(null); p = delegate { }; @@ -60,13 +60,13 @@ namespace SlaveMatrix } p = delegate { - ShapePart.PenColor = ColorD.線; + ShapePart.SetPenColor(ColorD.線); }; UpdateLine(); } if (ColorD.色.Col1 == ColorHelper.Empty) { - ShapePart.Brush = null; + ShapePart.SetBrush1(null); b = delegate { }; @@ -77,7 +77,7 @@ namespace SlaveMatrix { b = delegate { - ShapePart.BrushColor = ColorD.色.Col1; + ShapePart.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; - ShapePart.Brush = LGB; + ShapePart.SetBrush1(LGB); } }; } UpdateColor(); } - if (ShapePart.Pen == null && ShapePart.Brush == null) + if (ShapePart.GetPen() == null && ShapePart.GetBrush1() == null) { ShapePart.Dra = false; ShapePart.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; - ShapePart.Brush = LGB; + ShapePart.SetBrush1(LGB); } } } diff --git a/SlaveMatrix/SlaveMatrix/GameClasses/Element.cs b/SlaveMatrix/SlaveMatrix/GameClasses/Element.cs index 0dd35a7..a9fad23 100644 --- a/SlaveMatrix/SlaveMatrix/GameClasses/Element.cs +++ b/SlaveMatrix/SlaveMatrix/GameClasses/Element.cs @@ -4,61 +4,61 @@ using System.Linq; using System.Reflection; using _2DGAMELIB; -namespace SlaveMatrix +namespace SlaveMatrix.GameClasses { public class Element : IDisposable { - public Element Par; + public Element Par; - public ConnectionInfo ConnectionType; + public ConnectionInfo ConnectionType; - public VariantGrid Body; //本体 + public VariantGrid 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; + public static double 身長d2 = 身長ma2 - 身長mi2; - protected double 肥大_; + protected double 肥大_; - protected double 身長_; + protected double 身長_; - protected bool Xasix = true; + protected bool Xasix = true; - protected bool 右_; + protected bool 右_; - protected bool 反転X_; + protected bool 反転X_; - protected bool 反転Y_; + protected bool 反転Y_; - public JointD 接続根; + public JointD 接続根; - public 配色指定 配色指定; + public 配色指定 配色指定; - protected double サイズ_; + protected double サイズ_; - protected double サイズX_; + protected double サイズX_; - protected double サイズY_; + protected double サイズY_; - protected bool 欠損_; + protected bool 欠損_; - protected bool 筋肉_; + protected bool 筋肉_; - protected bool 拘束_; + protected bool 拘束_; public Type ThisType; @@ -66,945 +66,863 @@ namespace SlaveMatrix { get { - return Body.CurJoinRoot.BasePointBase; + return Body.GetCurJoinRoot().GetBasePointBase(); } set { foreach (ShapePart item in Body.EnumJoinRoot) { - item.BasePointBase = value; + item.SetBasePointBase(value); } Body.JoinP(); } } - public virtual Vector2D 基準C - { - get - { - return Body.CurJoinRoot.BasePointCont; - } - set - { - foreach (ShapePart item in Body.EnumJoinRoot) - { - item.BasePointCont = value; - } - Body.JoinP(); - } - } + public virtual Vector2D 基準C + { + get => Body.GetCurJoinRoot().GetBasePointCont(); + set + { + foreach (ShapePart item in Body.EnumJoinRoot) + { + item.SetBasePointCont(value); + } + Body.JoinP(); + } + } - public virtual Vector2D 位置 => Body.CurJoinRoot.Position; + public virtual Vector2D 位置 => Body.GetCurJoinRoot().GetPosition(); - public virtual Vector2D 位置B - { - get - { - return Body.CurJoinRoot.PositionBase; - } - set - { - foreach (ShapePart item in Body.EnumJoinRoot) - { - item.PositionBase = value; - } - Body.JoinP(); - } - } + public virtual Vector2D 位置B + { + get => Body.GetCurJoinRoot().GetPositionBase(); + set + { + foreach (ShapePart item in Body.EnumJoinRoot) + { + item.SetPositionBase(value); + } + Body.JoinP(); + } + } - public virtual Vector2D 位置C - { - get - { - return Body.CurJoinRoot.PositionCont; - } - set - { - foreach (ShapePart item in Body.EnumJoinRoot) - { - item.PositionCont = value; - } - Body.JoinP(); - } - } + public virtual Vector2D 位置C + { + get => Body.GetCurJoinRoot().GetPositionCont(); + set + { + foreach (ShapePart item in Body.EnumJoinRoot) + { + item.SetPositionCont(value); + } + Body.JoinP(); + } + } - public virtual double AngleAll - { - set - { - foreach (ShapePart item in Body.EnumAllPar()) - { - item.AngleBase = value; - } - Body.JoinPA(); - } - } + public virtual double AngleAll + { + set + { + foreach (ShapePart item in Body.EnumAllPar()) + { + item.SetAngleBase(value); + } + Body.JoinPA(); + } + } - public virtual double 角度B - { - get - { - return Body.CurJoinRoot.AngleBase; - } - set - { - foreach (ShapePart item in Body.EnumJoinRoot) - { - item.AngleBase = value; - } - Body.JoinPA(); - } - } + public virtual double 角度B + { + get => Body.GetCurJoinRoot().GetAngleBase(); + set + { + foreach (ShapePart item in Body.EnumJoinRoot) + { + item.SetAngleBase(value); + } + Body.JoinPA(); + } + } - public virtual double 角度C - { - get - { - return Body.CurJoinRoot.AngleCont; - } - set - { - foreach (ShapePart item in Body.EnumJoinRoot) - { - item.AngleCont = value; - } - Body.JoinPA(); - } - } + public virtual double 角度C + { + get => Body.GetCurJoinRoot().GetAngleCont(); + set + { + foreach (ShapePart item in Body.EnumJoinRoot) + { + item.SetAngleCont(value); + } + Body.JoinPA(); + } + } - public virtual double 尺度B - { - get - { - return Body.CurJoinRoot.SizeBase; - } - set - { - foreach (ShapePart item in Body.EnumAllPar()) - { - item.SizeBase *= value; - } - Body.JoinP(); - } - } + public virtual double 尺度B + { + get => Body.GetCurJoinRoot().GetSizeBase(); + set + { + foreach (ShapePart item in Body.EnumAllPar()) + { + item.SetSizeBase(item.GetSizeBase() * value); + } + Body.JoinP(); + } + } - public virtual double 尺度C - { - get - { - return Body.CurJoinRoot.SizeCont; - } - set - { - foreach (ShapePart item in Body.EnumAllPar()) - { - item.SizeCont = value; - } - Body.JoinP(); - } - } + public virtual double 尺度C + { + get => Body.GetCurJoinRoot().GetSizeCont(); + set + { + foreach (ShapePart item in Body.EnumAllPar()) + { + item.SetSizeCont(value); + } + Body.JoinP(); + } + } - public virtual double 尺度XB - { - get - { - return Body.CurJoinRoot.SizeXBase; - } - set - { - foreach (ShapePart item in Body.EnumAllPar()) - { - item.SizeXBase *= value; - } - Body.JoinP(); - } - } + public virtual double 尺度XB + { + get => Body.GetCurJoinRoot().GetSizeXBase(); + set + { + foreach (ShapePart item in Body.EnumAllPar()) + { + item.SetSizeXBase(item.GetSizeXBase() * value); + } + Body.JoinP(); + } + } - public virtual double 尺度XC - { - get - { - return Body.CurJoinRoot.SizeXCont; - } - set - { - foreach (ShapePart item in Body.EnumAllPar()) - { - item.SizeXCont = value; - } - Body.JoinP(); - } - } + public virtual double 尺度XC + { + get => Body.GetCurJoinRoot().GetSizeXCont(); + set + { + foreach (ShapePart item in Body.EnumAllPar()) + { + item.SetSizeXCont(value); + } + Body.JoinP(); + } + } - public virtual double 尺度YB - { - get - { - return Body.CurJoinRoot.SizeYBase; - } - set - { - foreach (ShapePart item in Body.EnumAllPar()) - { - item.SizeYBase *= value; - } - Body.JoinP(); - } - } + public virtual double 尺度YB + { + get => Body.GetCurJoinRoot().GetSizeYBase(); + set + { + foreach (ShapePart item in Body.EnumAllPar()) + { + item.SetSizeYBase(item.GetSizeYBase() * value); + } + Body.JoinP(); + } + } - public virtual double 尺度YC - { - get - { - return Body.CurJoinRoot.SizeYCont; - } - set - { - foreach (ShapePart item in Body.EnumAllPar()) - { - item.SizeYCont = value; - } - Body.JoinP(); - } - } + public virtual double 尺度YC + { + get => Body.GetCurJoinRoot().GetSizeYCont(); + set + { + foreach (ShapePart item in Body.EnumAllPar()) + { + item.SetSizeYCont(value); + } + Body.JoinP(); + } + } - public virtual double 尺度 => Body.CurJoinRoot.Size; + public virtual double 肥大 + { + get => 肥大_; + set + { + 肥大_ = value; + double rate = 肥大mi1 + 肥大d1 * 肥大_; + double num = 肥大mi2 + 肥大d2 * 肥大_; + double num2 = num + 0.05 * 肥大_.Inverse(); + foreach (ShapePart 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 尺度Y => Body.CurJoinRoot.SizeY; + public virtual double 身長 + { + get => 身長_; + set + { + 身長_ = value; + double num = 身長mi2 + 身長d2 * 身長_; + foreach (ShapePart 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 double 尺度X => Body.CurJoinRoot.SizeX; + public virtual bool 右 + { + get => 右_; + set + { + if (右_ != value) + { + Body.JoinPAall(); + Body.ReverseX(); + Body.JoinP(); + } + 右_ = value; + } + } - public virtual double 肥大 - { - get - { - return 肥大_; - } - set - { - 肥大_ = value; - double rate = 肥大mi1 + 肥大d1 * 肥大_; - double num = 肥大mi2 + 肥大d2 * 肥大_; - double num2 = num + 0.05 * 肥大_.Inverse(); - foreach (ShapePart 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 bool 反転X + { + get => 反転X_; + set + { + if (反転X_ != value) + { + Body.JoinPAall(); + Body.ReverseX(); + Body.JoinP(); + } + 反転X_ = value; + } + } - public virtual double 身長 - { - get - { - return 身長_; - } - set - { - 身長_ = value; - double num = 身長mi2 + 身長d2 * 身長_; - foreach (ShapePart 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 反転Y + { + get => 反転Y_; + set + { + if (反転Y_ != value) + { + Body.JoinPAall(); + Body.ReverseY(); + Body.JoinP(); + } + 反転Y_ = value; + } + } - public virtual bool 右 - { - get - { - return 右_; - } - set - { - if (右_ != value) - { - Body.JoinPAall(); - Body.ReverseX(); - Body.JoinP(); - } - 右_ = value; - } - } + public virtual double Xv + { + get => Body.ValueX; set => Body.ValueX = value; + } - public virtual bool 反転X - { - get - { - return 反転X_; - } - set - { - if (反転X_ != value) - { - Body.JoinPAall(); - Body.ReverseX(); - Body.JoinP(); - } - 反転X_ = value; - } - } + public virtual double Yv + { + get => Body.ValueY; set => Body.ValueY = value; + } - public virtual bool 反転Y - { - get - { - return 反転Y_; - } - set - { - if (反転Y_ != value) - { - Body.JoinPAall(); - Body.ReverseY(); - Body.JoinP(); - } - 反転Y_ = value; - } - } + public virtual int Xi + { + get => Body.GetIndexX(); set => Body.SetIndexX(value); + } - public virtual double Xv - { - get - { - return Body.ValueX; - } - set - { - Body.ValueX = value; - } - } + public virtual int Yi + { + get => Body.GetIndexY(); set => Body.SetIndexY(value); + } - public virtual double Yv - { - get - { - return Body.ValueY; - } - set - { - Body.ValueY = value; - } - } + public virtual double サイズ + { + get => サイズ_; + set + { + サイズ_ = value; + double rate = 0.95 + 0.09 * サイズ_; + foreach (ShapePart item in Body.EnumAllPar()) + { + Vector2D center = item.GetOP().GetCenter(); + item.GetOP().ScalingXY(center, rate); + item.GetJP().ScalingXY(center, rate); + } + } + } - public virtual int Xi - { - get - { - return Body.IndexX; - } - set - { - Body.IndexX = value; - } - } + public virtual double サイズX + { + get => サイズX_; + set + { + サイズX_ = value; + double rate = 0.95 + 0.09 * サイズX_; + foreach (ShapePart item in Body.EnumAllPar()) + { + Vector2D center = item.GetOP().GetCenter(); + item.GetOP().ScalingX(center, rate); + item.GetJP().ScalingX(center, rate); + } + } + } - public virtual int Yi - { - get - { - return Body.IndexY; - } - set - { - Body.IndexY = value; - } - } + public virtual double サイズY + { + get => サイズY_; + set + { + サイズY_ = value; + double rate = 0.95 + 0.09 * サイズY_; + foreach (ShapePart item in Body.EnumAllPar()) + { + Vector2D center = item.GetOP().GetCenter(); + item.GetOP().ScalingY(center, rate); + item.GetJP().ScalingY(center, rate); + } + } + } - public virtual double サイズ - { - get - { - return サイズ_; - } - set - { - サイズ_ = value; - double rate = 0.95 + 0.09 * サイズ_; - foreach (ShapePart item in Body.EnumAllPar()) - { - Vector2D center = item.OP.GetCenter(); - item.OP.ScalingXY(center, rate); - item.JP.ScalingXY(center, rate); - } - } - } + public virtual bool 欠損 { get; set; } - public virtual double サイズX - { - get - { - return サイズX_; - } - set - { - サイズX_ = value; - double rate = 0.95 + 0.09 * サイズX_; - foreach (ShapePart item in Body.EnumAllPar()) - { - Vector2D center = item.OP.GetCenter(); - item.OP.ScalingX(center, rate); - item.JP.ScalingX(center, rate); - } - } - } + public virtual bool 筋肉 { get; set; } - public virtual double サイズY - { - get - { - return サイズY_; - } - set - { - サイズY_ = value; - double rate = 0.95 + 0.09 * サイズY_; - foreach (ShapePart 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 virtual bool 拘束 { 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 bool 表示 { get; set; } + public virtual void 接続(JointS 接続元) + { + 接続根.Set(接続元); + } - public virtual double Intensity { get; set; } + public virtual void 描画0(RenderArea Are) + { + Body.Draw(Are); + } - 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 描画1(RenderArea Are) + { + } - public virtual void 接続(JointS 接続元) - { - 接続根.Set(接続元); - } + public virtual void 描画2(RenderArea Are) + { + } - public virtual void 描画0(RenderArea Are) - { - Body.Draw(Are); - } + public virtual void Dispose() + { + Body.Dispose(); + } - public virtual void 描画1(RenderArea Are) - { - } + public virtual void 接続P() + { + 接続根.JoinP(); + } - public virtual void 描画2(RenderArea Are) - { - } + public virtual void 接続PA() + { + 接続根.JoinPA(); + } - public virtual void Dispose() - { - Body.Dispose(); - } + public virtual void 色更新() + { + } - public virtual void 接続P() - { - 接続根.JoinP(); - } + public virtual void 色更新(Vector2D[] mm) + { + } - public virtual void 接続PA() - { - 接続根.JoinPA(); - } - - public virtual void 色更新() - { - } - - public virtual void 色更新(Vector2D[] mm) - { - } - - public virtual void SetAngle0() - { - 角度B = 0.0; - } + public virtual void SetAngle0() + { + 角度B = 0.0; + } public void SetAngle(Element e) { foreach (var item in Body.EnumAllPar().Zip(e.Body.EnumAllPar(), (ShapePart a0, ShapePart a1) => new { a0, a1 })) { - item.a0.AngleBase = 0.0 - item.a1.AngleBase; + item.a0.SetAngleBase(0.0 - item.a1.GetAngleBase()); } Body.JoinPAall(); } @@ -1013,41 +931,41 @@ namespace SlaveMatrix { } - public virtual IEnumerable EnumEle() - { - yield return this; - foreach (FieldInfo item in from e in ThisType.GetFields() - where e.FieldType.ToString() == GlobalState.at - select e) - { - Element[] array = (Element[])item.GetValue(this); - if (array == null) - { - continue; - } - Element[] array2 = array; - foreach (Element ele in array2) - { - foreach (Element item2 in ele.EnumEle()) - { - yield return item2; - } - } - } - } + public virtual IEnumerable EnumEle() + { + yield return this; + foreach (FieldInfo item in from e in ThisType.GetFields() + where e.FieldType.ToString() == GlobalState.at + select e) + { + Element[] array = (Element[])item.GetValue(this); + if (array == null) + { + continue; + } + Element[] array2 = array; + foreach (Element ele in array2) + { + foreach (Element item2 in ele.EnumEle()) + { + yield return item2; + } + } + } + } - public IEnumerable EnumConnectionType(ConnectionInfo 接続情報) - { - Element[] array = (Element[])ThisType.GetField(接続情報.ToString().Remove(0, ThisType.Name.Length + 1)).GetValue(this); - if (array != null) - { - Element[] array2 = array; - for (int i = 0; i < array2.Length; i++) - { - yield return array2[i]; - } - } - } + public IEnumerable EnumConnectionType(ConnectionInfo 接続情報) + { + Element[] array = (Element[])ThisType.GetField(接続情報.ToString()[(ThisType.Name.Length + 1)..]).GetValue(this); + if (array != null) + { + Element[] array2 = array; + for (int i = 0; i < array2.Length; i++) + { + yield return array2[i]; + } + } + } public ColorP GetParOfColorP(ShapePart p) { diff --git a/SlaveMatrix/SlaveMatrix/GameClasses/ElementData.cs b/SlaveMatrix/SlaveMatrix/GameClasses/ElementData.cs index 640241f..ba6e00b 100644 --- a/SlaveMatrix/SlaveMatrix/GameClasses/ElementData.cs +++ b/SlaveMatrix/SlaveMatrix/GameClasses/ElementData.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/ElementInstance.cs b/SlaveMatrix/SlaveMatrix/GameClasses/ElementInstance.cs index 7f9f7c7..139ee58 100644 --- a/SlaveMatrix/SlaveMatrix/GameClasses/ElementInstance.cs +++ b/SlaveMatrix/SlaveMatrix/GameClasses/ElementInstance.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using _2DGAMELIB; +using SlaveMatrix.GameClasses; namespace SlaveMatrix { diff --git a/SlaveMatrix/SlaveMatrix/GameClasses/GlobalState.cs b/SlaveMatrix/SlaveMatrix/GameClasses/GlobalState.cs index 38cd12b..d9e6a04 100644 --- a/SlaveMatrix/SlaveMatrix/GameClasses/GlobalState.cs +++ b/SlaveMatrix/SlaveMatrix/GameClasses/GlobalState.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 @@ -528,9 +529,9 @@ namespace SlaveMatrix タイル.SetJoints(); foreach (ShapePart item in タイル.EnumAllPar()) { - item.BrushColor = ColorHelper.DarkGray; + item.SetBrushColor(ColorHelper.DarkGray); item.GetAlpha(out var ret); - item.PenColor = Color.FromArgb(ret / 2, ColorHelper.Black); + item.SetPenColor(Color.FromArgb(ret / 2, ColorHelper.Black)); item.Hit = false; } } diff --git a/SlaveMatrix/SlaveMatrix/GameClasses/ListView.cs b/SlaveMatrix/SlaveMatrix/GameClasses/ListView.cs index bc31635..a983994 100644 --- a/SlaveMatrix/SlaveMatrix/GameClasses/ListView.cs +++ b/SlaveMatrix/SlaveMatrix/GameClasses/ListView.cs @@ -58,12 +58,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; ShapePartT[] array = pt; for (int i = 0; i < array.Length; i++) { - array[i].PositionBase = p.AddY(num); + array[i].SetPositionBase(p.AddY(num)); num += num2; } } @@ -79,19 +79,19 @@ namespace SlaveMatrix { pt[i] = new ShapePartT(); 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 Button(pt[i], acts[i].act)); } this.Position = Position; @@ -103,8 +103,8 @@ namespace SlaveMatrix ShapePartT[] array = pt; foreach (ShapePartT 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/ModuleRegistry.cs b/SlaveMatrix/SlaveMatrix/GameClasses/ModuleRegistry.cs index 0c30fd0..0984e82 100644 --- a/SlaveMatrix/SlaveMatrix/GameClasses/ModuleRegistry.cs +++ b/SlaveMatrix/SlaveMatrix/GameClasses/ModuleRegistry.cs @@ -20,20 +20,20 @@ namespace SlaveMatrix public static Button Button(ModeEventDispatcher med, RenderArea buffer, string text, Vector2D pos, Action on_click) { ShapePartT shapePartT = new ShapePartT(); - shapePartT.Font = new Font("MS Gothic", 0.1f); - shapePartT.PositionBase = buffer.GetPosition(pos); + shapePartT.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT.SetPositionBase(buffer.GetPosition(pos)); shapePartT.Text = text; - shapePartT.FontSize = 0.14; - shapePartT.SizeBase = 0.05; - shapePartT.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT.OP.ScalingXY(shapePartT.OP.GetCenter(), 0.87, 0.23); - shapePartT.Closed = true; - shapePartT.TextColor = ColorHelper.White; - shapePartT.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT.HitColor = med.GetUniqueColor(); - shapePartT.StringFormat.Alignment = StringAlignment.Center; - shapePartT.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT.SetFontSize(0.14); + shapePartT.SetSizeBase(0.05); + shapePartT.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT.GetOP().ScalingXY(shapePartT.GetOP().GetCenter(), 0.87, 0.23); + shapePartT.SetClosed(true); + shapePartT.SetTextColor(ColorHelper.White); + shapePartT.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT.SetHitColor(med.GetUniqueColor()); + shapePartT.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT.GetStringFormat().LineAlignment = StringAlignment.Center; /* ShapePartT shapePartT = new ShapePartT(); @@ -77,21 +77,21 @@ namespace SlaveMatrix //rhombus shaped buttons public static Button Button2(ModeEventDispatcher med, RenderArea buffer, string text, Vector2D pos, Action on_click) { ShapePartT shapePartT = new ShapePartT(); - shapePartT.Font = new Font("MS Gothic", 0.1f); - shapePartT.PositionBase = buffer.GetPosition(pos); + shapePartT.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT.SetPositionBase(buffer.GetPosition(pos)); shapePartT.Text = text; - shapePartT.FontSize = 0.15; - shapePartT.SizeBase = 0.05; - shapePartT.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT.OP.ScalingY(shapePartT.OP.GetCenter(), 0.47); - shapePartT.OP.Rotation(shapePartT.OP.GetCenter(), -26.0); - shapePartT.Closed = true; - shapePartT.TextColor = ColorHelper.White; - shapePartT.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT.HitColor = med.GetUniqueColor(); - shapePartT.StringFormat.Alignment = StringAlignment.Center; - shapePartT.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT.SetFontSize(0.15); + shapePartT.SetSizeBase(0.05); + shapePartT.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT.GetOP().ScalingY(shapePartT.GetOP().GetCenter(), 0.47); + shapePartT.GetOP().Rotation(shapePartT.GetOP().GetCenter(), -26.0); + shapePartT.SetClosed(true); + shapePartT.SetTextColor(ColorHelper.White); + shapePartT.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT.SetHitColor(med.GetUniqueColor()); + shapePartT.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT.GetStringFormat().LineAlignment = StringAlignment.Center; return new Button(shapePartT, 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", ColorHelper.White, ColorHelper.Black, - ip.MaiB.BrushColor, + ip.MaiB.GetBrushColor(), ColorHelper.Black ); @@ -1136,7 +1136,7 @@ namespace SlaveMatrix public static void Player説明(ref Color hc, Action Reset) { - if (dbs["プレイヤー"].PartGroup.Values.First().ToPar().HitColor == hc) + if (dbs["プレイヤー"].PartGroup.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"].PartGroup.Values.First().ToPar().HitColor == hc) + if (bs["ボタン7"].PartGroup.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.ShapePartT.PositionBase = new Vector2D(Player.UI.ステート.Position.X, 0.026); + npl.ShapePartT.SetPositionBase(new Vector2D(Player.UI.ステート.Position.X, 0.026)); } }, Draw = delegate (FpsCounter FPS) @@ -2015,7 +2015,7 @@ namespace SlaveMatrix { foreach (ButtonBase item in lv.bs.EnumBut) { - item.PartGroup.Values.First().ToParT().PenColor = lv初期縁色; + item.PartGroup.Values.First().ToParT().SetPenColor(lv初期縁色); } }; Action SetUI = delegate(Unit u) @@ -2077,7 +2077,7 @@ namespace SlaveMatrix e.act = delegate(ButtonBase b) { lv縁色初期化(); - b.PartGroup.Values.First().ToParT().PenColor = Color.Red; + b.PartGroup.Values.First().ToParT().SetPenColor(Color.Red); GlobalState.GameData.TrainingTarget = null; if (TrainingTarget != null) { @@ -2093,7 +2093,7 @@ namespace SlaveMatrix e.act = delegate(ButtonBase b) { lv縁色初期化(); - b.PartGroup.Values.First().ToParT().PenColor = Color.Red; + b.PartGroup.Values.First().ToParT().SetPenColor(Color.Red); GlobalState.GameData.TrainingTarget = u; bs["子"].Action(bs["子"]); if (ip.Mai2Show) @@ -2124,7 +2124,7 @@ namespace SlaveMatrix { foreach (ButtonBase item2 in bs.EnumBut.Skip(1).Take(3)) { - item2.PartGroup.Values.First().ToParT().PenColor = bs初期縁色; + item2.PartGroup.Values.First().ToParT().SetPenColor(bs初期縁色); } }; Color f初期縁色 = ColorHelper.Black; @@ -2132,13 +2132,13 @@ namespace SlaveMatrix { foreach (ButtonBase item3 in bs.EnumBut.Skip(10)) { - item3.PartGroup.Values.First().ToParT().PenColor = f初期縁色; + item3.PartGroup.Values.First().ToParT().SetPenColor(f初期縁色); } }; Action 階層選択 = delegate (ButtonBase b, int o) { f縁色初期化(); - b.PartGroup.Values.First().ToParT().PenColor = Color.Red; + b.PartGroup.Values.First().ToParT().SetPenColor(Color.Red); set(o); }; Action 部屋選択 = delegate @@ -2146,7 +2146,7 @@ namespace SlaveMatrix lv縁色初期化(); if (GlobalState.GameData.TrainingTarget != null && f == GlobalState.GameData.TrainingTarget.階層位置 * 15) { - lv.bs[GlobalState.GameData.TrainingTarget.RoomNumber.ToString()].PartGroup.Values.First().ToParT().PenColor = Color.Red; + lv.bs[GlobalState.GameData.TrainingTarget.RoomNumber.ToString()].PartGroup.Values.First().ToParT().SetPenColor(Color.Red); } }; @@ -2221,7 +2221,7 @@ namespace SlaveMatrix { dbs.Move(ref hc); bs.Move(ref hc); - if (bs["胸施術"].PartGroup.Values.First().ToPar().HitColor == hc && !(ip.SubInfoIm == GameText.胸の甲殻を切除しました) && !(ip.SubInfoIm == GameText.所持金が足りません)) + if (bs["胸施術"].PartGroup.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["股施術"].PartGroup.Values.First().ToPar().HitColor == hc && !(ip.SubInfoIm == GameText.股の + (TrainingTarget.Body.Is蛇 ? GameText.鱗 : GameText.甲殻) + GameText.を切除しました) && !(ip.SubInfoIm == GameText.所持金が足りません)) + if (bs["股施術"].PartGroup.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["淫紋"].PartGroup.Values.First().ToPar().HitColor == hc && !(ip.SubInfoIm == GameText.淫紋を刻みました) && !(ip.SubInfoIm == GameText.所持金が足りません)) + if (bs["淫紋"].PartGroup.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["衣装"].PartGroup.Values.First().ToPar().HitColor == hc && !(ip.SubInfoIm == GameText.衣装を変更しました) && !(ip.SubInfoIm == GameText.所持金が足りません)) + if (bs["衣装"].PartGroup.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["保守"].PartGroup.Values.First().ToPar().HitColor == hc && !(ip.SubInfoIm == GameText.奴隷を保守対象に設定しました) && !(ip.SubInfoIm == GameText.奴隷の保守設定を解除しました)) + if (bs["保守"].PartGroup.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["一般労働"].PartGroup.Values.First().ToPar().HitColor == hc && !(ip.SubInfoIm == GameText.奴隷を一般労働に設定しました) && !(ip.SubInfoIm == GameText.奴隷の一般労働を解除しました)) + if (bs["一般労働"].PartGroup.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["娼婦労働"].PartGroup.Values.First().ToPar().HitColor == hc && !(ip.SubInfoIm == GameText.奴隷を娼婦労働に設定しました) && !(ip.SubInfoIm == GameText.奴隷の娼婦労働を解除しました)) + if (bs["娼婦労働"].PartGroup.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["売却"].PartGroup.Values.First().ToPar().HitColor == hc) + if (bs["売却"].PartGroup.Values.First().ToPar().GetHitColor() == hc) { ip.SubInfoIm = GameText.奴隷を売却します; } @@ -2288,7 +2288,7 @@ namespace SlaveMatrix { si.Set(bre: false); } - if (bs["全一般"].PartGroup.Values.First().ToPar().HitColor == hc && !(ip.SubInfoIm == GameText.労働可能な全ての奴隷に一般労働を設定しました)) + if (bs["全一般"].PartGroup.Values.First().ToPar().GetHitColor() == hc && !(ip.SubInfoIm == GameText.労働可能な全ての奴隷に一般労働を設定しました)) { ip.SubInfoIm = GameText.労働可能な全ての奴隷を働かせます; } @@ -2296,7 +2296,7 @@ namespace SlaveMatrix { si.Set(bre: false); } - if (bs["全娼婦"].PartGroup.Values.First().ToPar().HitColor == hc && !(ip.SubInfoIm == GameText.労働可能な全ての奴隷に娼婦労働を設定しました)) + if (bs["全娼婦"].PartGroup.Values.First().ToPar().GetHitColor() == hc && !(ip.SubInfoIm == GameText.労働可能な全ての奴隷に娼婦労働を設定しました)) { ip.SubInfoIm = GameText.労働可能な全ての奴隷を娼婦として働かせます; } @@ -2304,7 +2304,7 @@ namespace SlaveMatrix { si.Set(bre: false); } - if (bs["全解除"].PartGroup.Values.First().ToPar().HitColor == hc && !(ip.SubInfoIm == GameText.労働中の全ての奴隷の労働を解除しました)) + if (bs["全解除"].PartGroup.Values.First().ToPar().GetHitColor() == hc && !(ip.SubInfoIm == GameText.労働中の全ての奴隷の労働を解除しました)) { ip.SubInfoIm = GameText.全ての奴隷の労働を解除します; } @@ -2312,7 +2312,7 @@ namespace SlaveMatrix { si.Set(bre: false); } - if (bs["全売却"].PartGroup.Values.First().ToPar().HitColor == hc && !ip.SubInfoIm.StartsWith(GameText.保守以外の全ての奴隷を売却しました) && !(ip.SubInfoIm == GameText.全売却をキャンセルしました)) + if (bs["全売却"].PartGroup.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.PartGroup.Values.First().ToParT().PenColor == Color.Red)) + while (enumerator2.MoveNext() && !(enumerator2.Current.PartGroup.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.PartGroup.Values.First().ToParT().PenColor == Color.Red)) + while (enumerator2.MoveNext() && !(enumerator2.Current.PartGroup.Values.First().ToParT().GetPenColor() == Color.Red)) { num3++; } @@ -2420,7 +2420,7 @@ namespace SlaveMatrix ButtonBase buttonBase = bs["ボタン" + (GlobalState.GameData.TrainingTarget.階層位置 + 1)]; buttonBase.Action(buttonBase); lv縁色初期化(); - lv.bs[GlobalState.GameData.TrainingTarget.RoomNumber.ToString()].PartGroup.Values.First().ToParT().PenColor = Color.Red; + lv.bs[GlobalState.GameData.TrainingTarget.RoomNumber.ToString()].PartGroup.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.PartGroup.Values.First().ToParT().PenColor == Color.Red)) + while (enumerator.MoveNext() && !(enumerator.Current.PartGroup.Values.First().ToParT().GetPenColor() == Color.Red)) { num++; } @@ -2443,11 +2443,11 @@ namespace SlaveMatrix si.Set(bre: false); if (GlobalState.BigWindow) { - npl.ShapePartT.PositionBase = new Vector2D(0.095, 0.035); + npl.ShapePartT.SetPositionBase(new Vector2D(0.095, 0.035)); } else { - npl.ShapePartT.PositionBase = new Vector2D(ip.MaiB.Position.X, 0.026); + npl.ShapePartT.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 (GlobalState.GameData.TrainingTarget != null && bs["子"].PartGroup.Values.First().ToParT().PenColor != Color.Red) + if (GlobalState.GameData.TrainingTarget != null && bs["子"].PartGroup.Values.First().ToParT().GetPenColor() != Color.Red) { SetTrainingTarget(Med, GlobalState.GameData.TrainingTarget); SetUI(GlobalState.GameData.TrainingTarget); @@ -2482,7 +2482,7 @@ namespace SlaveMatrix ////Sounds.操作.Play(); } bs縁色初期化(); - b.PartGroup.Values.First().ToParT().PenColor = Color.Red; + b.PartGroup.Values.First().ToParT().SetPenColor(Color.Red); if (GlobalState.GameData.TrainingTarget != null) { if (TrainingTarget == null || TrainingTarget.CharacterData != GlobalState.GameData.TrainingTarget.ChaD) @@ -2501,7 +2501,7 @@ namespace SlaveMatrix { ////Sounds.操作.Play(); bs縁色初期化(); - b.PartGroup.Values.First().ToParT().PenColor = Color.Red; + b.PartGroup.Values.First().ToParT().SetPenColor(Color.Red); if (GlobalState.GameData.TrainingTarget != null) { if (TrainingTarget != null) @@ -2545,7 +2545,7 @@ namespace SlaveMatrix { ////Sounds.操作.Play(); bs縁色初期化(); - b.PartGroup.Values.First().ToParT().PenColor = Color.Red; + b.PartGroup.Values.First().ToParT().SetPenColor(Color.Red); if (GlobalState.GameData.TrainingTarget != null) { if (TrainingTarget != null) @@ -2822,21 +2822,21 @@ namespace SlaveMatrix ShapePartT shapePartT13 = new ShapePartT(); - shapePartT13.Font = new Font("MS Gothic", 0.1f); - shapePartT13.PositionBase = DrawBuffer.GetPosition(0.03, 0.03); + shapePartT13.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT13.SetPositionBase(DrawBuffer.GetPosition(0.03, 0.03)); shapePartT13.Text = "1F"; - shapePartT13.FontSize = 0.15; - shapePartT13.SizeBase = 0.05; - shapePartT13.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT13.BasePointBase = shapePartT13.OP.GetCenter(); - shapePartT13.OP.ScalingXY(shapePartT13.BasePointBase, 0.3); - shapePartT13.Closed = true; - shapePartT13.TextColor = ColorHelper.White; - shapePartT13.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT13.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT13.StringFormat.Alignment = StringAlignment.Center; - shapePartT13.StringFormat.LineAlignment = StringAlignment.Center; - shapePartT13.PenColor = Color.Red; + shapePartT13.SetFontSize(0.15); + shapePartT13.SetSizeBase(0.05); + shapePartT13.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT13.SetBasePointBase(shapePartT13.GetOP().GetCenter()); + shapePartT13.GetOP().ScalingXY(shapePartT13.GetBasePointBase(), 0.3); + shapePartT13.SetClosed(true); + shapePartT13.SetTextColor(ColorHelper.White); + shapePartT13.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT13.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT13.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT13.GetStringFormat().LineAlignment = StringAlignment.Center; + shapePartT13.SetPenColor(Color.Red); bs.Add("ボタン1", new Button(shapePartT13, delegate(ButtonBase b) { if (d) @@ -2849,20 +2849,20 @@ namespace SlaveMatrix ShapePartT shapePartT14 = new ShapePartT(); - shapePartT14.Font = new Font("MS Gothic", 0.1f); - shapePartT14.PositionBase = DrawBuffer.GetPosition(0.07, 0.03); + shapePartT14.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT14.SetPositionBase(DrawBuffer.GetPosition(0.07, 0.03)); shapePartT14.Text = "2F"; - shapePartT14.FontSize = 0.15; - shapePartT14.SizeBase = 0.05; - shapePartT14.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT14.BasePointBase = shapePartT14.OP.GetCenter(); - shapePartT14.OP.ScalingXY(shapePartT14.BasePointBase, 0.3); - shapePartT14.Closed = true; - shapePartT14.TextColor = ColorHelper.White; - shapePartT14.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT14.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT14.StringFormat.Alignment = StringAlignment.Center; - shapePartT14.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT14.SetFontSize(0.15); + shapePartT14.SetSizeBase(0.05); + shapePartT14.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT14.SetBasePointBase(shapePartT14.GetOP().GetCenter()); + shapePartT14.GetOP().ScalingXY(shapePartT14.GetBasePointBase(), 0.3); + shapePartT14.SetClosed(true); + shapePartT14.SetTextColor(ColorHelper.White); + shapePartT14.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT14.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT14.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT14.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン2", new Button(shapePartT14, delegate(ButtonBase b) { if (d) @@ -2873,20 +2873,20 @@ namespace SlaveMatrix 部屋選択(); })); ShapePartT shapePartT15 = new ShapePartT(); - shapePartT15.Font = new Font("MS Gothic", 0.1f); - shapePartT15.PositionBase = DrawBuffer.GetPosition(0.11, 0.03); + shapePartT15.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT15.SetPositionBase(DrawBuffer.GetPosition(0.11, 0.03)); shapePartT15.Text = "3F"; - shapePartT15.FontSize = 0.15; - shapePartT15.SizeBase = 0.05; - shapePartT15.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT15.BasePointBase = shapePartT15.OP.GetCenter(); - shapePartT15.OP.ScalingXY(shapePartT15.BasePointBase, 0.3); - shapePartT15.Closed = true; - shapePartT15.TextColor = ColorHelper.White; - shapePartT15.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT15.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT15.StringFormat.Alignment = StringAlignment.Center; - shapePartT15.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT15.SetFontSize(0.15); + shapePartT15.SetSizeBase(0.05); + shapePartT15.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT15.SetBasePointBase(shapePartT15.GetOP().GetCenter()); + shapePartT15.GetOP().ScalingXY(shapePartT15.GetBasePointBase(), 0.3); + shapePartT15.SetClosed(true); + shapePartT15.SetTextColor(ColorHelper.White); + shapePartT15.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT15.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT15.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT15.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン3", new Button(shapePartT15, delegate(ButtonBase b) { if (d) @@ -2897,20 +2897,20 @@ namespace SlaveMatrix 部屋選択(); })); ShapePartT shapePartT16 = new ShapePartT(); - shapePartT16.Font = new Font("MS Gothic", 0.1f); - shapePartT16.PositionBase = DrawBuffer.GetPosition(0.15, 0.03); + shapePartT16.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT16.SetPositionBase(DrawBuffer.GetPosition(0.15, 0.03)); shapePartT16.Text = "4F"; - shapePartT16.FontSize = 0.15; - shapePartT16.SizeBase = 0.05; - shapePartT16.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT16.BasePointBase = shapePartT16.OP.GetCenter(); - shapePartT16.OP.ScalingXY(shapePartT16.BasePointBase, 0.3); - shapePartT16.Closed = true; - shapePartT16.TextColor = ColorHelper.White; - shapePartT16.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT16.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT16.StringFormat.Alignment = StringAlignment.Center; - shapePartT16.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT16.SetFontSize(0.15); + shapePartT16.SetSizeBase(0.05); + shapePartT16.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT16.SetBasePointBase(shapePartT16.GetOP().GetCenter()); + shapePartT16.GetOP().ScalingXY(shapePartT16.GetBasePointBase(), 0.3); + shapePartT16.SetClosed(true); + shapePartT16.SetTextColor(ColorHelper.White); + shapePartT16.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT16.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT16.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT16.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン4", new Button(shapePartT16, delegate(ButtonBase b) { if (d) @@ -2921,20 +2921,20 @@ namespace SlaveMatrix 部屋選択(); })); ShapePartT shapePartT17 = new ShapePartT(); - shapePartT17.Font = new Font("MS Gothic", 0.1f); - shapePartT17.PositionBase = DrawBuffer.GetPosition(0.19, 0.03); + shapePartT17.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT17.SetPositionBase(DrawBuffer.GetPosition(0.19, 0.03)); shapePartT17.Text = "5F"; - shapePartT17.FontSize = 0.15; - shapePartT17.SizeBase = 0.05; - shapePartT17.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT17.BasePointBase = shapePartT17.OP.GetCenter(); - shapePartT17.OP.ScalingXY(shapePartT17.BasePointBase, 0.3); - shapePartT17.Closed = true; - shapePartT17.TextColor = ColorHelper.White; - shapePartT17.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT17.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT17.StringFormat.Alignment = StringAlignment.Center; - shapePartT17.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT17.SetFontSize(0.15); + shapePartT17.SetSizeBase(0.05); + shapePartT17.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT17.SetBasePointBase(shapePartT17.GetOP().GetCenter()); + shapePartT17.GetOP().ScalingXY(shapePartT17.GetBasePointBase(), 0.3); + shapePartT17.SetClosed(true); + shapePartT17.SetTextColor(ColorHelper.White); + shapePartT17.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT17.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT17.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT17.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン5", new Button(shapePartT17, delegate(ButtonBase b) { if (d) @@ -2945,20 +2945,20 @@ namespace SlaveMatrix 部屋選択(); })); ShapePartT shapePartT18 = new ShapePartT(); - shapePartT18.Font = new Font("MS Gothic", 0.1f); - shapePartT18.PositionBase = DrawBuffer.GetPosition(0.23, 0.03); + shapePartT18.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT18.SetPositionBase(DrawBuffer.GetPosition(0.23, 0.03)); shapePartT18.Text = "6F"; - shapePartT18.FontSize = 0.15; - shapePartT18.SizeBase = 0.05; - shapePartT18.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT18.BasePointBase = shapePartT18.OP.GetCenter(); - shapePartT18.OP.ScalingXY(shapePartT18.BasePointBase, 0.3); - shapePartT18.Closed = true; - shapePartT18.TextColor = ColorHelper.White; - shapePartT18.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT18.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT18.StringFormat.Alignment = StringAlignment.Center; - shapePartT18.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT18.SetFontSize(0.15); + shapePartT18.SetSizeBase(0.05); + shapePartT18.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT18.SetBasePointBase(shapePartT18.GetOP().GetCenter()); + shapePartT18.GetOP().ScalingXY(shapePartT18.GetBasePointBase(), 0.3); + shapePartT18.SetClosed(true); + shapePartT18.SetTextColor(ColorHelper.White); + shapePartT18.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT18.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT18.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT18.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン6", new Button(shapePartT18, delegate(ButtonBase b) { if (d) @@ -2969,20 +2969,20 @@ namespace SlaveMatrix 部屋選択(); })); ShapePartT shapePartT19 = new ShapePartT(); - shapePartT19.Font = new Font("MS Gothic", 0.1f); - shapePartT19.PositionBase = DrawBuffer.GetPosition(0.27, 0.03); + shapePartT19.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT19.SetPositionBase(DrawBuffer.GetPosition(0.27, 0.03)); shapePartT19.Text = "7F"; - shapePartT19.FontSize = 0.15; - shapePartT19.SizeBase = 0.05; - shapePartT19.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT19.BasePointBase = shapePartT19.OP.GetCenter(); - shapePartT19.OP.ScalingXY(shapePartT19.BasePointBase, 0.3); - shapePartT19.Closed = true; - shapePartT19.TextColor = ColorHelper.White; - shapePartT19.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT19.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT19.StringFormat.Alignment = StringAlignment.Center; - shapePartT19.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT19.SetFontSize(0.15); + shapePartT19.SetSizeBase(0.05); + shapePartT19.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT19.SetBasePointBase(shapePartT19.GetOP().GetCenter()); + shapePartT19.GetOP().ScalingXY(shapePartT19.GetBasePointBase(), 0.3); + shapePartT19.SetClosed(true); + shapePartT19.SetTextColor(ColorHelper.White); + shapePartT19.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT19.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT19.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT19.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン7", new Button(shapePartT19, delegate(ButtonBase b) { if (d) @@ -2993,20 +2993,20 @@ namespace SlaveMatrix 部屋選択(); })); ShapePartT shapePartT20 = new ShapePartT(); - shapePartT20.Font = new Font("MS Gothic", 0.1f); - shapePartT20.PositionBase = DrawBuffer.GetPosition(0.31, 0.03); + shapePartT20.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT20.SetPositionBase(DrawBuffer.GetPosition(0.31, 0.03)); shapePartT20.Text = "8F"; - shapePartT20.FontSize = 0.15; - shapePartT20.SizeBase = 0.05; - shapePartT20.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT20.BasePointBase = shapePartT20.OP.GetCenter(); - shapePartT20.OP.ScalingXY(shapePartT20.BasePointBase, 0.3); - shapePartT20.Closed = true; - shapePartT20.TextColor = ColorHelper.White; - shapePartT20.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT20.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT20.StringFormat.Alignment = StringAlignment.Center; - shapePartT20.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT20.SetFontSize(0.15); + shapePartT20.SetSizeBase(0.05); + shapePartT20.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT20.SetBasePointBase(shapePartT20.GetOP().GetCenter()); + shapePartT20.GetOP().ScalingXY(shapePartT20.GetBasePointBase(), 0.3); + shapePartT20.SetClosed(true); + shapePartT20.SetTextColor(ColorHelper.White); + shapePartT20.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT20.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT20.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT20.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン8", new Button(shapePartT20, delegate(ButtonBase b) { if (d) @@ -3017,20 +3017,20 @@ namespace SlaveMatrix 部屋選択(); })); ShapePartT shapePartT21 = new ShapePartT(); - shapePartT21.Font = new Font("MS Gothic", 0.1f); - shapePartT21.PositionBase = DrawBuffer.GetPosition(0.35, 0.03); + shapePartT21.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT21.SetPositionBase(DrawBuffer.GetPosition(0.35, 0.03)); shapePartT21.Text = "9F"; - shapePartT21.FontSize = 0.15; - shapePartT21.SizeBase = 0.05; - shapePartT21.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT21.BasePointBase = shapePartT21.OP.GetCenter(); - shapePartT21.OP.ScalingXY(shapePartT21.BasePointBase, 0.3); - shapePartT21.Closed = true; - shapePartT21.TextColor = ColorHelper.White; - shapePartT21.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT21.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT21.StringFormat.Alignment = StringAlignment.Center; - shapePartT21.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT21.SetFontSize(0.15); + shapePartT21.SetSizeBase(0.05); + shapePartT21.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT21.SetBasePointBase(shapePartT21.GetOP().GetCenter()); + shapePartT21.GetOP().ScalingXY(shapePartT21.GetBasePointBase(), 0.3); + shapePartT21.SetClosed(true); + shapePartT21.SetTextColor(ColorHelper.White); + shapePartT21.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT21.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT21.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT21.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン9", new Button(shapePartT21, delegate(ButtonBase 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", ColorHelper.White, ColorHelper.Black, ip.MaiB.BrushColor, ColorHelper.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", ColorHelper.White, ColorHelper.Black, ip.MaiB.GetBrushColor(), ColorHelper.Black); ButtonMap bs = new ButtonMap(); Action 祝福なし = delegate { @@ -3331,10 +3331,10 @@ namespace SlaveMatrix })); Action rs1 = delegate(ButtonMap bs_) { - Color penColor = bs_["ボタン0"].PartGroup.Values.First().ToParT().PenColor; + Color penColor = bs_["ボタン0"].PartGroup.Values.First().ToParT().GetPenColor(); foreach (ButtonBase item in bs_.EnumBut.Skip(1)) { - item.PartGroup.Values.First().ToParT().PenColor = penColor; + item.PartGroup.Values.First().ToParT().SetPenColor(penColor); } }; @@ -3345,7 +3345,7 @@ namespace SlaveMatrix //Sounds.操作.Play(); } rs1(bs); - bu.PartGroup.Values.First().ToParT().PenColor = Color.Red; + bu.PartGroup.Values.First().ToParT().SetPenColor(Color.Red); if (GlobalState.GameData.祝福 != null) { l.Text = GlobalState.GameData.祝福.Name; @@ -3385,7 +3385,7 @@ namespace SlaveMatrix { //Sounds.操作.Play(); rs1(bs); - bu.PartGroup.Values.First().ToParT().PenColor = Color.Red; + bu.PartGroup.Values.First().ToParT().SetPenColor(Color.Red); if (GlobalState.GameData.祝福 != null) { l.Text = GameText.親形質1; @@ -3425,7 +3425,7 @@ namespace SlaveMatrix { //Sounds.操作.Play(); rs1(bs); - bu.PartGroup.Values.First().ToParT().PenColor = Color.Red; + bu.PartGroup.Values.First().ToParT().SetPenColor(Color.Red); if (GlobalState.GameData.祝福 != null) { l.Text = GameText.親形質2; @@ -3639,20 +3639,20 @@ namespace SlaveMatrix Module mod = new Module(); ButtonMap bs = new ButtonMap(); ShapePartT shapePartT = new ShapePartT(); - shapePartT.Font = new Font("MS Gothic", 0.1f); - shapePartT.PositionBase = DrawBuffer.GetPosition(0.85, 0.02); + shapePartT.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT.SetPositionBase(DrawBuffer.GetPosition(0.85, 0.02)); shapePartT.Text = GameText.戻る; - shapePartT.FontSize = 0.15; - shapePartT.SizeBase = 0.05; - shapePartT.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT.OP.ScalingY(shapePartT.OP.GetCenter(), 0.47); - shapePartT.OP.Rotation(shapePartT.OP.GetCenter(), -26.0); - shapePartT.Closed = true; - shapePartT.TextColor = ColorHelper.White; - shapePartT.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT.StringFormat.Alignment = StringAlignment.Center; - shapePartT.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT.SetFontSize(0.15); + shapePartT.SetSizeBase(0.05); + shapePartT.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT.GetOP().ScalingY(shapePartT.GetOP().GetCenter(), 0.47); + shapePartT.GetOP().Rotation(shapePartT.GetOP().GetCenter(), -26.0); + shapePartT.SetClosed(true); + shapePartT.SetTextColor(ColorHelper.White); + shapePartT.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン0", new Button(shapePartT, delegate { //Sounds.操作.Play(); @@ -3662,60 +3662,60 @@ namespace SlaveMatrix } })); ShapePartT shapePartT2 = new ShapePartT(); - shapePartT2.Font = new Font("MS Gothic", 0.1f); - shapePartT2.PositionBase = DrawBuffer.GetPosition(0.85, 0.1); + shapePartT2.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT2.SetPositionBase(DrawBuffer.GetPosition(0.85, 0.1)); shapePartT2.Text = GameText.借金; - shapePartT2.FontSize = 0.15; - shapePartT2.SizeBase = 0.05; - shapePartT2.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT2.OP.ScalingY(shapePartT2.OP.GetCenter(), 0.47); - shapePartT2.OP.Rotation(shapePartT2.OP.GetCenter(), -26.0); - shapePartT2.Closed = true; - shapePartT2.TextColor = ColorHelper.White; - shapePartT2.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT2.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT2.StringFormat.Alignment = StringAlignment.Center; - shapePartT2.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT2.SetFontSize(0.15); + shapePartT2.SetSizeBase(0.05); + shapePartT2.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT2.GetOP().ScalingY(shapePartT2.GetOP().GetCenter(), 0.47); + shapePartT2.GetOP().Rotation(shapePartT2.GetOP().GetCenter(), -26.0); + shapePartT2.SetClosed(true); + shapePartT2.SetTextColor(ColorHelper.White); + shapePartT2.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT2.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT2.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT2.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン1", new Button(shapePartT2, delegate { //Sounds.操作.Play(); Med.Mode = "Debt"; })); ShapePartT shapePartT3 = new ShapePartT(); - shapePartT3.Font = new Font("MS Gothic", 0.1f); - shapePartT3.PositionBase = DrawBuffer.GetPosition(0.85, 0.18); + shapePartT3.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT3.SetPositionBase(DrawBuffer.GetPosition(0.85, 0.18)); shapePartT3.Text = GameText.購入; - shapePartT3.FontSize = 0.15; - shapePartT3.SizeBase = 0.05; - shapePartT3.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT3.OP.ScalingY(shapePartT3.OP.GetCenter(), 0.47); - shapePartT3.OP.Rotation(shapePartT3.OP.GetCenter(), -26.0); - shapePartT3.Closed = true; - shapePartT3.TextColor = ColorHelper.White; - shapePartT3.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT3.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT3.StringFormat.Alignment = StringAlignment.Center; - shapePartT3.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT3.SetFontSize(0.15); + shapePartT3.SetSizeBase(0.05); + shapePartT3.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT3.GetOP().ScalingY(shapePartT3.GetOP().GetCenter(), 0.47); + shapePartT3.GetOP().Rotation(shapePartT3.GetOP().GetCenter(), -26.0); + shapePartT3.SetClosed(true); + shapePartT3.SetTextColor(ColorHelper.White); + shapePartT3.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT3.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT3.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT3.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン2", new Button(shapePartT3, delegate { //Sounds.操作.Play(); Med.Mode = "SlaveShop"; })); ShapePartT shapePartT4 = new ShapePartT(); - shapePartT4.Font = new Font("MS Gothic", 0.1f); - shapePartT4.PositionBase = DrawBuffer.GetPosition(0.85, 0.58); + shapePartT4.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT4.SetPositionBase(DrawBuffer.GetPosition(0.85, 0.58)); shapePartT4.Text = GameText.祝福; - shapePartT4.FontSize = 0.15; - shapePartT4.SizeBase = 0.05; - shapePartT4.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT4.OP.ScalingY(shapePartT4.OP.GetCenter(), 0.47); - shapePartT4.OP.Rotation(shapePartT4.OP.GetCenter(), -26.0); - shapePartT4.Closed = true; - shapePartT4.TextColor = ColorHelper.White; - shapePartT4.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT4.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT4.StringFormat.Alignment = StringAlignment.Center; - shapePartT4.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT4.SetFontSize(0.15); + shapePartT4.SetSizeBase(0.05); + shapePartT4.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT4.GetOP().ScalingY(shapePartT4.GetOP().GetCenter(), 0.47); + shapePartT4.GetOP().Rotation(shapePartT4.GetOP().GetCenter(), -26.0); + shapePartT4.SetClosed(true); + shapePartT4.SetTextColor(ColorHelper.White); + shapePartT4.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT4.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT4.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT4.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン3", new Button(shapePartT4, delegate { //Sounds.操作.Play(); @@ -3912,19 +3912,19 @@ namespace SlaveMatrix })); ShapePartT shapePartT2 = new ShapePartT(); - shapePartT2.Font = new Font("MS Gothic", 0.1f); - shapePartT2.PositionBase = position + DrawBuffer.GetPosition(0.0, 0.0); + shapePartT2.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT2.SetPositionBase(position + DrawBuffer.GetPosition(0.0, 0.0)); shapePartT2.Text = "c"; - shapePartT2.FontSize = 0.15; - shapePartT2.SizeBase = 0.07; - shapePartT2.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT2.OP.ScalingXY(shapePartT2.OP.GetCenter(), 0.3, 0.3); - shapePartT2.Closed = true; - shapePartT2.TextColor = ColorHelper.White; - shapePartT2.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT2.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT2.StringFormat.Alignment = StringAlignment.Center; - shapePartT2.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT2.SetFontSize(0.15); + shapePartT2.SetSizeBase(0.07); + shapePartT2.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT2.GetOP().ScalingXY(shapePartT2.GetOP().GetCenter(), 0.3, 0.3); + shapePartT2.SetClosed(true); + shapePartT2.SetTextColor(ColorHelper.White); + shapePartT2.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT2.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT2.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT2.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("nc", new Button(shapePartT2, delegate { //Sounds.操作.Play(); @@ -3932,19 +3932,19 @@ namespace SlaveMatrix })); ShapePartT shapePartT3 = new ShapePartT(); - shapePartT3.Font = new Font("MS Gothic", 0.1f); - shapePartT3.PositionBase = position + DrawBuffer.GetPosition(0.06, 0.0); + shapePartT3.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT3.SetPositionBase(position + DrawBuffer.GetPosition(0.06, 0.0)); shapePartT3.Text = "m"; - shapePartT3.FontSize = 0.15; - shapePartT3.SizeBase = 0.07; - shapePartT3.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT3.OP.ScalingXY(shapePartT3.OP.GetCenter(), 0.3, 0.3); - shapePartT3.Closed = true; - shapePartT3.TextColor = ColorHelper.White; - shapePartT3.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT3.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT3.StringFormat.Alignment = StringAlignment.Center; - shapePartT3.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT3.SetFontSize(0.15); + shapePartT3.SetSizeBase(0.07); + shapePartT3.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT3.GetOP().ScalingXY(shapePartT3.GetOP().GetCenter(), 0.3, 0.3); + shapePartT3.SetClosed(true); + shapePartT3.SetTextColor(ColorHelper.White); + shapePartT3.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT3.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT3.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT3.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("nm", new Button(shapePartT3, delegate { //Sounds.操作.Play(); @@ -3961,19 +3961,19 @@ namespace SlaveMatrix }; ShapePartT shapePartT4 = new ShapePartT(); - shapePartT4.Font = new Font("MS Gothic", 0.1f); - shapePartT4.PositionBase = position + DrawBuffer.GetPosition(0.0, 0.07); + shapePartT4.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT4.SetPositionBase(position + DrawBuffer.GetPosition(0.0, 0.07)); shapePartT4.Text = "7"; - shapePartT4.FontSize = 0.15; - shapePartT4.SizeBase = 0.07; - shapePartT4.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT4.OP.ScalingXY(shapePartT4.OP.GetCenter(), 0.3, 0.3); - shapePartT4.Closed = true; - shapePartT4.TextColor = ColorHelper.White; - shapePartT4.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT4.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT4.StringFormat.Alignment = StringAlignment.Center; - shapePartT4.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT4.SetFontSize(0.15); + shapePartT4.SetSizeBase(0.07); + shapePartT4.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT4.GetOP().ScalingXY(shapePartT4.GetOP().GetCenter(), 0.3, 0.3); + shapePartT4.SetClosed(true); + shapePartT4.SetTextColor(ColorHelper.White); + shapePartT4.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT4.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT4.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT4.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("n7", new Button(shapePartT4, delegate { //Sounds.操作.Play(); @@ -3981,19 +3981,19 @@ namespace SlaveMatrix })); ShapePartT shapePartT5 = new ShapePartT(); - shapePartT5.Font = new Font("MS Gothic", 0.1f); - shapePartT5.PositionBase = position + DrawBuffer.GetPosition(0.06, 0.07); + shapePartT5.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT5.SetPositionBase(position + DrawBuffer.GetPosition(0.06, 0.07)); shapePartT5.Text = "8"; - shapePartT5.FontSize = 0.15; - shapePartT5.SizeBase = 0.07; - shapePartT5.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT5.OP.ScalingXY(shapePartT5.OP.GetCenter(), 0.3, 0.3); - shapePartT5.Closed = true; - shapePartT5.TextColor = ColorHelper.White; - shapePartT5.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT5.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT5.StringFormat.Alignment = StringAlignment.Center; - shapePartT5.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT5.SetFontSize(0.15); + shapePartT5.SetSizeBase(0.07); + shapePartT5.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT5.GetOP().ScalingXY(shapePartT5.GetOP().GetCenter(), 0.3, 0.3); + shapePartT5.SetClosed(true); + shapePartT5.SetTextColor(ColorHelper.White); + shapePartT5.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT5.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT5.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT5.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("n8", new Button(shapePartT5, delegate { //Sounds.操作.Play(); @@ -4001,19 +4001,19 @@ namespace SlaveMatrix })); ShapePartT shapePartT6 = new ShapePartT(); - shapePartT6.Font = new Font("MS Gothic", 0.1f); - shapePartT6.PositionBase = position + DrawBuffer.GetPosition(0.12, 0.07); + shapePartT6.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT6.SetPositionBase(position + DrawBuffer.GetPosition(0.12, 0.07)); shapePartT6.Text = "9"; - shapePartT6.FontSize = 0.15; - shapePartT6.SizeBase = 0.07; - shapePartT6.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT6.OP.ScalingXY(shapePartT6.OP.GetCenter(), 0.3, 0.3); - shapePartT6.Closed = true; - shapePartT6.TextColor = ColorHelper.White; - shapePartT6.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT6.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT6.StringFormat.Alignment = StringAlignment.Center; - shapePartT6.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT6.SetFontSize(0.15); + shapePartT6.SetSizeBase(0.07); + shapePartT6.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT6.GetOP().ScalingXY(shapePartT6.GetOP().GetCenter(), 0.3, 0.3); + shapePartT6.SetClosed(true); + shapePartT6.SetTextColor(ColorHelper.White); + shapePartT6.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT6.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT6.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT6.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("n9", new Button(shapePartT6, delegate { //Sounds.操作.Play(); @@ -4021,19 +4021,19 @@ namespace SlaveMatrix })); ShapePartT shapePartT7 = new ShapePartT(); - shapePartT7.Font = new Font("MS Gothic", 0.1f); - shapePartT7.PositionBase = position + DrawBuffer.GetPosition(0.0, 0.14); + shapePartT7.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT7.SetPositionBase(position + DrawBuffer.GetPosition(0.0, 0.14)); shapePartT7.Text = "4"; - shapePartT7.FontSize = 0.15; - shapePartT7.SizeBase = 0.07; - shapePartT7.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT7.OP.ScalingXY(shapePartT7.OP.GetCenter(), 0.3, 0.3); - shapePartT7.Closed = true; - shapePartT7.TextColor = ColorHelper.White; - shapePartT7.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT7.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT7.StringFormat.Alignment = StringAlignment.Center; - shapePartT7.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT7.SetFontSize(0.15); + shapePartT7.SetSizeBase(0.07); + shapePartT7.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT7.GetOP().ScalingXY(shapePartT7.GetOP().GetCenter(), 0.3, 0.3); + shapePartT7.SetClosed(true); + shapePartT7.SetTextColor(ColorHelper.White); + shapePartT7.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT7.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT7.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT7.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("n4", new Button(shapePartT7, delegate { //Sounds.操作.Play(); @@ -4041,19 +4041,19 @@ namespace SlaveMatrix })); ShapePartT shapePartT8 = new ShapePartT(); - shapePartT8.Font = new Font("MS Gothic", 0.1f); - shapePartT8.PositionBase = position + DrawBuffer.GetPosition(0.06, 0.14); + shapePartT8.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT8.SetPositionBase(position + DrawBuffer.GetPosition(0.06, 0.14)); shapePartT8.Text = "5"; - shapePartT8.FontSize = 0.15; - shapePartT8.SizeBase = 0.07; - shapePartT8.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT8.OP.ScalingXY(shapePartT8.OP.GetCenter(), 0.3, 0.3); - shapePartT8.Closed = true; - shapePartT8.TextColor = ColorHelper.White; - shapePartT8.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT8.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT8.StringFormat.Alignment = StringAlignment.Center; - shapePartT8.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT8.SetFontSize(0.15); + shapePartT8.SetSizeBase(0.07); + shapePartT8.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT8.GetOP().ScalingXY(shapePartT8.GetOP().GetCenter(), 0.3, 0.3); + shapePartT8.SetClosed(true); + shapePartT8.SetTextColor(ColorHelper.White); + shapePartT8.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT8.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT8.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT8.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("n5", new Button(shapePartT8, delegate { //Sounds.操作.Play(); @@ -4061,19 +4061,19 @@ namespace SlaveMatrix })); ShapePartT shapePartT9 = new ShapePartT(); - shapePartT9.Font = new Font("MS Gothic", 0.1f); - shapePartT9.PositionBase = position + DrawBuffer.GetPosition(0.12, 0.14); + shapePartT9.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT9.SetPositionBase(position + DrawBuffer.GetPosition(0.12, 0.14)); shapePartT9.Text = "6"; - shapePartT9.FontSize = 0.15; - shapePartT9.SizeBase = 0.07; - shapePartT9.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT9.OP.ScalingXY(shapePartT9.OP.GetCenter(), 0.3, 0.3); - shapePartT9.Closed = true; - shapePartT9.TextColor = ColorHelper.White; - shapePartT9.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT9.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT9.StringFormat.Alignment = StringAlignment.Center; - shapePartT9.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT9.SetFontSize(0.15); + shapePartT9.SetSizeBase(0.07); + shapePartT9.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT9.GetOP().ScalingXY(shapePartT9.GetOP().GetCenter(), 0.3, 0.3); + shapePartT9.SetClosed(true); + shapePartT9.SetTextColor(ColorHelper.White); + shapePartT9.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT9.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT9.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT9.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("n6", new Button(shapePartT9, delegate { //Sounds.操作.Play(); @@ -4081,19 +4081,19 @@ namespace SlaveMatrix })); ShapePartT shapePartT10 = new ShapePartT(); - shapePartT10.Font = new Font("MS Gothic", 0.1f); - shapePartT10.PositionBase = position + DrawBuffer.GetPosition(0.0, 0.21); + shapePartT10.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT10.SetPositionBase(position + DrawBuffer.GetPosition(0.0, 0.21)); shapePartT10.Text = "1"; - shapePartT10.FontSize = 0.15; - shapePartT10.SizeBase = 0.07; - shapePartT10.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT10.OP.ScalingXY(shapePartT10.OP.GetCenter(), 0.3, 0.3); - shapePartT10.Closed = true; - shapePartT10.TextColor = ColorHelper.White; - shapePartT10.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT10.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT10.StringFormat.Alignment = StringAlignment.Center; - shapePartT10.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT10.SetFontSize(0.15); + shapePartT10.SetSizeBase(0.07); + shapePartT10.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT10.GetOP().ScalingXY(shapePartT10.GetOP().GetCenter(), 0.3, 0.3); + shapePartT10.SetClosed(true); + shapePartT10.SetTextColor(ColorHelper.White); + shapePartT10.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT10.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT10.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT10.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("n1", new Button(shapePartT10, delegate { //Sounds.操作.Play(); @@ -4101,19 +4101,19 @@ namespace SlaveMatrix })); ShapePartT shapePartT11 = new ShapePartT(); - shapePartT11.Font = new Font("MS Gothic", 0.1f); - shapePartT11.PositionBase = position + DrawBuffer.GetPosition(0.06, 0.21); + shapePartT11.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT11.SetPositionBase(position + DrawBuffer.GetPosition(0.06, 0.21)); shapePartT11.Text = "2"; - shapePartT11.FontSize = 0.15; - shapePartT11.SizeBase = 0.07; - shapePartT11.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT11.OP.ScalingXY(shapePartT11.OP.GetCenter(), 0.3, 0.3); - shapePartT11.Closed = true; - shapePartT11.TextColor = ColorHelper.White; - shapePartT11.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT11.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT11.StringFormat.Alignment = StringAlignment.Center; - shapePartT11.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT11.SetFontSize(0.15); + shapePartT11.SetSizeBase(0.07); + shapePartT11.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT11.GetOP().ScalingXY(shapePartT11.GetOP().GetCenter(), 0.3, 0.3); + shapePartT11.SetClosed(true); + shapePartT11.SetTextColor(ColorHelper.White); + shapePartT11.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT11.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT11.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT11.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("n2", new Button(shapePartT11, delegate { //Sounds.操作.Play(); @@ -4121,19 +4121,19 @@ namespace SlaveMatrix })); ShapePartT shapePartT12 = new ShapePartT(); - shapePartT12.Font = new Font("MS Gothic", 0.1f); - shapePartT12.PositionBase = position + DrawBuffer.GetPosition(0.12, 0.21); + shapePartT12.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT12.SetPositionBase(position + DrawBuffer.GetPosition(0.12, 0.21)); shapePartT12.Text = "3"; - shapePartT12.FontSize = 0.15; - shapePartT12.SizeBase = 0.07; - shapePartT12.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT12.OP.ScalingXY(shapePartT12.OP.GetCenter(), 0.3, 0.3); - shapePartT12.Closed = true; - shapePartT12.TextColor = ColorHelper.White; - shapePartT12.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT12.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT12.StringFormat.Alignment = StringAlignment.Center; - shapePartT12.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT12.SetFontSize(0.15); + shapePartT12.SetSizeBase(0.07); + shapePartT12.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT12.GetOP().ScalingXY(shapePartT12.GetOP().GetCenter(), 0.3, 0.3); + shapePartT12.SetClosed(true); + shapePartT12.SetTextColor(ColorHelper.White); + shapePartT12.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT12.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT12.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT12.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("n3", new Button(shapePartT12, delegate { //Sounds.操作.Play(); @@ -4141,19 +4141,19 @@ namespace SlaveMatrix })); ShapePartT shapePartT13 = new ShapePartT(); - shapePartT13.Font = new Font("MS Gothic", 0.1f); - shapePartT13.PositionBase = position + DrawBuffer.GetPosition(0.0, 0.28); + shapePartT13.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT13.SetPositionBase(position + DrawBuffer.GetPosition(0.0, 0.28)); shapePartT13.Text = "0"; - shapePartT13.FontSize = 0.15; - shapePartT13.SizeBase = 0.07; - shapePartT13.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT13.OP.ScalingXY(shapePartT13.OP.GetCenter(), 0.3, 0.3); - shapePartT13.Closed = true; - shapePartT13.TextColor = ColorHelper.White; - shapePartT13.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT13.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT13.StringFormat.Alignment = StringAlignment.Center; - shapePartT13.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT13.SetFontSize(0.15); + shapePartT13.SetSizeBase(0.07); + shapePartT13.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT13.GetOP().ScalingXY(shapePartT13.GetOP().GetCenter(), 0.3, 0.3); + shapePartT13.SetClosed(true); + shapePartT13.SetTextColor(ColorHelper.White); + shapePartT13.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT13.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT13.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT13.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("n0", new Button(shapePartT13, delegate { //Sounds.操作.Play(); @@ -4161,19 +4161,19 @@ namespace SlaveMatrix })); ShapePartT shapePartT14 = new ShapePartT(); - shapePartT14.Font = new Font("MS Gothic", 0.1f); - shapePartT14.PositionBase = position + DrawBuffer.GetPosition(0.12, 0.28); + shapePartT14.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT14.SetPositionBase(position + DrawBuffer.GetPosition(0.12, 0.28)); shapePartT14.Text = GameText.借; - shapePartT14.FontSize = 0.15; - shapePartT14.SizeBase = 0.07; - shapePartT14.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT14.OP.ScalingXY(shapePartT14.OP.GetCenter(), 0.3, 0.3); - shapePartT14.Closed = true; - shapePartT14.TextColor = ColorHelper.White; - shapePartT14.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT14.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT14.StringFormat.Alignment = StringAlignment.Center; - shapePartT14.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT14.SetFontSize(0.15); + shapePartT14.SetSizeBase(0.07); + shapePartT14.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT14.GetOP().ScalingXY(shapePartT14.GetOP().GetCenter(), 0.3, 0.3); + shapePartT14.SetClosed(true); + shapePartT14.SetTextColor(ColorHelper.White); + shapePartT14.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT14.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT14.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT14.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("nb", new Button(shapePartT14, delegate { if (GlobalState.GameData.日借金可能額 != 0) @@ -4208,19 +4208,19 @@ namespace SlaveMatrix })); ShapePartT shapePartT15 = new ShapePartT(); - shapePartT15.Font = new Font("MS Gothic", 0.1f); - shapePartT15.PositionBase = position + DrawBuffer.GetPosition(0.06, 0.28); + shapePartT15.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT15.SetPositionBase(position + DrawBuffer.GetPosition(0.06, 0.28)); shapePartT15.Text = GameText.返; - shapePartT15.FontSize = 0.15; - shapePartT15.SizeBase = 0.07; - shapePartT15.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT15.OP.ScalingXY(shapePartT15.OP.GetCenter(), 0.3, 0.3); - shapePartT15.Closed = true; - shapePartT15.TextColor = ColorHelper.White; - shapePartT15.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT15.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT15.StringFormat.Alignment = StringAlignment.Center; - shapePartT15.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT15.SetFontSize(0.15); + shapePartT15.SetSizeBase(0.07); + shapePartT15.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT15.GetOP().ScalingXY(shapePartT15.GetOP().GetCenter(), 0.3, 0.3); + shapePartT15.SetClosed(true); + shapePartT15.SetTextColor(ColorHelper.White); + shapePartT15.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT15.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT15.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT15.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("nr", new Button(shapePartT15, delegate { if (GlobalState.GameData.所持金 != 0) @@ -4418,20 +4418,20 @@ namespace SlaveMatrix Generator g = null; ButtonMap bs = new ButtonMap(); ShapePartT shapePartT = new ShapePartT(); - shapePartT.Font = new Font("MS Gothic", 0.1f); - shapePartT.PositionBase = DrawBuffer.GetPosition(0.85, 0.02); + shapePartT.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT.SetPositionBase(DrawBuffer.GetPosition(0.85, 0.02)); shapePartT.Text = GameText.戻る; - shapePartT.FontSize = 0.15; - shapePartT.SizeBase = 0.05; - shapePartT.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT.OP.ScalingY(shapePartT.OP.GetCenter(), 0.47); - shapePartT.OP.Rotation(shapePartT.OP.GetCenter(), -26.0); - shapePartT.Closed = true; - shapePartT.TextColor = ColorHelper.White; - shapePartT.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT.StringFormat.Alignment = StringAlignment.Center; - shapePartT.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT.SetFontSize(0.15); + shapePartT.SetSizeBase(0.05); + shapePartT.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT.GetOP().ScalingY(shapePartT.GetOP().GetCenter(), 0.47); + shapePartT.GetOP().Rotation(shapePartT.GetOP().GetCenter(), -26.0); + shapePartT.SetClosed(true); + shapePartT.SetTextColor(ColorHelper.White); + shapePartT.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン0", new Button(shapePartT, delegate { //Sounds.操作.Play(); @@ -4445,41 +4445,41 @@ namespace SlaveMatrix } })); ShapePartT shapePartT2 = new ShapePartT(); - shapePartT2.Font = new Font("MS Gothic", 0.1f); - shapePartT2.PositionBase = DrawBuffer.GetPosition(0.85, 0.1); + shapePartT2.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT2.SetPositionBase(DrawBuffer.GetPosition(0.85, 0.1)); shapePartT2.Text = GameText.奴隷; - shapePartT2.FontSize = 0.15; - shapePartT2.SizeBase = 0.05; - shapePartT2.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT2.OP.ScalingY(shapePartT2.OP.GetCenter(), 0.47); - shapePartT2.OP.Rotation(shapePartT2.OP.GetCenter(), -26.0); - shapePartT2.Closed = true; - shapePartT2.TextColor = ColorHelper.White; - shapePartT2.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT2.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT2.StringFormat.Alignment = StringAlignment.Center; - shapePartT2.StringFormat.LineAlignment = StringAlignment.Center; - shapePartT2.PenColor = Color.Red; + shapePartT2.SetFontSize(0.15); + shapePartT2.SetSizeBase(0.05); + shapePartT2.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT2.GetOP().ScalingY(shapePartT2.GetOP().GetCenter(), 0.47); + shapePartT2.GetOP().Rotation(shapePartT2.GetOP().GetCenter(), -26.0); + shapePartT2.SetClosed(true); + shapePartT2.SetTextColor(ColorHelper.White); + shapePartT2.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT2.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT2.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT2.GetStringFormat().LineAlignment = StringAlignment.Center; + shapePartT2.SetPenColor(Color.Red); bs.Add("ボタン1", new Button(shapePartT2, delegate { //Sounds.操作.Play(); Med.Mode = "SlaveShop"; })); ShapePartT shapePartT3 = new ShapePartT(); - shapePartT3.Font = new Font("MS Gothic", 0.1f); - shapePartT3.PositionBase = DrawBuffer.GetPosition(0.85, 0.18); + shapePartT3.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT3.SetPositionBase(DrawBuffer.GetPosition(0.85, 0.18)); shapePartT3.Text = GameText.道具; - shapePartT3.FontSize = 0.15; - shapePartT3.SizeBase = 0.05; - shapePartT3.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT3.OP.ScalingY(shapePartT3.OP.GetCenter(), 0.47); - shapePartT3.OP.Rotation(shapePartT3.OP.GetCenter(), -26.0); - shapePartT3.Closed = true; - shapePartT3.TextColor = ColorHelper.White; - shapePartT3.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT3.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT3.StringFormat.Alignment = StringAlignment.Center; - shapePartT3.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT3.SetFontSize(0.15); + shapePartT3.SetSizeBase(0.05); + shapePartT3.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT3.GetOP().ScalingY(shapePartT3.GetOP().GetCenter(), 0.47); + shapePartT3.GetOP().Rotation(shapePartT3.GetOP().GetCenter(), -26.0); + shapePartT3.SetClosed(true); + shapePartT3.SetTextColor(ColorHelper.White); + shapePartT3.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT3.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT3.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT3.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("ボタン2", new Button(shapePartT3, delegate { //Sounds.操作.Play(); @@ -4490,26 +4490,26 @@ namespace SlaveMatrix { foreach (ButtonBase item in bs.EnumBut.Skip(3).Take(10)) { - item.PartGroup.Values.First().ToParT().PenColor = bs初期縁色; + item.PartGroup.Values.First().ToParT().SetPenColor(bs初期縁色); } }; double num = 0.7; double num2 = -0.03; ShapePartT shapePartT4 = new ShapePartT(); - shapePartT4.Font = new Font("MS Gothic", 0.1f); - shapePartT4.PositionBase = DrawBuffer.GetPosition(0.01, num2 + 0.02 * num); + shapePartT4.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT4.SetPositionBase(DrawBuffer.GetPosition(0.01, num2 + 0.02 * num)); shapePartT4.Text = GameText.ランダム; - shapePartT4.FontSize = 0.15; - shapePartT4.SizeBase = 0.05; - shapePartT4.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT4.OP.ScalingY(shapePartT4.OP.GetCenter(), 0.5 * num); - shapePartT4.Closed = true; - shapePartT4.TextColor = ColorHelper.White; - shapePartT4.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT4.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT4.StringFormat.Alignment = StringAlignment.Center; - shapePartT4.StringFormat.LineAlignment = StringAlignment.Center; - shapePartT4.PenColor = Color.Red; + shapePartT4.SetFontSize(0.15); + shapePartT4.SetSizeBase(0.05); + shapePartT4.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT4.GetOP().ScalingY(shapePartT4.GetOP().GetCenter(), 0.5 * num); + shapePartT4.SetClosed(true); + shapePartT4.SetTextColor(ColorHelper.White); + shapePartT4.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT4.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT4.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT4.GetStringFormat().LineAlignment = StringAlignment.Center; + shapePartT4.SetPenColor(Color.Red); bs.Add("対象0", new Button(shapePartT4, delegate(ButtonBase bu) { if (d) @@ -4518,201 +4518,201 @@ namespace SlaveMatrix } d = true; bs縁色初期化(); - bu.PartGroup.Values.First().ToParT().PenColor = Color.Red; + bu.PartGroup.Values.First().ToParT().SetPenColor(Color.Red); Reload(); })); ShapePartT shapePartT5 = new ShapePartT(); - shapePartT5.Font = new Font("MS Gothic", 0.1f); - shapePartT5.PositionBase = DrawBuffer.GetPosition(0.01, num2 + 0.1 * num); + shapePartT5.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT5.SetPositionBase(DrawBuffer.GetPosition(0.01, num2 + 0.1 * num)); shapePartT5.Text = GameText.鳥系; - shapePartT5.FontSize = 0.15; - shapePartT5.SizeBase = 0.05; - shapePartT5.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT5.OP.ScalingY(shapePartT5.OP.GetCenter(), 0.5 * num); - shapePartT5.Closed = true; - shapePartT5.TextColor = ColorHelper.White; - shapePartT5.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT5.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT5.StringFormat.Alignment = StringAlignment.Center; - shapePartT5.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT5.SetFontSize(0.15); + shapePartT5.SetSizeBase(0.05); + shapePartT5.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT5.GetOP().ScalingY(shapePartT5.GetOP().GetCenter(), 0.5 * num); + shapePartT5.SetClosed(true); + shapePartT5.SetTextColor(ColorHelper.White); + shapePartT5.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT5.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT5.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT5.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("対象1", new Button(shapePartT5, delegate(ButtonBase bu) { //Sounds.操作.Play(); bs縁色初期化(); - bu.PartGroup.Values.First().ToParT().PenColor = Color.Red; + bu.PartGroup.Values.First().ToParT().SetPenColor(Color.Red); Reload(); })); ShapePartT shapePartT6 = new ShapePartT(); - shapePartT6.Font = new Font("MS Gothic", 0.1f); - shapePartT6.PositionBase = DrawBuffer.GetPosition(0.01, num2 + 0.18 * num); + shapePartT6.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT6.SetPositionBase(DrawBuffer.GetPosition(0.01, num2 + 0.18 * num)); shapePartT6.Text = GameText.蛇系; - shapePartT6.FontSize = 0.15; - shapePartT6.SizeBase = 0.05; - shapePartT6.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT6.OP.ScalingY(shapePartT6.OP.GetCenter(), 0.5 * num); - shapePartT6.Closed = true; - shapePartT6.TextColor = ColorHelper.White; - shapePartT6.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT6.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT6.StringFormat.Alignment = StringAlignment.Center; - shapePartT6.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT6.SetFontSize(0.15); + shapePartT6.SetSizeBase(0.05); + shapePartT6.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT6.GetOP().ScalingY(shapePartT6.GetOP().GetCenter(), 0.5 * num); + shapePartT6.SetClosed(true); + shapePartT6.SetTextColor(ColorHelper.White); + shapePartT6.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT6.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT6.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT6.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("対象2", new Button(shapePartT6, delegate(ButtonBase bu) { //Sounds.操作.Play(); bs縁色初期化(); - bu.PartGroup.Values.First().ToParT().PenColor = Color.Red; + bu.PartGroup.Values.First().ToParT().SetPenColor(Color.Red); Reload(); })); ShapePartT shapePartT7 = new ShapePartT(); - shapePartT7.Font = new Font("MS Gothic", 0.1f); - shapePartT7.PositionBase = DrawBuffer.GetPosition(0.01, num2 + 0.26 * num); + shapePartT7.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT7.SetPositionBase(DrawBuffer.GetPosition(0.01, num2 + 0.26 * num)); shapePartT7.Text = GameText.獣系; - shapePartT7.FontSize = 0.15; - shapePartT7.SizeBase = 0.05; - shapePartT7.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT7.OP.ScalingY(shapePartT7.OP.GetCenter(), 0.5 * num); - shapePartT7.Closed = true; - shapePartT7.TextColor = ColorHelper.White; - shapePartT7.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT7.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT7.StringFormat.Alignment = StringAlignment.Center; - shapePartT7.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT7.SetFontSize(0.15); + shapePartT7.SetSizeBase(0.05); + shapePartT7.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT7.GetOP().ScalingY(shapePartT7.GetOP().GetCenter(), 0.5 * num); + shapePartT7.SetClosed(true); + shapePartT7.SetTextColor(ColorHelper.White); + shapePartT7.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT7.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT7.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT7.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("対象3", new Button(shapePartT7, delegate(ButtonBase bu) { //Sounds.操作.Play(); bs縁色初期化(); - bu.PartGroup.Values.First().ToParT().PenColor = Color.Red; + bu.PartGroup.Values.First().ToParT().SetPenColor(Color.Red); Reload(); })); ShapePartT shapePartT8 = new ShapePartT(); - shapePartT8.Font = new Font("MS Gothic", 0.1f); - shapePartT8.PositionBase = DrawBuffer.GetPosition(0.01, num2 + 0.34 * num); + shapePartT8.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT8.SetPositionBase(DrawBuffer.GetPosition(0.01, num2 + 0.34 * num)); shapePartT8.Text = GameText.水系; - shapePartT8.FontSize = 0.15; - shapePartT8.SizeBase = 0.05; - shapePartT8.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT8.OP.ScalingY(shapePartT8.OP.GetCenter(), 0.5 * num); - shapePartT8.Closed = true; - shapePartT8.TextColor = ColorHelper.White; - shapePartT8.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT8.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT8.StringFormat.Alignment = StringAlignment.Center; - shapePartT8.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT8.SetFontSize(0.15); + shapePartT8.SetSizeBase(0.05); + shapePartT8.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT8.GetOP().ScalingY(shapePartT8.GetOP().GetCenter(), 0.5 * num); + shapePartT8.SetClosed(true); + shapePartT8.SetTextColor(ColorHelper.White); + shapePartT8.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT8.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT8.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT8.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("対象4", new Button(shapePartT8, delegate(ButtonBase bu) { //Sounds.操作.Play(); bs縁色初期化(); - bu.PartGroup.Values.First().ToParT().PenColor = Color.Red; + bu.PartGroup.Values.First().ToParT().SetPenColor(Color.Red); Reload(); })); ShapePartT shapePartT9 = new ShapePartT(); - shapePartT9.Font = new Font("MS Gothic", 0.1f); - shapePartT9.PositionBase = DrawBuffer.GetPosition(0.01, num2 + 0.42 * num); + shapePartT9.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT9.SetPositionBase(DrawBuffer.GetPosition(0.01, num2 + 0.42 * num)); shapePartT9.Text = GameText.虫系; - shapePartT9.FontSize = 0.15; - shapePartT9.SizeBase = 0.05; - shapePartT9.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT9.OP.ScalingY(shapePartT9.OP.GetCenter(), 0.5 * num); - shapePartT9.Closed = true; - shapePartT9.TextColor = ColorHelper.White; - shapePartT9.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT9.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT9.StringFormat.Alignment = StringAlignment.Center; - shapePartT9.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT9.SetFontSize(0.15); + shapePartT9.SetSizeBase(0.05); + shapePartT9.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT9.GetOP().ScalingY(shapePartT9.GetOP().GetCenter(), 0.5 * num); + shapePartT9.SetClosed(true); + shapePartT9.SetTextColor(ColorHelper.White); + shapePartT9.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT9.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT9.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT9.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("対象5", new Button(shapePartT9, delegate(ButtonBase bu) { //Sounds.操作.Play(); bs縁色初期化(); - bu.PartGroup.Values.First().ToParT().PenColor = Color.Red; + bu.PartGroup.Values.First().ToParT().SetPenColor(Color.Red); Reload(); })); ShapePartT shapePartT10 = new ShapePartT(); - shapePartT10.Font = new Font("MS Gothic", 0.1f); - shapePartT10.PositionBase = DrawBuffer.GetPosition(0.01, num2 + 0.5 * num); + shapePartT10.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT10.SetPositionBase(DrawBuffer.GetPosition(0.01, num2 + 0.5 * num)); shapePartT10.Text = GameText.人型; - shapePartT10.FontSize = 0.15; - shapePartT10.SizeBase = 0.05; - shapePartT10.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT10.OP.ScalingY(shapePartT10.OP.GetCenter(), 0.5 * num); - shapePartT10.Closed = true; - shapePartT10.TextColor = ColorHelper.White; - shapePartT10.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT10.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT10.StringFormat.Alignment = StringAlignment.Center; - shapePartT10.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT10.SetFontSize(0.15); + shapePartT10.SetSizeBase(0.05); + shapePartT10.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT10.GetOP().ScalingY(shapePartT10.GetOP().GetCenter(), 0.5 * num); + shapePartT10.SetClosed(true); + shapePartT10.SetTextColor(ColorHelper.White); + shapePartT10.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT10.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT10.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT10.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("対象6", new Button(shapePartT10, delegate(ButtonBase bu) { //Sounds.操作.Play(); bs縁色初期化(); - bu.PartGroup.Values.First().ToParT().PenColor = Color.Red; + bu.PartGroup.Values.First().ToParT().SetPenColor(Color.Red); Reload(); })); ShapePartT shapePartT11 = new ShapePartT(); - shapePartT11.Font = new Font("MS Gothic", 0.1f); - shapePartT11.PositionBase = DrawBuffer.GetPosition(0.01, num2 + 0.58 * num); + shapePartT11.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT11.SetPositionBase(DrawBuffer.GetPosition(0.01, num2 + 0.58 * num)); shapePartT11.Text = GameText.幻獣; - shapePartT11.FontSize = 0.15; - shapePartT11.SizeBase = 0.05; - shapePartT11.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT11.OP.ScalingY(shapePartT11.OP.GetCenter(), 0.5 * num); - shapePartT11.Closed = true; - shapePartT11.TextColor = ColorHelper.White; - shapePartT11.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT11.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT11.StringFormat.Alignment = StringAlignment.Center; - shapePartT11.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT11.SetFontSize(0.15); + shapePartT11.SetSizeBase(0.05); + shapePartT11.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT11.GetOP().ScalingY(shapePartT11.GetOP().GetCenter(), 0.5 * num); + shapePartT11.SetClosed(true); + shapePartT11.SetTextColor(ColorHelper.White); + shapePartT11.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT11.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT11.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT11.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("対象7", new Button(shapePartT11, delegate(ButtonBase bu) { //Sounds.操作.Play(); bs縁色初期化(); - bu.PartGroup.Values.First().ToParT().PenColor = Color.Red; + bu.PartGroup.Values.First().ToParT().SetPenColor(Color.Red); Reload(); })); ShapePartT shapePartT12 = new ShapePartT(); - shapePartT12.Font = new Font("MS Gothic", 0.1f); - shapePartT12.PositionBase = DrawBuffer.GetPosition(0.01, num2 + 0.66 * num); + shapePartT12.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT12.SetPositionBase(DrawBuffer.GetPosition(0.01, num2 + 0.66 * num)); shapePartT12.Text = GameText.魔獣; - shapePartT12.FontSize = 0.15; - shapePartT12.SizeBase = 0.05; - shapePartT12.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT12.OP.ScalingY(shapePartT12.OP.GetCenter(), 0.5 * num); - shapePartT12.Closed = true; - shapePartT12.TextColor = ColorHelper.White; - shapePartT12.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT12.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT12.StringFormat.Alignment = StringAlignment.Center; - shapePartT12.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT12.SetFontSize(0.15); + shapePartT12.SetSizeBase(0.05); + shapePartT12.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT12.GetOP().ScalingY(shapePartT12.GetOP().GetCenter(), 0.5 * num); + shapePartT12.SetClosed(true); + shapePartT12.SetTextColor(ColorHelper.White); + shapePartT12.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT12.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT12.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT12.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("対象8", new Button(shapePartT12, delegate(ButtonBase bu) { //Sounds.操作.Play(); bs縁色初期化(); - bu.PartGroup.Values.First().ToParT().PenColor = Color.Red; + bu.PartGroup.Values.First().ToParT().SetPenColor(Color.Red); Reload(); })); ShapePartT shapePartT13 = new ShapePartT(); - shapePartT13.Font = new Font("MS Gothic", 0.1f); - shapePartT13.PositionBase = DrawBuffer.GetPosition(0.01, num2 + 0.74 * num); + shapePartT13.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT13.SetPositionBase(DrawBuffer.GetPosition(0.01, num2 + 0.74 * num)); shapePartT13.Text = GameText.竜系; - shapePartT13.FontSize = 0.15; - shapePartT13.SizeBase = 0.05; - shapePartT13.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT13.OP.ScalingY(shapePartT13.OP.GetCenter(), 0.5 * num); - shapePartT13.Closed = true; - shapePartT13.TextColor = ColorHelper.White; - shapePartT13.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT13.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT13.StringFormat.Alignment = StringAlignment.Center; - shapePartT13.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT13.SetFontSize(0.15); + shapePartT13.SetSizeBase(0.05); + shapePartT13.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT13.GetOP().ScalingY(shapePartT13.GetOP().GetCenter(), 0.5 * num); + shapePartT13.SetClosed(true); + shapePartT13.SetTextColor(ColorHelper.White); + shapePartT13.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT13.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT13.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT13.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("対象9", new Button(shapePartT13, delegate(ButtonBase bu) { //Sounds.操作.Play(); bs縁色初期化(); - bu.PartGroup.Values.First().ToParT().PenColor = Color.Red; + bu.PartGroup.Values.First().ToParT().SetPenColor(Color.Red); Reload(); })); Action SetGen = delegate { - if (bs["対象0"].PartGroup.Values.First().ToParT().PenColor == Color.Red) + if (bs["対象0"].PartGroup.Values.First().ToParT().GetPenColor() == Color.Red) { if ((GlobalState.GameData.鳥系.Count != 0 && GlobalState.GameData.系統開放[0]) || (GlobalState.GameData.蛇系.Count != 0 && GlobalState.GameData.系統開放[1]) || (GlobalState.GameData.獣系.Count != 0 && GlobalState.GameData.系統開放[2]) || (GlobalState.GameData.水系.Count != 0 && GlobalState.GameData.系統開放[3]) || (GlobalState.GameData.虫系.Count != 0 && GlobalState.GameData.系統開放[4]) || (GlobalState.GameData.人型.Count != 0 && GlobalState.GameData.系統開放[5]) || (GlobalState.GameData.幻獣.Count != 0 && GlobalState.GameData.系統開放[6]) || (GlobalState.GameData.魔獣.Count != 0 && GlobalState.GameData.系統開放[7]) || (GlobalState.GameData.竜系.Count != 0 && GlobalState.GameData.系統開放[8])) { @@ -4785,39 +4785,39 @@ namespace SlaveMatrix } } } - else if (bs["対象1"].PartGroup.Values.First().ToParT().PenColor == Color.Red) + else if (bs["対象1"].PartGroup.Values.First().ToParT().GetPenColor() == Color.Red) { g = GlobalState.GameData.鳥系; } - else if (bs["対象2"].PartGroup.Values.First().ToParT().PenColor == Color.Red) + else if (bs["対象2"].PartGroup.Values.First().ToParT().GetPenColor() == Color.Red) { g = GlobalState.GameData.蛇系; } - else if (bs["対象3"].PartGroup.Values.First().ToParT().PenColor == Color.Red) + else if (bs["対象3"].PartGroup.Values.First().ToParT().GetPenColor() == Color.Red) { g = GlobalState.GameData.獣系; } - else if (bs["対象4"].PartGroup.Values.First().ToParT().PenColor == Color.Red) + else if (bs["対象4"].PartGroup.Values.First().ToParT().GetPenColor() == Color.Red) { g = GlobalState.GameData.水系; } - else if (bs["対象5"].PartGroup.Values.First().ToParT().PenColor == Color.Red) + else if (bs["対象5"].PartGroup.Values.First().ToParT().GetPenColor() == Color.Red) { g = GlobalState.GameData.虫系; } - else if (bs["対象6"].PartGroup.Values.First().ToParT().PenColor == Color.Red) + else if (bs["対象6"].PartGroup.Values.First().ToParT().GetPenColor() == Color.Red) { g = GlobalState.GameData.人型; } - else if (bs["対象7"].PartGroup.Values.First().ToParT().PenColor == Color.Red) + else if (bs["対象7"].PartGroup.Values.First().ToParT().GetPenColor() == Color.Red) { g = GlobalState.GameData.幻獣; } - else if (bs["対象8"].PartGroup.Values.First().ToParT().PenColor == Color.Red) + else if (bs["対象8"].PartGroup.Values.First().ToParT().GetPenColor() == Color.Red) { g = GlobalState.GameData.魔獣; } - else if (bs["対象9"].PartGroup.Values.First().ToParT().PenColor == Color.Red) + else if (bs["対象9"].PartGroup.Values.First().ToParT().GetPenColor() == Color.Red) { g = GlobalState.GameData.竜系; } @@ -4846,19 +4846,19 @@ namespace SlaveMatrix } }; ShapePartT shapePartT14 = new ShapePartT(); - shapePartT14.Font = new Font("MS Gothic", 0.1f); - shapePartT14.PositionBase = DrawBuffer.GetPosition(0.01, num2 + 0.9 * num); + shapePartT14.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT14.SetPositionBase(DrawBuffer.GetPosition(0.01, num2 + 0.9 * num)); shapePartT14.Text = GameText.チェンジ; - shapePartT14.FontSize = 0.15; - shapePartT14.SizeBase = 0.05; - shapePartT14.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT14.OP.ScalingY(shapePartT14.OP.GetCenter(), 0.5 * num); - shapePartT14.Closed = true; - shapePartT14.TextColor = ColorHelper.White; - shapePartT14.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT14.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT14.StringFormat.Alignment = StringAlignment.Center; - shapePartT14.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT14.SetFontSize(0.15); + shapePartT14.SetSizeBase(0.05); + shapePartT14.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT14.GetOP().ScalingY(shapePartT14.GetOP().GetCenter(), 0.5 * num); + shapePartT14.SetClosed(true); + shapePartT14.SetTextColor(ColorHelper.White); + shapePartT14.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT14.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT14.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT14.GetStringFormat().LineAlignment = StringAlignment.Center; bs.Add("変更", new Button(shapePartT14, delegate { if (!ip.Mai.TextIm.StartsWith(GameText.売り切れです)) @@ -4872,19 +4872,19 @@ namespace SlaveMatrix Reload(); })); ShapePartT shapePartT15 = new ShapePartT(); - shapePartT15.Font = new Font("MS Gothic", 0.1f); - shapePartT15.PositionBase = DrawBuffer.GetPosition(0.01, num2 + 0.98 * num); + shapePartT15.SetFont(new Font("MS Gothic", 0.1f)); + shapePartT15.SetPositionBase(DrawBuffer.GetPosition(0.01, num2 + 0.98 * num)); shapePartT15.Text = GameText.購入; - shapePartT15.FontSize = 0.15; - shapePartT15.SizeBase = 0.05; - shapePartT15.OP.AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); - shapePartT15.OP.ScalingY(shapePartT15.OP.GetCenter(), 0.5 * num); - shapePartT15.Closed = true; - shapePartT15.TextColor = ColorHelper.White; - shapePartT15.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT15.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT15.StringFormat.Alignment = StringAlignment.Center; - shapePartT15.StringFormat.LineAlignment = StringAlignment.Center; + shapePartT15.SetFontSize(0.15); + shapePartT15.SetSizeBase(0.05); + shapePartT15.GetOP().AddRange(new CurveOutline[1] { ShapeHelper.GetSquare() }); + shapePartT15.GetOP().ScalingY(shapePartT15.GetOP().GetCenter(), 0.5 * num); + shapePartT15.SetClosed(true); + shapePartT15.SetTextColor(ColorHelper.White); + shapePartT15.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT15.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT15.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT15.GetStringFormat().LineAlignment = StringAlignment.Center; ulong 買値; bs.Add("購入", new Button(shapePartT15, 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.PartGroup.Values.First().ToParT().PenColor == Color.Red)) + while (enumerator.MoveNext() && !(enumerator.Current.PartGroup.Values.First().ToParT().GetPenColor() == Color.Red)) { num3++; } @@ -5094,7 +5094,7 @@ namespace SlaveMatrix { d = false; bs縁色初期化(); - bs["対象0"].PartGroup.Values.First().ToParT().PenColor = Color.Red; + bs["対象0"].PartGroup.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"].PartGroup.Values.First().ToPar().HitColor == hc) + if (lv.bs["0"].PartGroup.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.ペニスを模したバイブ + "\r\n" + GameText.刺激は控えめ; } - if (lv.bs["1"].PartGroup.Values.First().ToPar().HitColor == hc) + if (lv.bs["1"].PartGroup.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.一般的なバイブ + "\r\n" + GameText.ディルドバイブより刺激が強い; } - if (lv.bs["2"].PartGroup.Values.First().ToPar().HitColor == hc) + if (lv.bs["2"].PartGroup.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.振動と回転の2つの刺激をもたらすバイブ; } - if (lv.bs["3"].PartGroup.Values.First().ToPar().HitColor == hc) + if (lv.bs["3"].PartGroup.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.強力な振動のバイブ + "\r\n" + GameText.刺激が強い; } - if (lv.bs["4"].PartGroup.Values.First().ToPar().HitColor == hc) + if (lv.bs["4"].PartGroup.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.アナルの調教に適したバイブ; } - if (lv.bs["5"].PartGroup.Values.First().ToPar().HitColor == hc) + if (lv.bs["5"].PartGroup.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.痛みを与えるための道具; } - if (lv.bs["6"].PartGroup.Values.First().ToPar().HitColor == hc) + if (lv.bs["6"].PartGroup.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.緊張を解きほぐすために利用する; } - if (lv.bs["7"].PartGroup.Values.First().ToPar().HitColor == hc) + if (lv.bs["7"].PartGroup.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.陰毛を剃ることが出来る; } - if (lv.bs["8"].PartGroup.Values.First().ToPar().HitColor == hc) + if (lv.bs["8"].PartGroup.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.吸着振動するキャップ; } - if (lv.bs["9"].PartGroup.Values.First().ToPar().HitColor == hc) + if (lv.bs["9"].PartGroup.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.刺激の弱いバイブの一種; } - if (lv.bs["10"].PartGroup.Values.First().ToPar().HitColor == hc) + if (lv.bs["10"].PartGroup.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.アナルの調教に適した道具; } - if (lv.bs["11"].PartGroup.Values.First().ToPar().HitColor == hc) + if (lv.bs["11"].PartGroup.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.奴隷の視界を遮るための道具; } - if (lv.bs["12"].PartGroup.Values.First().ToPar().HitColor == hc) + if (lv.bs["12"].PartGroup.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.奴隷の口をふさぐための道具; } - if (lv.bs["13"].PartGroup.Values.First().ToPar().HitColor == hc) + if (lv.bs["13"].PartGroup.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.写真を撮影することが出来る; } - if (lv.bs["14"].PartGroup.Values.First().ToPar().HitColor == hc) + if (lv.bs["14"].PartGroup.Values.First().ToPar().GetHitColor() == hc) { ip.TextIm = GameText.フロアを増設し収容できる奴隷の数を増やす; } @@ -5587,84 +5587,84 @@ namespace SlaveMatrix } }); LabelMap ls = new LabelMap(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, " ", ColorHelper.White, ColorHelper.Black, ip.MaiB.BrushColor, ColorHelper.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.肌の色, ColorHelper.White, ColorHelper.Black, ip.MaiB.BrushColor, ColorHelper.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:", ColorHelper.White, ColorHelper.Black, ip.MaiB.BrushColor, ColorHelper.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:", ColorHelper.White, ColorHelper.Black, ip.MaiB.BrushColor, ColorHelper.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:", ColorHelper.White, ColorHelper.Black, ip.MaiB.BrushColor, ColorHelper.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.髪の色, ColorHelper.White, ColorHelper.Black, ip.MaiB.BrushColor, ColorHelper.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:", ColorHelper.White, ColorHelper.Black, ip.MaiB.BrushColor, ColorHelper.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:", ColorHelper.White, ColorHelper.Black, ip.MaiB.BrushColor, ColorHelper.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:", ColorHelper.White, ColorHelper.Black, ip.MaiB.BrushColor, ColorHelper.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.瞳の色, ColorHelper.White, ColorHelper.Black, ip.MaiB.BrushColor, ColorHelper.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:", ColorHelper.White, ColorHelper.Black, ip.MaiB.BrushColor, ColorHelper.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:", ColorHelper.White, ColorHelper.Black, ip.MaiB.BrushColor, ColorHelper.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:", ColorHelper.White, ColorHelper.Black, ip.MaiB.BrushColor, ColorHelper.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.体格, ColorHelper.White, ColorHelper.Black, ip.MaiB.BrushColor, ColorHelper.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:", ColorHelper.White, ColorHelper.Black, ip.MaiB.BrushColor, ColorHelper.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:", ColorHelper.White, ColorHelper.Black, ip.MaiB.BrushColor, ColorHelper.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, " ", ColorHelper.White, ColorHelper.Black, ip.MaiB.GetBrushColor(), ColorHelper.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.肌の色, ColorHelper.White, ColorHelper.Black, ip.MaiB.GetBrushColor(), ColorHelper.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:", ColorHelper.White, ColorHelper.Black, ip.MaiB.GetBrushColor(), ColorHelper.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:", ColorHelper.White, ColorHelper.Black, ip.MaiB.GetBrushColor(), ColorHelper.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:", ColorHelper.White, ColorHelper.Black, ip.MaiB.GetBrushColor(), ColorHelper.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.髪の色, ColorHelper.White, ColorHelper.Black, ip.MaiB.GetBrushColor(), ColorHelper.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:", ColorHelper.White, ColorHelper.Black, ip.MaiB.GetBrushColor(), ColorHelper.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:", ColorHelper.White, ColorHelper.Black, ip.MaiB.GetBrushColor(), ColorHelper.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:", ColorHelper.White, ColorHelper.Black, ip.MaiB.GetBrushColor(), ColorHelper.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.瞳の色, ColorHelper.White, ColorHelper.Black, ip.MaiB.GetBrushColor(), ColorHelper.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:", ColorHelper.White, ColorHelper.Black, ip.MaiB.GetBrushColor(), ColorHelper.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:", ColorHelper.White, ColorHelper.Black, ip.MaiB.GetBrushColor(), ColorHelper.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:", ColorHelper.White, ColorHelper.Black, ip.MaiB.GetBrushColor(), ColorHelper.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.体格, ColorHelper.White, ColorHelper.Black, ip.MaiB.GetBrushColor(), ColorHelper.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:", ColorHelper.White, ColorHelper.Black, ip.MaiB.GetBrushColor(), ColorHelper.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:", ColorHelper.White, ColorHelper.Black, ip.MaiB.GetBrushColor(), ColorHelper.Black, Input: false); ProgressBar H肌 = new ProgressBar("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, ColorHelper.Black, Knob: true); - H肌.Gauge.PenColor = ColorHelper.White; - H肌.Frame1.PenColor = ColorHelper.White; - H肌.Knob.PenColor = ColorHelper.White; - H肌.Knob.HitColor = Med.GetUniqueColor(); + H肌.Gauge.SetPenColor(ColorHelper.White); + H肌.Frame1.SetPenColor(ColorHelper.White); + H肌.Knob.SetPenColor(ColorHelper.White); + H肌.Knob.SetHitColor(Med.GetUniqueColor()); ProgressBar S肌 = new ProgressBar("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, ColorHelper.Black, Knob: true); - S肌.Gauge.PenColor = ColorHelper.White; - S肌.Frame1.PenColor = ColorHelper.White; - S肌.Knob.PenColor = ColorHelper.White; - S肌.Knob.HitColor = Med.GetUniqueColor(); + S肌.Gauge.SetPenColor(ColorHelper.White); + S肌.Frame1.SetPenColor(ColorHelper.White); + S肌.Knob.SetPenColor(ColorHelper.White); + S肌.Knob.SetHitColor(Med.GetUniqueColor()); ProgressBar V肌 = new ProgressBar("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, ColorHelper.Black, Knob: true); - V肌.Gauge.PenColor = ColorHelper.White; - V肌.Frame1.PenColor = ColorHelper.White; - V肌.Knob.PenColor = ColorHelper.White; - V肌.Knob.HitColor = Med.GetUniqueColor(); + V肌.Gauge.SetPenColor(ColorHelper.White); + V肌.Frame1.SetPenColor(ColorHelper.White); + V肌.Knob.SetPenColor(ColorHelper.White); + V肌.Knob.SetHitColor(Med.GetUniqueColor()); ProgressBar H髪 = new ProgressBar("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, ColorHelper.Black, Knob: true); - H髪.Gauge.PenColor = ColorHelper.White; - H髪.Frame1.PenColor = ColorHelper.White; - H髪.Knob.PenColor = ColorHelper.White; - H髪.Knob.HitColor = Med.GetUniqueColor(); + H髪.Gauge.SetPenColor(ColorHelper.White); + H髪.Frame1.SetPenColor(ColorHelper.White); + H髪.Knob.SetPenColor(ColorHelper.White); + H髪.Knob.SetHitColor(Med.GetUniqueColor()); ProgressBar S髪 = new ProgressBar("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, ColorHelper.Black, Knob: true); - S髪.Gauge.PenColor = ColorHelper.White; - S髪.Frame1.PenColor = ColorHelper.White; - S髪.Knob.PenColor = ColorHelper.White; - S髪.Knob.HitColor = Med.GetUniqueColor(); + S髪.Gauge.SetPenColor(ColorHelper.White); + S髪.Frame1.SetPenColor(ColorHelper.White); + S髪.Knob.SetPenColor(ColorHelper.White); + S髪.Knob.SetHitColor(Med.GetUniqueColor()); ProgressBar V髪 = new ProgressBar("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, ColorHelper.Black, Knob: true); - V髪.Gauge.PenColor = ColorHelper.White; - V髪.Frame1.PenColor = ColorHelper.White; - V髪.Knob.PenColor = ColorHelper.White; - V髪.Knob.HitColor = Med.GetUniqueColor(); + V髪.Gauge.SetPenColor(ColorHelper.White); + V髪.Frame1.SetPenColor(ColorHelper.White); + V髪.Knob.SetPenColor(ColorHelper.White); + V髪.Knob.SetHitColor(Med.GetUniqueColor()); ProgressBar H瞳 = new ProgressBar("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, ColorHelper.Black, Knob: true); - H瞳.Gauge.PenColor = ColorHelper.White; - H瞳.Frame1.PenColor = ColorHelper.White; - H瞳.Knob.PenColor = ColorHelper.White; - H瞳.Knob.HitColor = Med.GetUniqueColor(); + H瞳.Gauge.SetPenColor(ColorHelper.White); + H瞳.Frame1.SetPenColor(ColorHelper.White); + H瞳.Knob.SetPenColor(ColorHelper.White); + H瞳.Knob.SetHitColor(Med.GetUniqueColor()); ProgressBar S瞳 = new ProgressBar("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, ColorHelper.Black, Knob: true); - S瞳.Gauge.PenColor = ColorHelper.White; - S瞳.Frame1.PenColor = ColorHelper.White; - S瞳.Knob.PenColor = ColorHelper.White; - S瞳.Knob.HitColor = Med.GetUniqueColor(); + S瞳.Gauge.SetPenColor(ColorHelper.White); + S瞳.Frame1.SetPenColor(ColorHelper.White); + S瞳.Knob.SetPenColor(ColorHelper.White); + S瞳.Knob.SetHitColor(Med.GetUniqueColor()); ProgressBar V瞳 = new ProgressBar("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, ColorHelper.Black, Knob: true); - V瞳.Gauge.PenColor = ColorHelper.White; - V瞳.Frame1.PenColor = ColorHelper.White; - V瞳.Knob.PenColor = ColorHelper.White; - V瞳.Knob.HitColor = Med.GetUniqueColor(); + V瞳.Gauge.SetPenColor(ColorHelper.White); + V瞳.Frame1.SetPenColor(ColorHelper.White); + V瞳.Knob.SetPenColor(ColorHelper.White); + V瞳.Knob.SetHitColor(Med.GetUniqueColor()); ProgressBar 身長 = new ProgressBar("身長", 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, ColorHelper.Black, Knob: true); - 身長.Gauge.PenColor = ColorHelper.White; - 身長.Frame1.PenColor = ColorHelper.White; - 身長.Knob.PenColor = ColorHelper.White; - 身長.Knob.HitColor = Med.GetUniqueColor(); + 身長.Gauge.SetPenColor(ColorHelper.White); + 身長.Frame1.SetPenColor(ColorHelper.White); + 身長.Knob.SetPenColor(ColorHelper.White); + 身長.Knob.SetHitColor(Med.GetUniqueColor()); ProgressBar 体重 = new ProgressBar("体重", 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, ColorHelper.Black, Knob: true); - 体重.Gauge.PenColor = ColorHelper.White; - 体重.Frame1.PenColor = ColorHelper.White; - 体重.Knob.PenColor = ColorHelper.White; - 体重.Knob.HitColor = Med.GetUniqueColor(); + 体重.Gauge.SetPenColor(ColorHelper.White); + 体重.Frame1.SetPenColor(ColorHelper.White); + 体重.Knob.SetPenColor(ColorHelper.White); + 体重.Knob.SetHitColor(Med.GetUniqueColor()); Hsv hsv = HSV.ToHSV(ref GlobalState.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 = GlobalState.GameData.色.肌色; - S肌.Base.BrushColor = GlobalState.GameData.色.肌色; - V肌.Base.BrushColor = GlobalState.GameData.色.肌色; + H肌.Base.SetBrushColor(GlobalState.GameData.色.肌色); + S肌.Base.SetBrushColor(GlobalState.GameData.色.肌色); + V肌.Base.SetBrushColor(GlobalState.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 = GlobalState.GameData.色.髪色; - S髪.Base.BrushColor = GlobalState.GameData.色.髪色; - V髪.Base.BrushColor = GlobalState.GameData.色.髪色; + H髪.Base.SetBrushColor(GlobalState.GameData.色.髪色); + S髪.Base.SetBrushColor(GlobalState.GameData.色.髪色); + V髪.Base.SetBrushColor(GlobalState.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 = GlobalState.GameData.色.瞳色; - S瞳.Base.BrushColor = GlobalState.GameData.色.瞳色; - V瞳.Base.BrushColor = GlobalState.GameData.色.瞳色; + H瞳.Base.SetBrushColor(GlobalState.GameData.色.瞳色); + S瞳.Base.SetBrushColor(GlobalState.GameData.色.瞳色); + V瞳.Base.SetBrushColor(GlobalState.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 GlobalState.GameData.色.肌色); - H肌.Base.BrushColor = GlobalState.GameData.色.肌色; - S肌.Base.BrushColor = GlobalState.GameData.色.肌色; - V肌.Base.BrushColor = GlobalState.GameData.色.肌色; + H肌.Base.SetBrushColor(GlobalState.GameData.色.肌色); + S肌.Base.SetBrushColor(GlobalState.GameData.色.肌色); + V肌.Base.SetBrushColor(GlobalState.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 GlobalState.GameData.色.髪色); - H髪.Base.BrushColor = GlobalState.GameData.色.髪色; - S髪.Base.BrushColor = GlobalState.GameData.色.髪色; - V髪.Base.BrushColor = GlobalState.GameData.色.髪色; + H髪.Base.SetBrushColor(GlobalState.GameData.色.髪色); + S髪.Base.SetBrushColor(GlobalState.GameData.色.髪色); + V髪.Base.SetBrushColor(GlobalState.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 GlobalState.GameData.色.瞳色); - H瞳.Base.BrushColor = GlobalState.GameData.色.瞳色; - S瞳.Base.BrushColor = GlobalState.GameData.色.瞳色; - V瞳.Base.BrushColor = GlobalState.GameData.色.瞳色; + H瞳.Base.SetBrushColor(GlobalState.GameData.色.瞳色); + S瞳.Base.SetBrushColor(GlobalState.GameData.色.瞳色); + V瞳.Base.SetBrushColor(GlobalState.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 = GlobalState.GameData.色.肌色; - S肌.Base.BrushColor = GlobalState.GameData.色.肌色; - V肌.Base.BrushColor = GlobalState.GameData.色.肌色; + H肌.Base.SetBrushColor(GlobalState.GameData.色.肌色); + S肌.Base.SetBrushColor(GlobalState.GameData.色.肌色); + V肌.Base.SetBrushColor(GlobalState.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 = GlobalState.GameData.色.髪色; - S髪.Base.BrushColor = GlobalState.GameData.色.髪色; - V髪.Base.BrushColor = GlobalState.GameData.色.髪色; + H髪.Base.SetBrushColor(GlobalState.GameData.色.髪色); + S髪.Base.SetBrushColor(GlobalState.GameData.色.髪色); + V髪.Base.SetBrushColor(GlobalState.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 = GlobalState.GameData.色.瞳色; - S瞳.Base.BrushColor = GlobalState.GameData.色.瞳色; - V瞳.Base.BrushColor = GlobalState.GameData.色.瞳色; + H瞳.Base.SetBrushColor(GlobalState.GameData.色.瞳色); + S瞳.Base.SetBrushColor(GlobalState.GameData.色.瞳色); + V瞳.Base.SetBrushColor(GlobalState.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 e4d91ff..2917f87 100644 --- a/SlaveMatrix/SlaveMatrix/GameClasses/Onomatopoeia.cs +++ b/SlaveMatrix/SlaveMatrix/GameClasses/Onomatopoeia.cs @@ -15,19 +15,21 @@ namespace SlaveMatrix { ShapePartT pt = new ShapePartT { - 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 = GeometryUtils.GetRandomVector() * 0.0025 * d; + pt.SetPositionCont(GeometryUtils.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/Program.cs b/SlaveMatrix/SlaveMatrix/GameClasses/Program.cs index a47cf1e..60a9cae 100644 --- a/SlaveMatrix/SlaveMatrix/GameClasses/Program.cs +++ b/SlaveMatrix/SlaveMatrix/GameClasses/Program.cs @@ -2,7 +2,7 @@ using System; using System.Reflection; using _2DGAMELIB; -namespace SlaveMatrix +namespace SlaveMatrix.GameClasses { internal static class Program { diff --git a/SlaveMatrix/SlaveMatrix/GameClasses/Reactions.cs b/SlaveMatrix/SlaveMatrix/GameClasses/Reactions.cs index 7ec469f..f0a6cc3 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 = DataConsts.Vec2DZero; + Cha.Body.眉左.Body.GetCurJoinRoot().SetPositionCont(DataConsts.Vec2DZero); } public static void 眉_下右(this Character Cha) { - Cha.Body.眉右.Body.CurJoinRoot.PositionCont = DataConsts.Vec2DZero; + Cha.Body.眉右.Body.GetCurJoinRoot().SetPositionCont(DataConsts.Vec2DZero); } public static void 眉_上左(this Character Cha) { - Cha.Body.眉左.Body.CurJoinRoot.PositionCont = -DataConsts.Vec2DUnitY * 0.003; + Cha.Body.眉左.Body.GetCurJoinRoot().SetPositionCont(-DataConsts.Vec2DUnitY * 0.003); } public static void 眉_上右(this Character Cha) { - Cha.Body.眉右.Body.CurJoinRoot.PositionCont = -DataConsts.Vec2DUnitY * 0.003; + Cha.Body.眉右.Body.GetCurJoinRoot().SetPositionCont(-DataConsts.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 = DataConsts.Vec2DZero; + Cha.Body.単眼眉.Body.GetCurJoinRoot().SetPositionCont(DataConsts.Vec2DZero); } public static void 単眉_上(this Character Cha) { - Cha.Body.単眼眉.Body.CurJoinRoot.PositionCont = -DataConsts.Vec2DUnitY * 0.003; + Cha.Body.単眼眉.Body.GetCurJoinRoot().SetPositionCont(-DataConsts.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 (ShapePart 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 (ShapePart 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 (ShapePart 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 (ShapePart 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) { ShapePart[] array = 触手_犬2.Enum軸().ToArray(); @@ -8674,10 +8675,10 @@ namespace SlaveMatrix double num3 = (double)array.Length * 0.1; foreach (ShapePart 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 (ShapePart 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 (ShapePart 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 ShapePart[] 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 (ShapePart 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 (ShapePart 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 (ShapePart 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 ShapePart[] 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 ShapePart[] 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 ShapePart[] 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/TrainingUI.cs b/SlaveMatrix/SlaveMatrix/GameClasses/TrainingUI.cs index 548f46a..3e870de 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 { ShapePart 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_羽根箒(Element 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_調教鞭(Element 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剃刀(Element 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(Element 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(Element 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(Element 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_キャップ左(Element 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_キャップ右(Element 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_キャップ中(Element 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_口(Element t) { - ShapePart shapePart = Bod.口.Body.Current.EnumAllPar().First((ShapePart e) => e.Tag == "口"); + ShapePart shapePart = Bod.口.Body.GetCurrent().EnumAllPar().First((ShapePart e) => e.Tag == "口"); Bod.口.接続PA(); - t.位置B = shapePart.Position; + t.位置B = shapePart.GetPosition(); } public void Set_乳首(Element 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_陰核(Element t) { - ShapePart shapePart = Bod.性器.Body.Current.EnumAllPar().First((ShapePart e) => e.Tag == "陰核"); + ShapePart shapePart = Bod.性器.Body.GetCurrent().EnumAllPar().First((ShapePart e) => e.Tag == "陰核"); Bod.性器.接続PA(); - t.位置B = shapePart.Position; + t.位置B = shapePart.GetPosition(); } public void Set_膣口(Element t) { - ShapePart shapePart = Bod.性器.Body.Current.EnumAllPar().First((ShapePart e) => e.Tag == "膣口"); + ShapePart shapePart = Bod.性器.Body.GetCurrent().EnumAllPar().First((ShapePart e) => e.Tag == "膣口"); Bod.性器.接続PA(); - t.位置B = shapePart.Position; + t.位置B = shapePart.GetPosition(); } public void Set_肛門(Element t) @@ -886,20 +887,20 @@ namespace SlaveMatrix public void Set_出糸(Element t) { Bod.蜘尾.接続PA(); - t.位置B = Bod.蜘尾.X0Y0_出糸突起後_出糸突起基.Position; + t.位置B = Bod.蜘尾.X0Y0_出糸突起後_出糸突起基.GetPosition(); } public void Set_くぱぁ(Element t, bool 右) { - ShapePart shapePart = (Bod.Is獣 ? Bod.Waist_獣.Body.Current.EnumAllPar().First((ShapePart e) => e.Tag == "股") : Bod.Waist.Body.Current.EnumAllPar().First((ShapePart e) => e.Tag == "股")); + ShapePart shapePart = (Bod.Is獣 ? Bod.Waist_獣.Body.GetCurrent().EnumAllPar().First((ShapePart e) => e.Tag == "股") : Bod.Waist.Body.GetCurrent().EnumAllPar().First((ShapePart e) => e.Tag == "股")); Bod.Waist.接続PA(); if (右) { - t.位置B = shapePart.Position.AddXY(0.018, 0.002); + t.位置B = shapePart.GetPosition().AddXY(0.018, 0.002); } else { - t.位置B = shapePart.Position.AddXY(-0.018, 0.002); + t.位置B = shapePart.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 (拘束具.PartGroup.Values.First().ToPar().HitColor == hc) + if (拘束具.PartGroup.Values.First().ToPar().GetHitColor() == hc) { ip.SubInfoIm = GameText.拘束状態を切換えます; } - if (目隠帯.PartGroup.Values.First().ToPar().HitColor == hc) + if (目隠帯.PartGroup.Values.First().ToPar().GetHitColor() == hc) { ip.SubInfoIm = GameText.目隠状態を切換えます; } - if (玉口枷.PartGroup.Values.First().ToPar().HitColor == hc) + if (玉口枷.PartGroup.Values.First().ToPar().GetHitColor() == hc) { ip.SubInfoIm = GameText.口枷状態を切換えます; } - if (断面.PartGroup.Values.First().ToPar().HitColor == hc) + if (断面.PartGroup.Values.First().ToPar().GetHitColor() == hc) { ip.SubInfoIm = GameText.断面表示を切換えます; } - if (媚薬.PartGroup.Values.First().ToPar().HitColor == hc) + if (媚薬.PartGroup.Values.First().ToPar().GetHitColor() == hc) { ip.SubInfoIm = GameText.発情状態になります + "(-" + 媚薬投与価格.ToString("#,0") + ")"; } - if (SlaveStamina.PartGroup.Values.First().ToPar().HitColor == hc) + if (SlaveStamina.PartGroup.Values.First().ToPar().GetHitColor() == hc) { ip.SubInfoIm = "Reset slave's stamina"; } - if (PlayerStamina.PartGroup.Values.First().ToPar().HitColor == hc) + if (PlayerStamina.PartGroup.Values.First().ToPar().GetHitColor() == hc) { ip.SubInfoIm = "Reset player's stamina"; } - if (撮影.PartGroup.Values.First().ToPar().HitColor == hc && ip.SubInfoIm != GameText.撮影しました + "\r\n" + GameText.写真はPhotoフォルダに保存されます) + if (撮影.PartGroup.Values.First().ToPar().GetHitColor() == hc && ip.SubInfoIm != GameText.撮影しました + "\r\n" + GameText.写真はPhotoフォルダに保存されます) { ip.SubInfoIm = GameText.撮影を行います; } @@ -2161,38 +2162,38 @@ namespace SlaveMatrix 射精.SetHitFalse(); ShapePartT shapePartT = new ShapePartT(); shapePartT.Text = GameText.調教終了; - shapePartT.SizeBase = 0.095; - shapePartT.Font = new Font("MS Gothic", 1f); - shapePartT.FontSize = 0.07; + shapePartT.SetSizeBase(0.095); + shapePartT.SetFont(new Font("MS Gothic", 1f)); + shapePartT.SetFontSize(0.07); shapePartT.SetStringRectOutline(Are.UnitScale, Are.DisplayGraphics); - shapePartT.RectSize = new Vector2D(shapePartT.OP[0].ps[1].X, shapePartT.OP[0].ps[2].Y); - shapePartT.OP.ScalingY(shapePartT.BasePointBase, 0.9); - shapePartT.Closed = true; - shapePartT.TextColor = ColorHelper.Black; - shapePartT.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT.HitColor = Med.GetUniqueColor(); - shapePartT.StringFormat.Alignment = StringAlignment.Center; - shapePartT.StringFormat.LineAlignment = StringAlignment.Center; - shapePartT.PositionBase = Are.GetPosition(1.0 - (shapePartT.OP[0].ps[1].X * shapePartT.SizeBase / Are.LocalWidth + 0.005), 1.0 - shapePartT.OP[0].ps[2].Y * shapePartT.SizeBase / Are.LocalHeight).AddY(-0.001); - shapePartT.PositionBase = new Vector2D(ip.SubB.PositionBase.X, shapePartT.PositionBase.Y); + shapePartT.SetRectSize(new Vector2D(shapePartT.GetOP()[0].ps[1].X, shapePartT.GetOP()[0].ps[2].Y)); + shapePartT.GetOP().ScalingY(shapePartT.GetBasePointBase(), 0.9); + shapePartT.SetClosed(true); + shapePartT.SetTextColor(ColorHelper.Black); + shapePartT.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT.SetHitColor(Med.GetUniqueColor()); + shapePartT.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT.GetStringFormat().LineAlignment = StringAlignment.Center; + shapePartT.SetPositionBase(Are.GetPosition(1.0 - (shapePartT.GetOP()[0].ps[1].X * shapePartT.GetSizeBase() / Are.LocalWidth + 0.005), 1.0 - shapePartT.GetOP()[0].ps[2].Y * shapePartT.GetSizeBase() / Are.LocalHeight).AddY(-0.001)); + shapePartT.SetPositionBase(new Vector2D(ip.SubB.GetPositionBase().X, shapePartT.GetPositionBase().Y)); 調教終了 = new Button(shapePartT, null); ShapePartT shapePartT2 = new ShapePartT(); shapePartT2.Text = GameText.拘束; - shapePartT2.SizeBase = 0.095; - shapePartT2.Font = new Font("MS Gothic", 1f); - shapePartT2.FontSize = 0.07; + shapePartT2.SetSizeBase(0.095); + shapePartT2.SetFont(new Font("MS Gothic", 1f)); + shapePartT2.SetFontSize(0.07); shapePartT2.SetStringRectOutline(Are.UnitScale, Are.DisplayGraphics); - shapePartT2.RectSize = new Vector2D(shapePartT2.OP[0].ps[1].X, shapePartT2.OP[0].ps[2].Y); - shapePartT2.OP.ScalingY(shapePartT2.BasePointBase, 0.9); - shapePartT2.Closed = true; - shapePartT2.TextColor = ColorHelper.Black; - shapePartT2.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT2.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT2.HitColor = Med.GetUniqueColor(); - shapePartT2.StringFormat.Alignment = StringAlignment.Center; - shapePartT2.StringFormat.LineAlignment = StringAlignment.Center; - shapePartT2.PositionBase = Are.GetPosition(0.08, 0.7); + shapePartT2.SetRectSize(new Vector2D(shapePartT2.GetOP()[0].ps[1].X, shapePartT2.GetOP()[0].ps[2].Y)); + shapePartT2.GetOP().ScalingY(shapePartT2.GetBasePointBase(), 0.9); + shapePartT2.SetClosed(true); + shapePartT2.SetTextColor(ColorHelper.Black); + shapePartT2.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT2.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT2.SetHitColor(Med.GetUniqueColor()); + shapePartT2.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT2.GetStringFormat().LineAlignment = StringAlignment.Center; + shapePartT2.SetPositionBase(Are.GetPosition(0.08, 0.7)); 拘束具 = new Button(shapePartT2, delegate(ButtonBase a) { if (調教UI2.拘束具sw.Flag) @@ -2211,20 +2212,20 @@ namespace SlaveMatrix }); ShapePartT shapePartT3 = new ShapePartT(); shapePartT3.Text = GameText.目隠; - shapePartT3.SizeBase = 0.095; - shapePartT3.Font = new Font("MS Gothic", 1f); - shapePartT3.FontSize = 0.07; + shapePartT3.SetSizeBase(0.095); + shapePartT3.SetFont(new Font("MS Gothic", 1f)); + shapePartT3.SetFontSize(0.07); shapePartT3.SetStringRectOutline(Are.UnitScale, Are.DisplayGraphics); - shapePartT3.RectSize = new Vector2D(shapePartT3.OP[0].ps[1].X, shapePartT3.OP[0].ps[2].Y); - shapePartT3.OP.ScalingY(shapePartT3.BasePointBase, 0.9); - shapePartT3.Closed = true; - shapePartT3.TextColor = ColorHelper.Black; - shapePartT3.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT3.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT3.HitColor = Med.GetUniqueColor(); - shapePartT3.StringFormat.Alignment = StringAlignment.Center; - shapePartT3.StringFormat.LineAlignment = StringAlignment.Center; - shapePartT3.PositionBase = shapePartT2.PositionBase.AddY(0.015); + shapePartT3.SetRectSize(new Vector2D(shapePartT3.GetOP()[0].ps[1].X, shapePartT3.GetOP()[0].ps[2].Y)); + shapePartT3.GetOP().ScalingY(shapePartT3.GetBasePointBase(), 0.9); + shapePartT3.SetClosed(true); + shapePartT3.SetTextColor(ColorHelper.Black); + shapePartT3.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT3.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT3.SetHitColor(Med.GetUniqueColor()); + shapePartT3.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT3.GetStringFormat().LineAlignment = StringAlignment.Center; + shapePartT3.SetPositionBase(shapePartT2.GetPositionBase().AddY(0.015)); 目隠帯 = new Button(shapePartT3, delegate(ButtonBase a) { 調教UI2.目隠帯sw.OnOff(a); @@ -2234,20 +2235,20 @@ namespace SlaveMatrix }); ShapePartT shapePartT4 = new ShapePartT(); shapePartT4.Text = GameText.口枷; - shapePartT4.SizeBase = 0.095; - shapePartT4.Font = new Font("MS Gothic", 1f); - shapePartT4.FontSize = 0.07; + shapePartT4.SetSizeBase(0.095); + shapePartT4.SetFont(new Font("MS Gothic", 1f)); + shapePartT4.SetFontSize(0.07); shapePartT4.SetStringRectOutline(Are.UnitScale, Are.DisplayGraphics); - shapePartT4.RectSize = new Vector2D(shapePartT4.OP[0].ps[1].X, shapePartT4.OP[0].ps[2].Y); - shapePartT4.OP.ScalingY(shapePartT4.BasePointBase, 0.9); - shapePartT4.Closed = true; - shapePartT4.TextColor = ColorHelper.Black; - shapePartT4.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT4.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT4.HitColor = Med.GetUniqueColor(); - shapePartT4.StringFormat.Alignment = StringAlignment.Center; - shapePartT4.StringFormat.LineAlignment = StringAlignment.Center; - shapePartT4.PositionBase = shapePartT3.PositionBase.AddY(0.015); + shapePartT4.SetRectSize(new Vector2D(shapePartT4.GetOP()[0].ps[1].X, shapePartT4.GetOP()[0].ps[2].Y)); + shapePartT4.GetOP().ScalingY(shapePartT4.GetBasePointBase(), 0.9); + shapePartT4.SetClosed(true); + shapePartT4.SetTextColor(ColorHelper.Black); + shapePartT4.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT4.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT4.SetHitColor(Med.GetUniqueColor()); + shapePartT4.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT4.GetStringFormat().LineAlignment = StringAlignment.Center; + shapePartT4.SetPositionBase(shapePartT3.GetPositionBase().AddY(0.015)); 玉口枷 = new Button(shapePartT4, delegate(ButtonBase a) { 調教UI2.玉口枷sw.OnOff(a); @@ -2257,20 +2258,20 @@ namespace SlaveMatrix }); ShapePartT shapePartT5 = new ShapePartT(); shapePartT5.Text = GameText.断面; - shapePartT5.SizeBase = 0.095; - shapePartT5.Font = new Font("MS Gothic", 1f); - shapePartT5.FontSize = 0.07; + shapePartT5.SetSizeBase(0.095); + shapePartT5.SetFont(new Font("MS Gothic", 1f)); + shapePartT5.SetFontSize(0.07); shapePartT5.SetStringRectOutline(Are.UnitScale, Are.DisplayGraphics); - shapePartT5.RectSize = new Vector2D(shapePartT5.OP[0].ps[1].X, shapePartT5.OP[0].ps[2].Y); - shapePartT5.OP.ScalingY(shapePartT5.BasePointBase, 0.9); - shapePartT5.Closed = true; - shapePartT5.TextColor = ColorHelper.Black; - shapePartT5.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT5.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT5.HitColor = Med.GetUniqueColor(); - shapePartT5.StringFormat.Alignment = StringAlignment.Center; - shapePartT5.StringFormat.LineAlignment = StringAlignment.Center; - shapePartT5.PositionBase = shapePartT4.PositionBase.AddY(0.015); + shapePartT5.SetRectSize(new Vector2D(shapePartT5.GetOP()[0].ps[1].X, shapePartT5.GetOP()[0].ps[2].Y)); + shapePartT5.GetOP().ScalingY(shapePartT5.GetBasePointBase(), 0.9); + shapePartT5.SetClosed(true); + shapePartT5.SetTextColor(ColorHelper.Black); + shapePartT5.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT5.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT5.SetHitColor(Med.GetUniqueColor()); + shapePartT5.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT5.GetStringFormat().LineAlignment = StringAlignment.Center; + shapePartT5.SetPositionBase(shapePartT4.GetPositionBase().AddY(0.015)); 断面 = new Button(shapePartT5, delegate(ButtonBase a) { double v = 0.0; @@ -2363,20 +2364,20 @@ namespace SlaveMatrix }); ShapePartT shapePartT6 = new ShapePartT(); shapePartT6.Text = GameText.媚薬; - shapePartT6.SizeBase = 0.095; - shapePartT6.Font = new Font("MS Gothic", 1f); - shapePartT6.FontSize = 0.07; + shapePartT6.SetSizeBase(0.095); + shapePartT6.SetFont(new Font("MS Gothic", 1f)); + shapePartT6.SetFontSize(0.07); shapePartT6.SetStringRectOutline(Are.UnitScale, Are.DisplayGraphics); - shapePartT6.RectSize = new Vector2D(shapePartT6.OP[0].ps[1].X, shapePartT6.OP[0].ps[2].Y); - shapePartT6.OP.ScalingY(shapePartT6.BasePointBase, 0.9); - shapePartT6.Closed = true; - shapePartT6.TextColor = ColorHelper.Black; - shapePartT6.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT6.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT6.HitColor = Med.GetUniqueColor(); - shapePartT6.StringFormat.Alignment = StringAlignment.Center; - shapePartT6.StringFormat.LineAlignment = StringAlignment.Center; - shapePartT6.PositionBase = shapePartT5.PositionBase.AddY(0.015); + shapePartT6.SetRectSize(new Vector2D(shapePartT6.GetOP()[0].ps[1].X, shapePartT6.GetOP()[0].ps[2].Y)); + shapePartT6.GetOP().ScalingY(shapePartT6.GetBasePointBase(), 0.9); + shapePartT6.SetClosed(true); + shapePartT6.SetTextColor(ColorHelper.Black); + shapePartT6.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT6.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT6.SetHitColor(Med.GetUniqueColor()); + shapePartT6.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT6.GetStringFormat().LineAlignment = StringAlignment.Center; + shapePartT6.SetPositionBase(shapePartT5.GetPositionBase().AddY(0.015)); 媚薬 = new Button(shapePartT6, delegate { if (GlobalState.GameData.所持金 < 調教UI2.媚薬投与価格) @@ -2398,20 +2399,20 @@ namespace SlaveMatrix StaminaButtons(Are, Med, ip); ShapePartT shapePartT7 = new ShapePartT(); shapePartT7.Text = GameText.撮影; - shapePartT7.SizeBase = 0.095; - shapePartT7.Font = new Font("MS Gothic", 1f); - shapePartT7.FontSize = 0.07; + shapePartT7.SetSizeBase(0.095); + shapePartT7.SetFont(new Font("MS Gothic", 1f)); + shapePartT7.SetFontSize(0.07); shapePartT7.SetStringRectOutline(Are.UnitScale, Are.DisplayGraphics); - shapePartT7.RectSize = new Vector2D(shapePartT7.OP[0].ps[1].X, shapePartT7.OP[0].ps[2].Y); - shapePartT7.OP.ScalingY(shapePartT7.BasePointBase, 0.9); - shapePartT7.Closed = true; - shapePartT7.TextColor = ColorHelper.Black; - shapePartT7.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT7.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT7.HitColor = Med.GetUniqueColor(); - shapePartT7.StringFormat.Alignment = StringAlignment.Center; - shapePartT7.StringFormat.LineAlignment = StringAlignment.Center; - shapePartT7.PositionBase = shapePartT6.PositionBase.AddY(0.015); + shapePartT7.SetRectSize(new Vector2D(shapePartT7.GetOP()[0].ps[1].X, shapePartT7.GetOP()[0].ps[2].Y)); + shapePartT7.GetOP().ScalingY(shapePartT7.GetBasePointBase(), 0.9); + shapePartT7.SetClosed(true); + shapePartT7.SetTextColor(ColorHelper.Black); + shapePartT7.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT7.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT7.SetHitColor(Med.GetUniqueColor()); + shapePartT7.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT7.GetStringFormat().LineAlignment = StringAlignment.Center; + shapePartT7.SetPositionBase(shapePartT6.GetPositionBase().AddY(0.015)); string Path = "Photo"; Film = new RenderArea(Med, Hit: false); 撮影 = new Button(shapePartT7, delegate @@ -2469,50 +2470,50 @@ namespace SlaveMatrix }); int alpha = 200; 体力sゲージ = new ProgressBar("体力", 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, ColorHelper.Black), Knob: false); - 体力sゲージ.Frame1.Pen = null; + 体力sゲージ.Frame1.SetPen(null); 絶頂sゲージ = new ProgressBar("絶頂", 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), ColorHelper.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 ProgressBar("興奮", 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, ColorHelper.White), Color.FromArgb(180, Color.Red), Color.FromArgb(alpha, Color.Gray), Color.FromArgb(alpha, Color.Gray), Color.FromArgb(alpha, ColorHelper.Black), Knob: false); - 興奮sゲージ.Frame1.Pen = null; - 興奮sゲージ.Gauge.Pen = null; + 興奮sゲージ.Frame1.SetPen(null); + 興奮sゲージ.Gauge.SetPen(null); 精力mゲージ = new ProgressBar("精力", 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, ColorHelper.Yellow.Add(180, 0, 0)), ColorHelper.Red.Add(180, 0, 0), Color.FromArgb(alpha, Color.Gray), Color.FromArgb(alpha, Color.Gray), Color.FromArgb(alpha, ColorHelper.Black), Knob: false); - 精力mゲージ.Frame1.Pen = null; + 精力mゲージ.Frame1.SetPen(null); 射精mゲージ = new ProgressBar("射精", 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, ColorHelper.DeepPink.Add(180, 0, 0)), ColorHelper.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 ProgressBar("興奮", 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, ColorHelper.White), Color.FromArgb(180, Color.Red), Color.FromArgb(alpha, Color.Gray), Color.FromArgb(alpha, Color.Gray), Color.FromArgb(alpha, ColorHelper.Black), Knob: false); - 興奮mゲージ.Frame1.Pen = null; - 興奮mゲージ.Gauge.Pen = null; + 興奮mゲージ.Frame1.SetPen(null); + 興奮mゲージ.Gauge.SetPen(null); Color c = Med.GetUniqueColor(); foreach (ShapePart item in 体力sゲージ.PartGroup.EnumAllPar()) { - item.HitColor = c; + item.SetHitColor(c); } Med.GetUniqueColor(out c); foreach (ShapePart item2 in 絶頂sゲージ.PartGroup.EnumAllPar()) { - item2.HitColor = c; + item2.SetHitColor(c); } Med.GetUniqueColor(out c); foreach (ShapePart item3 in 興奮sゲージ.PartGroup.EnumAllPar()) { - item3.HitColor = c; + item3.SetHitColor(c); } Med.GetUniqueColor(out c); foreach (ShapePart item4 in 精力mゲージ.PartGroup.EnumAllPar()) { - item4.HitColor = c; + item4.SetHitColor(c); } Med.GetUniqueColor(out c); foreach (ShapePart item5 in 射精mゲージ.PartGroup.EnumAllPar()) { - item5.HitColor = c; + item5.SetHitColor(c); } Med.GetUniqueColor(out c); foreach (ShapePart item6 in 興奮mゲージ.PartGroup.EnumAllPar()) { - item6.HitColor = c; + item6.SetHitColor(c); } 体力sゲージ.Value = 1.0; 絶頂sゲージ.Value = 0.0; @@ -3069,20 +3070,20 @@ namespace SlaveMatrix } ShapePartT shapePartT = new ShapePartT(); shapePartT.Text = "SlaveStamina"; - shapePartT.SizeBase = 0.095; - shapePartT.Font = new Font("MS Gothic", 1f); - shapePartT.FontSize = 0.07; + shapePartT.SetSizeBase(0.095); + shapePartT.SetFont(new Font("MS Gothic", 1f)); + shapePartT.SetFontSize(0.07); shapePartT.SetStringRectOutline(Are.UnitScale, Are.DisplayGraphics); - shapePartT.RectSize = new Vector2D(shapePartT.OP[0].ps[1].X, shapePartT.OP[0].ps[2].Y); - shapePartT.OP.ScalingY(shapePartT.BasePointBase, 0.9); - shapePartT.Closed = true; - shapePartT.TextColor = ColorHelper.Black; - shapePartT.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT.HitColor = Med.GetUniqueColor(); - shapePartT.StringFormat.Alignment = StringAlignment.Center; - shapePartT.StringFormat.LineAlignment = StringAlignment.Center; - shapePartT.PositionBase = Are.GetPosition(x, y); + shapePartT.SetRectSize(new Vector2D(shapePartT.GetOP()[0].ps[1].X, shapePartT.GetOP()[0].ps[2].Y)); + shapePartT.GetOP().ScalingY(shapePartT.GetBasePointBase(), 0.9); + shapePartT.SetClosed(true); + shapePartT.SetTextColor(ColorHelper.Black); + shapePartT.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT.SetHitColor(Med.GetUniqueColor()); + shapePartT.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT.GetStringFormat().LineAlignment = StringAlignment.Center; + shapePartT.SetPositionBase(Are.GetPosition(x, y)); SlaveStamina = new Button(shapePartT, delegate { //Sounds.操作.Play(); @@ -3091,20 +3092,20 @@ namespace SlaveMatrix }); ShapePartT shapePartT2 = new ShapePartT(); shapePartT2.Text = "PlayerStamina"; - shapePartT2.SizeBase = 0.095; - shapePartT2.Font = new Font("MS Gothic", 1f); - shapePartT2.FontSize = 0.07; + shapePartT2.SetSizeBase(0.095); + shapePartT2.SetFont(new Font("MS Gothic", 1f)); + shapePartT2.SetFontSize(0.07); shapePartT2.SetStringRectOutline(Are.UnitScale, Are.DisplayGraphics); - shapePartT2.RectSize = new Vector2D(shapePartT2.OP[0].ps[1].X, shapePartT2.OP[0].ps[2].Y); - shapePartT2.OP.ScalingY(shapePartT2.BasePointBase, 0.9); - shapePartT2.Closed = true; - shapePartT2.TextColor = ColorHelper.Black; - shapePartT2.BrushColor = Color.FromArgb(160, ColorHelper.Black); - shapePartT2.ShadBrush = new SolidBrush(Color.FromArgb(64, ColorHelper.Black)); - shapePartT2.HitColor = Med.GetUniqueColor(); - shapePartT2.StringFormat.Alignment = StringAlignment.Center; - shapePartT2.StringFormat.LineAlignment = StringAlignment.Center; - shapePartT2.PositionBase = shapePartT.PositionBase.AddY(0.015); + shapePartT2.SetRectSize(new Vector2D(shapePartT2.GetOP()[0].ps[1].X, shapePartT2.GetOP()[0].ps[2].Y)); + shapePartT2.GetOP().ScalingY(shapePartT2.GetBasePointBase(), 0.9); + shapePartT2.SetClosed(true); + shapePartT2.SetTextColor(ColorHelper.Black); + shapePartT2.SetBrushColor(Color.FromArgb(160, ColorHelper.Black)); + shapePartT2.SetShadBrush(new SolidBrush(Color.FromArgb(64, ColorHelper.Black))); + shapePartT2.SetHitColor(Med.GetUniqueColor()); + shapePartT2.GetStringFormat().Alignment = StringAlignment.Center; + shapePartT2.GetStringFormat().LineAlignment = StringAlignment.Center; + shapePartT2.SetPositionBase(shapePartT.GetPositionBase().AddY(0.015)); PlayerStamina = new Button(shapePartT2, delegate { //Sounds.操作.Play(); diff --git a/run.sh b/run.sh old mode 100644 new mode 100755