Removed constructor and destructor from static classes Keyboard and Mouse

Former-commit-id: 9c9054723b33535ec444bda4621dd678284d6983
This commit is contained in:
Lynix 2014-03-04 19:11:03 +01:00
parent edaac1ded4
commit 80c4ef6b5a
2 changed files with 6 additions and 0 deletions

View File

@ -161,6 +161,9 @@ class NAZARA_API NzKeyboard
Count
};
NzKeyboard() = delete;
~NzKeyboard() = delete;
static NzString GetKeyName(Key key);
static bool IsKeyPressed(Key key);
};

View File

@ -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);