Removed trailing whitespaces in tilemanager source files (yes I know that code needs...
[supertux.git] / src / player_status.hpp
index 1559725..e231774 100644 (file)
@@ -27,6 +27,7 @@
 #include "serializable.hpp"
 #include "sprite/sprite.hpp"
 #include "console.hpp"
+#include "video/surface.hpp"
 
 static const float BORDER_X = 10;
 static const float BORDER_Y = 10;
@@ -40,7 +41,7 @@ class DrawingContext;
  * This class memorizes player status between different game sessions (for
  * example when switching maps in the worldmap)
  */
-class PlayerStatus : public Serializable, public ConsoleCommandReceiver
+class PlayerStatus : public Serializable
 {
 public:
   PlayerStatus();
@@ -53,8 +54,6 @@ public:
 
   void draw(DrawingContext& context);
 
-  bool consoleCommand(std::string command, std::vector<std::string> arguments); /**< callback from Console; return false if command was unknown, true otherwise */
-
   int  coins;
   BonusType bonus;
   int max_fire_bullets; /**< maximum number of fire bullets in play */
@@ -69,7 +68,7 @@ private:
   // don't use this
   PlayerStatus(const PlayerStatus& other);
 
-  std::auto_ptr<Sprite> tux_life;
+  std::auto_ptr<Surface> coin_surface;
 };
 
 // global player state