#include "supertux/script_interface.hpp"
#include "util/reader_fwd.hpp"
#include "video/color.hpp"
+#include "video/surface_ptr.hpp"
-class Surface;
-
-class LevelTime : public GameObject,
+class LevelTime : public GameObject,
public ScriptInterface
{
static Color text_color;
*/
private:
- std::auto_ptr<Surface> time_surface;
+ SurfacePtr time_surface;
bool running;
float time_left;
};