public abstract class ConfigChange
extends cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
implements cz.cuni.amis.pogamut.base.communication.worldview.event.IWorldEvent, cz.cuni.amis.pogamut.base.communication.translator.event.IWorldChangeEvent, cz.cuni.amis.pogamut.multi.communication.worldview.object.ICompositeWorldObject
Modifier and Type | Class and Description |
---|---|
static class |
ConfigChange.ConfigChangeUpdate |
Modifier and Type | Field and Description |
---|---|
static String |
PROTOTYPE
Example how the message looks like - used during parser tests.
|
protected long |
SimTime |
Constructor and Description |
---|
ConfigChange()
Parameter-less contructor for the message.
|
Modifier and Type | Method and Description |
---|---|
abstract String |
getAction()
Name of current BDI action.
|
abstract cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getBotId()
Unique Id of the bot.
|
abstract cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getId()
Id of this config message.
|
abstract String |
getName()
The bot's name.
|
abstract cz.cuni.amis.pogamut.base3d.worldview.object.Rotation |
getRotationRate()
Bot rotation rate.
|
long |
getSimTime()
Simulation time in MILLI SECONDS !!!
|
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.
|
String |
toHtmlString() |
String |
toString() |
public static final String PROTOTYPE
protected long SimTime
public long getSimTime()
getSimTime
in interface cz.cuni.amis.pogamut.base.communication.translator.event.IWorldChangeEvent
getSimTime
in interface cz.cuni.amis.pogamut.base.communication.worldview.event.IWorldEvent
getSimTime
in interface cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObject
protected void setSimTime(long SimTime)
public abstract cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getId()
getId
in interface cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObject
public abstract cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getBotId()
public abstract boolean isManualSpawn()
public abstract boolean isAutoTrace()
public abstract String getName()
public abstract double getSpeedMultiplier()
public abstract cz.cuni.amis.pogamut.base3d.worldview.object.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 String getAction()
public String toString()
toString
in class cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
public String toHtmlString()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.