Пример #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;
     }
 }
Пример #3
0
 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)
 {
 }