play sound when willowisp is caught
[supertux.git] / src / object / falling_coin.hpp
index c801902..8eeabb3 100644 (file)
@@ -1,4 +1,4 @@
-//  $Id: infoblock.hpp 3327 2006-04-13 15:02:40Z ravu_al_hemio $
+//  $Id$
 //
 //  SuperTux
 //  Copyright (C) 2006 Ondrej Hosek <ondra.hosek@gmail.com>
@@ -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