/** stop advancing automatically */
void stop_moving();
+ /** returns true if PathWalker is currently moving */
+ bool is_moving() {
+ return running;
+ }
+
const Path* path;
private:
void advance_node();
void goback_node();
-
+
/**
* set to false to immediately stop advancing
*/
*/
int stop_at_node_nr;
- Vector last_pos;
-
/**
* the position between the current node and the next node as fraction
* between 0 and 1