Files
SlaveMatrix-SDL/SlaveMatrix/SlaveMatrix/BodyPartClasses/舌_長.cs

603 lines
15 KiB
C#

using _2DGAMELIB;
namespace SlaveMatrix
{
public class _長 :
{
public ShapePart X0Y0_舌1;
public ShapePart X0Y0_舌2;
public ShapePart X0Y0_舌3;
public ShapePart X0Y0_舌4;
public ShapePart X0Y0_舌5;
public ShapePart X0Y0_舌股左_舌1;
public ShapePart X0Y0_舌股左_舌2;
public ShapePart X0Y0_舌股左_舌3;
public ShapePart X0Y0_舌股左_舌4;
public ShapePart X0Y0_舌股左_舌5;
public ShapePart X0Y0_舌股左_舌6;
public ShapePart X0Y0_舌股右_舌1;
public ShapePart X0Y0_舌股右_舌2;
public ShapePart X0Y0_舌股右_舌3;
public ShapePart X0Y0_舌股右_舌4;
public ShapePart X0Y0_舌股右_舌5;
public ShapePart X0Y0_舌股右_舌6;
public ColorD 1CD;
public ColorD 2CD;
public ColorD 3CD;
public ColorD 4CD;
public ColorD 5CD;
public ColorD _舌1CD;
public ColorD _舌2CD;
public ColorD _舌3CD;
public ColorD _舌4CD;
public ColorD _舌5CD;
public ColorD _舌6CD;
public ColorD _舌1CD;
public ColorD _舌2CD;
public ColorD _舌3CD;
public ColorD _舌4CD;
public ColorD _舌5CD;
public ColorD _舌6CD;
public ColorP X0Y0_舌1CP;
public ColorP X0Y0_舌2CP;
public ColorP X0Y0_舌3CP;
public ColorP X0Y0_舌4CP;
public ColorP X0Y0_舌5CP;
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_舌股右_舌1CP;
public ColorP X0Y0_舌股右_舌2CP;
public ColorP X0Y0_舌股右_舌3CP;
public ColorP X0Y0_舌股右_舌4CP;
public ColorP X0Y0_舌股右_舌5CP;
public ColorP X0Y0_舌股右_舌6CP;
public ShapePart[] Pars;
private Vector2D[] mm;
public override bool
{
get
{
return _;
}
set
{
_ = value;
}
}
public override bool
{
get
{
return _;
}
set
{
_ = value;
}
}
public override bool
{
get
{
return _;
}
set
{
_ = 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 _舌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 _舌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
{
get
{
return _舌1_表示;
}
set
{
_舌1_表示 = value;
_舌2_表示 = value;
_舌3_表示 = value;
_舌4_表示 = value;
_舌5_表示 = value;
_舌6_表示 = value;
_舌1_表示 = value;
_舌2_表示 = value;
_舌3_表示 = value;
_舌4_表示 = value;
_舌5_表示 = value;
_舌6_表示 = value;
}
}
public override bool
{
get
{
return 1_;
}
set
{
1_ = value;
2_ = value;
3_ = value;
4_ = value;
5_ = value;
_舌1_表示 = value;
_舌2_表示 = value;
_舌3_表示 = value;
_舌4_表示 = value;
_舌5_表示 = value;
_舌6_表示 = value;
_舌1_表示 = value;
_舌2_表示 = value;
_舌3_表示 = value;
_舌4_表示 = value;
_舌5_表示 = value;
_舌6_表示 = value;
}
}
public override double Intensity
{
get
{
return 1CD.;
}
set
{
1CD. = value;
2CD. = value;
3CD. = value;
4CD. = value;
5CD. = value;
_舌1CD. = value;
_舌2CD. = value;
_舌3CD. = value;
_舌4CD. = value;
_舌5CD. = value;
_舌6CD. = value;
_舌1CD. = value;
_舌2CD. = value;
_舌3CD. = value;
_舌4CD. = value;
_舌5CD. = value;
_舌6CD. = value;
}
}
public _長(double DisUnit, , BodyColorSet , ModeEventDispatcher Med, _長D e)
{
ThisType = GetType();
MorphVariant morphVariant = new MorphVariant();
morphVariant.Tag = "長";
morphVariant.Add(new PartGroup(GlobalState.["舌"][0][1]));
Body = new VariantGrid();
Body.Tag = morphVariant.Tag;
Body.Add(morphVariant);
PartGroup partGroup = Body[0][0];
X0Y0_舌1 = partGroup["舌1"].ToPar();
X0Y0_舌2 = partGroup["舌2"].ToPar();
X0Y0_舌3 = partGroup["舌3"].ToPar();
X0Y0_舌4 = partGroup["舌4"].ToPar();
X0Y0_舌5 = partGroup["舌5"].ToPar();
PartGroup pars2 = partGroup["舌股左"].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();
pars2 = partGroup["舌股右"].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();
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;
1_ = e.1_;
2_ = e.2_;
3_ = e.3_;
4_ = e.4_;
5_ = e.5_;
_舌1_表示 = e._舌1_表示;
_舌2_表示 = e._舌2_表示;
_舌3_表示 = e._舌3_表示;
_舌4_表示 = e._舌4_表示;
_舌5_表示 = e._舌5_表示;
_舌6_表示 = e._舌6_表示;
_舌1_表示 = e._舌1_表示;
_舌2_表示 = e._舌2_表示;
_舌3_表示 = e._舌3_表示;
_舌4_表示 = e._舌4_表示;
_舌5_表示 = e._舌5_表示;
_舌6_表示 = e._舌6_表示;
= e.;
= e.;
= e.;
= e.;
if (!e.)
{
= false;
}
base. = ;
();
Pars = new ShapePart[17]
{
X0Y0_舌1, X0Y0_舌2, X0Y0_舌3, X0Y0_舌4, X0Y0_舌5, X0Y0_舌股左_舌1, X0Y0_舌股左_舌2, X0Y0_舌股左_舌3, X0Y0_舌股左_舌4, X0Y0_舌股左_舌5,
X0Y0_舌股左_舌6, X0Y0_舌股右_舌1, X0Y0_舌股右_舌2, X0Y0_舌股右_舌3, X0Y0_舌股右_舌4, X0Y0_舌股右_舌5, X0Y0_舌股右_舌6
};
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_舌股左_舌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_舌股右_舌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);
Intensity = e.;
}
public override void ()
{
Pars.GetMiY_MaY(out mm);
X0Y0_舌1CP.Update(mm);
X0Y0_舌2CP.Update(mm);
X0Y0_舌3CP.Update(mm);
X0Y0_舌4CP.Update(mm);
X0Y0_舌5CP.Update(mm);
X0Y0_舌股左_舌1CP.Update(mm);
X0Y0_舌股左_舌2CP.Update(mm);
X0Y0_舌股左_舌3CP.Update(mm);
X0Y0_舌股左_舌4CP.Update(mm);
X0Y0_舌股左_舌5CP.Update(mm);
X0Y0_舌股左_舌6CP.Update(mm);
X0Y0_舌股右_舌1CP.Update(mm);
X0Y0_舌股右_舌2CP.Update(mm);
X0Y0_舌股右_舌3CP.Update(mm);
X0Y0_舌股右_舌4CP.Update(mm);
X0Y0_舌股右_舌5CP.Update(mm);
X0Y0_舌股右_舌6CP.Update(mm);
}
private void (BodyColorSet )
{
N0();
}
private void N0(BodyColorSet )
{
1CD = new ColorD(ref ., ref .);
2CD = new ColorD(ref ., ref .);
3CD = new ColorD(ref ., ref .);
4CD = new ColorD(ref ., ref .);
5CD = new ColorD(ref ., ref .);
_舌1CD = new ColorD(ref ., ref .);
_舌2CD = new ColorD(ref ., ref .);
_舌3CD = new ColorD(ref ., ref .);
_舌4CD = new ColorD(ref ., ref .);
_舌5CD = new ColorD(ref ., ref .);
_舌6CD = new ColorD(ref ., ref .);
_舌1CD = new ColorD(ref ., ref .);
_舌2CD = new ColorD(ref ., ref .);
_舌3CD = new ColorD(ref ., ref .);
_舌4CD = new ColorD(ref ., ref .);
_舌5CD = new ColorD(ref ., ref .);
_舌6CD = new ColorD(ref ., ref .);
}
}
}