feat: players interpolation & add hud.set_allow_pause(...)
This commit is contained in:
@@ -19,12 +19,12 @@ class Events {
|
||||
static bool keys[KEYS_BUFFER_SIZE];
|
||||
static uint frames[KEYS_BUFFER_SIZE];
|
||||
static uint currentFrame;
|
||||
static bool cursor_drag;
|
||||
static bool cursorDrag;
|
||||
static bool cursorLocked;
|
||||
public:
|
||||
static int scroll;
|
||||
static glm::vec2 delta;
|
||||
static glm::vec2 cursor;
|
||||
static bool _cursor_locked;
|
||||
static std::vector<uint> codepoints;
|
||||
static std::vector<keycode> pressedKeys;
|
||||
static std::unordered_map<std::string, Binding> bindings;
|
||||
@@ -65,4 +65,6 @@ public:
|
||||
BindType bindType
|
||||
);
|
||||
static void enableBindings();
|
||||
|
||||
static bool isCursorLocked();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user