X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fscripting%2Fplayer.hpp;h=3551f50b8d5aae8ff28995b04e635e2e10aedab3;hb=2b017a68959d768ee917128bbdaa42439911ef43;hp=80e04cefdab681a419a4784e64d7f82bdc0c6db4;hpb=13e56e5b8d9727128667bb42c3aa4850b4a8dd00;p=supertux.git diff --git a/src/scripting/player.hpp b/src/scripting/player.hpp index 80e04cefd..3551f50b8 100644 --- a/src/scripting/player.hpp +++ b/src/scripting/player.hpp @@ -57,6 +57,10 @@ public: */ virtual void walk(float speed) = 0; /** + * Face Tux in the proper direction + */ + virtual void set_dir(bool right) = 0; + /** * Set player visible or invisible */ virtual void set_visible(bool visible) = 0; @@ -84,6 +88,11 @@ public: virtual bool get_ghost_mode() = 0; /** + * start kick animation + */ + virtual void kick() = 0; + + /** * play cheer animation. * This might need some space and behave in an unpredictable way. Best to use this at level end. */