Changed jump behaviour: Tux will now jump even if the button was pressed (up to)...
[supertux.git] / src / object / falling_coin.hpp
index 04358dd..8eeabb3 100644 (file)
@@ -26,7 +26,7 @@
 #include "video/drawing_context.hpp"
 #include "physic.hpp"
 
-class FallingCoin : public GameObject
+class FallingCoin : public GameObject, private UsesPhysic
 {
 public:
   FallingCoin(const Vector& start_position, const int x_vel);
@@ -37,7 +37,6 @@ public:
 private:
   Vector  pos;
   Sprite* sprite;
-  Physic  physic;
 };
 
 #endif