Castle Battle  1.0
Application.h
Go to the documentation of this file.
1 #ifndef APPLICATION_H
2 #define APPLICATION_H
3 #include <irrlicht.h>
4 #include "Terrain.h"
5 #include "physics.h"
6 #include "gamemanager.h"
7 #include "launcher.h"
8 using namespace irr;
9 class Launcher;
15  private:
17  IrrlichtDevice* device;
18 
20  video::IVideoDriver* driver;
21 
23  scene::ISceneManager* smgr;
24 
27 
30 
32  gui::IGUIEnvironment* gui;
33 
36 
39 
41  // core::stringw* names;
42 
43  public:
44 
48  Application();
49 
53  bool loop();
54 
56  void createWorldEnviroment();
57 
59  bool init();
60 
62  bool end();
63 };
64 #endif
IrrlichtDevice * device
Irrlicht device instance.
Definition: Application.h:17
Physics * physics
Physics instance.
Definition: Application.h:26
scene::ISceneManager * smgr
Irrlicht scene manager instance.
Definition: Application.h:23
Terrain * terrain
Terrain of the world.
Definition: Application.h:35
gui::IGUIEnvironment * gui
Gui enviroment to build gui objects.
Definition: Application.h:32
video::IVideoDriver * driver
Irrlicht video instance.
Definition: Application.h:20
Physics class will handle all things related to collisions, creating Bullet physics objects and the p...
Definition: physics.h:12
Terrain of the world.
Definition: Terrain.h:5
Application will set up Launcher screen, and start the loop through GameManager.
Definition: Application.h:14
Launcher * screen
GUI handler.
Definition: Application.h:38
GameManager is the main manager of the gameplay.
Definition: gamemanager.h:11
Launcher start screen.
Definition: launcher.h:25
GameManager * gameManager
GameManager instance.
Definition: Application.h:29