cz.cuni.amis.pogamut.base.communication.translator.event
Class IWorldObjectUpdatedEvent.DestroyWorldObject

Package class diagram package IWorldObjectUpdatedEvent.DestroyWorldObject
java.lang.Object
  extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from interface cz.cuni.amis.pogamut.base.communication.translator.event.IWorldObjectUpdatedEvent
IWorldObjectUpdatedEvent.DestroyWorldObject
 
Constructor Summary
IWorldObjectUpdatedEvent.DestroyWorldObject(IWorldObject object, long simTime)
           
 
Method Summary
 WorldObjectId getId()
           
 long getSimTime()
          Time when the change has happened inside the environment.
 IWorldObjectUpdateResult<IWorldObject> update(IWorldObject obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IWorldObjectUpdatedEvent.DestroyWorldObject

public IWorldObjectUpdatedEvent.DestroyWorldObject(IWorldObject object,
                                                   long simTime)
Method Detail

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 © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.