vrshoot

view src/scr_game.h @ 0:b2f14e535253

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 01 Feb 2014 19:58:19 +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_