X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fskull_tile.hpp;h=50c38e335c7dd70efc4ad09625d5030ecb7d7e69;hb=7e15c4f871809033278711a6e9327616da00c4c9;hp=f9a19fcba57bf32d8015c2019d7126f6ea237d6b;hpb=a113d3bd1feddd510e3b2852b0d42522735eee40;p=supertux.git diff --git a/src/object/skull_tile.hpp b/src/object/skull_tile.hpp index f9a19fcba..50c38e335 100644 --- a/src/object/skull_tile.hpp +++ b/src/object/skull_tile.hpp @@ -21,14 +21,13 @@ #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,7 +38,6 @@ public: void draw(DrawingContext& context); private: - Physic physic; Timer timer; bool hit; bool falling;