mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-06-18 00:27:02 +08:00
refactor: introduce App class as program core
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user