cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class PlayerLocalImpl.PlayerLocalUpdate

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

public static class PlayerLocalImpl.PlayerLocalUpdate
extends Object
implements ILocalWorldObjectUpdatedEvent, IGBWorldObjectEvent


Field Summary
protected  PlayerLocal data
           
protected  long time
           
 
Constructor Summary
PlayerLocalImpl.PlayerLocalUpdate(PlayerLocal 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 PlayerLocal data
Constructor Detail

PlayerLocalImpl.PlayerLocalUpdate

public PlayerLocalImpl.PlayerLocalUpdate(PlayerLocal 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.