cz.cuni.amis.pogamut.multi.communication.worldview.object
Interface ISharedWorldObject

All Superinterfaces:
java.lang.Cloneable, IWorldObject
All Known Implementing Classes:
AliveMessageMessage.AliveMessageSharedMessage, AliveMessageShared, AliveMessageSharedImpl, AutoTraceRayMessage.AutoTraceRaySharedMessage, AutoTraceRayShared, AutoTraceRaySharedImpl, BombInfoMessage.BombInfoSharedMessage, BombInfoShared, BombInfoSharedImpl, ConfigChangeMessage.ConfigChangeSharedMessage, ConfigChangeShared, ConfigChangeSharedImpl, FlagInfoMessage.FlagInfoSharedMessage, FlagInfoShared, FlagInfoSharedImpl, GameInfoMessage.GameInfoSharedMessage, GameInfoShared, GameInfoSharedImpl, IncomingProjectileMessage.IncomingProjectileSharedMessage, IncomingProjectileShared, IncomingProjectileSharedImpl, InitedMessageMessage.InitedMessageSharedMessage, InitedMessageShared, InitedMessageSharedImpl, ItemMessage.ItemSharedMessage, ItemShared, ItemSharedImpl, MoverMessage.MoverSharedMessage, MoverShared, MoverSharedImpl, MyInventoryMessage.MyInventorySharedMessage, MyInventoryShared, MyInventorySharedImpl, NavPointMessage.NavPointSharedMessage, NavPointShared, NavPointSharedImpl, PlayerMessage.PlayerSharedMessage, PlayerShared, PlayerSharedImpl, SelfMessage.SelfSharedMessage, SelfShared, SelfSharedImpl, TeamScoreMessage.TeamScoreSharedMessage, TeamScoreShared, TeamScoreSharedImpl, VehicleMessage.VehicleSharedMessage, VehicleShared, VehicleSharedImpl

public interface ISharedWorldObject
extends IWorldObject, java.lang.Cloneable


Method Summary
 ISharedWorldObject clone()
           
 java.lang.Class getCompositeClass()
           
 java.util.Map<PropertyId,ISharedProperty> getProperties()
           
 ISharedProperty getProperty(PropertyId id)
           
 long getSimTime()
          Returns world time when the object was seen/updated for the last time.
 
Methods inherited from interface cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObject
getId
 

Method Detail

getSimTime

long getSimTime()
Returns world time when the object was seen/updated for the last time.

The time suppose to be growing as the simulation carries on.

Always should be actual_timestamp >= any_prevously_recorded_timestamp,

object1.getLastSeenTime() > object2.getLastSeenTime() means that object1 last seen after object2

Specified by:
getSimTime in interface IWorldObject
Returns:

clone

ISharedWorldObject clone()

getProperty

ISharedProperty getProperty(PropertyId id)

getProperties

java.util.Map<PropertyId,ISharedProperty> getProperties()

getCompositeClass

java.lang.Class getCompositeClass()