cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class TeamScoreSharedImpl.TeamScoreSharedUpdate

java.lang.Object
  extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.TeamScoreSharedImpl.TeamScoreSharedUpdate
All Implemented Interfaces:
IWorldChangeEvent, ISharedWorldObjectUpdatedEvent, Event
Enclosing class:
TeamScoreSharedImpl

public static class TeamScoreSharedImpl.TeamScoreSharedUpdate
extends java.lang.Object
implements ISharedWorldObjectUpdatedEvent


Constructor Summary
TeamScoreSharedImpl.TeamScoreSharedUpdate(TeamScoreShared data, long time, ITeamId teamId)
           
 
Method Summary
 java.lang.Class getCompositeObjectClass()
          This is required by SharedWorldView because objects might not have any sharedProperties but the SharedPart will still be required.
 WorldObjectId getId()
           
 java.util.Collection<ISharedPropertyUpdatedEvent> getPropertyEvents()
           
 long getSimTime()
          Time when the change has happened inside the environment.
 ITeamId getTeamId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TeamScoreSharedImpl.TeamScoreSharedUpdate

public TeamScoreSharedImpl.TeamScoreSharedUpdate(TeamScoreShared data,
                                                 long time,
                                                 ITeamId teamId)
Method Detail

getSimTime

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

Specified by:
getSimTime in interface IWorldChangeEvent
Returns:
timestamp

getId

public WorldObjectId getId()
Specified by:
getId in interface ISharedWorldObjectUpdatedEvent

getTeamId

public ITeamId getTeamId()
Specified by:
getTeamId in interface ISharedWorldObjectUpdatedEvent

getCompositeObjectClass

public java.lang.Class getCompositeObjectClass()
Description copied from interface: ISharedWorldObjectUpdatedEvent
This is required by SharedWorldView because objects might not have any sharedProperties but the SharedPart will still be required.

Specified by:
getCompositeObjectClass in interface ISharedWorldObjectUpdatedEvent
Returns:

getPropertyEvents

public java.util.Collection<ISharedPropertyUpdatedEvent> getPropertyEvents()
Specified by:
getPropertyEvents in interface ISharedWorldObjectUpdatedEvent