public class KontorTypeCityRepairStrategy extends BaseRepairStrategy
| Constructor | Description |
|---|---|
KontorTypeCityRepairStrategy() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
shouldRepair(ch.sahits.game.openpatrician.model.ship.INavigableVessel vessel,
ch.sahits.game.openpatrician.model.city.ICity city) |
Unless the damage is quite heavy repares are only conducted in cities of type Kontor.
|
repairpublic boolean shouldRepair(ch.sahits.game.openpatrician.model.ship.INavigableVessel vessel,
ch.sahits.game.openpatrician.model.city.ICity city)
vessel - that should be checked for repair need.city - current possition of the vessel.Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.