|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

public interface IUT2004GetBackToNavGraph
This class is meant to provide easy "get-back-to-navigation-graph-in-order-I-can-safely-navigate-through-map" implementation.
| Method Summary | |
|---|---|
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. |
LogCategory |
getLog()
Returns component logger. |
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)! |
void |
stop()
Stop the class. |
| Method Detail |
|---|
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()
LogCategory getLog()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||