X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fplayer.hpp;h=0fecfef0a5f25dd5a32ff4a8720e0536f33786e6;hb=ab9eab4c870195c2b60ce76b77044c35b31e8806;hp=866a0bf74ce5b3ca494f3be8c7a133260217d919;hpb=a113d3bd1feddd510e3b2852b0d42522735eee40;p=supertux.git diff --git a/src/object/player.hpp b/src/object/player.hpp index 866a0bf74..0fecfef0a 100644 --- a/src/object/player.hpp +++ b/src/object/player.hpp @@ -122,7 +122,7 @@ public: Physic physic; public: - Player(PlayerStatus* player_status); + Player(PlayerStatus* player_status, const std::string& name); virtual ~Player(); virtual void expose(HSQUIRRELVM vm, SQInteger table_idx); @@ -279,6 +279,8 @@ private: Sprite* bigtux_star; Vector floor_normal; + bool try_grab; + Direction grab_dir; bool ghost_mode; /**< indicates if Tux should float around and through solid objects */