-
Notifications
You must be signed in to change notification settings - Fork 0
/
Game.h
43 lines (36 loc) · 1.05 KB
/
Game.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/**
* @author: Kevin J. Estevez (kenystev)
*
* GNU GENERAL PUBLIC LICENSE Version 2
* The licenses for most software are designed to take away your
* freedom to share and change it. By contrast, the GNU General Public
* License is intended to guarantee your freedom to share and change free
* software--to make sure the software is free for all its users. This
* General Public License applies to most of the Free Software
* Foundation's software and to any other program whose authors commit to
* using it.
*/
#ifndef GAME_H
#define GAME_H
#include "Screen.h"
#include "Rosalila/RosalilaGraphics/RosalilaGraphics.h"
#include "Rosalila/RosalilaInputs/Receiver.h"
class Game
{
public:
Game();
Screen *screen;
RosalilaGraphics* rosalila_graphics;
Receiver* receiver;
virtual ~Game();
virtual void create()=0;
void dispose();
void pause();
void resume();
void render();
void setScreen(Screen *screen);
Screen* getScreen();
protected:
private:
};
#endif // GAME_H