Nui Engine
A game engine framework
Loading...
Searching...
No Matches
Nui::Engine Class Reference

Core engine class for Nui Engine. More...

#include <Engine.h>

Public Member Functions

 Engine ()
 Default constructor that Initializes the engine.
 
 ~Engine ()
 Destructor that shuts down the engine.
 
void Run ()
 Runs the main loop of the engine.
 
void Quit ()
 Quits the engine.
 
F64 GetEngineUpTime () const noexcept
 Returns the up time of the engine.
 
AppBaseGetApp () const noexcept
 Gets the application run by the engine.
 

Detailed Description

Core engine class for Nui Engine.

Note
This class is a singleton

Member Function Documentation

◆ GetApp()

AppBase * Nui::Engine::GetApp ( ) const
noexcept

Gets the application run by the engine.

Returns
Pointer to the application

◆ GetEngineUpTime()

F64 Nui::Engine::GetEngineUpTime ( ) const
inlinenoexcept

Returns the up time of the engine.

Returns
Up time in seconds

The documentation for this class was generated from the following files: