Added ability to define a 'target time' for levels which is taken into consideration...
[supertux.git] / src / supertux / statistics.hpp
index 880cd47..e11c39d 100644 (file)
@@ -65,7 +65,7 @@ public:
   void reset(); /**< Set stats (but not totals) to zero */
   void merge(const Statistics& stats); /**< Given another Statistics object finds the best of each one */
   void operator+=(const Statistics& o); /**< Add two Statistics objects */
-  bool completed(const Statistics& stats); /* Check if stats match total stats */
+  bool completed(const Statistics& stats, const float target_time); /* Check if stats match total stats */
 
   void declare_invalid(); /**< marks statistics as invalid for their entire lifetime (e.g. after cheating). Invalid statistics will not be merged or drawn. */