Background can now render three images: Top, Center and Bottom
[supertux.git] / src / object / player.hpp
index b247186..8803372 100644 (file)
@@ -31,6 +31,7 @@
 #include "control/controller.hpp"
 #include "scripting/player.hpp"
 #include "player_status.hpp"
+#include "display_effect.hpp"
 
 class BadGuy;
 class Portable;
@@ -152,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();
@@ -167,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*/