|
Nameless Engine
|
#include <InputManager.h>
Public Member Functions | |
| ActionState (std::variant< KeyboardKey, MouseButton > key) | |
Public Attributes | |
| bool | bIsPressed |
| std::variant< KeyboardKey, MouseButton > | key |
Holds current action state.
|
inline |
Initialize action state.
| key | Action key. |
| bool ne::ActionState::bIsPressed |
Whether the key is pressed or not.
| std::variant<KeyboardKey, MouseButton> ne::ActionState::key |
Action key.