cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class InitedMessageMessage.InitedMessageSharedMessage
java.lang.Object
cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.InitedMessageShared
cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.InitedMessageMessage.InitedMessageSharedMessage
- All Implemented Interfaces:
- IWorldObject, ISharedWorldObject, java.lang.Cloneable
- Enclosing class:
- InitedMessageMessage
public class InitedMessageMessage.InitedMessageSharedMessage
- extends InitedMessageShared
Implementation of the shared part of the GameBots2004 message INITED, used
to facade INITEDMessage.
Complete message documentation:
Asynchronous message. Sent after succesfull init command (so usually just once).
Holds many attributes of the bots like speed, id starting and max health, etc.
Some attributes are not used due to GameBots mechanics.
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
propertyMap
protected java.util.HashMap<PropertyId,ISharedProperty> propertyMap
InitedMessageMessage.InitedMessageSharedMessage
public InitedMessageMessage.InitedMessageSharedMessage()
getId
public UnrealId getId()
- Description copied from interface:
IWorldObject
- Returns an id of the object that is unique among all world objects.
- Specified by:
getId
in interface IWorldObject
- Overrides:
getId
in class InitedMessageShared
- Returns:
clone
public InitedMessageMessage.InitedMessageSharedMessage clone()
- Specified by:
clone
in interface ISharedWorldObject
- Specified by:
clone
in class InitedMessageShared
getProperty
public ISharedProperty getProperty(PropertyId id)
getProperties
public java.util.Map<PropertyId,ISharedProperty> getProperties()
toString
public java.lang.String toString()
- Overrides:
toString
in class InitedMessageShared
toHtmlString
public java.lang.String toHtmlString()
- Overrides:
toHtmlString
in class InitedMessageShared