Catos Engine (Source) 0.0.1
Lightweight Game engine
|
Main class that holds all information. More...
#include <application.h>
Public Member Functions | |
App (AppCreationInfo *creationInfo) | |
Initializes the Application (Also registers all "known" class to the registry) | |
~App () | |
bool | is_alive () |
Returns if the app is still running. | |
template<typename A > | |
void | bind (const void *instance) |
Used to bind an instance to an type. | |
template<typename A > | |
A * | get () |
Returns the registered instance. | |
AppCreationInfo * | getAppInfo () |
Returns a pointer to the info with what the application is made. | |
Main class that holds all information.
catos::App::App | ( | AppCreationInfo * | creationInfo | ) |
Initializes the Application (Also registers all "known" class to the registry)
catos::App::~App | ( | ) |
|
inline |
Used to bind an instance to an type.
|
inline |
Returns the registered instance.
catos::AppCreationInfo * catos::App::getAppInfo | ( | ) |
Returns a pointer to the info with what the application is made.
bool catos::App::is_alive | ( | ) |
Returns if the app is still running.