X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fobject%2Fweak_block.hpp;h=01e2464be66496068588c11253641cbeff826fe1;hb=20f50f690c18aefbedeeb43eda094c8cb70351a9;hp=cc5baf85ff0c149c6d9ea839cd8145eeb3549c75;hpb=2bdca112223244c1175f4adc5a64fa104e194ed5;p=supertux.git diff --git a/src/object/weak_block.hpp b/src/object/weak_block.hpp index cc5baf85f..01e2464be 100644 --- a/src/object/weak_block.hpp +++ b/src/object/weak_block.hpp @@ -26,10 +26,10 @@ #include "physic.hpp" #include "timer.hpp" -/** +/** * A block that can be destroyed by Bullet hits */ -class WeakBlock : public MovingSprite +class WeakBlock : public MovingSprite, public UsesPhysic { public: WeakBlock(const lisp::Lisp& lisp); @@ -55,9 +55,6 @@ private: STATE_DISINTEGRATING /**< crumbling to dust, no longer solid */ }; State state; - - Physic physic; }; #endif -