Phyzix
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
Application Class Reference

This class is the main class of the application, it is a singleton class that manages the game loop, the scene, the camera and the rendering. More...

#include <Application.h>

Inheritance diagram for Application:
RuntimeBaseTypeIdentifiable

Public Member Functions

RuntimeBaseType getBaseType () const override
 
 Application (Application const &)=delete
 
void operator= (Application const &)=delete
 

Static Public Member Functions

static ApplicationgetInstance ()
 
static void update ()
 This function should run in a separate thread, be scheduled every small time increments to update dynamic objects.
 
static void render ()
 This function should run in a separate thread, be scheduled whenever display should show a new frame or update the frame.
 
static void game ()
 This function should run in a separate thread, be scheduled whenever scene changes, starts and so.
 

Static Public Attributes

static uint32_t last_tick
 
static uint32_t last_render_tick
 

Detailed Description

This class is the main class of the application, it is a singleton class that manages the game loop, the scene, the camera and the rendering.

Member Function Documentation

◆ getBaseType()

RuntimeBaseType Application::getBaseType ( ) const
inlineoverridevirtual

Reimplemented from RuntimeBaseTypeIdentifiable.


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