GlPortal Class Reference  0.1.1
Source code documentation of the free and open 3D action puzzle game.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Game.hpp
Go to the documentation of this file.
1 #ifndef GAME_HPP
2 #define GAME_HPP
3 
4 #include "World.hpp"
5 #include "GameController.hpp"
6 
7 #include <radix/Window.hpp>
9 #include <radix/env/Config.hpp>
10 #include <radix/BaseGame.hpp>
13 
14 namespace glPortal {
15 
16 class Game : public radix::BaseGame {
17 public:
18  Game();
19  void processInput();
20  void update();
21 
23 private:
24  std::unique_ptr<GameController> gameController;
25  std::unique_ptr<GameRenderer> gameRenderer;
26  std::unique_ptr<UiRenderer> uiRenderer;
27  void initHook();
28  double dtime;
29 };
30 
31 } /* namespace glPortal */
32 
33 #endif /* GAME_HPP */
Definition: GameController.hpp:16
Definition: Screen.hpp:10
void processInput()
GameController & getGameController()
Definition: Game.hpp:22
std::unique_ptr< GameController > gameController
Definition: Game.hpp:24
Definition: Game.hpp:16
std::unique_ptr< GameRenderer > gameRenderer
Definition: Game.hpp:25
std::unique_ptr< UiRenderer > uiRenderer
Definition: Game.hpp:26
Definition: BaseGame.hpp:22
double dtime
Definition: Game.hpp:28