|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.base.communication.worldview.object.event.WorldObjectEvent<T>
public class WorldObjectEvent<T extends IWorldObject>
Default world object event implementation wrapping some object inside the event.
Constructor Summary | |
---|---|
WorldObjectEvent(T object,
long simTime)
|
Method Summary | |
---|---|
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. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WorldObjectEvent(T object, long simTime)
Method Detail |
---|
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
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |