|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcz.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()
|
String |
getName()
The bot's name. |
Rotation |
getRotationRate()
Bot rotation rate. |
ConfigChangeShared |
getShared()
|
double |
getSpeedMultiplier()
Bots default speed will be multiplied by this number. |
ConfigChangeStatic |
getStatic()
|
double |
getVisionTime()
The delay between two synchronous batches (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 ConfigChangepublic ConfigChangeStatic getStatic()
public ConfigChangeLocal getLocal()
public ConfigChangeShared getShared()
public UnrealId getId()
ConfigChange
getId in interface IWorldObjectgetId in class ConfigChangepublic UnrealId getBotId()
ConfigChange
getBotId in class ConfigChangepublic boolean isManualSpawn()
ConfigChange
isManualSpawn in class ConfigChangepublic boolean isAutoTrace()
ConfigChange
isAutoTrace in class ConfigChangepublic String getName()
ConfigChange
getName in class ConfigChangepublic double getSpeedMultiplier()
ConfigChange
getSpeedMultiplier in class ConfigChangepublic Rotation getRotationRate()
ConfigChange
getRotationRate in class ConfigChangepublic boolean isInvulnerable()
ConfigChange
isInvulnerable in class ConfigChangepublic double getVisionTime()
ConfigChange
getVisionTime in class ConfigChangepublic boolean isShowDebug()
ConfigChange
isShowDebug in class ConfigChangepublic boolean isShowFocalPoint()
ConfigChange
isShowFocalPoint in class ConfigChangepublic boolean isDrawTraceLines()
ConfigChange
isDrawTraceLines in class ConfigChangepublic boolean isSynchronousOff()
ConfigChange
isSynchronousOff in class ConfigChangepublic boolean isAutoPickupOff()
ConfigChange
isAutoPickupOff in class ConfigChangepublic String getAction()
ConfigChange
getAction in class ConfigChangepublic String toString()
toString in class ConfigChangepublic String toHtmlString()
toHtmlString in class ConfigChange
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||