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