public class CanSee extends ProtocolZero
formatted, paramscan, priority
Constructor and Description |
---|
CanSee(int entityid) |
CanSee(int entityid,
long period) |
CanSee(int entityid,
long period,
long delay) |
CanSee(int entityid,
priority_t priority) |
CanSee(int entityid,
priority_t priority,
long period) |
CanSee(int entityid,
priority_t priority,
long period,
long delay) |
Modifier and Type | Method and Description |
---|---|
boolean |
canSeeTarget()
If Quagent can see target entity.
|
double |
getDistanceToTarget()
Returns the distance to target.
|
int |
getEntityID()
Allows access to parameter.
|
double |
getPitchToTarget()
Returns the pitch to target.
|
double |
getYawToTarget()
Returns the yaw to target.
|
void |
setData(java.lang.String params)
Sets command response data.
|
protected void |
setOp() |
getPriority, hasTerminated, pause, resume, run, setExecutor, terminate, update
addTerminationListener, compareTo, getDelay, getExitCode, getFrequency, getID, getOp, getPeriod, getRuntime, toDataString, toString, verifyClient, waitForTerminate, whatAmI
public CanSee(int entityid, priority_t priority)
public CanSee(int entityid)
public CanSee(int entityid, priority_t priority, long period)
public CanSee(int entityid, long period)
public CanSee(int entityid, priority_t priority, long period, long delay)
public CanSee(int entityid, long period, long delay)
public int getEntityID()
public double getDistanceToTarget()
public double getYawToTarget()
public double getPitchToTarget()
public boolean canSeeTarget()
public void setData(java.lang.String params)
ProtocolZero
setData
in class ProtocolZero
params
- Data string. For all "data" messages it is identified by the form:
protected void setOp()
setOp
in class ProtocolZero