refactor: introduce App class as program core

This commit is contained in:
2026-03-20 22:46:34 +08:00
parent bfc928d91a
commit 3916a72ca3
12 changed files with 492 additions and 288 deletions

View File

@@ -1,9 +1,19 @@
#include <Cubed/input.hpp>
#include <Cubed/tools/cubed_assert.hpp>
static InputState input_state;
namespace Input {
InputState& get_input_state() {
return input_state;
}
}