Class ShipEntersPortEvent
- java.lang.Object
-
- ch.sahits.game.openpatrician.event.data.ShipEntersPortEvent
-
- All Implemented Interfaces:
IShipEntersPortEvent
,IEventMetaDataProvider
public class ShipEntersPortEvent extends java.lang.Object implements IShipEntersPortEvent, IEventMetaDataProvider
Event when a ship enters the port of a city. This event signals that the ship is ready to unload and load wares.- Author:
- Andi Hotz, (c) Sahits GmbH, 2013 Created on Feb 19, 2013
-
-
Field Summary
Fields Modifier and Type Field Description private ICity
city
private java.lang.String
className
private java.lang.String
methodName
private INavigableVessel
ship
-
Constructor Summary
Constructors Constructor Description ShipEntersPortEvent(INavigableVessel ship, ICity city)
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ch.sahits.game.openpatrician.utilities.IEventMetaDataProvider
getClassName, getMethodName
-
Methods inherited from interface ch.sahits.game.openpatrician.model.event.IShipEntersPortEvent
getCity, getShip
-
-
-
-
Field Detail
-
ship
private final INavigableVessel ship
-
city
private final ICity city
-
className
private java.lang.String className
-
methodName
private java.lang.String methodName
-
-
Constructor Detail
-
ShipEntersPortEvent
public ShipEntersPortEvent(INavigableVessel ship, ICity city)
-
-