added a powerup object that can be placed in levels and represent various powerups...
[supertux.git] / src / object / block.h
index 2989ad8..1650dbd 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 __BLOCK_H__
 #define __BLOCK_H__
 
@@ -27,8 +26,6 @@
 class Sprite;
 class Player;
 
-using namespace SuperTux;
-
 class Block : public MovingObject
 {
 public:
@@ -36,7 +33,7 @@ public:
   ~Block();
 
   virtual HitResponse collision(GameObject& other, const CollisionHit& hit);
-  virtual void action(float elapsed_time);
+  virtual void update(float elapsed_time);
   virtual void draw(DrawingContext& context);
 
 protected: