 |
Rune Engine
Version 0.2.7-alpha
Documentation for how to make games using the Rune Engine.
|
60 #ifndef GAMEAPP_H_INCLUDED
61 #define GAMEAPP_H_INCLUDED
64 #define IMGUI_IMPL_OPENGL_LOADER_CUSTOM
65 #include <SceneManager\sceneManager.h>
66 #include <Renderer\RenderWindow.h>
67 #include <Events\clock.h>
69 #define getGameInstance() rune::GameApplication::getApplication()
90 GameApplication(std::string
const& title =
"Rune Engine",
int updateRate = 60);
108 if(!currentApplication)
113 return currentApplication;
117 void loadScene(std::string
const& sceneName,
GameScene* newScene);
123 double getDeltaTime(
void);
125 int getFrameRate(
void);
127 void quitApplication();
129 void changeScene(std::string
const& newScene);
Entry point for all programs using the engine, must instantiate a game application for every new game...
Definition: gameApplication.h:74
int m_errorCode
Definition: gameApplication.h:98
This class is responsible for serving as a parent class for each instance of the game....
Definition: gameScene.h:29
The scene manager is responsible for handling the transfer of the current state pointer that refers t...
Definition: sceneManager.h:23
static GameApplication * getApplication()
Definition: gameApplication.h:106
A window that the game can be drawn to.
Definition: renderWindow.h:26
The main namespace to be used for interfacing with the engine.
Definition: animator.h:21