public abstract class WaitTimeForShipArrival
extends ch.sahits.game.openpatrician.event.handler.ShipArivalInPortEventListener
| Modifier and Type | Field and Description |
|---|---|
private ch.sahits.game.openpatrician.model.Date |
date |
private java.time.LocalDateTime |
deadline |
| Constructor and Description |
|---|
WaitTimeForShipArrival(ch.sahits.game.openpatrician.model.city.ICity city,
ch.sahits.game.openpatrician.model.IPlayer player,
java.time.LocalDateTime deadline) |
| Modifier and Type | Method and Description |
|---|---|
ch.sahits.game.openpatrician.model.Date |
getDate() |
void |
handleShipEntersPort(ch.sahits.game.openpatrician.event.data.ShipEntersPortEvent event) |
private final java.time.LocalDateTime deadline
@Autowired private ch.sahits.game.openpatrician.model.Date date
public WaitTimeForShipArrival(ch.sahits.game.openpatrician.model.city.ICity city,
ch.sahits.game.openpatrician.model.IPlayer player,
java.time.LocalDateTime deadline)
public ch.sahits.game.openpatrician.model.Date getDate()
public void handleShipEntersPort(ch.sahits.game.openpatrician.event.data.ShipEntersPortEvent event)
handleShipEntersPort in class ch.sahits.game.openpatrician.event.handler.ShipArivalInPortEventListenerCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.