X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fscripting%2Fwillowisp.hpp;h=93ef0d9db8ed26d042c0c41127f74c43c7032e7b;hb=86e5914510fc29f4decbb66a7d602872b6c8555e;hp=fb1be1256caa852d780bdabcea1252289c01f49f;hpb=bbc091a52439e4942cfa614a6c16b3f530dfab8a;p=supertux.git diff --git a/src/scripting/willowisp.hpp b/src/scripting/willowisp.hpp index fb1be1256..93ef0d9db 100644 --- a/src/scripting/willowisp.hpp +++ b/src/scripting/willowisp.hpp @@ -34,13 +34,17 @@ public: /** Move willowisp to given node */ virtual void goto_node(int node_no) = 0; - /** set willowisp state can be: + /** set willowisp state; can be: * -stopped willowisp doesn't move * -move_path willowisp moves along the path (call goto_node) - * -move_path_track willowisp moves along path but catchs tux when he is near + * -move_path_track willowisp moves along path but catches tux when he is near * -normal "normal" mode starts tracking tux when he is near enough + * -vanish vanish */ virtual void set_state(const std::string& state) = 0; + + virtual void start_moving() = 0; + virtual void stop_moving() = 0; }; }