public class Client extends java.lang.Thread implements ClientInf
Modifier and Type | Class and Description |
---|---|
class |
Client.DefaultCommandTerminationListener |
Modifier and Type | Field and Description |
---|---|
static int |
BBOXLENGTH |
java.util.Stack<Command> |
comhist |
long |
commandid |
static int |
DEFAULT_RF_TYPE |
static priority_t |
DEFAULTPRIORITY |
static double |
DEFAULTSPEED |
static double |
DEFAULTVOLUME |
static int |
EVENTPORT |
java.lang.String |
name |
static int |
SERVERPORT |
static boolean |
synchronous |
static boolean |
VERBOSE |
Constructor and Description |
---|
Client(java.lang.String ip) |
Modifier and Type | Method and Description |
---|---|
void |
addCommandToRunning(ProtocolZero com) |
void |
addEventListener(CommandTerminationListener list)
Adds a command termination listener to the Quagent.
|
void |
addEventListener(QEventListener qcp)
Adds an event listener to the Quagent.
|
BatchRangefinder |
batchRangefinder(int type,
double rot,
double azi,
int width,
int height,
double sampleDeltaYaw,
double sampleDeltaPitch)
Batch version of rangefinder.
|
BatchRangefinder |
batchRangefinder(int type,
double rot,
double azi,
int width,
int height,
double sampleDeltaYaw,
double sampleDeltaPitch,
long period)
Batch version of rangefinder.
|
BatchRangefinder |
batchRangefinder(int type,
double rot,
double azi,
int width,
int height,
double sampleDeltaYaw,
double sampleDeltaPitch,
priority_t priority)
Batch version of rangefinder.
|
BatchRangefinder |
batchRangefinder(int type,
double rot,
double azi,
int width,
int height,
double sampleDeltaYaw,
double sampleDeltaPitch,
priority_t priority,
long period)
Batch version of rangefinder.
|
BatchRangefinder |
batchRangefinder(int type,
int distance,
double rot,
double azi,
int width,
int height,
double sampleDeltaYaw,
double sampleDeltaPitch)
Batch version of rangefinder.
|
BatchRangefinder |
batchRangefinder(int type,
int distance,
double rot,
double azi,
int width,
int height,
double sampleDeltaYaw,
double sampleDeltaPitch,
long period)
Batch version of rangefinder.
|
BatchRangefinder |
batchRangefinder(int type,
int distance,
double rot,
double azi,
int width,
int height,
double sampleDeltaYaw,
double sampleDeltaPitch,
priority_t priority)
Batch version of rangefinder.
|
BatchRangefinder |
batchRangefinder(int type,
int distance,
double rot,
double azi,
int width,
int height,
double sampleDeltaYaw,
double sampleDeltaPitch,
priority_t priority,
long period)
Batch version of rangefinder.
|
void |
botfile(java.lang.String filename)
This function specifies the botfile for the Quagent.
|
CanSee |
canSee(int entityid)
Asks the agent to tell you if it has line of "sight" to another entity (specified by the entityid you give it).
|
CanSee |
canSee(int entityid,
long period)
Asks the agent to tell you if it has line of "sight" to another entity (specified by the entityid you give it).
|
CanSee |
canSee(int entityid,
priority_t priority)
Asks the agent to tell you if it has line of "sight" to another entity (specified by the entityid you give it).
|
CanSee |
canSee(int entityid,
priority_t priority,
long period)
Asks the agent to tell you if it has line of "sight" to another entity (specified by the entityid you give it).
|
CheckInventory |
checkInventory()
Returns a list of items currently in the Quagent's inventory.
|
CheckInventory |
checkInventory(long period)
Returns a list of items currently in the Quagent's inventory.
|
CheckInventory |
checkInventory(long period,
priority_t priority)
Returns a list of items currently in the Quagent's inventory.
|
CheckInventory |
checkInventory(priority_t priority)
Returns a list of items currently in the Quagent's inventory.
|
static char |
convertPriority(priority_t priority) |
Crouch |
crouch(boolean tocrouch)
Sets the Quagent's crouch state.
|
Crouch |
crouch(boolean tocrouch,
long period)
Sets the Quagent's crouch state.
|
Crouch |
crouch(boolean tocrouch,
priority_t priority)
Sets the Quagent's crouch state.
|
Crouch |
crouch(boolean tocrouch,
priority_t priority,
long period)
Sets the Quagent's crouch state.
|
CurrentAmmo |
currentAmmo(weapon wep)
Fetches the agent's remaining ammunition for a given weapon.
|
CurrentAmmo |
currentAmmo(weapon wep,
long period)
Fetches the agent's remaining ammunition for a given weapon.
|
CurrentAmmo |
currentAmmo(weapon wep,
priority_t priority)
Fetches the agent's remaining ammunition for a given weapon.
|
CurrentAmmo |
currentAmmo(weapon wep,
priority_t priority,
long period)
Fetches the agent's remaining ammunition for a given weapon.
|
CurrentArmor |
currentArmor()
Fetches the agent's current armor value.
|
CurrentArmor |
currentArmor(long period)
Fetches the agent's current armor value.
|
CurrentArmor |
currentArmor(priority_t priority)
Fetches the agent's current armor value.
|
CurrentArmor |
currentArmor(priority_t priority,
long period)
Fetches the agent's current armor value.
|
CurrentHealth |
currentHealth()
Fetches the current health of the agent.
|
CurrentHealth |
currentHealth(long period)
Fetches the current health of the agent.
|
CurrentHealth |
currentHealth(priority_t priority)
Fetches the current health of the agent.
|
CurrentHealth |
currentHealth(priority_t priority,
long period)
Fetches the current health of the agent.
|
CurrentLocation |
currentLocation()
Fetches the current location of the agent.
|
CurrentLocation |
currentLocation(long period)
Fetches the current location of the agent.
|
CurrentLocation |
currentLocation(priority_t priority)
Fetches the current location of the agent.
|
CurrentLocation |
currentLocation(priority_t priority,
long period)
Fetches the current location of the agent.
|
DepthViewpoint |
depthViewpoint()
Takes a depthmap image of the Quagent's current viewpoint.
|
DepthViewpoint |
depthViewpoint(long period)
Takes a depthmap image of the Quagent's current viewpoint.
|
DepthViewpoint |
depthViewpoint(long period,
priority_t priority)
Takes a depthmap image of the Quagent's current viewpoint.
|
DepthViewpoint |
depthViewpoint(priority_t priority)
Takes a depthmap image of the Quagent's current viewpoint.
|
void |
execute(Command com)
Executes a command.
|
Facing |
facing()
Fetches the agent's current facing.
|
Facing |
facing(long period)
Fetches the agent's current facing.
|
Facing |
facing(priority_t priority)
Fetches the agent's current facing.
|
Facing |
facing(priority_t priority,
long period)
Fetches the agent's current facing.
|
FireWeapon |
fireWeapon()
This command tells the agent to briefly fire its currently equipped weapon.
|
FireWeapon |
fireWeapon(long period)
This command tells the agent to briefly fire its currently equipped weapon.
|
FireWeapon |
fireWeapon(priority_t priority)
This command tells the agent to briefly fire its currently equipped weapon.
|
FireWeapon |
fireWeapon(priority_t priority,
long period)
This command tells the agent to briefly fire its currently equipped weapon.
|
Follow |
follow(int entityid)
Instructs the Quagent to follow the specified entity.
|
Follow |
follow(int entityid,
long duration)
Instructs the Quagent to follow the specified entity for the specified duration.
|
Follow |
follow(int entityid,
long duration,
priority_t priority)
Instructs the Quagent to follow the specified entity for the specified duration.
|
Follow |
follow(int entityid,
priority_t priority)
Instructs the Quagent to follow the specified entity.
|
ForgetAllTasks |
forgetAllTasks()
Removes all actions from the server command queue.
|
ForgetAllTasks |
forgetAllTasks(long period)
Removes all actions from the server command queue.
|
ForgetAllTasks |
forgetAllTasks(priority_t priority)
Removes all actions from the server command queue.
|
ForgetAllTasks |
forgetAllTasks(priority_t priority,
long period)
Removes all actions from the server command queue.
|
QEventListener |
getEventListener()
Returns attached event listener.
|
int |
getQuagentID()
Returns Quagent's assigned entity ID.
|
java.util.List<ProtocolZero> |
getRunningList() |
Updater |
getUpdater() |
java.io.Writer |
getWriter()
Returns the entity's socket writer.
|
ImageViewpoint |
imageViewpoint()
Takes a color image of the Quagent's current viewpoint.
|
ImageViewpoint |
imageViewpoint(long period)
Takes a color image of the Quagent's current viewpoint.
|
ImageViewpoint |
imageViewpoint(long period,
priority_t priority)
Takes a color image of the Quagent's current viewpoint.
|
ImageViewpoint |
imageViewpoint(priority_t priority)
Takes a color image of the Quagent's current viewpoint.
|
long |
incrementCommandID() |
void |
initialPosition(double x,
double y,
double z)
Sets the initial spawn position of the bot.
|
boolean |
isQuagent() |
Jump |
jump()
Makes the Quagent perform a single jump.
|
Jump |
jump(double dir,
double speed)
Makes the Quagent perform a single jump.
|
Jump |
jump(double dir,
double speed,
long period)
Makes the Quagent perform a single jump.
|
Jump |
jump(double dir,
double speed,
priority_t priority)
Makes the Quagent perform a single jump.
|
Jump |
jump(double dir,
double speed,
priority_t priority,
long period)
Makes the Quagent perform a single jump.
|
Jump |
jump(long period)
Makes the Quagent perform a single jump.
|
Jump |
jump(priority_t priority)
Makes the Quagent perform a single jump.
|
Jump |
jump(priority_t priority,
long period)
Makes the Quagent perform a single jump.
|
MaxArmor |
maxArmor()
Fetches the maximum possible armor value of the agent.
|
MaxArmor |
maxArmor(long period)
Fetches the maximum possible armor value of the agent.
|
MaxArmor |
maxArmor(priority_t priority)
Fetches the maximum possible armor value of the agent.
|
MaxArmor |
maxArmor(priority_t priority,
long period)
Fetches the maximum possible armor value of the agent.
|
MaxHealth |
maxHealth()
Fetches the maximum possible health of the agent.
|
MaxHealth |
maxHealth(long period)
Fetches the maximum possible health of the agent.
|
MaxHealth |
maxHealth(priority_t priority)
Fetches the maximum health of the agent.
|
MaxHealth |
maxHealth(priority_t priority,
long period)
Fetches the maximum health of the agent.
|
MoveBy |
moveBy(double dist)
Moves the Quagent the specified distance, in the direction of the Quagent's current facing.
|
MoveBy |
moveBy(double dist,
double speed)
Moves the Quagent the specified distance, in the direction of the Quagent's current facing.
|
MoveBy |
moveBy(double dir,
double dist,
double speed)
Moves the Quagent the specified distance in the specified direction.
|
MoveBy |
moveBy(double dir,
double dist,
double speed,
int obstacles)
Moves the Quagent the specified distance in the specified direction.
|
MoveBy |
moveBy(double dir,
double dist,
double speed,
int obstacles,
long period)
Moves the Quagent the specified distance in the specified direction.
|
MoveBy |
moveBy(double dir,
double dist,
double speed,
int obstacles,
priority_t priority)
Moves the Quagent the specified distance in the specified direction.
|
MoveBy |
moveBy(double dir,
double dist,
double speed,
int obstacles,
priority_t priority,
long period)
Moves the Quagent the specified distance in the specified direction.
|
MoveBy |
moveBy(double dir,
double dist,
double speed,
long period)
Moves the Quagent the specified distance in the specified direction.
|
MoveBy |
moveBy(double dir,
double dist,
double speed,
priority_t priority)
Moves the Quagent the specified distance in the specified direction.
|
MoveBy |
moveBy(double dir,
double dist,
double speed,
priority_t priority,
long period)
Moves the Quagent the specified distance in the specified direction.
|
MoveBy |
moveBy(double dist,
double speed,
long period)
Moves the Quagent the specified distance, in the direction of the Quagent's current facing.
|
MoveBy |
moveBy(double dist,
double speed,
priority_t priority)
Moves the Quagent the specified distance, in the direction of the Quagent's current facing.
|
MoveBy |
moveBy(double dist,
double speed,
priority_t priority,
long period)
Moves the Quagent the specified distance, in the direction of the Quagent's current facing.
|
MoveBy |
moveBy(double dist,
long period)
Moves the Quagent the specified distance, in the direction of the Quagent's current facing.
|
MoveBy |
moveBy(double dist,
priority_t priority)
Moves the Quagent the specified distance, in the direction of the Quagent's current facing.
|
MoveBy |
moveBy(double dist,
priority_t priority,
long period)
Moves the Quagent the specified distance, in the direction of the Quagent's current facing.
|
MoveFor |
moveFor(double time)
Moves the Quagent in the specified direction for the specified duration.
|
MoveFor |
moveFor(double time,
double speed)
Moves the Quagent in the specified direction for the specified duration.
|
MoveFor |
moveFor(double dir,
double time,
double speed)
Moves the Quagent in the specified direction for the specified duration.
|
MoveFor |
moveFor(double dir,
double time,
double speed,
int obstacles)
Moves the Quagent in the specified direction for the specified duration.
|
MoveFor |
moveFor(double dir,
double time,
double speed,
int obstacles,
long period)
Moves the Quagent in the specified direction for the specified duration.
|
MoveFor |
moveFor(double dir,
double time,
double speed,
int obstacles,
priority_t priority)
Moves the Quagent in the specified direction for the specified duration.
|
MoveFor |
moveFor(double dir,
double time,
double speed,
int obstacles,
priority_t priority,
long period)
Moves the Quagent in the specified direction for the specified duration.
|
MoveFor |
moveFor(double dir,
double time,
double speed,
long period) |
MoveFor |
moveFor(double dir,
double time,
double speed,
priority_t priority)
Moves the Quagent in the specified direction for the specified duration.
|
MoveFor |
moveFor(double dir,
double time,
double speed,
priority_t priority,
long period)
Moves the Quagent in the specified direction for the specified duration.
|
MoveFor |
moveFor(double time,
double speed,
long period)
Moves the Quagent in the specified direction for the specified duration.
|
MoveFor |
moveFor(double time,
double speed,
priority_t priority)
Moves the Quagent in the specified direction for the specified duration.
|
MoveFor |
moveFor(double time,
double speed,
priority_t priority,
long period)
Moves the Quagent in the specified direction for the specified duration.
|
MoveFor |
moveFor(double time,
long period)
Moves the Quagent in the specified direction for the specified duration.
|
MoveFor |
moveFor(double time,
priority_t priority)
Moves the Quagent in the specified direction for the specified duration.
|
MoveFor |
moveFor(double time,
priority_t priority,
long period)
Moves the Quagent in the specified direction for the specified duration.
|
MoveForever |
moveForever()
Moves a Quagent indefinitely in the direction of the Quagent's current facing at DEFAULTSPEED.
|
MoveForever |
moveForever(double speed)
Moves a Quagent indefinitely in the direction of the Quagent's current facing at the specified speed.
|
MoveForever |
moveForever(double dir,
double speed)
Moves a Quagent indefinitely in the specified direction at the specified speed.
|
MoveForever |
moveForever(double dir,
double speed,
int obstacles)
Moves a Quagent indefinitely in the specified direction at the specified speed.
|
MoveForever |
moveForever(double dir,
double speed,
int obstacles,
long period)
Moves a Quagent indefinitely in the specified direction at the specified speed.
|
MoveForever |
moveForever(double dir,
double speed,
int obstacles,
priority_t priority)
Moves a Quagent indefinitely in the specified direction at the specified speed.
|
MoveForever |
moveForever(double dir,
double speed,
int obstacles,
priority_t priority,
long period)
Moves a Quagent indefinitely in the specified direction at the specified speed.
|
MoveForever |
moveForever(double dir,
double speed,
long period)
Moves a Quagent indefinitely in the specified direction at the specified speed.
|
MoveForever |
moveForever(double dir,
double speed,
priority_t priority)
Moves a Quagent indefinitely in the specified direction at the specified speed.
|
MoveForever |
moveForever(double dir,
double speed,
priority_t priority,
long period)
Moves a Quagent indefinitely in the specified direction at the specified speed.
|
MoveForever |
moveForever(double speed,
long period)
Moves a Quagent indefinitely in the direction of the Quagent's current facing at the specified speed.
|
MoveForever |
moveForever(double speed,
priority_t priority)
Moves a Quagent indefinitely in the direction of the Quagent's current facing at the specified speed.
|
MoveForever |
moveForever(double speed,
priority_t priority,
long period)
Moves a Quagent indefinitely in the direction of the Quagent's current facing at the specified speed.
|
MoveForever |
moveForever(long period)
Moves a Quagent indefinitely in the direction of the Quagent's current facing at DEFAULTSPEED.
|
MoveForever |
moveForever(priority_t priority)
Moves a Quagent indefinitely in the direction of the Quagent's current facing at DEFAULTSPEED.
|
MoveForever |
moveForever(priority_t priority,
long period)
Moves a Quagent indefinitely in the direction of the Quagent's current facing at DEFAULTSPEED.
|
MoveTo |
moveTo(double[] point)
Moves the Quagent on a straight line towards the specified point at DEFAULTSPEED.
|
MoveTo |
moveTo(double[] point,
double speed)
Moves the Quagent on a straight line towards the specified point at the specified speed.
|
MoveTo |
moveTo(double[] point,
double speed,
int obstacles)
Moves the Quagent on a straight line towards the specified point at the specified speed.
|
MoveTo |
moveTo(double[] point,
double speed,
int obstacles,
long period)
Moves the Quagent on a straight line towards the specified point at the specified speed.
|
MoveTo |
moveTo(double[] point,
double speed,
int obstacles,
priority_t priority)
Moves the Quagent on a straight line towards the specified point at the specified speed.
|
MoveTo |
moveTo(double[] point,
double speed,
int obstacles,
priority_t priority,
long period)
Moves the Quagent on a straight line towards the specified point at the specified speed.
|
MoveTo |
moveTo(double[] point,
double speed,
long period)
Moves the Quagent on a straight line towards the specified point at the specified speed.
|
MoveTo |
moveTo(double[] point,
double speed,
priority_t priority)
Moves the Quagent on a straight line towards the specified point at the specified speed.
|
MoveTo |
moveTo(double[] point,
double speed,
priority_t priority,
long period)
Moves the Quagent on a straight line towards the specified point at the specified speed.
|
MoveTo |
moveTo(double[] point,
long period)
Moves the Quagent on a straight line towards the specified point at DEFAULTSPEED.
|
MoveTo |
moveTo(double[] point,
priority_t priority)
Moves the Quagent on a straight line towards the specified point at DEFAULTSPEED.
|
MoveTo |
moveTo(double[] point,
priority_t priority,
long period)
Moves the Quagent on a straight line towards the specified point at DEFAULTSPEED.
|
void |
moveToObject(java.lang.String object)
Moves to object within line of sight.
|
void |
moveToObject(java.lang.String object,
int radius)
Moves to object located within radius and line of sight.
|
void |
moveToObject(java.lang.String object,
int radius,
priority_t priority)
Moves to object located within radius and line of sight.
|
void |
moveToObject(java.lang.String object,
priority_t priority)
Moves to object within line of sight.
|
void |
name(java.lang.String name)
This function specifies the Quagent's name.
|
void |
notifyCommandTerminationListener(Command com) |
void |
password(java.lang.String password)
Sets the password of the bot's datastream socket.
|
Pause |
pause()
Pauses the execution of actions.
|
Pause |
pause(long period)
Pauses the execution of actions.
|
Pause |
pause(priority_t priority)
Pauses the execution of actions.
|
Pause |
pause(priority_t priority,
long period)
Pauses the execution of actions.
|
Peek |
peek()
Fetches information on the next command to be executed after this.
|
Peek |
peek(int depth)
Fetches information on a command to be executed.
|
Peek |
peek(int depth,
long period)
Fetches information on a command to be executed.
|
Peek |
peek(int depth,
priority_t priority)
Fetches information on a command to be executed.
|
Peek |
peek(int depth,
priority_t priority,
long period)
Fetches information on a command to be executed.
|
Peek |
peek(long period)
Fetches information on the next command to be executed after this.
|
Peek |
peek(priority_t priority)
Fetches information on the next command to be executed after this.
|
Peek |
peek(priority_t priority,
long period)
Fetches information on the next command to be executed after this.
|
PickUp |
pickUp()
Picks up any items within the Quagent's bounding box.
|
PickUp |
pickUp(long period)
Picks up any items within the Quagent's bounding box.
|
PickUp |
pickUp(long period,
priority_t priority)
Picks up any items within the Quagent's bounding box.
|
PickUp |
pickUp(priority_t priority)
Picks up any items within the Quagent's bounding box.
|
Pop |
pop()
Deletes the next command to be executed from the server command queue.
|
Pop |
pop(long period)
Deletes the next command to be executed from the server command queue.
|
Pop |
pop(priority_t priority)
Deletes the next command to be executed from the server command queue.
|
Pop |
pop(priority_t priority,
long period)
Deletes the next command to be executed from the server command queue.
|
PutDown |
putDown(int item,
int quantity)
Put downs the specified item (see static definitions in PutDown).
|
PutDown |
putDown(int item,
int quantity,
long period)
Put downs the specified item (see static definitions in PutDown).
|
PutDown |
putDown(int item,
int quantity,
long period,
priority_t priority)
Put downs the specified item (see static definitions in PutDown).
|
PutDown |
putDown(int item,
int quantity,
priority_t priority)
Put downs the specified item (see static definitions in PutDown).
|
Radar |
radar()
This command responds with information on all entities in sight within a specified range.
|
Radar |
radar(double range)
This command responds with information on all entities in sight within a specified range.
|
Radar |
radar(double range,
long period)
This command responds with information on all entities in sight within a specified range.
|
Radar |
radar(double range,
priority_t priority)
This command responds with information on all entities in sight within a specified range.
|
Radar |
radar(double range,
priority_t priority,
long period)
This command responds with information on all entities in sight within a specified range.
|
Radar |
radar(long period)
This command responds with information on all entities in sight within a specified range.
|
Radar |
radar(priority_t priority)
This command responds with information on all entities in sight within an infinite range.
|
Radar |
radar(priority_t priority,
long period)
This command responds with information on all entities in sight within an infinite range.
|
Rangefinder |
rangefinder()
Asks the agent to tell you what and where the nearest object in front of the Quagent is.
|
Rangefinder |
rangefinder(double rot)
Asks the agent to tell you what and where the nearest object at a specific angle is.
|
Rangefinder |
rangefinder(double rot,
long period)
Asks the agent to tell you what and where the nearest object at a specific angle is.
|
Rangefinder |
rangefinder(double rot,
priority_t priority)
Asks the agent to tell you what and where the nearest object at a specific angle is.
|
Rangefinder |
rangefinder(double rot,
priority_t priority,
long period)
Asks the agent to tell you what and where the nearest object at a specific angle is.
|
Rangefinder |
rangefinder(int type)
Asks the agent to tell you what and where the nearest object in front of the Quagent is.
|
Rangefinder |
rangefinder(int type,
double rot)
Asks the agent to tell you what and where the nearest object at a specific angle is.
|
Rangefinder |
rangefinder(int type,
double rot,
double azi)
Asks the agent to tell you what and where the nearest object at a specific angle is.
|
Rangefinder |
rangefinder(int type,
double rot,
double azi,
long period)
Asks the agent to tell you what and where the nearest object at a specific angle is.
|
Rangefinder |
rangefinder(int type,
double rot,
double azi,
priority_t priority)
Asks the agent to tell you what and where the nearest object at a specific angle is.
|
Rangefinder |
rangefinder(int type,
double rot,
double azi,
priority_t priority,
long period)
Asks the agent to tell you what and where the nearest object at a specific angle is.
|
Rangefinder |
rangefinder(int type,
double rot,
long period)
Asks the agent to tell you what and where the nearest object at a specific angle is.
|
Rangefinder |
rangefinder(int type,
double rot,
priority_t priority)
Asks the agent to tell you what and where the nearest object at a specific angle is.
|
Rangefinder |
rangefinder(int type,
double rot,
priority_t priority,
long period)
Asks the agent to tell you what and where the nearest object at a specific angle is.
|
Rangefinder |
rangefinder(int type,
int range,
double rot,
double azi)
Asks the agent to tell you what and where the nearest object within a specific distance at a specific angle is.
|
Rangefinder |
rangefinder(int type,
int range,
double rot,
double azi,
long period)
Asks the agent to tell you what and where the nearest object within a specific distance at a specific angle is.
|
Rangefinder |
rangefinder(int type,
int range,
double rot,
double azi,
priority_t priority)
Asks the agent to tell you what and where the nearest object within a specific distance at a specific angle is.
|
Rangefinder |
rangefinder(int type,
int range,
double rot,
double azi,
priority_t priority,
long period)
Asks the agent to tell you what and where the nearest object within a specific distance at a specific angle is.
|
Rangefinder |
rangefinder(int type,
long period)
Asks the agent to tell you what and where the nearest object in front of the Quagent is.
|
Rangefinder |
rangefinder(int type,
priority_t priority)
Asks the agent to tell you what and where the nearest object located in front of the Quagent is.
|
Rangefinder |
rangefinder(int type,
priority_t priority,
long period)
Asks the agent to tell you what and where the nearest object located in front of the Quagent is.
|
Rangefinder |
rangefinder(long period)
Asks the agent to tell you what and where the nearest object in front of the Quagent is.
|
Rangefinder |
rangefinder(priority_t priority)
Asks the agent to tell you what and where the nearest object in front of the Quagent is.
|
Rangefinder |
rangefinder(priority_t priority,
long period)
Asks the agent to tell you what and where the nearest object in front of the Quagent is.
|
void |
ready()
This function indicates that that the user has finished setting all
initial parameters and is ready to start the main phase of Quagents.
|
void |
removeCommandFromRunning(ProtocolZero com) |
Rotate |
rotate(double rot)
Rotates the agent to the left by the specified rotational and azimuthal angles.
|
Rotate |
rotate(double rot,
double azi)
Rotates the agent to the left by the specified rotational and azimuthal angles.
|
Rotate |
rotate(double rot,
double azi,
long period)
Rotates the agent to the left by the specified rotational and azimuthal angles.
|
Rotate |
rotate(double rot,
double azi,
priority_t priority)
Rotates the agent to the left by the specified rotational and azimuthal angles.
|
Rotate |
rotate(double rot,
double azi,
priority_t priority,
long period)
Rotates the agent to the left by the specified rotational and azimuthal angles.
|
Rotate |
rotate(double rot,
long period)
Rotates the agent to the left by the specified rotational and azimuthal angles.
|
Rotate |
rotate(double rot,
priority_t priority)
Rotates the agent to the left by the specified rotational and azimuthal angles.
|
Rotate |
rotate(double rot,
priority_t priority,
long period)
Rotates the agent to the left by the specified rotational and azimuthal angles.
|
RotateFireWeapon |
rotateFireWeapon(double rot,
double azi) |
void |
run() |
Say |
say(java.lang.String msg)
Quagent says the parameter message aloud.
|
Say |
say(java.lang.String msg,
double volume)
Quagent says the parameter message aloud.
|
Say |
say(java.lang.String msg,
double volume,
long period)
Quagent says the parameter message aloud.
|
Say |
say(java.lang.String msg,
double volume,
priority_t priority)
Quagent says the parameter message aloud.
|
Say |
say(java.lang.String msg,
double volume,
priority_t priority,
long period)
Quagent says the parameter message aloud.
|
Say |
say(java.lang.String msg,
long period)
Quagent says the parameter message aloud.
|
Say |
say(java.lang.String msg,
priority_t priority)
Quagent says the parameter message aloud.
|
Say |
say(java.lang.String msg,
priority_t priority,
long period)
Quagent says the parameter message aloud.
|
void |
setQuagentID(int qid)
Used by the reader thread to set the quagent's id.
|
Shove |
shove(double strength)
Shoves the object with strength in the direction of the Quagent's current facing.
|
Shove |
shove(double strength,
double yaw)
Shoves the object with strength in the direction of yaw and the Quagent's current vertical facing.
|
Shove |
shove(double strength,
double yaw,
double pitch)
Shoves the object with strength in the direction of yaw and pitch .
|
Shove |
shove(double strength,
double yaw,
double pitch,
long period)
Shoves the object with strength in the direction of yaw and pitch .
|
Shove |
shove(double strength,
double yaw,
double pitch,
priority_t priority)
Shoves the object with strength in the direction of yaw and pitch .
|
Shove |
shove(double strength,
double yaw,
double pitch,
priority_t priority,
long period)
Shoves the object with strength in the direction of yaw and pitch .
|
Shove |
shove(double strength,
double yaw,
long period)
Shoves the object with strength in the direction of yaw and the Quagent's current vertical facing.
|
Shove |
shove(double strength,
double yaw,
priority_t priority)
Shoves the object with strength in the direction of yaw and the Quagent's current vertical facing.
|
Shove |
shove(double strength,
double yaw,
priority_t priority,
long period)
Shoves the object with strength in the direction of yaw and the Quagent's current vertical facing.
|
Shove |
shove(double strength,
long period)
Shoves the object with strength in the direction of the Quagent's current facing.
|
Shove |
shove(double strength,
priority_t priority)
Shoves the object with strength in the direction of the Quagent's current facing.
|
Shove |
shove(double strength,
priority_t priority,
long period)
Shoves the object with strength in the direction of the Quagent's current facing.
|
void |
skill(int skill)
Sets the skill level of the bot, which selects subsections from the botfiles.
|
Skip |
skip()
Does nothing for a single AI frame.
|
Skip |
skip(long period)
Does nothing for a single AI frame.
|
Skip |
skip(priority_t priority)
Does nothing for a single AI frame.
|
Skip |
skip(priority_t priority,
long period)
Does nothing for a single AI frame.
|
void |
start(Command com)
Sends command to server to execute, and returns.
|
boolean |
stop(Command com)
True if found in updater, else false.
|
SwitchWeapon |
switchWeapon(weapon wep)
Makes the agent to switch weapons.
|
SwitchWeapon |
switchWeapon(weapon wep,
long period)
Makes the agent to switch weapons.
|
SwitchWeapon |
switchWeapon(weapon wep,
priority_t priority)
Makes the agent to switch weapons.
|
SwitchWeapon |
switchWeapon(weapon wep,
priority_t priority,
long period)
Makes the agent to switch weapons.
|
void |
team(team t)
This function specifies the Quagent's team.
|
void |
terminate() |
boolean |
validateSocket() |
void |
waitForTerminate(Command com)
Blocks until com has terminated.
|
WhatIs |
whatIs(int entityid)
Queries the server for the classtype of a given entity id.
|
WhatIs |
whatIs(int entityid,
long period)
Queries the server for the classtype of a given entity id.
|
WhatIs |
whatIs(int entityid,
priority_t priority)
Queries the server for the classtype of a given entity id.
|
WhatIs |
whatIs(int entityid,
priority_t priority,
long period)
Queries the server for the classtype of a given entity id.
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
public static int SERVERPORT
public static int EVENTPORT
public long commandid
public java.util.Stack<Command> comhist
public static int BBOXLENGTH
public java.lang.String name
public static double DEFAULTSPEED
public static priority_t DEFAULTPRIORITY
public static int DEFAULT_RF_TYPE
public static double DEFAULTVOLUME
public static boolean VERBOSE
public static boolean synchronous
public Client(java.lang.String ip) throws java.net.UnknownHostException, java.io.IOException
java.net.UnknownHostException
java.io.IOException
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void terminate()
public void execute(Command com)
public void start(Command com)
Entity
public void waitForTerminate(Command com)
Entity
waitForTerminate
in interface Entity
com
- Command to block on.public java.util.List<ProtocolZero> getRunningList()
getRunningList
in interface Entity
public long incrementCommandID()
incrementCommandID
in interface Entity
public void removeCommandFromRunning(ProtocolZero com)
removeCommandFromRunning
in interface Entity
public void addCommandToRunning(ProtocolZero com)
addCommandToRunning
in interface Entity
public void notifyCommandTerminationListener(Command com)
notifyCommandTerminationListener
in interface Entity
public int getQuagentID()
QuagentEntity
getQuagentID
in interface QuagentEntity
public void setQuagentID(int qid)
setQuagentID
in interface QuagentEntity
qid
- Quagent's Quake entity id.public boolean stop(Command com)
com
- public Updater getUpdater()
public java.io.Writer getWriter()
Entity
public boolean validateSocket() throws java.io.IOException
java.io.IOException
public static char convertPriority(priority_t priority)
public void ready() throws java.io.IOException
QuagentEntity
ready
in interface QuagentEntity
java.io.IOException
public void name(java.lang.String name) throws java.io.IOException
QuagentEntity
name
in interface QuagentEntity
name
- The Quagent's desired namejava.io.IOException
public void botfile(java.lang.String filename) throws java.io.IOException
QuagentEntity
botfile
in interface QuagentEntity
filename
- The filename for the botfile.java.io.IOException
public void team(team t) throws java.io.IOException
QuagentEntity
team
in interface QuagentEntity
t
- The Quagent's desired team.java.io.IOException
enumerated type
public void password(java.lang.String password) throws java.io.IOException
QuagentEntity
password
in interface QuagentEntity
password
- Password to be used.java.io.IOException
public void skill(int skill) throws java.io.IOException
QuagentEntity
skill
in interface QuagentEntity
skill
- The bot's skill level.java.io.IOException
public void initialPosition(double x, double y, double z) throws java.io.IOException
QuagentEntity
initialPosition
in interface QuagentEntity
x
- The x coordinate of the initial position.y
- The y coordinate of the initial position.z
- The z coordinate of the initial position.java.io.IOException
public MoveBy moveBy(double dir, double dist, double speed, int obstacles, priority_t priority)
ClientInf
moveBy
in interface ClientInf
dir
- The rotational angle, in degrees left of Quagent's current facing to move.dist
- The distance to move.speed
- The speed at which to move. This is a value between 0 and 1.obstacles
- 1 if the agent should hop over low obstacles, 0 if it should report blocked when it encounters them.priority
- The command queue priority.public MoveBy moveBy(double dir, double dist, double speed, int obstacles, priority_t priority, long period)
ClientInf
moveBy
in interface ClientInf
dir
- The rotational angle, in degrees left of Quagent's current facing to move.dist
- The distance to move.speed
- The speed at which to move. This is a value between 0 and 1.obstacles
- 1 if the agent should hop over low obstacles, 0 if it should report blocked when it encounters them.priority
- The command queue priority.period
- The period at which to repeat the action.public MoveBy moveBy(double dir, double dist, double speed, int obstacles)
ClientInf
moveBy
in interface ClientInf
dir
- The rotational angle, in degrees left of Quagent's current facing to move.dist
- The distance to move.speed
- The speed at which to move. This is a value between 0 and 1.obstacles
- Determines whether the Quagent automatically attempts to bypass obstacles. 1 is auto bypass, else 0.public MoveBy moveBy(double dir, double dist, double speed, int obstacles, long period)
ClientInf
moveBy
in interface ClientInf
dir
- The rotational angle, in degrees left of Quagent's current facing to move.dist
- The distance to move.speed
- The speed at which to move. This is a value between 0 and 1.obstacles
- Determines whether the Quagent automatically attempts to bypass obstacles. 1 is auto bypass, else 0.period
- The period at which to repeat the action.public MoveBy moveBy(double dir, double dist, double speed, priority_t priority)
ClientInf
moveBy
in interface ClientInf
dir
- The rotational angle, in degrees left of Quagent's current facing to move.dist
- The distance to move.speed
- The speed at which to move. This is a value between 0 and 1.priority
- The command queue priority.public MoveBy moveBy(double dir, double dist, double speed, priority_t priority, long period)
ClientInf
moveBy
in interface ClientInf
dir
- The rotational angle, in degrees left of Quagent's current facing to move.dist
- The distance to move.speed
- The speed at which to move. This is a value between 0 and 1.priority
- The command queue priority.period
- The period at which to repeat the action.public MoveBy moveBy(double dir, double dist, double speed)
ClientInf
public MoveBy moveBy(double dir, double dist, double speed, long period)
ClientInf
moveBy
in interface ClientInf
dir
- The rotational angle, in degrees left of Quagent's current facing to move.dist
- The distance to move.speed
- The speed at which to move. This is a value between 0 and 1.period
- The period at which to repeat the action.public MoveBy moveBy(double dist, double speed, priority_t priority)
ClientInf
public MoveBy moveBy(double dist, double speed, priority_t priority, long period)
ClientInf
public MoveBy moveBy(double dist, double speed)
ClientInf
public MoveBy moveBy(double dist, double speed, long period)
ClientInf
public MoveBy moveBy(double dist, priority_t priority)
ClientInf
public MoveBy moveBy(double dist, priority_t priority, long period)
ClientInf
public MoveBy moveBy(double dist)
ClientInf
public MoveBy moveBy(double dist, long period)
ClientInf
public MoveTo moveTo(double[] point, double speed, int obstacles, priority_t priority)
ClientInf
moveTo
in interface ClientInf
point
- The destination point, in the form of {x,y}.speed
- The speed at which to move. Floating point value between 0 and 1.obstacles
- Determines whether the Quagent automatically attempts to bypass obstacles. 1 is auto bypass, else 0.priority
- The command queue priority.public MoveTo moveTo(double[] point, double speed, int obstacles, priority_t priority, long period)
ClientInf
moveTo
in interface ClientInf
point
- The destination point, in the form of {x,y}.speed
- The speed at which to move. Floating point value between 0 and 1.obstacles
- Determines whether the Quagent automatically attempts to bypass obstacles. 1 is auto bypass, else 0.priority
- The command queue priority.period
- The period at which to repeat the action.public MoveTo moveTo(double[] point, double speed, int obstacles)
ClientInf
moveTo
in interface ClientInf
point
- The destination point, in the form of {x,y}.speed
- The speed at which to move. Floating point value between 0 and 1.obstacles
- Determines whether the Quagent automatically attempts to bypass obstacles. 1 is auto bypass, else 0.public MoveTo moveTo(double[] point, double speed, int obstacles, long period)
ClientInf
moveTo
in interface ClientInf
point
- The destination point, in the form of {x,y}.speed
- The speed at which to move. Floating point value between 0 and 1.obstacles
- Determines whether the Quagent automatically attempts to bypass obstacles. 1 is auto bypass, else 0.period
- The period at which to repeat the action.public MoveTo moveTo(double[] point, double speed, priority_t priority)
ClientInf
public MoveTo moveTo(double[] point, double speed, priority_t priority, long period)
ClientInf
moveTo
in interface ClientInf
point
- The destination point, in the form of {x,y}.speed
- The speed at which to move. Floating point value between 0 and 1.priority
- The command queue priority.period
- The period at which to repeat the action.public MoveTo moveTo(double[] point, double speed)
ClientInf
public MoveTo moveTo(double[] point, double speed, long period)
ClientInf
public MoveTo moveTo(double[] point, priority_t priority)
ClientInf
public MoveTo moveTo(double[] point, priority_t priority, long period)
ClientInf
public MoveTo moveTo(double[] point)
ClientInf
public MoveTo moveTo(double[] point, long period)
ClientInf
public MoveForever moveForever(double dir, double speed, int obstacles, priority_t priority)
ClientInf
moveForever
in interface ClientInf
dir
- The rotational angle, in degrees, left of Quagent's current facing to move.speed
- The speed at which to move.obstacles
- Determines whether the Quagent automatically attempts to bypass obstacles. 1 is auto bypass, else 0.priority
- The command queue priority.public MoveForever moveForever(double dir, double speed, int obstacles, priority_t priority, long period)
ClientInf
moveForever
in interface ClientInf
dir
- The rotational angle, in degrees, left of Quagent's current facing to move.speed
- The speed at which to move.obstacles
- Determines whether the Quagent automatically attempts to bypass obstacles. 1 is auto bypass, else 0.priority
- The command queue priority.period
- The period at which to repeat the action.public MoveForever moveForever(double dir, double speed, int obstacles)
ClientInf
moveForever
in interface ClientInf
dir
- The rotational angle, in degrees, left of Quagent's current facing to move.speed
- The speed at which to move.obstacles
- Determines whether the Quagent automatically attempts to bypass obstacles. 1 is auto bypass, else 0.public MoveForever moveForever(double dir, double speed, int obstacles, long period)
ClientInf
moveForever
in interface ClientInf
dir
- The rotational angle, in degrees, left of Quagent's current facing to move.speed
- The speed at which to move.obstacles
- Determines whether the Quagent automatically attempts to bypass obstacles. 1 is auto bypass, else 0.period
- The period at which to repeat the action.public MoveForever moveForever(double dir, double speed, priority_t priority)
ClientInf
moveForever
in interface ClientInf
dir
- The rotational angle, in degrees, left of Quagent's current facing to move.speed
- The speed at which to move.priority
- The command queue priority.public MoveForever moveForever(double dir, double speed, priority_t priority, long period)
ClientInf
moveForever
in interface ClientInf
dir
- The rotational angle, in degrees, left of Quagent's current facing to move.speed
- The speed at which to move.priority
- The command queue priorityperiod
- The period at which to repeat the action..public MoveForever moveForever(double dir, double speed)
ClientInf
moveForever
in interface ClientInf
dir
- The rotational angle, in degrees, left of Quagent's current facing to move.speed
- The speed at which to move.public MoveForever moveForever(double dir, double speed, long period)
ClientInf
moveForever
in interface ClientInf
dir
- The rotational angle, in degrees, left of Quagent's current facing to move.speed
- The speed at which to move.period
- The period at which to repeat the action.public MoveForever moveForever(double speed, priority_t priority)
ClientInf
moveForever
in interface ClientInf
speed
- The speed at which to move.priority
- The command queue prioritypublic MoveForever moveForever(double speed, priority_t priority, long period)
ClientInf
moveForever
in interface ClientInf
speed
- The speed at which to move.priority
- The command queue priorityperiod
- The period at which to repeat the action.public MoveForever moveForever(double speed)
ClientInf
moveForever
in interface ClientInf
speed
- The speed at which to move. Floating point between 0 and 1.public MoveForever moveForever(double speed, long period)
ClientInf
moveForever
in interface ClientInf
speed
- The speed at which to move. Floating point between 0 and 1.period
- The period at which to repeat the action.public MoveForever moveForever(priority_t priority)
ClientInf
moveForever
in interface ClientInf
priority
- The command queue priority.public MoveForever moveForever(priority_t priority, long period)
ClientInf
moveForever
in interface ClientInf
priority
- The command queue priority.period
- The period at which to repeat the action.public MoveForever moveForever()
ClientInf
moveForever
in interface ClientInf
public MoveForever moveForever(long period)
ClientInf
moveForever
in interface ClientInf
period
- The period at which to repeat the action.public MoveFor moveFor(double dir, double time, double speed, int obstacles, priority_t priority)
ClientInf
moveFor
in interface ClientInf
dir
- The rotational angle, in degrees, left of Quagent's current facing to move.time
- The duration of the movement.speed
- The speed at which to move. Floating point value between 0 and 1.obstacles
- Determines whether the Quagent automatically attempts to bypass obstacles. 1 is auto bypass, else 0.priority
- The command queue priority.public MoveFor moveFor(double dir, double time, double speed, int obstacles, priority_t priority, long period)
ClientInf
moveFor
in interface ClientInf
dir
- The rotational angle, in degrees, left of Quagent's current facing to move.time
- The duration of the movement.speed
- The speed at which to move. Floating point value between 0 and 1.obstacles
- Determines whether the Quagent automatically attempts to bypass obstacles. 1 is auto bypass, else 0.priority
- The command queue priority.period
- The period at which to repeat the action.public MoveFor moveFor(double dir, double time, double speed, int obstacles)
ClientInf
moveFor
in interface ClientInf
dir
- The rotational angle, in degrees, left of Quagent's current facing to move.time
- The duration of the movement.speed
- The speed at which to move. Floating point value between 0 and 1.obstacles
- Determines whether the Quagent automatically attempts to bypass obstacles. 1 is auto bypass, else 0.public MoveFor moveFor(double dir, double time, double speed, int obstacles, long period)
ClientInf
moveFor
in interface ClientInf
dir
- The rotational angle, in degrees, left of Quagent's current facing to move.time
- The duration of the movement.speed
- The speed at which to move. Floating point value between 0 and 1.obstacles
- Determines whether the Quagent automatically attempts to bypass obstacles. 1 is auto bypass, else 0.period
- The period at which to repeat the action.public MoveFor moveFor(double dir, double time, double speed, priority_t priority)
ClientInf
moveFor
in interface ClientInf
dir
- The rotational angle, in degrees, left of Quagent's current facing to move.time
- The duration of the movement.speed
- The speed at which to move. Floating point value between 0 and 1.priority
- The command queue priority.public MoveFor moveFor(double dir, double time, double speed, priority_t priority, long period)
ClientInf
moveFor
in interface ClientInf
dir
- The rotational angle, in degrees, left of Quagent's current facing to move.time
- The duration of the movement.speed
- The speed at which to move. Floating point value between 0 and 1.priority
- The command queue priority.period
- The period at which to repeat the action.public MoveFor moveFor(double dir, double time, double speed)
ClientInf
moveFor
in interface ClientInf
dir
- The rotational angle, in degrees, left of Quagent's current facing to move.time
- The duration of the movement.speed
- The speed at which to move. Floating point value between 0 and 1.public MoveFor moveFor(double dir, double time, double speed, long period)
public MoveFor moveFor(double time, double speed, priority_t priority)
ClientInf
public MoveFor moveFor(double time, double speed, priority_t priority, long period)
ClientInf
moveFor
in interface ClientInf
time
- The duration of the movement.speed
- The speed at which to move. Floating point value between 0 and 1.priority
- The command queue priority.period
- The period at which to repeat the action.public MoveFor moveFor(double time, double speed)
ClientInf
public MoveFor moveFor(double time, double speed, long period)
ClientInf
public MoveFor moveFor(double time, priority_t priority)
ClientInf
public MoveFor moveFor(double time, priority_t priority, long period)
ClientInf
public MoveFor moveFor(double time)
ClientInf
public MoveFor moveFor(double time, long period)
ClientInf
public Jump jump(double dir, double speed, priority_t priority)
ClientInf
public Jump jump(double dir, double speed, priority_t priority, long period)
ClientInf
jump
in interface ClientInf
dir
- The rotational angle, in degrees, left of Quagent's current facing to move.speed
- The speed at which to jump. Floating point value between 0 and 1.priority
- The command queue priority.period
- The period at which to repeat the action.public Jump jump(double dir, double speed)
ClientInf
public Jump jump(double dir, double speed, long period)
ClientInf
jump
in interface ClientInf
dir
- The rotational angle, in degrees, left of Quagent's current facing to move.speed
- The speed at which to jump. Floating point value between 0 and 1.period
- The period at which to repeat the action.public Jump jump(priority_t priority)
ClientInf
public Jump jump(priority_t priority, long period)
ClientInf
public Jump jump()
ClientInf
public Jump jump(long period)
ClientInf
public CurrentArmor currentArmor(priority_t priority)
ClientInf
currentArmor
in interface ClientInf
priority
- The command queue priority.public CurrentArmor currentArmor(priority_t priority, long period)
ClientInf
currentArmor
in interface ClientInf
priority
- The command queue priority.period
- The period at which to repeat the action.public CurrentArmor currentArmor()
ClientInf
currentArmor
in interface ClientInf
public CurrentArmor currentArmor(long period)
ClientInf
currentArmor
in interface ClientInf
period
- The period at which to repeat the action.public CurrentHealth currentHealth(priority_t priority)
ClientInf
currentHealth
in interface ClientInf
priority
- The command queue priority.public CurrentHealth currentHealth(priority_t priority, long period)
ClientInf
currentHealth
in interface ClientInf
priority
- The command queue priority.period
- The period at which to repeat the action.public CurrentHealth currentHealth()
ClientInf
currentHealth
in interface ClientInf
public CurrentHealth currentHealth(long period)
ClientInf
currentHealth
in interface ClientInf
period
- The period at which to repeat the action.public CurrentAmmo currentAmmo(weapon wep, priority_t priority)
ClientInf
currentAmmo
in interface ClientInf
wep
- Weapon to fetch ammunition remaining for.priority
- The command queue priority.public CurrentAmmo currentAmmo(weapon wep, priority_t priority, long period)
ClientInf
currentAmmo
in interface ClientInf
wep
- Weapon to fetch ammunition remaining for.priority
- The command queue priority.period
- The period at which to repeat the action.public CurrentAmmo currentAmmo(weapon wep)
ClientInf
currentAmmo
in interface ClientInf
wep
- Weapon to fetch ammunition remaining for.public CurrentAmmo currentAmmo(weapon wep, long period)
ClientInf
currentAmmo
in interface ClientInf
wep
- Weapon to fetch ammunition remaining for.period
- The period at which to repeat the action.public FireWeapon fireWeapon(priority_t priority)
ClientInf
fireWeapon
in interface ClientInf
priority
- The command queue priority.public FireWeapon fireWeapon()
ClientInf
fireWeapon
in interface ClientInf
public FireWeapon fireWeapon(priority_t priority, long period)
ClientInf
fireWeapon
in interface ClientInf
priority
- The command queue priority.period
- The period at which to repeat the action.public FireWeapon fireWeapon(long period)
ClientInf
fireWeapon
in interface ClientInf
period
- The period at which to repeat the action.public Skip skip(priority_t priority)
ClientInf
public Skip skip()
ClientInf
public Skip skip(priority_t priority, long period)
ClientInf
public Skip skip(long period)
ClientInf
public ForgetAllTasks forgetAllTasks(priority_t priority)
ClientInf
forgetAllTasks
in interface ClientInf
priority
- The command queue priority.public ForgetAllTasks forgetAllTasks()
ClientInf
forgetAllTasks
in interface ClientInf
public ForgetAllTasks forgetAllTasks(priority_t priority, long period)
ClientInf
forgetAllTasks
in interface ClientInf
priority
- The command queue priority.period
- The period at which to repeat the action.public ForgetAllTasks forgetAllTasks(long period)
ClientInf
forgetAllTasks
in interface ClientInf
period
- The period at which to repeat the action.public Rangefinder rangefinder(int type, int range, double rot, double azi, priority_t priority)
ClientInf
rangefinder
in interface ClientInf
type
- The type of rangefinder to use. They are as follows:
range
- The maximum distance of the rangefinder. So far, the maximum distance we have seen in Quake has been 8120, so a value of 9999 should act as infinite for all intents and purposes.rot
- The rotational angle (in degrees) left of Quagent's facing to fire the rangefinder.azi
- The azimuthal angle (in degrees) down from Quagent's facing to fire the rangefinder.priority
- The command queue priority.public Rangefinder rangefinder(int type, int range, double rot, double azi, priority_t priority, long period)
ClientInf
rangefinder
in interface ClientInf
type
- The type of rangefinder to use. They are as follows:
range
- The maximum distance of the rangefinder. So far, the maximum distance we have seen in Quake has been 8120, so a value of 9999 should act as infinite for all intents and purposes.rot
- The rotational angle (in degrees) left of Quagent's facing to fire the rangefinder.azi
- The azimuthal angle (in degrees) down from Quagent's facing to fire the rangefinder.priority
- The command queue priority.period
- The period at which to repeat the action.public Rangefinder rangefinder(int type, int range, double rot, double azi, long period)
ClientInf
rangefinder
in interface ClientInf
type
- The type of rangefinder to use. They are as follows:
range
- The maximum distance of the rangefinder. So far, the maximum distance we have seen in Quake has been 8120, so a value of 9999 should act as infinite for all intents and purposes.rot
- The rotational angle (in degrees) left of Quagent's facing to fire the rangefinder.azi
- The azimuthal angle (in degrees) down from Quagent's facing to fire the rangefinder.period
- The period at which to repeat the action.public Rangefinder rangefinder(int type, int range, double rot, double azi)
ClientInf
rangefinder
in interface ClientInf
type
- The type of rangefinder to use. They are as follows:
range
- The maximum distance of the rangefinder. So far, the maximum distance we have seen in Quake has been 8120, so a value of 9999 should act as infinite for all intents and purposes.rot
- The rotational angle (in degrees) left of Quagent's facing to fire the rangefinder.azi
- The azimuthal angle (in degrees) down from Quagent's facing to fire the rangefinder.public Rangefinder rangefinder(int type, double rot, double azi, priority_t priority)
ClientInf
rangefinder
in interface ClientInf
type
- The type of rangefinder to use. They are as follows:
rot
- The rotational angle (in degrees) left of Quagent's facing to fire the rangefinder.azi
- The azimuthal angle (in degrees) down from Quagent's facing to fire the rangefinder.priority
- The command queue priority.public Rangefinder rangefinder(int type, double rot, double azi, priority_t priority, long period)
ClientInf
rangefinder
in interface ClientInf
type
- The type of rangefinder to use. They are as follows:
rot
- The rotational angle (in degrees) left of Quagent's facing to fire the rangefinder.azi
- The azimuthal angle (in degrees) down from Quagent's facing to fire the rangefinder.priority
- The command queue priority.period
- The period at which to repeat the action.public Rangefinder rangefinder(int type, double rot, double azi)
ClientInf
rangefinder
in interface ClientInf
type
- The type of rangefinder to use. They are as follows:
rot
- The rotational angle (in degrees) left of Quagent's facing to fire the rangefinder.azi
- The azimuthal angle (in degrees) down from Quagent's facing to fire the rangefinder.public Rangefinder rangefinder(int type, double rot, double azi, long period)
ClientInf
rangefinder
in interface ClientInf
type
- The type of rangefinder to use. They are as follows:
rot
- The rotational angle (in degrees) left of Quagent's facing to fire the rangefinder.azi
- The azimuthal angle (in degrees) down from Quagent's facing to fire the rangefinder.period
- The period at which to repeat the action.public Rangefinder rangefinder(int type, double rot, priority_t priority)
ClientInf
rangefinder
in interface ClientInf
type
- The type of rangefinder to use. They are as follows:
rot
- The rotational angle (in degrees) left of Quagent's facing to fire the rangefinder.priority
- The command queue priority.public Rangefinder rangefinder(int type, double rot, priority_t priority, long period)
ClientInf
rangefinder
in interface ClientInf
type
- The type of rangefinder to use. They are as follows:
rot
- The rotational angle (in degrees) left of Quagent's facing to fire the rangefinder.priority
- The command queue priority.period
- The period at which to repeat the action.public Rangefinder rangefinder(int type, double rot)
ClientInf
rangefinder
in interface ClientInf
type
- The type of rangefinder to use. They are as follows:
rot
- The rotational angle (in degrees) left of Quagent's facing to fire the rangefinder.public Rangefinder rangefinder(int type, double rot, long period)
ClientInf
rangefinder
in interface ClientInf
type
- The type of rangefinder to use. They are as follows:
rot
- The rotational angle (in degrees) left of Quagent's facing to fire the rangefinder.period
- The period at which to repeat the action.public Rangefinder rangefinder(double rot, priority_t priority)
ClientInf
rangefinder
in interface ClientInf
rot
- The rotational angle (in degrees) left of Quagent's facing to fire the rangefinder.priority
- The command queue priority.public Rangefinder rangefinder(double rot, priority_t priority, long period)
ClientInf
rangefinder
in interface ClientInf
rot
- The rotational angle (in degrees) left of Quagent's facing to fire the rangefinder.priority
- The command queue priority.period
- The period at which to repeat the action.public Rangefinder rangefinder(double rot)
ClientInf
rangefinder
in interface ClientInf
rot
- The rotational angle (in degrees) left of Quagent's facing to fire the rangefinder.public Rangefinder rangefinder(double rot, long period)
ClientInf
rangefinder
in interface ClientInf
rot
- The rotational angle (in degrees) left of Quagent's facing to fire the rangefinder.period
- The period at which to repeat the action.public Rangefinder rangefinder(int type, priority_t priority)
ClientInf
rangefinder
in interface ClientInf
type
- The type of rangefinder to use. They are as follows:
priority
- The command queue priority.public Rangefinder rangefinder(int type, priority_t priority, long period)
ClientInf
rangefinder
in interface ClientInf
type
- The type of rangefinder to use. They are as follows:
priority
- The command queue priority.period
- The period at which to repeat the action.public Rangefinder rangefinder(int type)
ClientInf
rangefinder
in interface ClientInf
type
- The type of rangefinder to use. They are as follows:
public Rangefinder rangefinder(int type, long period)
ClientInf
rangefinder
in interface ClientInf
type
- The type of rangefinder to use. They are as follows:
period
- The period at which to repeat the action.public Rangefinder rangefinder(priority_t priority)
ClientInf
rangefinder
in interface ClientInf
priority
- The command queue priority.public Rangefinder rangefinder(priority_t priority, long period)
ClientInf
rangefinder
in interface ClientInf
priority
- The command queue priority.period
- The period at which to repeat the action.public Rangefinder rangefinder()
ClientInf
rangefinder
in interface ClientInf
public Rangefinder rangefinder(long period)
ClientInf
rangefinder
in interface ClientInf
period
- The period at which to repeat the action.public Say say(java.lang.String msg, double volume, priority_t priority)
ClientInf
public Say say(java.lang.String msg, double volume, priority_t priority, long period)
ClientInf
public Say say(java.lang.String msg, double volume)
ClientInf
public Say say(java.lang.String msg, double volume, long period)
ClientInf
public Say say(java.lang.String msg, priority_t priority)
ClientInf
public Say say(java.lang.String msg, priority_t priority, long period)
ClientInf
public Say say(java.lang.String msg)
ClientInf
public Say say(java.lang.String msg, long period)
ClientInf
public CurrentLocation currentLocation(priority_t priority)
ClientInf
currentLocation
in interface ClientInf
priority
- The command queue priority.public CurrentLocation currentLocation()
ClientInf
currentLocation
in interface ClientInf
public CurrentLocation currentLocation(priority_t priority, long period)
ClientInf
currentLocation
in interface ClientInf
priority
- The command queue priority.period
- The period at which to repeat the action.public CurrentLocation currentLocation(long period)
ClientInf
currentLocation
in interface ClientInf
period
- The period at which to repeat the action.public MaxArmor maxArmor(priority_t priority)
ClientInf
public MaxArmor maxArmor()
ClientInf
public MaxArmor maxArmor(priority_t priority, long period)
ClientInf
public MaxArmor maxArmor(long period)
ClientInf
public MaxHealth maxHealth(priority_t priority)
ClientInf
public MaxHealth maxHealth()
ClientInf
public MaxHealth maxHealth(priority_t priority, long period)
ClientInf
public MaxHealth maxHealth(long period)
ClientInf
public CanSee canSee(int entityid, priority_t priority)
ClientInf
public CanSee canSee(int entityid)
ClientInf
public CanSee canSee(int entityid, priority_t priority, long period)
ClientInf
public CanSee canSee(int entityid, long period)
ClientInf
public Pause pause(priority_t priority)
ClientInf
public Pause pause()
ClientInf
public Pause pause(priority_t priority, long period)
ClientInf
public Pause pause(long period)
ClientInf
public Pop pop(priority_t priority)
ClientInf
public Pop pop()
ClientInf
public Pop pop(priority_t priority, long period)
ClientInf
public Pop pop(long period)
ClientInf
public Peek peek(int depth, priority_t priority)
ClientInf
peek
in interface ClientInf
depth
- The number of commands down the queue to look. For instance,
0 looks at the next command after peek, -1 looks at this peek command, and n looks
at a command n+1 commands after peek.priority
- The command queue priority.public Peek peek(int depth)
ClientInf
public Peek peek(priority_t priority)
ClientInf
public Peek peek()
ClientInf
public Peek peek(int depth, priority_t priority, long period)
ClientInf
peek
in interface ClientInf
depth
- The number of commands down the queue to look. For instance,
0 looks at the next command after peek, -1 looks at this peek command, and n looks
at a command n+1 commands after peek.priority
- The command queue priority.period
- The period at which to repeat the action.public Peek peek(int depth, long period)
ClientInf
peek
in interface ClientInf
depth
- The number of commands down the queue to look. For instance,
0 looks at the next command after peek, -1 looks at this peek command, and n looks
at a command n+1 commands after peek.period
- The period at which to repeat the action.public Peek peek(priority_t priority, long period)
ClientInf
public Peek peek(long period)
ClientInf
public Rotate rotate(double rot, double azi, priority_t priority)
ClientInf
public Rotate rotate(double rot, double azi)
ClientInf
public Rotate rotate(double rot, priority_t priority)
ClientInf
public Rotate rotate(double rot)
ClientInf
public Rotate rotate(double rot, double azi, priority_t priority, long period)
ClientInf
public Rotate rotate(double rot, double azi, long period)
ClientInf
public Rotate rotate(double rot, priority_t priority, long period)
ClientInf
public Rotate rotate(double rot, long period)
ClientInf
public Facing facing(priority_t priority)
ClientInf
public Facing facing()
ClientInf
public Facing facing(priority_t priority, long period)
ClientInf
public Facing facing(long period)
ClientInf
public Crouch crouch(boolean tocrouch, priority_t priority)
ClientInf
public Crouch crouch(boolean tocrouch)
ClientInf
public Crouch crouch(boolean tocrouch, priority_t priority, long period)
ClientInf
public Crouch crouch(boolean tocrouch, long period)
ClientInf
public SwitchWeapon switchWeapon(weapon wep, priority_t priority)
ClientInf
switchWeapon
in interface ClientInf
wep
- The weapon to be switched to.priority
- The command queue priority.public SwitchWeapon switchWeapon(weapon wep)
ClientInf
switchWeapon
in interface ClientInf
wep
- The weapon to be switched to.public SwitchWeapon switchWeapon(weapon wep, priority_t priority, long period)
ClientInf
switchWeapon
in interface ClientInf
wep
- The weapon to be switched to.priority
- The command queue priority.period
- The period at which to repeat the action.public SwitchWeapon switchWeapon(weapon wep, long period)
ClientInf
switchWeapon
in interface ClientInf
wep
- The weapon to be switched to.period
- The period at which to repeat the action.public Shove shove(double strength, double yaw, double pitch, priority_t priority)
ClientInf
shove
in interface ClientInf
strength
- The power of the shove. yaw
- The horizontal direction to launch to object. pitch
- The vertical direction to launch to object. priority
- The command queue priority.public Shove shove(double strength, double yaw, double pitch, priority_t priority, long period)
ClientInf
shove
in interface ClientInf
strength
- The power of the shove. yaw
- The horizontal direction to launch to object. pitch
- The vertical direction to launch to object. priority
- The command queue priority.period
- The period at which to repeat the action.public Shove shove(double strength, double yaw, double pitch)
ClientInf
shove
in interface ClientInf
strength
- The power of the shove. yaw
- The horizontal direction to launch to object. pitch
- The vertical direction to launch to object. public Shove shove(double strength, double yaw, double pitch, long period)
ClientInf
shove
in interface ClientInf
strength
- The power of the shove. yaw
- The horizontal direction to launch to object. pitch
- The vertical direction to launch to object. period
- The period at which to repeat the action.public Shove shove(double strength, double yaw, priority_t priority)
ClientInf
shove
in interface ClientInf
strength
- The power of the shove. yaw
- The horizontal direction to launch to object. priority
- The command queue priority.public Shove shove(double strength, double yaw, priority_t priority, long period)
ClientInf
shove
in interface ClientInf
strength
- The power of the shove. yaw
- The horizontal direction to launch to object. priority
- The command queue priority.period
- The period at which to repeat the action.public Shove shove(double strength, double yaw)
ClientInf
shove
in interface ClientInf
strength
- The power of the shove. yaw
- The horizontal direction to launch to object. public Shove shove(double strength, double yaw, long period)
ClientInf
shove
in interface ClientInf
strength
- The power of the shove. yaw
- The horizontal direction to launch to object. period
- The period at which to repeat the action.public Shove shove(double strength, priority_t priority)
ClientInf
shove
in interface ClientInf
strength
- The power of the shove. priority
- The command queue priority.public Shove shove(double strength, priority_t priority, long period)
ClientInf
shove
in interface ClientInf
strength
- The power of the shove. priority
- The command queue priority.period
- The period at which to repeat the action.public Shove shove(double strength)
ClientInf
shove
in interface ClientInf
strength
- The power of the shove. public Shove shove(double strength, long period)
ClientInf
shove
in interface ClientInf
strength
- The power of the shove. period
- The period at which to repeat the action.public DepthViewpoint depthViewpoint(priority_t priority)
ClientInf
depthViewpoint
in interface ClientInf
priority
- The command queue priority.public DepthViewpoint depthViewpoint()
ClientInf
depthViewpoint
in interface ClientInf
public DepthViewpoint depthViewpoint(long period)
ClientInf
depthViewpoint
in interface ClientInf
period
- The period at which to repeat the command.public DepthViewpoint depthViewpoint(long period, priority_t priority)
ClientInf
depthViewpoint
in interface ClientInf
period
- The period at which to repeat the command.priority
- The command queue priority.public ImageViewpoint imageViewpoint(priority_t priority)
ClientInf
imageViewpoint
in interface ClientInf
priority
- The command queue priority.public ImageViewpoint imageViewpoint()
ClientInf
imageViewpoint
in interface ClientInf
public ImageViewpoint imageViewpoint(long period)
ClientInf
imageViewpoint
in interface ClientInf
period
- The period at which to repeat the command.public ImageViewpoint imageViewpoint(long period, priority_t priority)
ClientInf
imageViewpoint
in interface ClientInf
period
- The period at which to repeat the command.priority
- The command queue priority.public PickUp pickUp(long period, priority_t priority)
ClientInf
public PickUp pickUp(long period)
ClientInf
public PickUp pickUp(priority_t priority)
ClientInf
public PickUp pickUp()
ClientInf
public PutDown putDown(int item, int quantity)
ClientInf
public PutDown putDown(int item, int quantity, long period)
ClientInf
putDown
in interface ClientInf
item
- Item to put down.quantity
- Amount to put down. If the quantity is greater than current amount, is rounded down to current amount.period
- The period at which to execute the command.public PutDown putDown(int item, int quantity, priority_t priority)
ClientInf
public PutDown putDown(int item, int quantity, long period, priority_t priority)
ClientInf
putDown
in interface ClientInf
item
- Item to put down.quantity
- Amount to put down. If the quantity is greater than current amount, is rounded down to current amount.period
- The period at which to repeat the command.priority
- The command queue priority.public CheckInventory checkInventory(long period, priority_t priority)
ClientInf
checkInventory
in interface ClientInf
period
- The period at which to execute the command.priority
- The command queue priority.public CheckInventory checkInventory(priority_t priority)
ClientInf
checkInventory
in interface ClientInf
priority
- The command queue priority.public CheckInventory checkInventory(long period)
ClientInf
checkInventory
in interface ClientInf
period
- The period at which to execute the command.public CheckInventory checkInventory()
ClientInf
checkInventory
in interface ClientInf
public RotateFireWeapon rotateFireWeapon(double rot, double azi)
public Follow follow(int entityid, priority_t priority)
ClientInf
public Follow follow(int entityid)
ClientInf
public Follow follow(int entityid, long duration, priority_t priority)
ClientInf
public Follow follow(int entityid, long duration)
ClientInf
public Radar radar(double range, priority_t priority)
ClientInf
public Radar radar(double range, priority_t priority, long period)
ClientInf
public Radar radar(double range)
ClientInf
public Radar radar(double range, long period)
ClientInf
public Radar radar(priority_t priority)
ClientInf
public Radar radar(priority_t priority, long period)
ClientInf
public Radar radar()
ClientInf
public Radar radar(long period)
ClientInf
public WhatIs whatIs(int entityid, priority_t priority)
ClientInf
public WhatIs whatIs(int entityid)
ClientInf
public WhatIs whatIs(int entityid, priority_t priority, long period)
ClientInf
public WhatIs whatIs(int entityid, long period)
ClientInf
public BatchRangefinder batchRangefinder(int type, int distance, double rot, double azi, int width, int height, double sampleDeltaYaw, double sampleDeltaPitch, priority_t priority)
ClientInf
batchRangefinder
in interface ClientInf
type
- The type of rangefinder to use. They are as follows:
distance
- The maximum distance of the rangefinder. So far, the maximum distance we have seen in Quake has been 8120, so a value of 9999 should act as infinite for all intents and purposes.rot
- The rotational angle (in degrees) left of the Quagent's facing to start firing the rangefinder.azi
- The azimuthal angle (in degrees) down from the Quagent's facing to start firing the rangefinder.width
- Number of YAW-variant samples.height
- Number of PITCH-variant samples.sampleDeltaYaw
- How far apart two YAW-variant samples should be.sampleDeltaPitch
- How far apart two PITCH-variant samples should be.priority
- The command queue priority.public BatchRangefinder batchRangefinder(int type, int distance, double rot, double azi, int width, int height, double sampleDeltaYaw, double sampleDeltaPitch, priority_t priority, long period)
ClientInf
batchRangefinder
in interface ClientInf
type
- The type of rangefinder to use. They are as follows:
distance
- The maximum distance of the rangefinder. So far, the maximum distance we have seen in Quake has been 8120, so a value of 9999 should act as infinite for all intents and purposes.rot
- The rotational angle (in degrees) left of the Quagent's facing to start firing the rangefinder.azi
- The azimuthal angle (in degrees) down from the Quagent's facing to start firing the rangefinder.width
- Number of YAW-variant samples.height
- Number of PITCH-variant samples.sampleDeltaYaw
- How far apart two YAW-variant samples should be.sampleDeltaPitch
- How far apart two PITCH-variant samples should be.priority
- The command queue priority.period
- The period at which to repeat the action.public BatchRangefinder batchRangefinder(int type, int distance, double rot, double azi, int width, int height, double sampleDeltaYaw, double sampleDeltaPitch)
ClientInf
batchRangefinder
in interface ClientInf
type
- The type of rangefinder to use. They are as follows:
distance
- The maximum distance of the rangefinder. So far, the maximum distance we have seen in Quake has been 8120, so a value of 9999 should act as infinite for all intents and purposes.rot
- The rotational angle (in degrees) left of the Quagent's facing to start firing the rangefinder.azi
- The azimuthal angle (in degrees) down from the Quagent's facing to start firing the rangefinder.width
- Number of YAW-variant samples.height
- Number of PITCH-variant samples.sampleDeltaYaw
- How far apart two YAW-variant samples should be.sampleDeltaPitch
- How far apart two PITCH-variant samples should be.public BatchRangefinder batchRangefinder(int type, int distance, double rot, double azi, int width, int height, double sampleDeltaYaw, double sampleDeltaPitch, long period)
ClientInf
batchRangefinder
in interface ClientInf
type
- The type of rangefinder to use. They are as follows:
distance
- The maximum distance of the rangefinder. So far, the maximum distance we have seen in Quake has been 8120, so a value of 9999 should act as infinite for all intents and purposes.rot
- The rotational angle (in degrees) left of the Quagent's facing to start firing the rangefinder.azi
- The azimuthal angle (in degrees) down from the Quagent's facing to start firing the rangefinder.width
- Number of YAW-variant samples.height
- Number of PITCH-variant samples.sampleDeltaYaw
- How far apart two YAW-variant samples should be.sampleDeltaPitch
- How far apart two PITCH-variant samples should be.period
- The period at which to repeat the action.public BatchRangefinder batchRangefinder(int type, double rot, double azi, int width, int height, double sampleDeltaYaw, double sampleDeltaPitch, priority_t priority)
ClientInf
batchRangefinder
in interface ClientInf
type
- The type of rangefinder to use. They are as follows:
rot
- The rotational angle (in degrees) left of the Quagent's facing to start firing the rangefinder.azi
- The azimuthal angle (in degrees) down from the Quagent's facing to start firing the rangefinder.width
- Number of YAW-variant samples.height
- Number of PITCH-variant samples.sampleDeltaYaw
- How far apart two YAW-variant samples should be.sampleDeltaPitch
- How far apart two PITCH-variant samples should be.priority
- The command queue priority.public BatchRangefinder batchRangefinder(int type, double rot, double azi, int width, int height, double sampleDeltaYaw, double sampleDeltaPitch, priority_t priority, long period)
ClientInf
batchRangefinder
in interface ClientInf
type
- The type of rangefinder to use. They are as follows:
rot
- The rotational angle (in degrees) left of the Quagent's facing to start firing the rangefinder.azi
- The azimuthal angle (in degrees) down from the Quagent's facing to start firing the rangefinder.width
- Number of YAW-variant samples.height
- Number of PITCH-variant samples.sampleDeltaYaw
- How far apart two YAW-variant samples should be.sampleDeltaPitch
- How far apart two PITCH-variant samples should be.priority
- The command queue priority.period
- The period at which to repeat the action.public BatchRangefinder batchRangefinder(int type, double rot, double azi, int width, int height, double sampleDeltaYaw, double sampleDeltaPitch)
ClientInf
batchRangefinder
in interface ClientInf
type
- The type of rangefinder to use. They are as follows:
rot
- The rotational angle (in degrees) left of the Quagent's facing to start firing the rangefinder.azi
- The azimuthal angle (in degrees) down from the Quagent's facing to start firing the rangefinder.width
- Number of YAW-variant samples.height
- Number of PITCH-variant samples.sampleDeltaYaw
- How far apart two YAW-variant samples should be.sampleDeltaPitch
- How far apart two PITCH-variant samples should be.public BatchRangefinder batchRangefinder(int type, double rot, double azi, int width, int height, double sampleDeltaYaw, double sampleDeltaPitch, long period)
ClientInf
batchRangefinder
in interface ClientInf
type
- The type of rangefinder to use. They are as follows:
rot
- The rotational angle (in degrees) left of the Quagent's facing to start firing the rangefinder.azi
- The azimuthal angle (in degrees) down from the Quagent's facing to start firing the rangefinder.width
- Number of YAW-variant samples.height
- Number of PITCH-variant samples.sampleDeltaYaw
- How far apart two YAW-variant samples should be.sampleDeltaPitch
- How far apart two PITCH-variant samples should be.period
- The period at which to repeat the action.public void moveToObject(java.lang.String object, int radius, priority_t priority)
ClientInf
moveToObject
in interface ClientInf
object
- Object to move to.radius
- Radius to search.priority
- The command queue priority.public void moveToObject(java.lang.String object, int radius)
ClientInf
moveToObject
in interface ClientInf
object
- Object to move to.radius
- Radius to search.public void moveToObject(java.lang.String object, priority_t priority)
ClientInf
moveToObject
in interface ClientInf
object
- Object to move to.priority
- The command queue priority.public void moveToObject(java.lang.String object)
ClientInf
moveToObject
in interface ClientInf
object
- Object to move to.public void addEventListener(QEventListener qcp)
QuagentEntity
addEventListener
in interface QuagentEntity
qcp
- QEventListener to add.public QEventListener getEventListener()
QuagentEntity
getEventListener
in interface QuagentEntity
public void addEventListener(CommandTerminationListener list)
Entity
addEventListener
in interface Entity
list
- CommandTermiantionListener to attach