View Javadoc

1   package cz.cuni.amis.pogamut.base.communication.worldview.object;
2   
3   import cz.cuni.amis.pogamut.base.communication.worldview.event.IWorldEvent;
4   
5   /**
6    * IWorldObject related event.
7    * <p><p>
8    * Every such event will occur on some object ... therefore you can see its 'id' and of course
9    * get a hand on its instance.
10   */
11  public interface IWorldObjectEvent<OBJECT extends IWorldObject> extends IWorldEvent {
12  	
13  	/**
14  	 * Id of the object where the event has occurred.
15  	 * @return
16  	 */
17  	public WorldObjectId getId();
18  
19  	/**
20  	 * Instance of the object.
21  	 * @return
22  	 */
23  	public OBJECT getObject();
24          
25  }