public abstract class WaitTimeForShipArrivalInCity
extends ch.sahits.game.openpatrician.event.handler.ShipEntersPortEventListener
| Constructor | Description |
|---|---|
WaitTimeForShipArrivalInCity(ch.sahits.game.openpatrician.model.city.ICity city,
ch.sahits.game.openpatrician.model.ship.INavigableVessel ship,
java.time.LocalDateTime deadline) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
destroy() |
Action that is taken when the time has run out.
|
void |
handleShipEntersPort(ch.sahits.game.openpatrician.event.data.ShipEntersPortEvent event) |
Base implementation for the ship arival in a city before a deadline is passed.
|
public WaitTimeForShipArrivalInCity(ch.sahits.game.openpatrician.model.city.ICity city,
ch.sahits.game.openpatrician.model.ship.INavigableVessel ship,
java.time.LocalDateTime deadline)
public void handleShipEntersPort(ch.sahits.game.openpatrician.event.data.ShipEntersPortEvent event)
handleShipEntersPort in class ch.sahits.game.openpatrician.event.handler.ShipEntersPortEventListenerevent - of ship entering portpublic void destroy()
Copyright © 2011-2018 Sahits GmbH. All Rights Reserved.