projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tux grows faster, stops growing when hit
[supertux.git]
/
src
/
object
/
path_walker.hpp
diff --git
a/src/object/path_walker.hpp
b/src/object/path_walker.hpp
index
5bb3300
..
829eca1
100644
(file)
--- a/
src/object/path_walker.hpp
+++ b/
src/object/path_walker.hpp
@@
-50,12
+50,17
@@
public:
/** stop advancing automatically */
void stop_moving();
/** 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();
const Path* path;
private:
void advance_node();
void goback_node();
-
+
/**
* set to false to immediately stop advancing
*/
/**
* set to false to immediately stop advancing
*/