public abstract class BaseRepairStrategy extends Object implements ch.sahits.game.openpatrician.model.player.IAIShipRepairStrategy
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.eventbus.AsyncEventBus |
clientServerEventBus |
private org.apache.logging.log4j.Logger |
logger |
private ShipyardEngine |
shipyardEngine |
| Constructor and Description |
|---|
BaseRepairStrategy() |
| Modifier and Type | Method and Description |
|---|---|
(package private) List<ch.sahits.game.openpatrician.model.ship.IShip> |
dissolveConvoy(ch.sahits.game.openpatrician.model.ship.IConvoy convoy,
ch.sahits.game.openpatrician.model.city.ICity city)
Dissolve the convoy and return the list of ships of the owner.
|
void |
repair(ch.sahits.game.openpatrician.model.ship.INavigableVessel vessel,
ch.sahits.game.openpatrician.model.city.ICity city) |
private final org.apache.logging.log4j.Logger logger
@Autowired private ShipyardEngine shipyardEngine
@Autowired @Qualifier(value="serverClientEventBus") private com.google.common.eventbus.AsyncEventBus clientServerEventBus
public void repair(ch.sahits.game.openpatrician.model.ship.INavigableVessel vessel,
ch.sahits.game.openpatrician.model.city.ICity city)
repair in interface ch.sahits.game.openpatrician.model.player.IAIShipRepairStrategyList<ch.sahits.game.openpatrician.model.ship.IShip> dissolveConvoy(ch.sahits.game.openpatrician.model.ship.IConvoy convoy, ch.sahits.game.openpatrician.model.city.ICity city)
convoy - to be disolvedcity - where the convoy is disolvedCopyright © 2011-2017 Sahits GmbH. All Rights Reserved.