#include <MercuryInput.h>
Collaboration diagram for MercuryInputManager:

Public Member Functions | |
| MercuryInputManager () | |
| ~MercuryInputManager () | |
| void | Update () |
| [internal] Update | |
| bool | IsButtonDown (int DeviceNumber, int ButtonNumber) |
| Determine if a low-level button is pressed currently. | |
| bool | IsButtonDown (int code) |
| Determine if a button is pressed (by high level code). | |
| InputEvent | PopLastEvent () |
| [internal] Get last input event | |
| bool | GetCursorPosition (int &x, int &y) |
| Get the cursor position (and return it's X and Y pos by reference). | |
Private Attributes | |
| MVector< InputDevice * > | m_vDevices |
Definition at line 80 of file MercuryInput.h.
| MercuryInputManager::MercuryInputManager | ( | ) |
Definition at line 93 of file MercuryInput.cpp.
| MercuryInputManager::~MercuryInputManager | ( | ) | [inline] |
Definition at line 84 of file MercuryInput.h.
| void MercuryInputManager::Update | ( | ) |
| bool MercuryInputManager::IsButtonDown | ( | int | DeviceNumber, | |
| int | ButtonNumber | |||
| ) | [inline] |
| bool MercuryInputManager::IsButtonDown | ( | int | code | ) |
Determine if a button is pressed (by high level code).
Definition at line 147 of file MercuryInput.cpp.
| InputEvent MercuryInputManager::PopLastEvent | ( | ) |
| bool MercuryInputManager::GetCursorPosition | ( | int & | x, | |
| int & | y | |||
| ) | [inline] |
Get the cursor position (and return it's X and Y pos by reference).
Definition at line 100 of file MercuryInput.h.
MVector< InputDevice * > MercuryInputManager::m_vDevices [private] |
Definition at line 106 of file MercuryInput.h.