center camera on tux feet, so we get no jumps when tux ducks
[supertux.git] / src / object / weak_block.hpp
index cc5baf8..01e2464 100644 (file)
 #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
-