public class UT2004DistanceStuckDetector extends Object implements IStuckDetector
| Constructor and Description |
|---|
UT2004DistanceStuckDetector(UT2004Bot bot) |
| 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 UT2004DistanceStuckDetector(UT2004Bot bot)
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.