|
Monad Engine da02fba2
> Undercity Codex_
|
#include <InputManager.h>
Public Member Functions | |
| void | SetKeyPressed (int key, bool pressed) |
| bool | IsKeyPressed (int key) |
| void | SetMouseButtonPressed (int button, bool pressed) |
| bool | IsMouseButtonPressed (int button) |
| void | SetMousePositionOld (const glm::vec2 &pos) |
| const glm::vec2 & | GetMousePositionOld () const |
| void | SetMousePositionCurrent (const glm::vec2 &pos) |
| const glm::vec2 & | GetMousePositionCurrent () const |
| void | SetMousePositionChanged (bool changed) |
| bool | IsMousePositionChanged () const |
Friends | |
| class | Engine |
Definition at line 7 of file InputManager.h.
| const glm::vec2 & eng::InputManager::GetMousePositionCurrent | ( | ) | const |
Definition at line 57 of file InputManager.cpp.
| const glm::vec2 & eng::InputManager::GetMousePositionOld | ( | ) | const |
Definition at line 47 of file InputManager.cpp.
| bool eng::InputManager::IsKeyPressed | ( | int | key | ) |
Definition at line 14 of file InputManager.cpp.
| bool eng::InputManager::IsMouseButtonPressed | ( | int | button | ) |
Definition at line 33 of file InputManager.cpp.
| bool eng::InputManager::IsMousePositionChanged | ( | ) | const |
Definition at line 67 of file InputManager.cpp.
| void eng::InputManager::SetKeyPressed | ( | int | key, |
| bool | pressed | ||
| ) |
Definition at line 5 of file InputManager.cpp.
Referenced by eng::keyCallback().
| void eng::InputManager::SetMouseButtonPressed | ( | int | button, |
| bool | pressed | ||
| ) |
Definition at line 24 of file InputManager.cpp.
Referenced by eng::mouseButtonCallback().
| void eng::InputManager::SetMousePositionChanged | ( | bool | changed | ) |
Definition at line 62 of file InputManager.cpp.
Referenced by eng::Engine::Run().
| void eng::InputManager::SetMousePositionCurrent | ( | const glm::vec2 & | pos | ) |
Definition at line 52 of file InputManager.cpp.
| void eng::InputManager::SetMousePositionOld | ( | const glm::vec2 & | pos | ) |
Definition at line 42 of file InputManager.cpp.
Referenced by eng::cursorPositionCallback().
|
friend |
Definition at line 39 of file InputManager.h.