public interface IUT2004GetBackToNavGraph
Modifier and Type | Method and Description |
---|---|
void |
addStuckDetector(IStuckDetector stuckDetector)
Adds another stuck detector to be used for stuck detection :)
|
void |
backToNavGraph()
Start the class, let it take the bot back to navigation graph.
|
void |
clearStuckDetectors()
Removes ALL stuck detectors.
|
NavPoint |
getNearestNavPoint()
Returns nearest
NavPoint to current bot's location. |
boolean |
isExecuting()
Whether the class is executing (== working == trying to get the bot back on NavGraph == to make
UT2004GetBackToNavGraph.isOnNavGraph() true). |
boolean |
isOnNavGraph()
Whether the bot is currently on some
NavPoint . |
void |
removeStuckDetector(IStuckDetector stuckDetector)
Removes stuck detector.
|
void |
setFocus(ILocated located)
Sets focus of the bot when navigating (when using this object to run to some location target)!
To reset focus call this method with null parameter.
|
void |
stop()
Stop the class.
|
NavPoint getNearestNavPoint()
NavPoint
to current bot's location.boolean isOnNavGraph()
NavPoint
.boolean isExecuting()
UT2004GetBackToNavGraph.isOnNavGraph()
true).void setFocus(ILocated located)
located
- void backToNavGraph()
void stop()
void addStuckDetector(IStuckDetector stuckDetector)
stuckDetector
- void removeStuckDetector(IStuckDetector stuckDetector)
stuckDetector
- void clearStuckDetectors()
Copyright © 2012 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.