- Refactored worldmap a bit to reuse GameObject from the rest of the game
[supertux.git] / src / object / level_time.h
1 #ifndef __LEVELTIME_H__
2 #define __LEVELTIME_H__
3
4 #include "game_object.h"
5 #include "timer.h"
6 #include "lisp/lisp.h"
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
17 private:
18     Timer time_left;
19 };
20
21 #endif
22