mirror of
https://github.com/slendidev/lunar.git
synced 2026-01-30 16:28:58 +02:00
Make Application into a singleton
Signed-off-by: Slendi <slendi@socopon.com>
This commit is contained in:
@@ -38,6 +38,8 @@ struct Application {
|
||||
auto is_key_pressed(uint32_t key) const -> bool;
|
||||
auto is_key_released(uint32_t key) const -> bool;
|
||||
|
||||
static auto the() -> Application &;
|
||||
|
||||
private:
|
||||
auto init_input() -> void;
|
||||
auto init_test_meshes() -> void;
|
||||
|
||||
Reference in New Issue
Block a user