public interface IAction
Modifier and Type | Method and Description |
---|---|
float |
getMaxGain()
Retrieve the motorGain the maximal gain (stiffness) motors can have
|
void |
init(IAgentMetaModel metaModel)
For initialization to be called after object creation
|
void |
sayMessage(java.lang.String message)
shouts out a message to other players
|
void |
sendBeamString(float x,
float y,
float rotation)
Beams the player to specified position with specified direction
|
void |
sendMotorMessage()
Sends a motor command to the server.
|
void |
setEffectorValues(java.lang.String name,
float... values)
Sets the values of the passed effector as required by the specific
effector
|
void |
setMaxGain(float motorGain) |
void setEffectorValues(java.lang.String name, float... values)
name
- name of the effector as specified invalues
- the number of float values required by the specific effectorvoid sendBeamString(float x, float y, float rotation)
x
- x coordinate on the fieldy
- y coordinate on the fieldrotation
- direction the player is facingvoid sayMessage(java.lang.String message)
message
- the message to send (max 8 bytes)void sendMotorMessage()
void init(IAgentMetaModel metaModel)
metaModel
- the robot meta modelvoid setMaxGain(float motorGain)
motorGain
- the maximal gain (stiffness) motors can havefloat getMaxGain()