Files
SlaveMatrix-SDL/SlaveMatrix/SlaveMatrix/BodyPartClasses/LowerArm_蝙.cs

882 lines
23 KiB
C#

using System.Linq;
using _2DGAMELIB;
namespace SlaveMatrix
{
public class LowerArm_蝙 : LowerArm
{
public Par X0Y0_獣翼LowerArm;
public Par X0Y0_竜性_鱗1;
public Par X0Y0_竜性_鱗2;
public Par X0Y0_竜性_鱗3;
public Par X0Y0_竜性_鱗4;
public Par X0Y0_竜性_鱗5;
public Par X0Y0_竜性_鱗6;
public Par X0Y0_竜性_鱗7;
public Par X0Y0_竜性_鱗8;
public Par X0Y0_竜性_鱗9;
public Par X0Y0_竜性_鱗10;
public Par X0Y0_竜性_鱗11;
public Par X0Y0_竜性_鱗12;
public Par X0Y0_竜性_鱗13;
public Par X0Y0_腕輪_革;
public Par X0Y0_腕輪_金具1;
public Par X0Y0_腕輪_金具2;
public Par X0Y0_腕輪_金具3;
public Par X0Y0_腕輪_金具左;
public Par X0Y0_腕輪_金具右;
public ColorD LowerArmCD;
public ColorD _鱗1CD;
public ColorD _鱗2CD;
public ColorD _鱗3CD;
public ColorD _鱗4CD;
public ColorD _鱗5CD;
public ColorD _鱗6CD;
public ColorD _鱗7CD;
public ColorD _鱗8CD;
public ColorD _鱗9CD;
public ColorD _鱗10CD;
public ColorD _鱗11CD;
public ColorD _鱗12CD;
public ColorD _鱗13CD;
public ColorD _革CD;
public ColorD _金具1CD;
public ColorD _金具2CD;
public ColorD _金具3CD;
public ColorD _金具左CD;
public ColorD _金具右CD;
public ColorP X0Y0_獣翼LowerArmCP;
public ColorP X0Y0_竜性_鱗1CP;
public ColorP X0Y0_竜性_鱗2CP;
public ColorP X0Y0_竜性_鱗3CP;
public ColorP X0Y0_竜性_鱗4CP;
public ColorP X0Y0_竜性_鱗5CP;
public ColorP X0Y0_竜性_鱗6CP;
public ColorP X0Y0_竜性_鱗7CP;
public ColorP X0Y0_竜性_鱗8CP;
public ColorP X0Y0_竜性_鱗9CP;
public ColorP X0Y0_竜性_鱗10CP;
public ColorP X0Y0_竜性_鱗11CP;
public ColorP X0Y0_竜性_鱗12CP;
public ColorP X0Y0_竜性_鱗13CP;
public ColorP X0Y0_腕輪_革CP;
public ColorP X0Y0_腕輪_金具1CP;
public ColorP X0Y0_腕輪_金具2CP;
public ColorP X0Y0_腕輪_金具3CP;
public ColorP X0Y0_腕輪_金具左CP;
public ColorP X0Y0_腕輪_金具右CP;
public 1;
public Ele[] _接続;
public override bool
{
get
{
return _;
}
set
{
_ = value;
}
}
public override bool
{
get
{
return _;
}
set
{
_ = value;
}
}
public override bool
{
get
{
return _;
}
set
{
_ = value;
= _;
}
}
public bool LowerArm_表示
{
get
{
return X0Y0_獣翼LowerArm.Dra;
}
set
{
X0Y0_獣翼LowerArm.Dra = value;
X0Y0_獣翼LowerArm.Hit = value;
}
}
public bool _鱗1_表示
{
get
{
return X0Y0_竜性_鱗1.Dra;
}
set
{
X0Y0_竜性_鱗1.Dra = value;
X0Y0_竜性_鱗1.Hit = value;
}
}
public bool _鱗2_表示
{
get
{
return X0Y0_竜性_鱗2.Dra;
}
set
{
X0Y0_竜性_鱗2.Dra = value;
X0Y0_竜性_鱗2.Hit = value;
}
}
public bool _鱗3_表示
{
get
{
return X0Y0_竜性_鱗3.Dra;
}
set
{
X0Y0_竜性_鱗3.Dra = value;
X0Y0_竜性_鱗3.Hit = value;
}
}
public bool _鱗4_表示
{
get
{
return X0Y0_竜性_鱗4.Dra;
}
set
{
X0Y0_竜性_鱗4.Dra = value;
X0Y0_竜性_鱗4.Hit = value;
}
}
public bool _鱗5_表示
{
get
{
return X0Y0_竜性_鱗5.Dra;
}
set
{
X0Y0_竜性_鱗5.Dra = value;
X0Y0_竜性_鱗5.Hit = value;
}
}
public bool _鱗6_表示
{
get
{
return X0Y0_竜性_鱗6.Dra;
}
set
{
X0Y0_竜性_鱗6.Dra = value;
X0Y0_竜性_鱗6.Hit = value;
}
}
public bool _鱗7_表示
{
get
{
return X0Y0_竜性_鱗7.Dra;
}
set
{
X0Y0_竜性_鱗7.Dra = value;
X0Y0_竜性_鱗7.Hit = value;
}
}
public bool _鱗8_表示
{
get
{
return X0Y0_竜性_鱗8.Dra;
}
set
{
X0Y0_竜性_鱗8.Dra = value;
X0Y0_竜性_鱗8.Hit = value;
}
}
public bool _鱗9_表示
{
get
{
return X0Y0_竜性_鱗9.Dra;
}
set
{
X0Y0_竜性_鱗9.Dra = value;
X0Y0_竜性_鱗9.Hit = value;
}
}
public bool _鱗10_表示
{
get
{
return X0Y0_竜性_鱗10.Dra;
}
set
{
X0Y0_竜性_鱗10.Dra = value;
X0Y0_竜性_鱗10.Hit = value;
}
}
public bool _鱗11_表示
{
get
{
return X0Y0_竜性_鱗11.Dra;
}
set
{
X0Y0_竜性_鱗11.Dra = value;
X0Y0_竜性_鱗11.Hit = value;
}
}
public bool _鱗12_表示
{
get
{
return X0Y0_竜性_鱗12.Dra;
}
set
{
X0Y0_竜性_鱗12.Dra = value;
X0Y0_竜性_鱗12.Hit = value;
}
}
public bool _鱗13_表示
{
get
{
return X0Y0_竜性_鱗13.Dra;
}
set
{
X0Y0_竜性_鱗13.Dra = value;
X0Y0_竜性_鱗13.Hit = value;
}
}
public bool _革_表示
{
get
{
return X0Y0_腕輪_革.Dra;
}
set
{
X0Y0_腕輪_革.Dra = value;
X0Y0_腕輪_革.Hit = value;
}
}
public bool _金具1_表示
{
get
{
return X0Y0_腕輪_金具1.Dra;
}
set
{
X0Y0_腕輪_金具1.Dra = value;
X0Y0_腕輪_金具1.Hit = value;
}
}
public bool _金具2_表示
{
get
{
return X0Y0_腕輪_金具2.Dra;
}
set
{
X0Y0_腕輪_金具2.Dra = value;
X0Y0_腕輪_金具2.Hit = value;
}
}
public bool _金具3_表示
{
get
{
return X0Y0_腕輪_金具3.Dra;
}
set
{
X0Y0_腕輪_金具3.Dra = value;
X0Y0_腕輪_金具3.Hit = value;
}
}
public bool _金具左_表示
{
get
{
return X0Y0_腕輪_金具左.Dra;
}
set
{
X0Y0_腕輪_金具左.Dra = value;
X0Y0_腕輪_金具左.Hit = value;
}
}
public bool _金具右_表示
{
get
{
return X0Y0_腕輪_金具右.Dra;
}
set
{
X0Y0_腕輪_金具右.Dra = value;
X0Y0_腕輪_金具右.Hit = value;
}
}
public bool
{
get
{
return _革_表示;
}
set
{
_革_表示 = value;
_金具1_表示 = value;
_金具2_表示 = value;
_金具3_表示 = value;
_金具左_表示 = value;
_金具右_表示 = value;
}
}
public bool
{
get
{
return 1.;
}
set
{
1. = value;
}
}
public override bool
{
get
{
return LowerArm_表示;
}
set
{
LowerArm_表示 = value;
_鱗1_表示 = value;
_鱗2_表示 = value;
_鱗3_表示 = value;
_鱗4_表示 = value;
_鱗5_表示 = value;
_鱗6_表示 = value;
_鱗7_表示 = value;
_鱗8_表示 = value;
_鱗9_表示 = value;
_鱗10_表示 = value;
_鱗11_表示 = value;
_鱗12_表示 = value;
_鱗13_表示 = value;
_革_表示 = value;
_金具1_表示 = value;
_金具2_表示 = value;
_金具3_表示 = value;
_金具左_表示 = value;
_金具右_表示 = value;
1. = value;
}
}
public override double Intensity
{
get
{
return LowerArmCD.;
}
set
{
LowerArmCD. = value;
_鱗1CD. = value;
_鱗2CD. = value;
_鱗3CD. = value;
_鱗4CD. = value;
_鱗5CD. = value;
_鱗6CD. = value;
_鱗7CD. = value;
_鱗8CD. = value;
_鱗9CD. = value;
_鱗10CD. = value;
_鱗11CD. = value;
_鱗12CD. = value;
_鱗13CD. = value;
_革CD. = value;
_金具1CD. = value;
_金具2CD. = value;
_金具3CD. = value;
_金具左CD. = value;
_金具右CD. = value;
}
}
public override double
{
set
{
double num = value.Inverse();
double num2 = ( ? (-1.0) : 1.0);
X0Y0_獣翼LowerArm.AngleCont = num2 * 120.0 * num;
}
}
public bool _外線
{
get
{
return X0Y0_獣翼LowerArm.OP[(!) ? 1 : 2].Outline;
}
set
{
X0Y0_獣翼LowerArm.OP[(!) ? 1 : 2].Outline = value;
}
}
public override bool _外線
{
get
{
return X0Y0_獣翼LowerArm.OP[ ? 3 : 0].Outline;
}
set
{
X0Y0_獣翼LowerArm.OP[ ? 3 : 0].Outline = value;
}
}
public JointS _接続点 => new JointS(Body, X0Y0_獣翼LowerArm, 0);
public JointS _接続点 => new JointS(Body, X0Y0_獣翼LowerArm, 2);
public JointS 1_ => new JointS(Body, X0Y0_腕輪_金具左, 0);
public JointS 2_ => new JointS(Body, X0Y0_腕輪_金具右, 0);
public LowerArm_蝙(double DisUnit, , BodyColorSet , ModeEventDispatcher Med, LowerArm_蝙D e)
{
LowerArm_蝙 LowerArm_蝙2 = this;
ThisType = GetType();
Body = new Difs(Sta.["獣翼LowerArm"]);
Pars pars = Body[0][0];
X0Y0_獣翼LowerArm = pars["獣翼下腕"].ToPar();
Pars pars2 = pars["鱗"].ToPars();
X0Y0_竜性_鱗1 = pars2["鱗1"].ToPar();
X0Y0_竜性_鱗2 = pars2["鱗2"].ToPar();
X0Y0_竜性_鱗3 = pars2["鱗3"].ToPar();
X0Y0_竜性_鱗4 = pars2["鱗4"].ToPar();
X0Y0_竜性_鱗5 = pars2["鱗5"].ToPar();
X0Y0_竜性_鱗6 = pars2["鱗6"].ToPar();
X0Y0_竜性_鱗7 = pars2["鱗7"].ToPar();
X0Y0_竜性_鱗8 = pars2["鱗8"].ToPar();
X0Y0_竜性_鱗9 = pars2["鱗9"].ToPar();
X0Y0_竜性_鱗10 = pars2["鱗10"].ToPar();
X0Y0_竜性_鱗11 = pars2["鱗11"].ToPar();
X0Y0_竜性_鱗12 = pars2["鱗12"].ToPar();
X0Y0_竜性_鱗13 = pars2["鱗13"].ToPar();
pars2 = pars["腕輪"].ToPars();
X0Y0_腕輪_革 = pars2["革"].ToPar();
X0Y0_腕輪_金具1 = pars2["金具1"].ToPar();
X0Y0_腕輪_金具2 = pars2["金具2"].ToPar();
X0Y0_腕輪_金具3 = pars2["金具3"].ToPar();
X0Y0_腕輪_金具左 = pars2["金具左"].ToPar();
X0Y0_腕輪_金具右 = pars2["金具右"].ToPar();
Xasix = false;
Body.SetJoints();
= new JointD(Body);
= e.;
X = e.X;
Y = e.Y;
C = e.C;
C = e.C;
B = e.B;
C = e.C;
B = e.B;
C = e.C;
XB = e.XB;
XC = e.XC;
YB = e.YB;
YC = e.YC;
= e.;
= e.;
Xv = e.Xv;
Yv = e.Yv;
Xi = e.Xi;
Yi = e.Yi;
= e.;
X = e.X;
Y = e.Y;
LowerArm_表示 = e.LowerArm_表示;
_鱗1_表示 = e._鱗1_表示;
_鱗2_表示 = e._鱗2_表示;
_鱗3_表示 = e._鱗3_表示;
_鱗4_表示 = e._鱗4_表示;
_鱗5_表示 = e._鱗5_表示;
_鱗6_表示 = e._鱗6_表示;
_鱗7_表示 = e._鱗7_表示;
_鱗8_表示 = e._鱗8_表示;
_鱗9_表示 = e._鱗9_表示;
_鱗10_表示 = e._鱗10_表示;
_鱗11_表示 = e._鱗11_表示;
_鱗12_表示 = e._鱗12_表示;
_鱗13_表示 = e._鱗13_表示;
_革_表示 = e._革_表示;
_金具1_表示 = e._金具1_表示;
_金具2_表示 = e._金具2_表示;
_金具3_表示 = e._金具3_表示;
_金具左_表示 = e._金具左_表示;
_金具右_表示 = e._金具右_表示;
= e.;
= e.;
_外線 = e._外線;
= e.;
= e.;
= e.;
if (!e.)
{
= false;
}
Ele f;
if (e._接続.Count > 0)
{
_接続 = e._接続.Select(delegate(EleD g)
{
f = g.GetEle(DisUnit, Med, );
f.Par = LowerArm_蝙2;
f.ConnectionType = ConnectionInfo.LowerArm_蝙_手_接続;
f.(LowerArm_蝙2._接続点);
return f;
}).ToArray();
}
if (e._接続.Count > 0)
{
_接続 = e._接続.Select(delegate(EleD g)
{
f = g.GetEle(DisUnit, Med, );
f.Par = LowerArm_蝙2;
f.ConnectionType = ConnectionInfo.LowerArm_蝙_腕輪_接続;
f.(LowerArm_蝙2._接続点);
return f;
}).ToArray();
}
base. = ;
();
X0Y0_獣翼LowerArmCP = new ColorP(X0Y0_獣翼LowerArm, LowerArmCD, DisUnit, abj: true);
X0Y0_竜性_鱗1CP = new ColorP(X0Y0_竜性_鱗1, _鱗1CD, DisUnit, abj: true);
X0Y0_竜性_鱗2CP = new ColorP(X0Y0_竜性_鱗2, _鱗2CD, DisUnit, abj: true);
X0Y0_竜性_鱗3CP = new ColorP(X0Y0_竜性_鱗3, _鱗3CD, DisUnit, abj: true);
X0Y0_竜性_鱗4CP = new ColorP(X0Y0_竜性_鱗4, _鱗4CD, DisUnit, abj: true);
X0Y0_竜性_鱗5CP = new ColorP(X0Y0_竜性_鱗5, _鱗5CD, DisUnit, abj: true);
X0Y0_竜性_鱗6CP = new ColorP(X0Y0_竜性_鱗6, _鱗6CD, DisUnit, abj: true);
X0Y0_竜性_鱗7CP = new ColorP(X0Y0_竜性_鱗7, _鱗7CD, DisUnit, abj: true);
X0Y0_竜性_鱗8CP = new ColorP(X0Y0_竜性_鱗8, _鱗8CD, DisUnit, abj: true);
X0Y0_竜性_鱗9CP = new ColorP(X0Y0_竜性_鱗9, _鱗9CD, DisUnit, abj: true);
X0Y0_竜性_鱗10CP = new ColorP(X0Y0_竜性_鱗10, _鱗10CD, DisUnit, abj: true);
X0Y0_竜性_鱗11CP = new ColorP(X0Y0_竜性_鱗11, _鱗11CD, DisUnit, abj: true);
X0Y0_竜性_鱗12CP = new ColorP(X0Y0_竜性_鱗12, _鱗12CD, DisUnit, abj: true);
X0Y0_竜性_鱗13CP = new ColorP(X0Y0_竜性_鱗13, _鱗13CD, DisUnit, abj: true);
X0Y0_腕輪_革CP = new ColorP(X0Y0_腕輪_革, _革CD, DisUnit, abj: true);
X0Y0_腕輪_金具1CP = new ColorP(X0Y0_腕輪_金具1, _金具1CD, DisUnit, abj: true);
X0Y0_腕輪_金具2CP = new ColorP(X0Y0_腕輪_金具2, _金具2CD, DisUnit, abj: true);
X0Y0_腕輪_金具3CP = new ColorP(X0Y0_腕輪_金具3, _金具3CD, DisUnit, abj: true);
X0Y0_腕輪_金具左CP = new ColorP(X0Y0_腕輪_金具左, _金具左CD, DisUnit, abj: true);
X0Y0_腕輪_金具右CP = new ColorP(X0Y0_腕輪_金具右, _金具右CD, DisUnit, abj: true);
Intensity = e.;
B = 1.02;
1 = new (DisUnit, : false, , , Xasix);
1.(1_);
= e.;
}
public override void Dispose()
{
base.Dispose();
1.Dispose();
}
public override void SetAngle0()
{
double num = ( ? (-1.0) : 1.0);
X0Y0_獣翼LowerArm.AngleBase = num * -322.0;
Body.JoinPAall();
}
public override void 0(RenderArea Are)
{
Are.Draw(X0Y0_獣翼LowerArm);
Are.Draw(X0Y0_竜性_鱗1);
Are.Draw(X0Y0_竜性_鱗2);
Are.Draw(X0Y0_竜性_鱗3);
Are.Draw(X0Y0_竜性_鱗4);
Are.Draw(X0Y0_竜性_鱗5);
Are.Draw(X0Y0_竜性_鱗6);
Are.Draw(X0Y0_竜性_鱗7);
Are.Draw(X0Y0_竜性_鱗8);
Are.Draw(X0Y0_竜性_鱗9);
Are.Draw(X0Y0_竜性_鱗10);
Are.Draw(X0Y0_竜性_鱗11);
Are.Draw(X0Y0_竜性_鱗12);
Are.Draw(X0Y0_竜性_鱗13);
}
public void (RenderArea Are)
{
Are.Draw(X0Y0_腕輪_革);
Are.Draw(X0Y0_腕輪_金具1);
Are.Draw(X0Y0_腕輪_金具2);
Are.Draw(X0Y0_腕輪_金具3);
Are.Draw(X0Y0_腕輪_金具左);
Are.Draw(X0Y0_腕輪_金具右);
1.0(Are);
}
public override bool Is革(Par p)
{
if (p != X0Y0_腕輪_革 && p != X0Y0_腕輪_金具1 && p != X0Y0_腕輪_金具2 && p != X0Y0_腕輪_金具3 && p != X0Y0_腕輪_金具左)
{
return p == X0Y0_腕輪_金具右;
}
return true;
}
public override void ()
{
X0Y0_獣翼LowerArmCP.Update();
X0Y0_竜性_鱗1CP.Update();
X0Y0_竜性_鱗2CP.Update();
X0Y0_竜性_鱗3CP.Update();
X0Y0_竜性_鱗4CP.Update();
X0Y0_竜性_鱗5CP.Update();
X0Y0_竜性_鱗6CP.Update();
X0Y0_竜性_鱗7CP.Update();
X0Y0_竜性_鱗8CP.Update();
X0Y0_竜性_鱗9CP.Update();
X0Y0_竜性_鱗10CP.Update();
X0Y0_竜性_鱗11CP.Update();
X0Y0_竜性_鱗12CP.Update();
X0Y0_竜性_鱗13CP.Update();
X0Y0_腕輪_革CP.Update();
X0Y0_腕輪_金具1CP.Update();
X0Y0_腕輪_金具2CP.Update();
X0Y0_腕輪_金具3CP.Update();
X0Y0_腕輪_金具左CP.Update();
X0Y0_腕輪_金具右CP.Update();
1.PA();
1.();
}
private void (BodyColorSet )
{
switch ()
{
case .N0:
N0();
break;
case .T0:
T0();
break;
case .T1:
T1();
break;
default:
N0();
break;
}
}
private void N0(BodyColorSet )
{
LowerArmCD = new ColorD(ref Col.Black, ref .0O);
_鱗1CD = new ColorD(ref Col.Black, ref .0O);
_鱗2CD = new ColorD(ref Col.Black, ref .0O);
_鱗3CD = new ColorD(ref Col.Black, ref .0O);
_鱗4CD = new ColorD(ref Col.Black, ref .0O);
_鱗5CD = new ColorD(ref Col.Black, ref .0O);
_鱗6CD = new ColorD(ref Col.Black, ref .0O);
_鱗7CD = new ColorD(ref Col.Black, ref .0O);
_鱗8CD = new ColorD(ref Col.Black, ref .0O);
_鱗9CD = new ColorD(ref Col.Black, ref .0O);
_鱗10CD = new ColorD(ref Col.Black, ref .0O);
_鱗11CD = new ColorD(ref Col.Black, ref .0O);
_鱗12CD = new ColorD(ref Col.Black, ref .0O);
_鱗13CD = new ColorD(ref Col.Black, ref .0O);
_革CD = new ColorD();
_金具1CD = new ColorD();
_金具2CD = new ColorD();
_金具3CD = new ColorD();
_金具左CD = new ColorD();
_金具右CD = new ColorD();
}
private void T0(BodyColorSet )
{
LowerArmCD = new ColorD(ref Col.Black, ref .0O);
_鱗1CD = new ColorD(ref Col.Black, ref .O);
_鱗2CD = new ColorD(ref Col.Black, ref .0O);
_鱗3CD = new ColorD(ref Col.Black, ref .O);
_鱗4CD = new ColorD(ref Col.Black, ref .0O);
_鱗5CD = new ColorD(ref Col.Black, ref .O);
_鱗6CD = new ColorD(ref Col.Black, ref .0O);
_鱗7CD = new ColorD(ref Col.Black, ref .O);
_鱗8CD = new ColorD(ref Col.Black, ref .0O);
_鱗9CD = new ColorD(ref Col.Black, ref .O);
_鱗10CD = new ColorD(ref Col.Black, ref .0O);
_鱗11CD = new ColorD(ref Col.Black, ref .O);
_鱗12CD = new ColorD(ref Col.Black, ref .0O);
_鱗13CD = new ColorD(ref Col.Black, ref .O);
_革CD = new ColorD();
_金具1CD = new ColorD();
_金具2CD = new ColorD();
_金具3CD = new ColorD();
_金具左CD = new ColorD();
_金具右CD = new ColorD();
}
private void T1(BodyColorSet )
{
LowerArmCD = new ColorD(ref Col.Black, ref .0O);
_鱗1CD = new ColorD(ref Col.Black, ref .0O);
_鱗2CD = new ColorD(ref Col.Black, ref .O);
_鱗3CD = new ColorD(ref Col.Black, ref .0O);
_鱗4CD = new ColorD(ref Col.Black, ref .O);
_鱗5CD = new ColorD(ref Col.Black, ref .0O);
_鱗6CD = new ColorD(ref Col.Black, ref .O);
_鱗7CD = new ColorD(ref Col.Black, ref .0O);
_鱗8CD = new ColorD(ref Col.Black, ref .O);
_鱗9CD = new ColorD(ref Col.Black, ref .0O);
_鱗10CD = new ColorD(ref Col.Black, ref .O);
_鱗11CD = new ColorD(ref Col.Black, ref .0O);
_鱗12CD = new ColorD(ref Col.Black, ref .O);
_鱗13CD = new ColorD(ref Col.Black, ref .0O);
_革CD = new ColorD();
_金具1CD = new ColorD();
_金具2CD = new ColorD();
_金具3CD = new ColorD();
_金具左CD = new ColorD();
_金具右CD = new ColorD();
}
public void ( )
{
_革CD. = .;
_金具1CD. = .;
_金具2CD. = _金具1CD.;
_金具3CD. = _金具1CD.;
_金具左CD. = _金具1CD.;
_金具右CD. = _金具1CD.;
}
public void ( )
{
1.();
}
}
}