* The "time needed" statistic now works again. You might need to delete your savegame...
[supertux.git] / src / object / level_time.hpp
1 #ifndef __LEVELTIME_H__
2 #define __LEVELTIME_H__
3
4 #include "game_object.hpp"
5 #include "timer.hpp"
6 #include "lisp/lisp.hpp"
7
8 class LevelTime : public GameObject
9 {
10 public:
11     LevelTime(const lisp::Lisp& reader);
12     virtual ~LevelTime();
13
14     void update(float elapsed_time);
15     void draw(DrawingContext& context);
16     float get_level_time();
17     float get_remaining_time();
18
19 private:
20     Timer time_left;
21 };
22
23 #endif
24