My Project
 All Classes
LvlCount.h
1 /*LvlCount.h*/
2 
3 #ifndef LVLCOUNT
4 #define LVLCOUNT
5 
6 #include <ClanLib/core.h>
7 class Playground;
8 
9 
10 class LvlCount : public CL_Runnable
11 {
12  private:
13  int sec;
14  int min;
15  int start;
16  int shrinkDist;
17  Playground *game;
18  CL_Mutex *game_mutex;
19  void timeOver();
20  void shrink();
21 
22  public:
23  LvlCount();
24  LvlCount(Playground *pg, CL_Mutex *pg_mutex);
25  ~LvlCount();
26 
27  void run();
28  void reset();
29  void setLvl(int lvl);
30  void killMe();
31 
32  int getRemainingTime();
33 
34 
35 };
36 
37 
38 #endif