Class BaseRepairStrategy
- java.lang.Object
-
- ch.sahits.game.openpatrician.engine.player.strategy.BaseRepairStrategy
-
- All Implemented Interfaces:
ch.sahits.game.openpatrician.model.player.IAIShipRepairStrategy
- Direct Known Subclasses:
EightyPercentRepairStrategy,HometownRepairStrategy,KontorTypeCityRepairStrategy,OnlyTradingOfficeRepairStrategy,WestRepairStrategy
public abstract class BaseRepairStrategy extends java.lang.Object implements ch.sahits.game.openpatrician.model.player.IAIShipRepairStrategyBase implementation for the repair strategy. The repairing is the same for all strategies, only the decission when it should happen differs.
-
-
Constructor Summary
Constructors Constructor Description BaseRepairStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrepair(ch.sahits.game.openpatrician.model.ship.INavigableVessel vessel, ch.sahits.game.openpatrician.model.city.ICity city)
-