X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fscripting%2Fplayer.hpp;h=fee8f69ee099c1d51bd9ff06456ac863cf12dfc4;hb=071c31e7fcf8bfbd00ec8d7d19313d7f6e433885;hp=9c1f009fe867c22c902b884657c167e0cc8a4007;hpb=5b7f9214cb929399f1a855ef5807018a9447d510;p=supertux.git diff --git a/src/scripting/player.hpp b/src/scripting/player.hpp index 9c1f009fe..fee8f69ee 100644 --- a/src/scripting/player.hpp +++ b/src/scripting/player.hpp @@ -12,16 +12,13 @@ public: {} #endif +#if 0 /** * Set tux bonus. - * This can be "grow", "fireflow" or "iceflower" at the moment + * This can be "grow", "fireflower" or "iceflower" at the moment */ virtual void set_bonus(const std::string& bonus) = 0; /** - * Make tux invicible for a short amount of time - */ - virtual void make_invincible() = 0; - /** * Give tux another life */ virtual void add_life() = 0; @@ -29,6 +26,23 @@ public: * Give tux more coins */ virtual void add_coins(int count) = 0; +#endif + /** + * Make tux invicible for a short amount of time + */ + virtual void make_invincible() = 0; + /** + * Deactivate user input for Tux + */ + virtual void deactivate() = 0; + /** + * Give control back to user + */ + virtual void activate() = 0; + /** + * Make Tux walk + */ + virtual void walk(float speed) = 0; }; }