cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class GameInfoLocalImpl.GameInfoLocalUpdate

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

public static class GameInfoLocalImpl.GameInfoLocalUpdate
extends Object
implements ILocalWorldObjectUpdatedEvent, IGBWorldObjectEvent


Field Summary
protected  GameInfoLocal data
           
protected  long time
           
 
Constructor Summary
GameInfoLocalImpl.GameInfoLocalUpdate(GameInfoLocal 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 GameInfoLocal data
Constructor Detail

GameInfoLocalImpl.GameInfoLocalUpdate

public GameInfoLocalImpl.GameInfoLocalUpdate(GameInfoLocal 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.