public class RotateFireWeapon extends ProtocolOne
Constructor and Description |
---|
RotateFireWeapon(double rot,
double azi) |
Modifier and Type | Method and Description |
---|---|
protected void |
addChildren()
P1 command should specify all nested ProtocolZero commands here.
|
double |
getAzimuthalAngle() |
double |
getRotationalAngle() |
boolean |
hasTerminated()
External running check.
|
void |
run() |
void |
update() |
pause, resume, setExecutor, terminate
addTerminationListener, compareTo, getDelay, getExitCode, getFrequency, getID, getOp, getPeriod, getRuntime, toDataString, toString, verifyClient, waitForTerminate, whatAmI
public boolean hasTerminated()
Command
hasTerminated
in class ProtocolOne
public void run()
public double getRotationalAngle()
public double getAzimuthalAngle()
protected void addChildren()
ProtocolOne
addChildren
in class ProtocolOne