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