cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class SelfSharedImpl
java.lang.Object
cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.SelfShared
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.SelfSharedImpl
- All Implemented Interfaces:
- IWorldObject, ISharedWorldObject, Cloneable
public class SelfSharedImpl
- extends SelfShared
Implementation of the shared part of the GameBots2004 message SLF.
Complete message documentation:
Synchronous message. Information about your bot's state.
propertyMap
protected HashMap<PropertyId,ISharedProperty> propertyMap
Id
protected UnrealId Id
- Unique Id of this self message instance.
SelfSharedImpl
public SelfSharedImpl(SelfSharedImpl source)
SelfSharedImpl
public SelfSharedImpl(WorldObjectId objectId,
Collection<ISharedProperty> properties)
setSimTime
public void setSimTime(long SimTime)
- Description copied from class:
SelfShared
- Used by Yylex to slip correct time of the object or programmatically.
- Overrides:
setSimTime
in class SelfShared
clone
public SelfSharedImpl clone()
- Specified by:
clone
in interface ISharedWorldObject
- Specified by:
clone
in class SelfShared
getProperty
public ISharedProperty getProperty(PropertyId id)
getProperties
public Map<PropertyId,ISharedProperty> getProperties()
getId
public UnrealId getId()
- Unique Id of this self message instance.
- Specified by:
getId
in interface IWorldObject
- Specified by:
getId
in class SelfShared
toString
public String toString()
- Overrides:
toString
in class SelfShared
toHtmlString
public String toHtmlString()
- Overrides:
toHtmlString
in class SelfShared
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.