Background can now render three images: Top, Center and Bottom
[supertux.git] / src / object / player.hpp
index 69396a7..8803372 100644 (file)
@@ -153,6 +153,9 @@ public:
   bool is_dead() const
   { return dead; }
   bool is_big();
+
+  void set_visible(bool visible);
+  bool get_visible();
   
 private:
   void handle_input();
@@ -168,11 +171,14 @@ private:
   void deactivate();
   void walk(float speed);
 
+  bool visible;
+
   Portable* grabbed_object;
 
   Sprite* smalltux_gameover;
   Sprite* smalltux_star;
   Sprite* bigtux_star;
+  Vector floor_normal;
 };
 
 #endif /*SUPERTUX_PLAYER_H*/