Files
SlaveMatrix-SDL/SlaveMatrix/SlaveMatrix/BodyPartClasses/単足_植.cs
2026-06-13 21:27:52 +02:00

1435 lines
42 KiB
C#

using System.Collections.Generic;
using System.Linq;
using _2DGAMELIB;
namespace SlaveMatrix
{
public class _植 :
{
public ShapePart X0Y0_幹上;
public ShapePart X0Y0_幹下;
public ShapePart X0Y0_葉左;
public ShapePart X0Y0_葉右;
public ShapePart X0Y0_脈上1;
public ShapePart X0Y0_脈上2;
public ShapePart X0Y0_脈下1;
public ShapePart X0Y0_脈下2;
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_虫食_左_虫食7;
public ShapePart X0Y0_虫食_左_虫食8;
public ShapePart X0Y0_虫食_左_虫食9;
public ShapePart X0Y0_虫食_左_虫食10;
public ShapePart X0Y0_虫食_左_虫食11;
public ShapePart X0Y0_虫食_左_虫食12;
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_虫食_右_虫食7;
public ShapePart X0Y0_虫食_右_虫食8;
public ShapePart X0Y0_虫食_右_虫食9;
public ShapePart X0Y0_虫食_右_虫食10;
public ShapePart X0Y0_虫食_右_虫食11;
public ShapePart X0Y0_虫食_右_虫食12;
public ShapePart X0Y0_脚輪_革;
public ShapePart X0Y0_脚輪_金具1;
public ShapePart X0Y0_脚輪_金具2;
public ShapePart X0Y0_脚輪_金具3;
public ShapePart X0Y0_脚輪_金具左;
public ShapePart X0Y0_脚輪_金具右;
public ColorD CD;
public ColorD CD;
public ColorD CD;
public ColorD CD;
public ColorD 1CD;
public ColorD 2CD;
public ColorD 1CD;
public ColorD 2CD;
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 _右_虫食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 _革CD;
public ColorD _金具1CD;
public ColorD _金具2CD;
public ColorD _金具3CD;
public ColorD _金具左CD;
public ColorD _金具右CD;
public ColorP X0Y0_幹上CP;
public ColorP X0Y0_幹下CP;
public ColorP X0Y0_葉左CP;
public ColorP X0Y0_葉右CP;
public ColorP X0Y0_脈上1CP;
public ColorP X0Y0_脈上2CP;
public ColorP X0Y0_脈下1CP;
public ColorP X0Y0_脈下2CP;
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_虫食_右_虫食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_脚輪_革CP;
public ColorP X0Y0_脚輪_金具1CP;
public ColorP X0Y0_脚輪_金具2CP;
public ColorP X0Y0_脚輪_金具3CP;
public ColorP X0Y0_脚輪_金具左CP;
public ColorP X0Y0_脚輪_金具右CP;
public 1;
public 2;
public Ele[] _接続;
public Ele[] _接続;
public Ele[] _接続;
public Ele[] _接続;
public Ele[] _接続;
public override bool
{
get
{
return _;
}
set
{
_ = value;
}
}
public override bool
{
get
{
return _;
}
set
{
_ = value;
}
}
public override bool
{
get
{
return _;
}
set
{
_ = value;
= 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 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 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 _左_虫食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 _右_虫食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 _革_表示
{
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;
2. = value;
}
}
public override bool
{
get
{
return _表示;
}
set
{
_表示 = value;
_表示 = value;
_表示 = value;
_表示 = value;
1_ = value;
2_ = value;
1_ = value;
2_ = 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;
_右_虫食1_表示 = value;
_右_虫食2_表示 = value;
_右_虫食3_表示 = value;
_右_虫食4_表示 = value;
_右_虫食5_表示 = value;
_右_虫食6_表示 = value;
_右_虫食7_表示 = value;
_右_虫食8_表示 = value;
_右_虫食9_表示 = value;
_右_虫食10_表示 = value;
_右_虫食11_表示 = value;
_右_虫食12_表示 = value;
_革_表示 = value;
_金具1_表示 = value;
_金具2_表示 = value;
_金具3_表示 = value;
_金具左_表示 = value;
_金具右_表示 = value;
1. = value;
2. = value;
}
}
public override double Intensity
{
get
{
return CD.;
}
set
{
CD. = value;
CD. = value;
CD. = value;
CD. = value;
1CD. = value;
2CD. = value;
1CD. = value;
2CD. = 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;
_右_虫食1CD. = value;
_右_虫食2CD. = value;
_右_虫食3CD. = value;
_右_虫食4CD. = value;
_右_虫食5CD. = value;
_右_虫食6CD. = value;
_右_虫食7CD. = value;
_右_虫食8CD. = value;
_右_虫食9CD. = value;
_右_虫食10CD. = value;
_右_虫食11CD. = value;
_右_虫食12CD. = value;
_革CD. = value;
_金具1CD. = value;
_金具2CD. = value;
_金具3CD. = value;
_金具左CD. = value;
_金具右CD. = value;
}
}
public JointS _接続点 => new JointS(Body, X0Y0_幹下, 0);
public JointS _接続点 => new JointS(Body, X0Y0_幹下, 1);
public JointS _接続点 => new JointS(Body, X0Y0_幹下, 2);
public JointS _接続点 => new JointS(Body, X0Y0_幹下, 3);
public JointS _接続点 => new JointS(Body, X0Y0_幹下, 4);
public JointS 1_ => new JointS(Body, X0Y0_脚輪_金具左, 0);
public JointS 2_ => new JointS(Body, X0Y0_脚輪_金具右, 0);
public _植(double DisUnit, , BodyColorSet , ModeEventDispatcher Med, _植D e)
{
_植 _植2 = this;
ThisType = GetType();
MorphVariant morphVariant = new MorphVariant();
morphVariant.Tag = "植";
morphVariant.Add(new PartGroup(Sta.["単足"][0][0]));
Body = new VariantGrid();
Body.Tag = morphVariant.Tag;
Body.Add(morphVariant);
PartGroup partGroup = Body[0][0];
X0Y0_幹上 = partGroup["幹上"].ToPar();
X0Y0_幹下 = partGroup["幹下"].ToPar();
X0Y0_葉左 = partGroup["葉左"].ToPar();
X0Y0_葉右 = partGroup["葉右"].ToPar();
X0Y0_脈上1 = partGroup["脈上1"].ToPar();
X0Y0_脈上2 = partGroup["脈上2"].ToPar();
X0Y0_脈下1 = partGroup["脈下1"].ToPar();
X0Y0_脈下2 = partGroup["脈下2"].ToPar();
PartGroup pars2 = partGroup["虫食"].ToPars();
PartGroup pars3 = pars2["左"].ToPars();
X0Y0_虫食_左_虫食1 = pars3["虫食1"].ToPar();
X0Y0_虫食_左_虫食2 = pars3["虫食2"].ToPar();
X0Y0_虫食_左_虫食3 = pars3["虫食3"].ToPar();
X0Y0_虫食_左_虫食4 = pars3["虫食4"].ToPar();
X0Y0_虫食_左_虫食5 = pars3["虫食5"].ToPar();
X0Y0_虫食_左_虫食6 = pars3["虫食6"].ToPar();
X0Y0_虫食_左_虫食7 = pars3["虫食7"].ToPar();
X0Y0_虫食_左_虫食8 = pars3["虫食8"].ToPar();
X0Y0_虫食_左_虫食9 = pars3["虫食9"].ToPar();
X0Y0_虫食_左_虫食10 = pars3["虫食10"].ToPar();
X0Y0_虫食_左_虫食11 = pars3["虫食11"].ToPar();
X0Y0_虫食_左_虫食12 = pars3["虫食12"].ToPar();
pars3 = pars2["右"].ToPars();
X0Y0_虫食_右_虫食1 = pars3["虫食1"].ToPar();
X0Y0_虫食_右_虫食2 = pars3["虫食2"].ToPar();
X0Y0_虫食_右_虫食3 = pars3["虫食3"].ToPar();
X0Y0_虫食_右_虫食4 = pars3["虫食4"].ToPar();
X0Y0_虫食_右_虫食5 = pars3["虫食5"].ToPar();
X0Y0_虫食_右_虫食6 = pars3["虫食6"].ToPar();
X0Y0_虫食_右_虫食7 = pars3["虫食7"].ToPar();
X0Y0_虫食_右_虫食8 = pars3["虫食8"].ToPar();
X0Y0_虫食_右_虫食9 = pars3["虫食9"].ToPar();
X0Y0_虫食_右_虫食10 = pars3["虫食10"].ToPar();
X0Y0_虫食_右_虫食11 = pars3["虫食11"].ToPar();
X0Y0_虫食_右_虫食12 = pars3["虫食12"].ToPar();
pars2 = partGroup["脚輪"].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();
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._表示;
_表示 = e._表示;
_表示 = e._表示;
_表示 = e._表示;
1_ = e.1_;
2_ = e.2_;
1_ = e.1_;
2_ = e.2_;
_左_虫食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_表示;
_右_虫食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_表示;
_革_表示 = e._革_表示;
_金具1_表示 = e._金具1_表示;
_金具2_表示 = e._金具2_表示;
_金具3_表示 = e._金具3_表示;
_金具左_表示 = 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 = _植2;
f.ConnectionType = ConnectionInfo._植_根外左_接続;
f.(_植2._接続点);
return f;
}).ToArray();
}
if (e._接続.Count > 0)
{
_接続 = e._接続.Select(delegate(EleD g)
{
f = g.GetEle(DisUnit, Med, );
f.Par = _植2;
f.ConnectionType = ConnectionInfo._植_根内左_接続;
f.(_植2._接続点);
return f;
}).ToArray();
}
if (e._接続.Count > 0)
{
_接続 = e._接続.Select(delegate(EleD g)
{
f = g.GetEle(DisUnit, Med, );
f.Par = _植2;
f.ConnectionType = ConnectionInfo._植_根中央_接続;
f.(_植2._接続点);
return f;
}).ToArray();
}
if (e._接続.Count > 0)
{
_接続 = e._接続.Select(delegate(EleD g)
{
f = g.GetEle(DisUnit, Med, );
f.Par = _植2;
f.ConnectionType = ConnectionInfo._植_根内右_接続;
f.(_植2._接続点);
return f;
}).ToArray();
}
if (e._接続.Count > 0)
{
_接続 = e._接続.Select(delegate(EleD g)
{
f = g.GetEle(DisUnit, Med, );
f.Par = _植2;
f.ConnectionType = ConnectionInfo._植_根外右_接続;
f.(_植2._接続点);
return f;
}).ToArray();
}
base. = ;
();
X0Y0_幹上CP = new ColorP(X0Y0_幹上, CD, DisUnit, abj: true);
X0Y0_幹下CP = new ColorP(X0Y0_幹下, CD, DisUnit, abj: true);
X0Y0_葉左CP = new ColorP(X0Y0_葉左, CD, 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_脈下1CP = new ColorP(X0Y0_脈下1, 1CD, DisUnit, abj: true);
X0Y0_脈下2CP = new ColorP(X0Y0_脈下2, 2CD, 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_虫食_右_虫食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_脚輪_革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, , , , Xasix);
2 = new (DisUnit, !, , , Xasix);
1.(1_);
2.(2_);
int num = ( ? (-10) : 10);
1.B -= num;
2.B += num;
= e.;
}
public override void Dispose()
{
base.Dispose();
1.Dispose();
2.Dispose();
}
public override void SetAngle0()
{
_ = ;
X0Y0_幹下.AngleBase = 10.0.GetRanAngle();
Body.JoinPAall();
}
public override void 0(RenderArea Are)
{
Body.Draw(Are);
1.0(Are);
2.0(Are);
}
public override bool Is革(ShapePart p)
{
if (p != X0Y0_脚輪_革 && p != X0Y0_脚輪_金具1 && p != X0Y0_脚輪_金具2 && p != X0Y0_脚輪_金具3 && p != X0Y0_脚輪_金具左)
{
return p == X0Y0_脚輪_金具右;
}
return true;
}
public override void ()
{
X0Y0_幹上CP.Update();
X0Y0_幹下CP.Update();
X0Y0_葉左CP.Update();
X0Y0_葉右CP.Update();
X0Y0_脈上1CP.Update();
X0Y0_脈上2CP.Update();
X0Y0_脈下1CP.Update();
X0Y0_脈下2CP.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_虫食_右_虫食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_脚輪_革CP.Update();
X0Y0_脚輪_金具1CP.Update();
X0Y0_脚輪_金具2CP.Update();
X0Y0_脚輪_金具3CP.Update();
X0Y0_脚輪_金具左CP.Update();
X0Y0_脚輪_金具右CP.Update();
1.P();
2.P();
1.();
2.();
}
private void (BodyColorSet )
{
switch ()
{
case .N0:
N0();
break;
case .T1:
T1();
break;
case .T0:
T0();
break;
default:
N0();
break;
}
}
private void N0(BodyColorSet )
{
CD = new ColorD(ref Col.Black, ref .0O);
CD = new ColorD(ref Col.Black, ref .0O);
CD = new ColorD(ref Col.Black, ref .1O);
CD = new ColorD(ref Col.Black, ref .1O);
1CD = new ColorD(ref Col.Black, ref .1O);
2CD = new ColorD(ref Col.Black, ref .1O);
1CD = new ColorD(ref Col.Black, ref .1O);
2CD = new ColorD(ref Col.Black, ref .1O);
_左_虫食1CD = new ColorD(ref Col.Black, ref .1R);
_左_虫食2CD = new ColorD(ref Col.Black, ref .1R);
_左_虫食3CD = new ColorD(ref Col.Black, ref .1R);
_左_虫食4CD = new ColorD(ref Col.Black, ref .1R);
_左_虫食5CD = new ColorD(ref Col.Black, ref .1R);
_左_虫食6CD = new ColorD(ref Col.Black, ref .1R);
_左_虫食7CD = new ColorD(ref Col.Black, ref .1R);
_左_虫食8CD = new ColorD(ref Col.Black, ref .1R);
_左_虫食9CD = new ColorD(ref Col.Black, ref .1R);
_左_虫食10CD = new ColorD(ref Col.Black, ref .1R);
_左_虫食11CD = new ColorD(ref Col.Black, ref .1R);
_左_虫食12CD = new ColorD(ref Col.Black, ref .1R);
_右_虫食1CD = new ColorD(ref Col.Black, ref .1R);
_右_虫食2CD = new ColorD(ref Col.Black, ref .1R);
_右_虫食3CD = new ColorD(ref Col.Black, ref .1R);
_右_虫食4CD = new ColorD(ref Col.Black, ref .1R);
_右_虫食5CD = new ColorD(ref Col.Black, ref .1R);
_右_虫食6CD = new ColorD(ref Col.Black, ref .1R);
_右_虫食7CD = new ColorD(ref Col.Black, ref .1R);
_右_虫食8CD = new ColorD(ref Col.Black, ref .1R);
_右_虫食9CD = new ColorD(ref Col.Black, ref .1R);
_右_虫食10CD = new ColorD(ref Col.Black, ref .1R);
_右_虫食11CD = new ColorD(ref Col.Black, ref .1R);
_右_虫食12CD = new ColorD(ref Col.Black, ref .1R);
_革CD = new ColorD();
_金具1CD = new ColorD();
_金具2CD = new ColorD();
_金具3CD = new ColorD();
_金具左CD = new ColorD();
_金具右CD = new ColorD();
}
private void T1(BodyColorSet )
{
CD = new ColorD(ref Col.Black, ref .0O);
CD = new ColorD(ref Col.Black, ref .O);
CD = new ColorD(ref Col.Black, ref .1O);
CD = new ColorD(ref Col.Black, ref .1O);
1CD = new ColorD(ref Col.Black, ref .1O);
2CD = new ColorD(ref Col.Black, ref .1O);
1CD = new ColorD(ref Col.Black, ref .1O);
2CD = new ColorD(ref Col.Black, ref .1O);
_左_虫食1CD = new ColorD(ref Col.Black, ref .R);
_左_虫食2CD = new ColorD(ref Col.Black, ref .R);
_左_虫食3CD = new ColorD(ref Col.Black, ref .R);
_左_虫食4CD = new ColorD(ref Col.Black, ref .R);
_左_虫食5CD = new ColorD(ref Col.Black, ref .R);
_左_虫食6CD = new ColorD(ref Col.Black, ref .R);
_左_虫食7CD = new ColorD(ref Col.Black, ref .R);
_左_虫食8CD = new ColorD(ref Col.Black, ref .R);
_左_虫食9CD = new ColorD(ref Col.Black, ref .R);
_左_虫食10CD = new ColorD(ref Col.Black, ref .R);
_左_虫食11CD = new ColorD(ref Col.Black, ref .R);
_左_虫食12CD = new ColorD(ref Col.Black, ref .R);
_右_虫食1CD = new ColorD(ref Col.Black, ref .R);
_右_虫食2CD = new ColorD(ref Col.Black, ref .R);
_右_虫食3CD = new ColorD(ref Col.Black, ref .R);
_右_虫食4CD = new ColorD(ref Col.Black, ref .R);
_右_虫食5CD = new ColorD(ref Col.Black, ref .R);
_右_虫食6CD = new ColorD(ref Col.Black, ref .R);
_右_虫食7CD = new ColorD(ref Col.Black, ref .R);
_右_虫食8CD = new ColorD(ref Col.Black, ref .R);
_右_虫食9CD = new ColorD(ref Col.Black, ref .R);
_右_虫食10CD = new ColorD(ref Col.Black, ref .R);
_右_虫食11CD = new ColorD(ref Col.Black, ref .R);
_右_虫食12CD = new ColorD(ref Col.Black, ref .R);
_革CD = new ColorD();
_金具1CD = new ColorD();
_金具2CD = new ColorD();
_金具3CD = new ColorD();
_金具左CD = new ColorD();
_金具右CD = new ColorD();
}
private void T0(BodyColorSet )
{
CD = new ColorD(ref Col.Black, ref .O);
CD = new ColorD(ref Col.Black, ref .0O);
CD = new ColorD(ref Col.Black, ref .O);
CD = new ColorD(ref Col.Black, ref .O);
1CD = new ColorD(ref Col.Black, ref .1O);
2CD = new ColorD(ref Col.Black, ref .1O);
1CD = new ColorD(ref Col.Black, ref .1O);
2CD = new ColorD(ref Col.Black, ref .1O);
_左_虫食1CD = new ColorD(ref Col.Black, ref .R);
_左_虫食2CD = new ColorD(ref Col.Black, ref .R);
_左_虫食3CD = new ColorD(ref Col.Black, ref .R);
_左_虫食4CD = new ColorD(ref Col.Black, ref .R);
_左_虫食5CD = new ColorD(ref Col.Black, ref .R);
_左_虫食6CD = new ColorD(ref Col.Black, ref .R);
_左_虫食7CD = new ColorD(ref Col.Black, ref .R);
_左_虫食8CD = new ColorD(ref Col.Black, ref .R);
_左_虫食9CD = new ColorD(ref Col.Black, ref .R);
_左_虫食10CD = new ColorD(ref Col.Black, ref .R);
_左_虫食11CD = new ColorD(ref Col.Black, ref .R);
_左_虫食12CD = new ColorD(ref Col.Black, ref .R);
_右_虫食1CD = new ColorD(ref Col.Black, ref .R);
_右_虫食2CD = new ColorD(ref Col.Black, ref .R);
_右_虫食3CD = new ColorD(ref Col.Black, ref .R);
_右_虫食4CD = new ColorD(ref Col.Black, ref .R);
_右_虫食5CD = new ColorD(ref Col.Black, ref .R);
_右_虫食6CD = new ColorD(ref Col.Black, ref .R);
_右_虫食7CD = new ColorD(ref Col.Black, ref .R);
_右_虫食8CD = new ColorD(ref Col.Black, ref .R);
_右_虫食9CD = new ColorD(ref Col.Black, ref .R);
_右_虫食10CD = new ColorD(ref Col.Black, ref .R);
_右_虫食11CD = new ColorD(ref Col.Black, ref .R);
_右_虫食12CD = new ColorD(ref Col.Black, ref .R);
_革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.();
2.();
}
public override IEnumerable<Ele> EnumEle()
{
yield return this;
if (_接続 != null)
{
foreach (Ele item in _接続.Select((Ele e) => e.EnumEle()).JoinEnum())
{
yield return item;
}
}
if (_接続 != null)
{
foreach (Ele item2 in _接続.Select((Ele e) => e.EnumEle()).JoinEnum())
{
yield return item2;
}
}
if (_接続 != null)
{
foreach (Ele item3 in _接続.Select((Ele e) => e.EnumEle()).JoinEnum())
{
yield return item3;
}
}
if (_接続 != null)
{
foreach (Ele item4 in _接続.Select((Ele e) => e.EnumEle()).JoinEnum())
{
yield return item4;
}
}
if (_接続 == null)
{
yield break;
}
foreach (Ele item5 in _接続.Select((Ele e) => e.EnumEle()).JoinEnum())
{
yield return item5;
}
}
}
}