public class UT2004PositionStuckDetector extends Object implements IStuckDetector
| Constructor and Description |
|---|
UT2004PositionStuckDetector(UT2004Bot bot) |
UT2004PositionStuckDetector(UT2004Bot bot,
int historyLength,
double minMovementDiameter,
double minMovementZ) |
| Modifier and Type | Method and Description |
|---|---|
void |
eventSelf(IWorldObjectEvent<Self> event) |
boolean |
isStuck() |
void |
reset() |
void |
setBotTarget(ILocated target) |
void |
setBotWaiting(boolean state) |
void |
setEnabled(boolean state) |
public UT2004PositionStuckDetector(UT2004Bot bot)
public UT2004PositionStuckDetector(UT2004Bot bot, int historyLength, double minMovementDiameter, double minMovementZ)
public void setEnabled(boolean state)
setEnabled in interface IStuckDetectorpublic void setBotWaiting(boolean state)
setBotWaiting in interface IStuckDetectorpublic void setBotTarget(ILocated target)
setBotTarget in interface IStuckDetectorpublic void eventSelf(IWorldObjectEvent<Self> event)
public boolean isStuck()
isStuck in interface IStuckDetectorpublic void reset()
reset in interface IStuckDetectorCopyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.