first very unfinished and unpolished version of the intro
[supertux.git] / src / object / player.hpp
index b247186..fa4b80f 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,6 +171,8 @@ private:
   void deactivate();
   void walk(float speed);
 
+  bool visible;
+
   Portable* grabbed_object;
 
   Sprite* smalltux_gameover;