public class OnlyTradingOfficeRepairStrategy extends BaseRepairStrategy
| Constructor and Description |
|---|
OnlyTradingOfficeRepairStrategy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldRepair(ch.sahits.game.openpatrician.model.ship.INavigableVessel vessel,
ch.sahits.game.openpatrician.model.city.ICity city)
Unless the damage is heave only in towns where hte vessel owner has a
trading office repairs should be conducted.
|
dissolveConvoy, 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-2016 Sahits GmbH. All Rights Reserved.