Beispiel #1
0
 public SpritePartInfo(PartInitSet set) : base(set)
 {
     if (Name != null)
     {
         Textures = new TextureInfo(Name, TextureType.ANIMATION, Dimensions).GetTextures();
     }
 }
Beispiel #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;
 }
Beispiel #4
0
 protected PartInfo(PartInitSet set)
 {
     InternalName = set.InternalName;
     TypeLoader.SetValues(this, set.Nodes);
 }
Beispiel #5
0
 public BotPartInfo(PartInitSet set) : base(set)
 {
 }
Beispiel #6
0
 public CollectablePartInfo(PartInitSet set) : base(set)
 {
 }
Beispiel #7
0
 public HoverPartInfo(PartInitSet set) : base(set)
 {
 }
 public OpenScreenPartInfo(PartInitSet set) : base(set)
 {
 }
Beispiel #9
0
 public PhysicsPartInfo(PartInitSet set) : base(set)
 {
 }
Beispiel #10
0
 public PortalPartInfo(PartInitSet set) : base(set)
 {
 }
Beispiel #11
0
 public MobilePartInfo(PartInitSet set) : base(set)
 {
 }
 public RegenerationPartInfo(PartInitSet set) : base(set)
 {
 }
Beispiel #13
0
 public WeaponPartInfo(PartInitSet set) : base(set)
 {
 }
Beispiel #14
0
 public SpawnPartInfo(PartInitSet set) : base(set)
 {
 }