Beispiel #1
0
 public SwinTank(string name, ItemPosition position)
     : base(name, position, ARMOUR, ENERGY, HEALTH, SPEED)
 {
     this.SwimSpeed = SWIM_SPEED;
     this.IsSwimming = false;
     this.OxigenLevel = MAX_OXIGEN;
     //TODO: Initialize guns
 }
Beispiel #2
0
        public StealthTank(string name, ItemPosition position)
            : base(name, position, ARMOUR, ENERGY, HEALTH, SPEED)
        {
            this.IsInvisible = false;
            this.InvisibilityDuration = INVISIBILITY_DURATION;
            this.Energy = InitialEnergy;
            //TODO: Initialize guns

        }
Beispiel #3
0
 public Tank (string name, ItemPosition position, int armour, int energy, int health, int speed)
     : base(name, position)
 {
     this.Mode = TankModeEnum.Attack;
     this.InitialEnergy = energy;
     this.Armour = armour;
     this.Energy = this.InitialEnergy;
     this.Health = health;
     this.Speed = speed;
 }
Beispiel #4
0
 public Machine(string name, ItemPosition position)
 {
     this.Name = name;
     this.position = position;
 }
Beispiel #5
0
        public HeavyDutyTank(string name, ItemPosition position)
            : base(name, position, ARMOUR, ENERGY, HEALTH, SPEED)
        {

            //TODO: Initialize guns
        }