added a powerup object that can be placed in levels and represent various powerups...
[supertux.git] / src / object / growup.h
index 4ea9ba9..7976531 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 __GROWUP_H__
 #define __GROWUP_H__
 
 #include "moving_object.h"
 #include "sprite/sprite.h"
-#include "math/physic.h"
-
-using namespace SuperTux;
+#include "physic.h"
 
 class GrowUp : public MovingObject
 {
@@ -33,7 +30,7 @@ public:
   GrowUp(const Vector& pos);
   ~GrowUp();
 
-  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);