diff options
Diffstat (limited to 'src/game.h')
-rw-r--r-- | src/game.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/game.h b/src/game.h new file mode 100644 index 0000000..e9cac14 --- /dev/null +++ b/src/game.h @@ -0,0 +1,37 @@ +/* + * File: game.h + * Author: dipesh + * + * Created on July 31, 2010, 6:27 PM + */ + +#ifndef _GAME_H +#define _GAME_H + +#include <iosfwd> +#include <deque> + + +//class MessageHandler; +class Network; + +extern volatile int cur_time; +extern std::string map_path; + +class Game +{ + public: + Game(); + ~Game(); + + void logic(); + protected: +}; + /** + * Returns elapsed time. (Warning: very unsafe function, it supposes the delay + * is always < 10 seconds) + */ +int get_elapsed_time(int start_time); + +#endif /* _GAME_H */ + |