InputManager Class Reference | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| SYSTEM_IMPLEMENTATION (InputManager) | |
| InputManager () | |
| void | Initialize () |
| void | Start () |
| void | Stop () |
| void | Terminate () |
| void | Update () |
| int | GetCursorX (int activeWidth=-1, int activeHeight=-1) |
| int | GetCursorY (int activeWidth=-1, int activeHeight=-1) |
| bool | IsKeyDown (KeyCode key) |
| bool | WasKeyPressed (KeyCode key) |
| bool | WasKeyReleased (KeyCode key) |
| bool | IsAnyKeyDown () |
| bool | WasAnyKeyPressed () |
| bool | WasAnyKeyReleased () |
| bool | IsCharDown (unsigned char ascii) |
| bool | WasCharPressed (unsigned char ascii) |
| bool | WasCharReleased (unsigned char ascii) |
| int | GetCharacterCount () |
| char | GetCharacter (int index) |
| void | ClearCharacters () |
Constructor & Destructor Documentation
| InputManager::InputManager | ( | ) |
Definition at line 16 of file InputManager.cpp.
Member Function Documentation
| InputManager::SYSTEM_IMPLEMENTATION | ( | InputManager | ) |
| void InputManager::Initialize | ( | ) | [virtual] |
| void InputManager::Start | ( | ) | [virtual] |
| void InputManager::Stop | ( | ) | [virtual] |
| void InputManager::Terminate | ( | ) | [virtual] |
| void InputManager::Update | ( | ) |
Definition at line 67 of file InputManager.cpp.
| int InputManager::GetCursorX | ( | int | activeWidth = -1, |
|
| int | activeHeight = -1 | |||
| ) |
Definition at line 108 of file InputManager.cpp.
| int InputManager::GetCursorY | ( | int | activeWidth = -1, |
|
| int | activeHeight = -1 | |||
| ) |
Definition at line 141 of file InputManager.cpp.
| bool InputManager::IsKeyDown | ( | KeyCode | key | ) |
Definition at line 174 of file InputManager.cpp.
| bool InputManager::WasKeyPressed | ( | KeyCode | key | ) |
Definition at line 183 of file InputManager.cpp.
| bool InputManager::WasKeyReleased | ( | KeyCode | key | ) |
Definition at line 192 of file InputManager.cpp.
| bool InputManager::IsAnyKeyDown | ( | ) |
Definition at line 201 of file InputManager.cpp.
| bool InputManager::WasAnyKeyPressed | ( | ) |
Definition at line 217 of file InputManager.cpp.
| bool InputManager::WasAnyKeyReleased | ( | ) |
Definition at line 236 of file InputManager.cpp.
| bool InputManager::IsCharDown | ( | unsigned char | ascii | ) |
Definition at line 254 of file InputManager.cpp.
| bool InputManager::WasCharPressed | ( | unsigned char | ascii | ) |
Definition at line 262 of file InputManager.cpp.
| bool InputManager::WasCharReleased | ( | unsigned char | ascii | ) |
Definition at line 270 of file InputManager.cpp.
| int InputManager::GetCharacterCount | ( | ) |
Definition at line 278 of file InputManager.cpp.
| char InputManager::GetCharacter | ( | int | index | ) |
Definition at line 286 of file InputManager.cpp.
| void InputManager::ClearCharacters | ( | ) |
Definition at line 294 of file InputManager.cpp.






