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

715 lines
19 KiB
C#

using System.Linq;
using _2DGAMELIB;
namespace SlaveMatrix
{
public class LowerArm_獣 : LowerArm
{
public Par X0Y0_LowerArm;
public Par X0Y0_筋肉_筋肉下;
public Par X0Y0_筋肉_筋肉上;
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_腕輪_革;
public Par X0Y0_腕輪_金具1;
public Par X0Y0_腕輪_金具2;
public Par X0Y0_腕輪_金具3;
public Par X0Y0_腕輪_金具左;
public Par X0Y0_腕輪_金具右;
public ColorD LowerArmCD;
public ColorD _筋肉下CD;
public ColorD _筋肉上CD;
public ColorD _鱗1CD;
public ColorD _鱗2CD;
public ColorD _鱗3CD;
public ColorD _鱗4CD;
public ColorD _鱗5CD;
public ColorD _鱗6CD;
public ColorD _鱗7CD;
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_筋肉_筋肉下CP;
public ColorP X0Y0_筋肉_筋肉上CP;
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_腕輪_革CP;
public ColorP X0Y0_腕輪_金具1CP;
public ColorP X0Y0_腕輪_金具2CP;
public ColorP X0Y0_腕輪_金具3CP;
public ColorP X0Y0_腕輪_金具左CP;
public ColorP X0Y0_腕輪_金具右CP;
public 1;
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 _筋肉下_表示
{
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 _鱗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 _革_表示
{
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;
_筋肉下_表示 = value;
_筋肉上_表示 = value;
_鱗1_表示 = value;
_鱗2_表示 = value;
_鱗3_表示 = value;
_鱗4_表示 = value;
_鱗5_表示 = value;
_鱗6_表示 = value;
_鱗7_表示 = value;
_革_表示 = value;
_金具1_表示 = value;
_金具2_表示 = value;
_金具3_表示 = value;
_金具左_表示 = value;
_金具右_表示 = value;
1. = value;
}
}
public override double Intensity
{
get
{
return LowerArmCD.;
}
set
{
LowerArmCD. = value;
_筋肉下CD. = value;
_筋肉上CD. = value;
_鱗1CD. = value;
_鱗2CD. = value;
_鱗3CD. = value;
_鱗4CD. = value;
_鱗5CD. = value;
_鱗6CD. = value;
_鱗7CD. = value;
_革CD. = value;
_金具1CD. = value;
_金具2CD. = value;
_金具3CD. = value;
_金具左CD. = value;
_金具右CD. = value;
}
}
public override bool _外線
{
get
{
return X0Y0_LowerArm.OP[ ? 6 : 0].Outline;
}
set
{
X0Y0_LowerArm.OP[ ? 6 : 0].Outline = value;
}
}
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();
Dif dif = new Dif(Sta.["四足LowerArm"][0]);
Body = new Difs();
Body.Tag = dif.Tag;
Body.Add(dif);
Pars pars = Body[0][0];
X0Y0_LowerArm = pars["下腕"].ToPar();
Pars pars2 = pars["筋肉"].ToPars();
X0Y0_筋肉_筋肉下 = pars2["筋肉下"].ToPar();
X0Y0_筋肉_筋肉上 = pars2["筋肉上"].ToPar();
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();
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_表示;
_筋肉下_表示 = e._筋肉下_表示;
_筋肉上_表示 = e._筋肉上_表示;
_鱗1_表示 = e._鱗1_表示;
_鱗2_表示 = e._鱗2_表示;
_鱗3_表示 = e._鱗3_表示;
_鱗4_表示 = e._鱗4_表示;
_鱗5_表示 = e._鱗5_表示;
_鱗6_表示 = e._鱗6_表示;
_鱗7_表示 = e._鱗7_表示;
_革_表示 = e._革_表示;
_金具1_表示 = e._金具1_表示;
_金具2_表示 = e._金具2_表示;
_金具3_表示 = e._金具3_表示;
_金具左_表示 = e._金具左_表示;
_金具右_表示 = e._金具右_表示;
= e.;
= e.;
= e.;
= e.;
if (!e.)
{
= false;
}
if (e._接続.Count > 0)
{
Ele f;
_接続 = 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_筋肉_筋肉下CP = new ColorP(X0Y0_筋肉_筋肉下, _筋肉下CD, DisUnit, abj: false);
X0Y0_筋肉_筋肉上CP = new ColorP(X0Y0_筋肉_筋肉上, _筋肉上CD, DisUnit, abj: false);
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_腕輪_革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.;
1 = new (DisUnit, : false, , , Xasix);
1.(1_);
int num = ( ? (-20) : 20);
1.B += num;
= e.;
}
public override void 0(RenderArea Are)
{
Body.Draw(Are);
1.0(Are);
}
public override void Dispose()
{
base.Dispose();
1.Dispose();
}
public override void SetAngle0()
{
double num = ( ? (-1.0) : 1.0);
X0Y0_LowerArm.AngleBase = num * 133.0;
Body.JoinPAall();
}
public override bool Is革(Par p)
{
if (p != X0Y0_腕輪_革 && p != X0Y0_腕輪_金具1 && p != X0Y0_腕輪_金具2 && p != X0Y0_腕輪_金具3 && p != X0Y0_腕輪_金具左)
{
return p == X0Y0_腕輪_金具右;
}
return true;
}
public override void ()
{
X0Y0_LowerArmCP.Update();
X0Y0_筋肉_筋肉下CP.Update();
X0Y0_筋肉_筋肉上CP.Update();
X0Y0_竜性_鱗1CP.Update();
X0Y0_竜性_鱗2CP.Update();
X0Y0_竜性_鱗3CP.Update();
X0Y0_竜性_鱗4CP.Update();
X0Y0_竜性_鱗5CP.Update();
X0Y0_竜性_鱗6CP.Update();
X0Y0_竜性_鱗7CP.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);
_筋肉下CD = new ColorD(ref ., ref .0O);
_筋肉上CD = new ColorD(ref ., 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);
_革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);
_筋肉下CD = new ColorD(ref ., ref .0O);
_筋肉上CD = new ColorD(ref ., 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);
_革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);
_筋肉下CD = new ColorD(ref ., ref .0O);
_筋肉上CD = new ColorD(ref ., 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);
_革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.();
}
}
}