public RepairShip(Coords coords, int speed, int hitPoints, int actionRange, int repairAmount) : base(coords, speed, hitPoints)
 {
     ActionRange  = actionRange;
     RepairAmount = repairAmount;
 }
 public Ship(Coords coords, int speed, int hitPoints)
 {
     Coords    = coords;
     Speed     = speed;
     hitPoints = HitPoints;
 }
Exemple #3
0
 public WarShip(Coords coords, int speed, int hitPoints, int actionRange, int shotDamage) : base(coords, speed, hitPoints)
 {
     ActionRange = actionRange;
     ShotDamage  = shotDamage;
 }