KarmaEngine
Game Engine for practical learning and research purposes
|
Additional Inherited Members | |
![]() | |
Application () | |
A constructor for Application. | |
~Application () | |
Destructor. | |
void | Run () |
Routine containing the main application loop. | |
void | OnEvent (Event &e) |
For dispatching events and trickling down the call to Layer stack. | |
void | PushLayer (Layer *layer) |
Places the Layer in the stack of layers and sends a notification. | |
void | PushOverlay (Layer *layer) |
Places the Layer at the front most position, in the sense, after the last inserted layer. | |
void | PrepareApplicationForRun () |
Do the preliminaries before the main loop run. | |
void | HookInputSystem (std::shared_ptr< Input > input) |
Set an event callback to the given input system. | |
void | PrepareMemorySoftBed () |
All the bulk memory allocation is done to prevent frequent calls to context switching new/delete operators. | |
void | InitializeApplicationEngine () |
Instantiate the instance of KEngine. | |
void | DecommisionApplicationEngine () |
Clean up all the KEngine relevant mess. | |
Window & | GetWindow () const |
Getter for the Window handle. | |
void | CloseApplication () |
Closing of the Application and do the relevant processing for clean up. | |
![]() | |
static Application & | Get () |
Getter for the instance (s_Instance) of the Application. | |