View Javadoc

1   package cz.cuni.amis.pogamut.multi.communication.worldview.object;
2   
3   import cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObject;
4   import cz.cuni.amis.pogamut.multi.agent.ITeamId;
5   import cz.cuni.amis.pogamut.multi.communication.translator.event.ICompositeWorldObjectUpdatedEvent;
6   
7   /**
8    * General interface for all compositeWorldObjects
9    * Composite world objects are the equivalent of old WorldObjects.
10   * @author srlok
11   *
12   */
13  public interface ICompositeWorldObject extends IWorldObject {
14  	
15  	
16  	
17  	 /* Creates a update event, that will update a CompositeObject of the same type and id to the object on which the method
18  	 * was called.
19  	 * @param time event time
20  	 * @param teamId teamId of the team this object belongs to
21  	 * @return updateEvent
22  	 */
23  	//public ICompositeWorldObjectUpdatedEvent createUpdateEvent( long time, ITeamId teamId );
24  	
25  	public ILocalWorldObject  getLocal();
26  	public ISharedWorldObject getShared();
27  	public IStaticWorldObject getStatic();
28  }