cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class EntityLocalImpl.EntityLocalUpdate

Package class diagram package EntityLocalImpl.EntityLocalUpdate
java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.EntityLocalImpl.EntityLocalUpdate
All Implemented Interfaces:
IWorldChangeEvent, IWorldEvent, IWorldObjectEvent, ILocalWorldObjectUpdatedEvent, IGBWorldObjectEvent, cz.cuni.amis.utils.listener.Event
Enclosing class:
EntityLocalImpl

public static class EntityLocalImpl.EntityLocalUpdate
extends Object
implements ILocalWorldObjectUpdatedEvent, IGBWorldObjectEvent


Field Summary
protected  EntityLocal data
           
protected  long time
           
 
Constructor Summary
EntityLocalImpl.EntityLocalUpdate(EntityLocal moverLocal, long time)
           
 
Method Summary
 WorldObjectId getId()
           
 IWorldObject getObject()
           
 long getSimTime()
          Simulation time in MILLI SECONDS !!!
 IWorldObjectUpdateResult<ILocalWorldObject> update(ILocalWorldObject object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

time

protected long time

data

protected EntityLocal data
Constructor Detail

EntityLocalImpl.EntityLocalUpdate

public EntityLocalImpl.EntityLocalUpdate(EntityLocal moverLocal,
                                         long time)
Method Detail

update

public IWorldObjectUpdateResult<ILocalWorldObject> update(ILocalWorldObject object)
Specified by:
update in interface ILocalWorldObjectUpdatedEvent

getSimTime

public long getSimTime()
Simulation time in MILLI SECONDS !!!

Specified by:
getSimTime in interface IWorldChangeEvent
Specified by:
getSimTime in interface IWorldEvent

getObject

public IWorldObject getObject()
Specified by:
getObject in interface IWorldObjectEvent

getId

public WorldObjectId getId()
Specified by:
getId in interface IWorldObjectEvent
Specified by:
getId in interface ILocalWorldObjectUpdatedEvent


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