cz.cuni.amis.pogamut.base.communication.translator.event
Class IWorldObjectUpdatedEvent.DestroyWorldObject
java.lang.Object
cz.cuni.amis.pogamut.base.communication.translator.event.IWorldObjectUpdatedEvent.DestroyWorldObject
- All Implemented Interfaces:
- IWorldChangeEvent, IWorldObjectUpdatedEvent, cz.cuni.amis.utils.listener.Event
- Enclosing interface:
- IWorldObjectUpdatedEvent
public static class IWorldObjectUpdatedEvent.DestroyWorldObject
- extends Object
- implements IWorldObjectUpdatedEvent
Shortcut implementation of IWorldObjectUpdatedEvent
that informs that some object has been destroyed.
- Author:
- Jimmy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IWorldObjectUpdatedEvent.DestroyWorldObject
public IWorldObjectUpdatedEvent.DestroyWorldObject(IWorldObject object,
long simTime)
getId
public WorldObjectId getId()
- Specified by:
getId
in interface IWorldObjectUpdatedEvent
update
public IWorldObjectUpdateResult<IWorldObject> update(IWorldObject obj)
- Specified by:
update
in interface IWorldObjectUpdatedEvent
getSimTime
public long getSimTime()
- Description copied from interface:
IWorldChangeEvent
- Time when the change has happened inside the environment.
- Specified by:
getSimTime
in interface IWorldChangeEvent
- Returns:
- timestamp
Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.