|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cz.cuni.amis.pogamut.base.communication.messages.InfoMessage cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ConfigChange cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ConfigChangeCompositeImpl
public class ConfigChangeCompositeImpl
Composite implementation of the CONFCH abstract message. It wraps Local/Shared/Static parts in single object allowing to presenting a nice facade for users.
Complete message documentation: Asynchronous message. Message sent when the bot configuration changed - each agent has a lot of parameters affecting his state in the environment. See each property for the details.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ConfigChange |
---|
ConfigChange.ConfigChangeUpdate |
Field Summary | |
---|---|
protected ConfigChangeLocalImpl |
partLocal
|
protected ConfigChangeStaticImpl |
partStatic
|
Fields inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ConfigChange |
---|
PROTOTYPE, SimTime |
Constructor Summary | |
---|---|
ConfigChangeCompositeImpl()
Parameter-less contructor for the message. |
|
ConfigChangeCompositeImpl(ConfigChangeCompositeImpl original)
Cloning constructor. |
|
ConfigChangeCompositeImpl(ConfigChangeLocalImpl partLocal,
ConfigChangeSharedImpl partShared,
ConfigChangeStaticImpl partStatic)
Composite-impl constructor. |
Method Summary | |
---|---|
String |
getAction()
Name of current BDI action. |
UnrealId |
getBotId()
Unique Id of the bot. |
UnrealId |
getId()
Id of this config message. |
ConfigChangeLocal |
getLocal()
|
int |
getLocUpdateMultiplier()
Holds information how many times faster is exported location update message (UPD) compared to sync. |
String |
getName()
The bot's name. |
Rotation |
getRotationRate()
Bot rotation rate. |
double |
getSelfUpdateTime()
The delay between two self message synchronous batches (can range from 0.01 to 2 seconds). |
ConfigChangeShared |
getShared()
|
double |
getSpeedMultiplier()
Bots default speed will be multiplied by this number. |
ConfigChangeStatic |
getStatic()
|
double |
getVisionTime()
The delay between two synchronous batches containing vision updates (can range from 0.1 to 2 seconds). |
boolean |
isAutoPickupOff()
It enables/disables automatic pickup of the bot. |
boolean |
isAutoTrace()
True if the bot is using auto ray tracing (is provided with synchronous ATR messages). |
boolean |
isDrawTraceLines()
if the GB should draw lines representing the auto ray traces of the bot (for more information see ATR message). |
boolean |
isInvulnerable()
If bot is invulnerable (cannot die) or not. |
boolean |
isManualSpawn()
True if we have to spawn the bot manually after each death |
boolean |
isShowDebug()
If some additional debug information will be shown in the UT2004 server console window. |
boolean |
isShowFocalPoint()
If true an actor visualizing the location the bot is actually looking at will appear in the game. |
boolean |
isSynchronousOff()
It informs if sending of all GB synchronous messages is enabled or disabled. |
void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically. |
String |
toHtmlString()
|
String |
toString()
|
Methods inherited from class cz.cuni.amis.pogamut.ut2004.communication.messages.gbinfomessages.ConfigChange |
---|
getSimTime, toJsonLiteral |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected ConfigChangeStaticImpl partStatic
protected ConfigChangeLocalImpl partLocal
Constructor Detail |
---|
public ConfigChangeCompositeImpl()
public ConfigChangeCompositeImpl(ConfigChangeLocalImpl partLocal, ConfigChangeSharedImpl partShared, ConfigChangeStaticImpl partStatic)
partLocal
- local-part of the messagepartShared
- shared-part of the messagepartStatic
- static-part of the messagepublic ConfigChangeCompositeImpl(ConfigChangeCompositeImpl original)
original
- Method Detail |
---|
public void setSimTime(long SimTime)
ConfigChange
setSimTime
in class ConfigChange
public ConfigChangeStatic getStatic()
public ConfigChangeLocal getLocal()
public ConfigChangeShared getShared()
public UnrealId getId()
ConfigChange
getId
in interface IWorldObject
getId
in class ConfigChange
public UnrealId getBotId()
ConfigChange
getBotId
in class ConfigChange
public boolean isManualSpawn()
ConfigChange
isManualSpawn
in class ConfigChange
public boolean isAutoTrace()
ConfigChange
isAutoTrace
in class ConfigChange
public String getName()
ConfigChange
getName
in class ConfigChange
public double getSpeedMultiplier()
ConfigChange
getSpeedMultiplier
in class ConfigChange
public Rotation getRotationRate()
ConfigChange
getRotationRate
in class ConfigChange
public boolean isInvulnerable()
ConfigChange
isInvulnerable
in class ConfigChange
public double getSelfUpdateTime()
ConfigChange
getSelfUpdateTime
in class ConfigChange
public double getVisionTime()
ConfigChange
getVisionTime
in class ConfigChange
public int getLocUpdateMultiplier()
ConfigChange
getLocUpdateMultiplier
in class ConfigChange
public boolean isShowDebug()
ConfigChange
isShowDebug
in class ConfigChange
public boolean isShowFocalPoint()
ConfigChange
isShowFocalPoint
in class ConfigChange
public boolean isDrawTraceLines()
ConfigChange
isDrawTraceLines
in class ConfigChange
public boolean isSynchronousOff()
ConfigChange
isSynchronousOff
in class ConfigChange
public boolean isAutoPickupOff()
ConfigChange
isAutoPickupOff
in class ConfigChange
public String getAction()
ConfigChange
getAction
in class ConfigChange
public String toString()
toString
in class ConfigChange
public String toHtmlString()
toHtmlString
in class ConfigChange
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |