vrshoot
view src/scr_game.h @ 1:e7ca128b8713
looks nice :)
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 02 Feb 2014 00:35:22 +0200 |
parents | |
children |
line source
1 #ifndef SCR_GAME_H_
2 #define SCR_GAME_H_
4 #include "screen.h"
6 class GameScreen : public Screen {
7 public:
8 const char *get_name() const;
10 bool init();
11 void cleanup();
13 void update(unsigned long tmsec);
14 void display() const;
16 void reshape(int x, int y);
18 void button(int bn, bool pressed, int x, int y);
19 void motion(int x, int y, bool pressed);
21 long redisplay_interval() const;
22 };
24 #endif // SCR_GAME_H_