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.communication.translator.event.IStaticWorldObjectUpdatedEvent; 5 6 /** 7 * General interface for all staticWorldObjects. 8 * @author srlok 9 * 10 */ 11 public interface IStaticWorldObject extends IWorldObject { 12 13 public Class getCompositeClass(); 14 15 /** 16 * This method is used for comparing if the static information has been changed during the simulation, 17 * this method however takes into account the fact that some static information may be null for some time and then get filled later. 18 * Also this returns true if other is null. 19 * 20 * WARNING use this method for anything else at your own risk! 21 * @param other 22 * @return 23 */ 24 public boolean isDifferentFrom(IStaticWorldObject other); 25 26 //public IStaticWorldObjectUpdatedEvent createUpdateEvent( long time ); 27 28 }