Files
SlaveMatrix-SDL/SlaveMatrix/SlaveMatrix/BodyPartClasses/UpperArm_獣.cs
2026-06-13 21:23:15 +02:00

437 lines
11 KiB
C#

using _2DGAMELIB;
using System.Linq;
namespace SlaveMatrix
{
public class UpperArm_獣 : UpperArm
{
public ShapePart X0Y0_筋肉上;
public ShapePart X0Y0_UpperArm;
public ShapePart X0Y0_筋肉下;
public ShapePart X0Y0_虎柄_虎1;
public ShapePart X0Y0_虎柄_虎2;
public ShapePart X0Y0_竜性_鱗4;
public ShapePart X0Y0_竜性_鱗3;
public ShapePart X0Y0_竜性_鱗2;
public ShapePart X0Y0_竜性_鱗1;
public ColorD CD;
public ColorD UpperArmCD;
public ColorD CD;
public ColorD _虎1CD;
public ColorD _虎2CD;
public ColorD _鱗4CD;
public ColorD _鱗3CD;
public ColorD _鱗2CD;
public ColorD _鱗1CD;
public ColorP X0Y0_筋肉上CP;
public ColorP X0Y0_UpperArmCP;
public ColorP X0Y0_筋肉下CP;
public ColorP X0Y0_虎柄_虎1CP;
public ColorP X0Y0_虎柄_虎2CP;
public ColorP X0Y0_竜性_鱗4CP;
public ColorP X0Y0_竜性_鱗3CP;
public ColorP X0Y0_竜性_鱗2CP;
public ColorP X0Y0_竜性_鱗1CP;
public override bool
{
get
{
return _;
}
set
{
_ = value;
}
}
public override bool
{
get
{
return _;
}
set
{
_ = value;
_表示 = _;
_表示 = _;
}
}
public override bool
{
get
{
return _;
}
set
{
_ = value;
}
}
public bool _表示
{
get
{
return X0Y0_筋肉上.Dra;
}
set
{
X0Y0_筋肉上.Dra = value;
X0Y0_筋肉上.Hit = value;
}
}
public bool UpperArm_表示
{
get
{
return X0Y0_UpperArm.Dra;
}
set
{
X0Y0_UpperArm.Dra = value;
X0Y0_UpperArm.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 _鱗4_表示
{
get
{
return X0Y0_竜性_鱗4.Dra;
}
set
{
X0Y0_竜性_鱗4.Dra = value;
X0Y0_竜性_鱗4.Hit = value;
}
}
public bool _鱗3_表示
{
get
{
return X0Y0_竜性_鱗3.Dra;
}
set
{
X0Y0_竜性_鱗3.Dra = value;
X0Y0_竜性_鱗3.Hit = value;
}
}
public bool _鱗2_表示
{
get
{
return X0Y0_竜性_鱗2.Dra;
}
set
{
X0Y0_竜性_鱗2.Dra = value;
X0Y0_竜性_鱗2.Hit = value;
}
}
public bool _鱗1_表示
{
get
{
return X0Y0_竜性_鱗1.Dra;
}
set
{
X0Y0_竜性_鱗1.Dra = value;
X0Y0_竜性_鱗1.Hit = value;
}
}
public override bool
{
get
{
return _表示;
}
set
{
_表示 = value;
UpperArm_表示 = value;
_表示 = value;
_虎1_表示 = value;
_虎2_表示 = value;
_鱗4_表示 = value;
_鱗3_表示 = value;
_鱗2_表示 = value;
_鱗1_表示 = value;
}
}
public override double Intensity
{
get
{
return CD.;
}
set
{
CD. = value;
UpperArmCD. = value;
CD. = value;
_虎1CD. = value;
_虎2CD. = value;
_鱗4CD. = value;
_鱗3CD. = value;
_鱗2CD. = value;
_鱗1CD. = value;
}
}
public bool _外線
{
get
{
return X0Y0_UpperArm.OP[(!) ? 1 : 6].Outline;
}
set
{
X0Y0_UpperArm.OP[(!) ? 1 : 6].Outline = value;
}
}
public JointS LowerArm_接続点 => new JointS(Body, X0Y0_UpperArm, 1);
public UpperArm_獣(double DisUnit, , BodyColorSet , ModeEventDispatcher Med, UpperArm_獣D e)
{
UpperArm_獣 UpperArm_獣2 = this;
ThisType = GetType();
MorphVariant morphVariant = new MorphVariant(Sta.["四足UpperArm"][0]);
Body = new Difs();
Body.Tag = morphVariant.Tag;
Body.Add(morphVariant);
PartGroup partGroup = Body[0][0];
X0Y0_筋肉上 = partGroup["筋肉上"].ToPar();
X0Y0_UpperArm = partGroup["上腕"].ToPar();
X0Y0_筋肉下 = partGroup["筋肉下"].ToPar();
PartGroup pars2 = partGroup["虎柄"].ToPars();
X0Y0_虎柄_虎1 = pars2["虎1"].ToPar();
X0Y0_虎柄_虎2 = pars2["虎2"].ToPar();
pars2 = partGroup["鱗"].ToPars();
X0Y0_竜性_鱗4 = pars2["鱗4"].ToPar();
X0Y0_竜性_鱗3 = pars2["鱗3"].ToPar();
X0Y0_竜性_鱗2 = pars2["鱗2"].ToPar();
X0Y0_竜性_鱗1 = pars2["鱗1"].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;
_表示 = e._表示;
UpperArm_表示 = e.UpperArm_表示;
_表示 = e._表示;
_虎1_表示 = e._虎1_表示;
_虎2_表示 = e._虎2_表示;
_鱗4_表示 = e._鱗4_表示;
_鱗3_表示 = e._鱗3_表示;
_鱗2_表示 = e._鱗2_表示;
_鱗1_表示 = e._鱗1_表示;
= e.;
= e.;
= e.;
if (!e.)
{
= false;
}
if (e.LowerArm_接続.Count > 0)
{
Ele f;
LowerArm_接続 = e.LowerArm_接続.Select(delegate(EleD g)
{
f = g.GetEle(DisUnit, Med, );
f.Par = UpperArm_獣2;
f.ConnectionType = ConnectionInfo.UpperArm_獣_LowerArm_接続;
f.(UpperArm_獣2.LowerArm_接続点);
return f;
}).ToArray();
}
base. = ;
();
X0Y0_筋肉上CP = new ColorP(X0Y0_筋肉上, CD, DisUnit, abj: false);
X0Y0_UpperArmCP = new ColorP(X0Y0_UpperArm, UpperArmCD, DisUnit, abj: true);
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_竜性_鱗4CP = new ColorP(X0Y0_竜性_鱗4, _鱗4CD, DisUnit, abj: true);
X0Y0_竜性_鱗3CP = new ColorP(X0Y0_竜性_鱗3, _鱗3CD, DisUnit, abj: true);
X0Y0_竜性_鱗2CP = new ColorP(X0Y0_竜性_鱗2, _鱗2CD, DisUnit, abj: true);
X0Y0_竜性_鱗1CP = new ColorP(X0Y0_竜性_鱗1, _鱗1CD, DisUnit, abj: true);
Intensity = e.;
}
public override void SetAngle0()
{
double num = ( ? (-1.0) : 1.0);
X0Y0_UpperArm.AngleBase = num * -65.0;
Body.JoinPAall();
}
public override void ()
{
X0Y0_筋肉上CP.Update();
X0Y0_UpperArmCP.Update();
X0Y0_筋肉下CP.Update();
X0Y0_虎柄_虎1CP.Update();
X0Y0_虎柄_虎2CP.Update();
X0Y0_竜性_鱗4CP.Update();
X0Y0_竜性_鱗3CP.Update();
X0Y0_竜性_鱗2CP.Update();
X0Y0_竜性_鱗1CP.Update();
}
private void (BodyColorSet )
{
switch ()
{
case .N0:
N0();
break;
case .T0:
T0();
break;
case .T1:
T1();
break;
default:
N0();
break;
}
}
private void N0(BodyColorSet )
{
CD = new ColorD(ref ., ref .0O);
UpperArmCD = new ColorD(ref Col.Black, ref .0O);
CD = new ColorD(ref ., ref .0O);
_虎1CD = new ColorD(ref Col.Black, ref .);
_虎2CD = new ColorD(ref Col.Black, ref .);
_鱗4CD = new ColorD(ref Col.Black, ref .0O);
_鱗3CD = new ColorD(ref Col.Black, ref .0O);
_鱗2CD = new ColorD(ref Col.Black, ref .0O);
_鱗1CD = new ColorD(ref Col.Black, ref .0O);
}
private void T0(BodyColorSet )
{
CD = new ColorD(ref ., ref .0O);
UpperArmCD = new ColorD(ref Col.Black, ref .0O);
CD = new ColorD(ref ., ref .0O);
_虎1CD = new ColorD(ref Col.Black, ref .);
_虎2CD = new ColorD(ref Col.Black, ref .);
_鱗4CD = new ColorD(ref Col.Black, ref .O);
_鱗3CD = new ColorD(ref Col.Black, ref .0O);
_鱗2CD = new ColorD(ref Col.Black, ref .O);
_鱗1CD = new ColorD(ref Col.Black, ref .0O);
}
private void T1(BodyColorSet )
{
CD = new ColorD(ref ., ref .0O);
UpperArmCD = new ColorD(ref Col.Black, ref .0O);
CD = new ColorD(ref ., ref .0O);
_虎1CD = new ColorD(ref Col.Black, ref .);
_虎2CD = new ColorD(ref Col.Black, ref .);
_鱗4CD = new ColorD(ref Col.Black, ref .0O);
_鱗3CD = new ColorD(ref Col.Black, ref .O);
_鱗2CD = new ColorD(ref Col.Black, ref .0O);
_鱗1CD = new ColorD(ref Col.Black, ref .O);
}
}
}