cz.cuni.amis.pogamut.base.communication.worldview.object
Interface IWorldObjectEvent<OBJECT extends IWorldObject>

Package class diagram package IWorldObjectEvent
All Superinterfaces:
cz.cuni.amis.utils.listener.Event, IWorldEvent
All Known Implementing Classes:
WorldObjectAppearedEvent, WorldObjectDestroyedEvent, WorldObjectDisappearedEvent, WorldObjectEvent, WorldObjectFirstEncounteredEvent, WorldObjectUpdatedEvent

public interface IWorldObjectEvent<OBJECT extends IWorldObject>
extends IWorldEvent

IWorldObject related event.

Every such event will occur on some object ... therefore you can see its 'id' and of course get a hand on its instance.


Method Summary
 WorldObjectId getId()
          Id of the object where the event has occurred.
 OBJECT getObject()
          Instance of the object.
 
Methods inherited from interface cz.cuni.amis.pogamut.base.communication.worldview.event.IWorldEvent
getSimTime
 

Method Detail

getId

WorldObjectId getId()
Id of the object where the event has occurred.

Returns:

getObject

OBJECT getObject()
Instance of the object.

Returns:


Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.