public class Follow extends ProtocolOne
Constructor and Description |
---|
Follow(int entityid) |
Follow(int entityid,
double speed,
int obstacles,
long duration) |
Follow(int entityid,
long duration) |
Modifier and Type | Method and Description |
---|---|
protected void |
addChildren()
P1 command should specify all nested ProtocolZero commands here.
|
long |
getDuration() |
int |
getEntityID() |
int |
getObstacles() |
double |
getSpeed() |
void |
run() |
void |
update() |
hasTerminated, pause, resume, setExecutor, terminate
addTerminationListener, compareTo, getDelay, getExitCode, getFrequency, getID, getOp, getPeriod, getRuntime, toDataString, toString, verifyClient, waitForTerminate, whatAmI
public Follow(int entityid, double speed, int obstacles, long duration)
public Follow(int entityid, long duration)
public Follow(int entityid)
public long getDuration()
public int getEntityID()
public double getSpeed()
public int getObstacles()
public void run()
protected void addChildren()
ProtocolOne
addChildren
in class ProtocolOne