cz.cuni.amis.pogamut.base.communication.worldview.object
Interface IWorldObject

Package class diagram package IWorldObject
All Known Subinterfaces:
ICompositeWorldObject, ILocalViewable, ILocalWorldObject, ISharedWorldObject, IStaticWorldObject, IViewable

public interface IWorldObject

Interface for all objects that can be found in the world.

Author:
Jimmy

Method Summary
 WorldObjectId getId()
          Returns an id of the object that is unique among all world objects.
 long getSimTime()
          Returns world time when the object was seen/updated for the last time.
 

Method Detail

getId

WorldObjectId getId()
Returns an id of the object that is unique among all world objects.

Returns:

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

Returns:


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