Magic Blocks. (DrawingContext::get_light is not working yet.)
[supertux.git] / src / object / player.hpp
index 866a0bf..0fecfef 100644 (file)
@@ -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 */