Class ShipArrivalForLoading
- java.lang.Object
-
- ch.sahits.game.openpatrician.event.handler.ShipArivalInPortEventListener
-
- ch.sahits.game.openpatrician.display.event.handler.impl.WaitTimeForShipArrival
-
- ch.sahits.game.openpatrician.display.event.handler.impl.ShipArrivalForLoading
-
public class ShipArrivalForLoading extends WaitTimeForShipArrival
Event handler for a ship arrival for loading of wares for someone else.- Author:
- Andi Hotz, (c) Sahits GmbH, 2014 Created on Feb 16, 2014
-
-
Constructor Summary
Constructors Constructor Description ShipArrivalForLoading(ch.sahits.game.openpatrician.model.city.ICity city, ch.sahits.game.openpatrician.model.IPlayer player, java.time.LocalDateTime deadline, int requiredAmount, int premium)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanexecute()voidhandleShipEntersPort(ch.sahits.game.openpatrician.event.data.ShipEntersPortEvent event)-
Methods inherited from class ch.sahits.game.openpatrician.display.event.handler.impl.WaitTimeForShipArrival
getDate
-
-
-
-
Method Detail
-
execute
public boolean execute()
- Specified by:
executein classch.sahits.game.openpatrician.event.handler.ShipArivalInPortEventListener
-
handleShipEntersPort
public void handleShipEntersPort(ch.sahits.game.openpatrician.event.data.ShipEntersPortEvent event)
- Overrides:
handleShipEntersPortin classWaitTimeForShipArrival
-
-