cz.cuni.amis.pogamut.ut2004.communication.messages
Class GBEvent

java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
      extended by cz.cuni.amis.pogamut.ut2004.communication.messages.GBEvent
All Implemented Interfaces:
IWorldChangeEvent, IWorldEventWrapper, IWorldEvent, IGBWorldEvent, Event

public class GBEvent
extends InfoMessage
implements IGBWorldEvent


Field Summary
protected  long simTime
           
 
Constructor Summary
GBEvent(long simTime)
           
 
Method Summary
 long getSimTime()
          Time when the change has happened inside the environment.
 IWorldEvent getWorldEvent()
           
 
Methods inherited from class cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

simTime

protected long simTime
Constructor Detail

GBEvent

public GBEvent(long simTime)
Method Detail

getWorldEvent

public IWorldEvent getWorldEvent()
Specified by:
getWorldEvent in interface IWorldEventWrapper
Returns:
WorldEvent transported (wrapped) by this class

getSimTime

public long getSimTime()
Description copied from interface: IWorldChangeEvent
Time when the change has happened inside the environment.

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