X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fskull_tile.hpp;h=5a65798338b785a368853ba92e0bf319668c30bb;hb=4587bd9c8fc5cbb20f1e442de76bc06571ab56ba;hp=183ae34eb5f6a75d38e3961db52641b45d50988d;hpb=15c5a91ee89272dfda3666e2fed67e06d650d0bf;p=supertux.git diff --git a/src/object/skull_tile.hpp b/src/object/skull_tile.hpp index 183ae34eb..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,11 +39,9 @@ public: void draw(DrawingContext& context); private: - Physic physic; Timer timer; bool hit; bool falling; }; #endif -