public class HometownBiggestShipConstructionSelectionStrategy extends BiggestShipConstructionSelectionStrategy
| Modifier and Type | Field and Description |
|---|---|
private org.springframework.context.ApplicationContext |
context |
| Constructor and Description |
|---|
HometownBiggestShipConstructionSelectionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
ch.sahits.game.openpatrician.model.city.ICity |
getBuildLocation(ch.sahits.game.openpatrician.model.IAIPlayer player)
The build location is always the players hometown.
|
void |
initShipConstruction(ch.sahits.game.openpatrician.model.IAIPlayer player,
ch.sahits.game.openpatrician.model.ship.INavigableVessel vessel,
ch.sahits.game.openpatrician.model.ship.EShipType shipType) |
shouldBuildShipTypegetFleetCapacity, selectCollectingVessel, shouldOrderNewConstructionpublic HometownBiggestShipConstructionSelectionStrategy()
public ch.sahits.game.openpatrician.model.city.ICity getBuildLocation(ch.sahits.game.openpatrician.model.IAIPlayer player)
player - public void initShipConstruction(ch.sahits.game.openpatrician.model.IAIPlayer player,
ch.sahits.game.openpatrician.model.ship.INavigableVessel vessel,
ch.sahits.game.openpatrician.model.ship.EShipType shipType)
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.