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