-
Notifications
You must be signed in to change notification settings - Fork 0
/
Application.h
66 lines (53 loc) · 1.15 KB
/
Application.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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#ifndef __APPLICATION_CPP__
#define __APPLICATION_CPP__
#include <list>
#include "Globals.h"
#include "Module.h"
class ModuleRender;
class ModuleWindow;
class ModuleTextures;
class ModuleInput;
class ModuleAudio;
class ModuleFadeToBlack;
class ModuleCollision;
class ModuleParticles;
class ModuleReadFile;
class ModuleFonts;
// Game modules ---
class ModulePlayer;
class ModuleSceneIntro;
class ModuleSceneTitle;
class ModulePlayerSelect;
class ModuleLevelOne;
class ModuleCircuits;
class Application
{
public:
Application();
~Application();
bool Init();
update_status Update();
bool CleanUp();
public:
ModuleRender* renderer;
ModuleWindow* window;
ModuleTextures* textures;
ModuleInput* input;
ModuleAudio* audio;
ModuleFadeToBlack* fade;
ModuleCollision* collision;
ModuleFonts* fonts;
ModuleParticles* particles;
ModuleReadFile* readFile;
// Game modules ---
ModulePlayer* player;
ModuleSceneIntro* scene_intro;
ModuleSceneTitle* scene_title;
ModulePlayerSelect* scene_select;
ModuleLevelOne* scene_levelOne;
ModuleCircuits* scene_circuits;
private:
std::list<Module*> modules;
};
extern Application* App;
#endif // __APPLICATION_CPP__