Changed jump behaviour: Tux will now jump even if the button was pressed (up to)...
[supertux.git] / src / object / weak_block.hpp
index e36d1eb..01e2464 100644 (file)
@@ -29,7 +29,7 @@
 /**
  * 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,8 +55,6 @@ private:
     STATE_DISINTEGRATING /**< crumbling to dust, no longer solid */
   };
   State state;
-
-  Physic physic;
 };
 
 #endif