public final class ShipLeftPort
extends java.lang.Object
ShipLeftSector| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getClassName()
Gets the event class name.
|
int |
getSector()
Gets the sector where the ship left the port.
|
Ship |
getShip()
Gets the ship that left.
|
Trader |
getTrader()
Gets the trader that left.
|
boolean |
isEventClass(java.lang.Class eventClass)
Indicates if this event matches a given event class.
|
boolean |
isUserDefined()
Indicates if this event is user defined or not.
|
boolean |
leftStarDock()
Indicates if the ship left the StarDock or not.
|
public Trader getTrader()
public Ship getShip()
null if not known.public int getSector()
public boolean leftStarDock()
true if the ship left StarDock,
otherwise false.public final boolean isEventClass(java.lang.Class eventClass)
EventIfcisEventClass in interface EventIfceventClass - The event class.true if this event is of the same class,
otherwise false.public final boolean isUserDefined()
EventIfcisUserDefined in interface EventIfctrue if user defined, otherwise false.public final java.lang.String getClassName()
EventIfcgetClassName in interface EventIfc