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()
IWorldObjectEvent
getId
in interface IWorldObjectEvent<T extends IWorldObject>
public T getObject()
IWorldObjectEvent
getObject
in interface IWorldObjectEvent<T extends IWorldObject>
public long getSimTime()
IWorldEvent
getSimTime
in interface IWorldEvent
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.