Nameless Engine
|
#include <InputManager.h>
Public Member Functions | |
AxisState (KeyboardKey plusKey, KeyboardKey minusKey) | |
Public Attributes | |
KeyboardKey | plusKey |
KeyboardKey | minusKey |
bool | bIsPlusKeyPressed |
bool | bIsMinusKeyPressed |
Holds current axis event state.
|
inline |
Initializes axis event state.
plusKey | Key for '+1' input. |
minusKey | Key for '-1' input. |
bool ne::AxisState::bIsMinusKeyPressed |
Whether minusKey is currently pressed or not.
bool ne::AxisState::bIsPlusKeyPressed |
Whether plusKey is currently pressed or not.
KeyboardKey ne::AxisState::minusKey |
Plus key (triggers input value '-1').
KeyboardKey ne::AxisState::plusKey |
Plus key (triggers input value '+1').