#include "util/reader_fwd.hpp"
#include "util/writer_fwd.hpp"
#include "video/color.hpp"
-
-class Surface;
+#include "video/surface_ptr.hpp"
static const float BORDER_X = 10;
static const float BORDER_Y = 10;
class DrawingContext;
/**
- * This class memorizes player status between different game sessions (for
+ * This class keeps player status between different game sessions (for
* example when switching maps in the worldmap)
*/
class PlayerStatus
int max_ice_bullets; /**< maximum number of ice bullets in play */
private:
- std::auto_ptr<Surface> coin_surface;
+ int displayed_coins;
+ int displayed_coins_frame;
+ SurfacePtr coin_surface;
private:
PlayerStatus(const PlayerStatus&);