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 IStuckDetector
public void setBotWaiting(boolean state)
setBotWaiting
in interface IStuckDetector
public void setBotTarget(ILocated target)
setBotTarget
in interface IStuckDetector
public void eventSelf(IWorldObjectEvent<Self> event)
public boolean isStuck()
isStuck
in interface IStuckDetector
public void reset()
reset
in interface IStuckDetector
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.