public class WorldObjectEvent<T extends IWorldObject> extends Object implements IWorldObjectEvent<T>
| Constructor and Description |
|---|
WorldObjectEvent(T object,
long simTime) |
| Modifier and Type | Method and Description |
|---|---|
WorldObjectId |
getId()
Id of the object where the event has occurred.
|
T |
getObject()
Instance of the object.
|
long |
getSimTime()
Returns the simulation time when the event has occurred.
|
String |
toString() |
public WorldObjectEvent(T object, long simTime)
public WorldObjectId getId()
IWorldObjectEventgetId in interface IWorldObjectEvent<T extends IWorldObject>public T getObject()
IWorldObjectEventgetObject in interface IWorldObjectEvent<T extends IWorldObject>public long getSimTime()
IWorldEventgetSimTime in interface IWorldEventCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.