#include <input_manager.h>
◆ InputManager() [1/2]
InputManager::InputManager |
( |
| ) |
|
|
default |
◆ InputManager() [2/2]
InputManager::InputManager |
( |
SDL_Window * |
window | ) |
|
|
inline |
◆ GetMousePosition()
glm::vec2 InputManager::GetMousePosition |
( |
| ) |
|
◆ GetTypedText()
std::string InputManager::GetTypedText |
( |
| ) |
|
◆ IsKeyHeld()
bool InputManager::IsKeyHeld |
( |
SDL_Scancode |
key | ) |
|
◆ IsKeyPressed()
bool InputManager::IsKeyPressed |
( |
SDL_Scancode |
key | ) |
|
◆ IsKeyReleased()
bool InputManager::IsKeyReleased |
( |
SDL_Scancode |
key | ) |
|
◆ IsMouseButtonPressed()
bool InputManager::IsMouseButtonPressed |
( |
Uint8 |
button | ) |
|
◆ IsMouseButtonReleased()
bool InputManager::IsMouseButtonReleased |
( |
Uint8 |
button | ) |
|
◆ IsPositionInRect()
bool InputManager::IsPositionInRect |
( |
glm::vec2 |
position, |
|
|
ember::Rectangle |
rect |
|
) |
| |
◆ IsTextInputActive()
bool InputManager::IsTextInputActive |
( |
| ) |
|
◆ ProcessEvents()
void InputManager::ProcessEvents |
( |
const SDL_Event * |
pEvent | ) |
|
◆ SetTextInputActive()
void InputManager::SetTextInputActive |
( |
bool |
status | ) |
|
◆ Update()
void InputManager::Update |
( |
| ) |
|
The documentation for this class was generated from the following files: