* Finish work on Path through the Clouds
[supertux.git] / src / object / skull_tile.hpp
index 183ae34..50c38e3 100644 (file)
 #define __SKULL_TILE_H__
 
 #include "object/moving_sprite.hpp"
-#include "lisp/lisp.hpp"
 #include "physic.hpp"
 #include "timer.hpp"
 
 class Player;
 
 /** A tile that starts falling down if tux stands to long on it */
-class SkullTile : public MovingSprite
+class SkullTile : public MovingSprite, private UsesPhysic
 {
 public:
   SkullTile(const lisp::Lisp& lisp);
@@ -39,11 +38,9 @@ public:
   void draw(DrawingContext& context);
 
 private:
-  Physic physic;
   Timer timer;
   bool hit;
   bool falling;
 };
 
 #endif
-