Removed constructor and destructor from static classes Keyboard and Mouse
Former-commit-id: 9c9054723b33535ec444bda4621dd678284d6983
This commit is contained in:
parent
edaac1ded4
commit
80c4ef6b5a
|
|
@ -161,6 +161,9 @@ class NAZARA_API NzKeyboard
|
|||
Count
|
||||
};
|
||||
|
||||
NzKeyboard() = delete;
|
||||
~NzKeyboard() = delete;
|
||||
|
||||
static NzString GetKeyName(Key key);
|
||||
static bool IsKeyPressed(Key key);
|
||||
};
|
||||
|
|
|
|||
|
|
@ -28,6 +28,9 @@ class NAZARA_API NzMouse
|
|||
Max = XButton2
|
||||
};
|
||||
|
||||
NzMouse() = delete;
|
||||
~NzMouse() = delete;
|
||||
|
||||
static NzVector2i GetPosition();
|
||||
static NzVector2i GetPosition(const NzWindow& relativeTo);
|
||||
static bool IsButtonPressed(Button button);
|
||||
|
|
|
|||
Loading…
Reference in New Issue