|
||||||||||
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.udk.communication.messages.GBObjectUpdate
cz.cuni.amis.pogamut.udk.communication.messages.gbinfomessages.ConfigChange
public class ConfigChange
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. Corresponding GameBots message is CONFCH.
Field Summary | |
---|---|
protected String |
Action
Name of current BDI action. |
protected boolean |
AutoPickupOff
It enables/disables automatic pickup of the bot. |
protected boolean |
AutoTrace
True if the bot is using auto ray tracing (is provided with synchronous ATR messages). |
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
BotId
Unique Id of the bot. |
protected boolean |
DrawTraceLines
if the GB should draw lines representing the auto ray traces of the bot (for more information see ATR message). |
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
Id
Id of this config message. |
protected boolean |
Invulnerable
If bot is invulnerable (cannot die) or not. |
protected boolean |
ManualSpawn
True if we have to spawn the bot manually after each death |
protected String |
Name
The bot's name. |
static String |
PROTOTYPE
Example how the message looks like - used during parser tests. |
protected cz.cuni.amis.pogamut.base3d.worldview.object.Rotation |
RotationRate
Bot rotation rate. |
protected boolean |
ShowDebug
If some additional debug information will be shown in the UDK server console window. |
protected boolean |
ShowFocalPoint
If true an actor visualizing the location the bot is actually looking at will appear in the game. |
protected double |
SpeedMultiplier
Bots default speed will be multiplied by this number. |
protected boolean |
SynchronousOff
It informs if sending of all GB synchronous messages is enabled or disabled. |
protected double |
Time
|
protected double |
VisionTime
The delay between two synchronous batches (can range from 0.1 to 2 seconds). |
Constructor Summary | |
---|---|
ConfigChange()
Used by Yylex to create empty message then to fill it's protected fields (Yylex is in the same package). |
|
ConfigChange(ConfigChange original)
Cloning constructor. |
|
ConfigChange(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id,
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId BotId,
boolean ManualSpawn,
boolean AutoTrace,
String Name,
double SpeedMultiplier,
cz.cuni.amis.pogamut.base3d.worldview.object.Rotation RotationRate,
boolean Invulnerable,
double VisionTime,
boolean ShowDebug,
boolean ShowFocalPoint,
boolean DrawTraceLines,
boolean SynchronousOff,
boolean AutoPickupOff,
String Action)
Creates new instance of command ConfigChange. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAction()
Name of current BDI action. |
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getBotId()
Unique Id of the bot. |
cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId |
getId()
Id of this config message. |
double |
getLastSeenTime()
|
cz.cuni.amis.pogamut.multi.communication.worldview.object.ILocalWorldObject |
getLocal()
|
String |
getName()
The bot's name. |
cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObject |
getObject()
Returns original object (if method update() has already been called, for bot-programmer that is always true as the original object is updated and then the event is propagated). |
cz.cuni.amis.pogamut.base3d.worldview.object.Rotation |
getRotationRate()
Bot rotation rate. |
cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedWorldObject |
getShared()
|
long |
getSimTime()
|
double |
getSpeedMultiplier()
Bots default speed will be multiplied by this number. |
cz.cuni.amis.pogamut.multi.communication.worldview.object.IStaticWorldObject |
getStatic()
|
protected double |
getTime()
|
double |
getVisionTime()
The delay between two synchronous batches (can range from 0.1 to 2 seconds). |
int |
hashCode()
|
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 UDK 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. |
protected void |
setTime(double time)
|
String |
toHtmlString()
|
String |
toString()
|
cz.cuni.amis.pogamut.base.communication.translator.event.IWorldObjectUpdateResult |
update(cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObject obj)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String PROTOTYPE
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id
protected cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId BotId
protected boolean ManualSpawn
protected boolean AutoTrace
protected String Name
protected double SpeedMultiplier
protected cz.cuni.amis.pogamut.base3d.worldview.object.Rotation RotationRate
protected boolean Invulnerable
protected double VisionTime
protected boolean ShowDebug
protected boolean ShowFocalPoint
protected boolean DrawTraceLines
protected boolean SynchronousOff
protected boolean AutoPickupOff
protected String Action
protected double Time
Constructor Detail |
---|
public ConfigChange(cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId Id, cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId BotId, boolean ManualSpawn, boolean AutoTrace, String Name, double SpeedMultiplier, cz.cuni.amis.pogamut.base3d.worldview.object.Rotation RotationRate, boolean Invulnerable, double VisionTime, boolean ShowDebug, boolean ShowFocalPoint, boolean DrawTraceLines, boolean SynchronousOff, boolean AutoPickupOff, String Action)
Id
- Id of this config message. This Id is generated from BotId, string "_CONFCH" is added at the end.BotId
- Unique Id of the bot.ManualSpawn
- True if we have to spawn the bot manually after each deathAutoTrace
- True if the bot is using auto ray tracing (is provided with
synchronous ATR messages). See ATR messages for more
details.Name
- The bot's name.SpeedMultiplier
- Bots default speed will be multiplied by this number. Ranges from 0.1 to 2 (default, can be set in ini in [GameBotsUDK.RemoteBot] MaxSpeed).RotationRate
- Bot rotation rate. Default rotation rate is: (Pitch=3072,Yaw=60000,Roll=2048) and may be configured in ini file in [GameBotsUDK.RemoteBot] DefaultRotationRate. (pitch - up/down, yaw - left/right, roll - equivalent of doing a cartwheel)Invulnerable
- If bot is invulnerable (cannot die) or not.VisionTime
- The delay between two synchronous batches (can range from
0.1 to 2 seconds).ShowDebug
- If some additional debug information will be shown in the
UDK server console window.ShowFocalPoint
- If true an actor visualizing the location the bot is
actually looking at will appear in the game.DrawTraceLines
- if the GB should draw lines representing the auto ray traces
of the bot (for more information see ATR message).SynchronousOff
- It informs if sending of all GB synchronous messages is
enabled or disabled.AutoPickupOff
- It enables/disables automatic pickup of the bot. If true the items can be picked up through PICK command.Action
- Name of current BDI action.public ConfigChange(ConfigChange original)
public ConfigChange()
Method Detail |
---|
public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getId()
getId
in interface cz.cuni.amis.pogamut.base.communication.translator.event.IWorldObjectUpdatedEvent
getId
in interface cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObject
public cz.cuni.amis.pogamut.unreal.communication.messages.UnrealId getBotId()
public boolean isManualSpawn()
public boolean isAutoTrace()
public String getName()
public double getSpeedMultiplier()
public cz.cuni.amis.pogamut.base3d.worldview.object.Rotation getRotationRate()
public boolean isInvulnerable()
public double getVisionTime()
public boolean isShowDebug()
public boolean isShowFocalPoint()
public boolean isDrawTraceLines()
public boolean isSynchronousOff()
public boolean isAutoPickupOff()
public String getAction()
protected double getTime()
protected void setTime(double time)
public double getLastSeenTime()
public cz.cuni.amis.pogamut.multi.communication.worldview.object.ILocalWorldObject getLocal()
public cz.cuni.amis.pogamut.multi.communication.worldview.object.ISharedWorldObject getShared()
public cz.cuni.amis.pogamut.multi.communication.worldview.object.IStaticWorldObject getStatic()
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.object.IWorldObject
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
public cz.cuni.amis.pogamut.base.communication.translator.event.IWorldObjectUpdateResult update(cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObject obj)
update
in interface cz.cuni.amis.pogamut.base.communication.translator.event.IWorldObjectUpdatedEvent
public cz.cuni.amis.pogamut.base.communication.worldview.object.IWorldObject getObject()
public String toString()
toString
in class cz.cuni.amis.pogamut.base.communication.messages.InfoMessage
public String toHtmlString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |