Class EightyPercentRepairStrategy
- java.lang.Object
-
- ch.sahits.game.openpatrician.engine.player.strategy.BaseRepairStrategy
-
- ch.sahits.game.openpatrician.engine.player.strategy.EightyPercentRepairStrategy
-
- All Implemented Interfaces:
ch.sahits.game.openpatrician.model.player.IAIShipRepairStrategy
public class EightyPercentRepairStrategy extends BaseRepairStrategy
Repair strategy for going to repair when ship health drops below 80%.
-
-
Constructor Summary
Constructors Constructor Description EightyPercentRepairStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanshouldRepair(ch.sahits.game.openpatrician.model.ship.INavigableVessel vessel, ch.sahits.game.openpatrician.model.city.ICity city)-
Methods inherited from class ch.sahits.game.openpatrician.engine.player.strategy.BaseRepairStrategy
repair
-
-