|
|||||||||
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
public abstract class ConfigChange
Abstract definition of the GameBots2004 message CONFCH.
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 | |
---|---|
static class |
ConfigChange.ConfigChangeUpdate
|
Field Summary | |
---|---|
static java.lang.String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
protected long |
SimTime
|
Constructor Summary | |
---|---|
ConfigChange()
Parameter-less contructor for the message. |
Method Summary | |
---|---|
abstract java.lang.String |
getAction()
Name of current BDI action. |
abstract UnrealId |
getBotId()
Unique Id of the bot. |
abstract UnrealId |
getId()
Id of this config message. |
abstract java.lang.String |
getName()
The bot's name. |
abstract Rotation |
getRotationRate()
Bot rotation rate. |
long |
getSimTime()
Returns the simulation time when the event has occurred. |
abstract double |
getSpeedMultiplier()
Bots default speed will be multiplied by this number. |
abstract double |
getVisionTime()
The delay between two synchronous batches (can range from 0.1 to 2 seconds). |
abstract boolean |
isAutoPickupOff()
It enables/disables automatic pickup of the bot. |
abstract boolean |
isAutoTrace()
True if the bot is using auto ray tracing (is provided with synchronous ATR messages). |
abstract boolean |
isDrawTraceLines()
if the GB should draw lines representing the auto ray traces of the bot (for more information see ATR message). |
abstract boolean |
isInvulnerable()
If bot is invulnerable (cannot die) or not. |
abstract boolean |
isManualSpawn()
True if we have to spawn the bot manually after each death |
abstract boolean |
isShowDebug()
If some additional debug information will be shown in the UT2004 server console window. |
abstract boolean |
isShowFocalPoint()
If true an actor visualizing the location the bot is actually looking at will appear in the game. |
abstract boolean |
isSynchronousOff()
It informs if sending of all GB synchronous messages is enabled or disabled. |
protected void |
setSimTime(long SimTime)
Used by Yylex to slip correct time of the object or programmatically. |
java.lang.String |
toHtmlString()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface cz.cuni.amis.pogamut.multi.communication.worldview.object.ICompositeWorldObject |
---|
getLocal, getShared, getStatic |
Field Detail |
---|
public static final java.lang.String PROTOTYPE
protected long SimTime
Constructor Detail |
---|
public ConfigChange()
Method Detail |
---|
public long getSimTime()
IWorldEvent
getSimTime
in interface IWorldChangeEvent
getSimTime
in interface IWorldEvent
getSimTime
in interface IWorldObject
protected void setSimTime(long SimTime)
public abstract UnrealId getId()
getId
in interface IWorldObject
public abstract UnrealId getBotId()
public abstract boolean isManualSpawn()
public abstract boolean isAutoTrace()
public abstract java.lang.String getName()
public abstract double getSpeedMultiplier()
public abstract Rotation getRotationRate()
public abstract boolean isInvulnerable()
public abstract double getVisionTime()
public abstract boolean isShowDebug()
public abstract boolean isShowFocalPoint()
public abstract boolean isDrawTraceLines()
public abstract boolean isSynchronousOff()
public abstract boolean isAutoPickupOff()
public abstract java.lang.String getAction()
public java.lang.String toString()
toString
in class InfoMessage
public java.lang.String toHtmlString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |