added a powerup object that can be placed in levels and represent various powerups...
[supertux.git] / src / object / coin.h
index 949ebfc..cdb86fc 100644 (file)
@@ -17,7 +17,6 @@
 //  along with this program; if not, write to the Free Software
 //  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 //  02111-1307, USA.
-
 #ifndef __COIN_H__
 #define __COIN_H__
 
@@ -26,8 +25,6 @@
 
 class Sprite;
 
-using namespace SuperTux;
-
 class Coin : public MovingObject
 {
 public:
@@ -36,7 +33,7 @@ public:
   ~Coin();
 
   HitResponse collision(GameObject& other, const CollisionHit& hit);
-  void action(float elapsed_time);
+  void update(float elapsed_time);
   void draw(DrawingContext& context);
 
   void collect();