示例#1
0
 public SpritePartInfo(PartInitSet set) : base(set)
 {
     if (Name != null)
     {
         Textures = new TextureInfo(Name, TextureType.ANIMATION, Dimensions).GetTextures();
     }
 }
示例#2
0
 public HealthPartInfo(PartInitSet set) : base(set)
 {
     if (StartHealth <= 0 || StartHealth > MaxHealth)
     {
         StartHealth = MaxHealth;
     }
 }
 public ParticleForcePartInfo(PartInitSet set) : base(set)
 {
     MaxRangeSquared = MaxRange * MaxRange;
     MinRangeSquared = MinRange * MinRange;
 }
示例#4
0
 protected PartInfo(PartInitSet set)
 {
     InternalName = set.InternalName;
     TypeLoader.SetValues(this, set.Nodes);
 }
示例#5
0
 public BotPartInfo(PartInitSet set) : base(set)
 {
 }
示例#6
0
 public CollectablePartInfo(PartInitSet set) : base(set)
 {
 }
示例#7
0
 public HoverPartInfo(PartInitSet set) : base(set)
 {
 }
示例#8
0
 public OpenScreenPartInfo(PartInitSet set) : base(set)
 {
 }
示例#9
0
 public PhysicsPartInfo(PartInitSet set) : base(set)
 {
 }
示例#10
0
 public PortalPartInfo(PartInitSet set) : base(set)
 {
 }
示例#11
0
 public MobilePartInfo(PartInitSet set) : base(set)
 {
 }
示例#12
0
 public RegenerationPartInfo(PartInitSet set) : base(set)
 {
 }
示例#13
0
 public WeaponPartInfo(PartInitSet set) : base(set)
 {
 }
示例#14
0
 public SpawnPartInfo(PartInitSet set) : base(set)
 {
 }