converted ghost forest music to .ogg because of problems playing the mod file
[supertux.git] / src / object / oneup.h
index 505b98c..846caa7 100644 (file)
 //  along with this program; if not, write to the Free Software
 //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //  02111-1307, USA.
-
 #ifndef __ONEUP_H__
 #define __ONEUP_H__
 
 #include "moving_object.h"
 #include "sprite/sprite.h"
-#include "math/physic.h"
-
-using namespace SuperTux;
+#include "physic.h"
 
 class OneUp : public MovingObject
 {
@@ -33,7 +30,7 @@ public:
   OneUp(const Vector& pos);
   ~OneUp();
 
-  virtual void action(float elapsed_time);
+  virtual void update(float elapsed_time);
   virtual void draw(DrawingContext& context);
   virtual HitResponse collision(GameObject& other, const CollisionHit& hit);