X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fskull_tile.hpp;h=5a65798338b785a368853ba92e0bf319668c30bb;hb=4587bd9c8fc5cbb20f1e442de76bc06571ab56ba;hp=f9a19fcba57bf32d8015c2019d7126f6ea237d6b;hpb=4358672ea215fe309736a23e2cc2ebcf28254619;p=supertux.git diff --git a/src/object/skull_tile.hpp b/src/object/skull_tile.hpp index f9a19fcba..5a6579833 100644 --- a/src/object/skull_tile.hpp +++ b/src/object/skull_tile.hpp @@ -28,7 +28,7 @@ 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 +39,6 @@ public: void draw(DrawingContext& context); private: - Physic physic; Timer timer; bool hit; bool falling;