Small style fix
[supertux.git] / src / worldmap / level.hpp
index 8730d29..7c3ed78 100644 (file)
@@ -1,5 +1,5 @@
 //  SuperTux
-//  Copyright (C) 2004 Ingo Ruhnke <grumbel@gmx.de>
+//  Copyright (C) 2004 Ingo Ruhnke <grumbel@gmail.com>
 //  Copyright (C) 2006 Christoph Sommer <christoph.sommer@2006.expires.deltadevelopment.de>
 //
 //  This program is free software: you can redistribute it and/or modify
@@ -22,6 +22,7 @@
 #include <string>
 
 #include "math/vector.hpp"
+#include "sprite/sprite_ptr.hpp"
 #include "supertux/game_object.hpp"
 #include "supertux/statistics.hpp"
 #include "video/surface.hpp"
@@ -39,6 +40,12 @@ public:
   virtual void draw(DrawingContext& context);
   virtual void update(float elapsed_time);
 
+  void set_solved(bool v);
+  void set_perfect(bool v);
+
+private:
+  void update_sprite_action();
+
 public:
   Vector pos;
   std::string title;
@@ -50,6 +57,7 @@ public:
 
   /** Statistics for level tiles */
   Statistics statistics;
+  float target_time;
 
   /** Script that is run when the level is successfully finished */
   std::string extro_script;