Coins follow tilemaps or can be given paths
[supertux.git] / src / object / path_walker.hpp
index c76383e..d85b97c 100644 (file)
@@ -31,11 +31,13 @@ public:
   virtual ~PathWalker();
 
   /**
-   * advances the path walker on the path and returns the position delta
-   * to the last position
+   * advances the path walker on the path and returns its new position
    */
   virtual Vector advance(float elapsed_time);
 
+  /** current position of path walker */
+  Vector get_pos();
+
   /** advance until at given node, then stop */
   void goto_node(int node_no);