5#ifndef C0_APPLICATION_H
6#define C0_APPLICATION_H
8#include "app/engine/Scene.h"
9#include "app/engine/Camera.h"
11#include "app/engine/StaticObject.h"
12#include "lcd_st7735/lcd.h"
13#include "app/lib/rtti.h"
33 static uint32_t last_tick;
34 static uint32_t last_render_tick;
37 return RuntimeBaseType::APPLICATION;
52 [[noreturn]]
static void update();
57 [[noreturn]]
static void render();
62 [[noreturn]]
static void game();
This class is the main class of the application, it is a singleton class that manages the game loop,...
Definition Application.h:20
static void update()
This function should run in a separate thread, be scheduled every small time increments to update dyn...
Definition Application.cpp:104
static void game()
This function should run in a separate thread, be scheduled whenever scene changes,...
Definition Application.cpp:175
static void render()
This function should run in a separate thread, be scheduled whenever display should show a new frame ...
Definition Application.cpp:118
Base class for runtime type identification.
Definition rtti.h:38
Enum class to identify the base type of a class for runtime type identification.