cz.cuni.amis.pogamut.multi.communication.translator.event
Interface ICompositeWorldObjectUpdatedEvent

All Superinterfaces:
Event, IWorldChangeEvent
All Known Implementing Classes:
AliveMessage.AliveMessageUpdate, AutoTraceRay.AutoTraceRayUpdate, BombInfo.BombInfoUpdate, ConfigChange.ConfigChangeUpdate, FlagInfo.FlagInfoUpdate, GameInfo.GameInfoUpdate, IncomingProjectile.IncomingProjectileUpdate, InitedMessage.InitedMessageUpdate, Item.ItemUpdate, Mover.MoverUpdate, MyInventory.MyInventoryUpdate, NavPoint.NavPointUpdate, Player.PlayerUpdate, Self.SelfUpdate, TeamScore.TeamScoreUpdate, Vehicle.VehicleUpdate

public interface ICompositeWorldObjectUpdatedEvent
extends IWorldChangeEvent

Interface for all compositeObject updates in the world. Composite updates return no result by themselves, only the partial updates do.


Method Summary
 WorldObjectId getId()
          Returns WorldObjectId of the updatedObject.
 ILocalWorldObjectUpdatedEvent getLocalEvent()
          Returns the event updating the local part of the object.
 ISharedWorldObjectUpdatedEvent getSharedEvent()
          Returns the event updating the shared part of the object.
 IStaticWorldObjectUpdatedEvent getStaticEvent()
          Returns the update related to the static part of the object.
 
Methods inherited from interface cz.cuni.amis.pogamut.base.communication.translator.event.IWorldChangeEvent
getSimTime
 

Method Detail

getId

WorldObjectId getId()
Returns WorldObjectId of the updatedObject.

Returns:

getLocalEvent

ILocalWorldObjectUpdatedEvent getLocalEvent()
Returns the event updating the local part of the object.

Returns:

getSharedEvent

ISharedWorldObjectUpdatedEvent getSharedEvent()
Returns the event updating the shared part of the object.

Returns:

getStaticEvent

IStaticWorldObjectUpdatedEvent getStaticEvent()
Returns the update related to the static part of the object. Static updates are only possible if they create or destroy the object. (Updating the static part doesnt even make sense, the static part stays the same from definition.) If the event does not create/destroy the static object part, this should return null.

Returns: