cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages
Class AutoTraceRayMessage.AutoTraceRaySharedMessage

Package class diagram package AutoTraceRayMessage.AutoTraceRaySharedMessage
java.lang.Object
  extended by cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
      extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AutoTraceRayShared
          extended by cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AutoTraceRayMessage.AutoTraceRaySharedMessage
All Implemented Interfaces:
IWorldObject, ISharedWorldObject, Cloneable
Enclosing class:
AutoTraceRayMessage

public class AutoTraceRayMessage.AutoTraceRaySharedMessage
extends AutoTraceRayShared

Implementation of the shared part of the GameBots2004 message ATR, used to facade ATRMessage.

Complete message documentation: Synchronous message. Contains the results of automatically casted rays. One ATR message is for one casted ray. New automatically casted rays can be defined by ADDRAY command and removed by REMOVERAY command.


Field Summary
protected  HashMap<PropertyId,ISharedProperty> propertyMap
           
 
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AutoTraceRayShared
SharedPropertyTokens, SimTime
 
Constructor Summary
AutoTraceRayMessage.AutoTraceRaySharedMessage()
           
 
Method Summary
 AutoTraceRayMessage.AutoTraceRaySharedMessage clone()
           
 UnrealId getId()
          An Id for this ray (should be unique), assigned by the user when adding ray.
 Map<PropertyId,ISharedProperty> getProperties()
           
 ISharedProperty getProperty(PropertyId id)
           
 String toHtmlString()
           
 String toString()
           
 
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.AutoTraceRayShared
getCompositeClass, getSimTime, setSimTime
 
Methods inherited from class cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
toJsonLiteral
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

propertyMap

protected HashMap<PropertyId,ISharedProperty> propertyMap
Constructor Detail

AutoTraceRayMessage.AutoTraceRaySharedMessage

public AutoTraceRayMessage.AutoTraceRaySharedMessage()
Method Detail

clone

public AutoTraceRayMessage.AutoTraceRaySharedMessage clone()
Specified by:
clone in interface ISharedWorldObject
Specified by:
clone in class AutoTraceRayShared

getProperty

public ISharedProperty getProperty(PropertyId id)

getProperties

public Map<PropertyId,ISharedProperty> getProperties()

getId

public UnrealId getId()
An Id for this ray (should be unique), assigned by the user when adding ray.

Specified by:
getId in interface IWorldObject
Specified by:
getId in class AutoTraceRayShared

toString

public String toString()
Overrides:
toString in class AutoTraceRayShared

toHtmlString

public String toHtmlString()
Overrides:
toHtmlString in class AutoTraceRayShared


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.