cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class Item.ObjectDisappeared

java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.Item.ObjectDisappeared
All Implemented Interfaces:
IWorldChangeEvent, IWorldObjectUpdatedEvent, Event
Enclosing class:
Item

public static class Item.ObjectDisappeared
extends java.lang.Object
implements IWorldObjectUpdatedEvent


Constructor Summary
Item.ObjectDisappeared(Item obj, long time)
           
 
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

Item.ObjectDisappeared

public Item.ObjectDisappeared(Item obj,
                              long time)
Method Detail

getId

public WorldObjectId getId()
Specified by:
getId 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

update

public IWorldObjectUpdateResult<IWorldObject> update(IWorldObject obj)
Specified by:
update in interface IWorldObjectUpdatedEvent