public class UnloadOnArival
extends ch.sahits.game.openpatrician.event.handler.ShipEntersPortEventListener
| Modifier and Type | Field and Description |
|---|---|
private int |
amountLoaded |
| Constructor and Description |
|---|
UnloadOnArival(ch.sahits.game.openpatrician.model.ship.IShip ship,
ch.sahits.game.openpatrician.model.city.ICity city,
int loaded) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
execute(ch.sahits.game.openpatrician.model.city.ICity city) |
private void |
initializeEventBus() |
private void |
unregisterEventBus() |
public UnloadOnArival(ch.sahits.game.openpatrician.model.ship.IShip ship,
ch.sahits.game.openpatrician.model.city.ICity city,
int loaded)
@PostConstruct private void initializeEventBus()
@PreDestroy private void unregisterEventBus()
public boolean execute(ch.sahits.game.openpatrician.model.city.ICity city)
execute in class ch.sahits.game.openpatrician.event.handler.ShipEntersPortEventListenerCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.