|
CS4850 Final Project
|
Singleton class that handles input. More...
#include <InputManager.hpp>
Public Member Functions | |
| bool | IsKeyPressed (std::string key) |
| Check if a key is pressed. Use SDL_Scancode for key. | |
Static Public Member Functions | |
| static InputManager & | Instance () |
| Get the instance of the InputManager. | |
Singleton class that handles input.
|
inlinestatic |
Get the instance of the InputManager.
|
inline |
Check if a key is pressed. Use SDL_Scancode for key.
| key | Key to check |