PlayerInput struct
#include <Jazz2/LevelHandler.h>
Describes current input state of a player.
Constructors, destructors, conversion operators
- PlayerInput()
- Creates a new instance.
Public variables
-
std::
uint64_t PressedActions - Bitmask of actions pressed in the current frame.
-
std::
uint64_t PressedActionsLast - Bitmask of actions pressed in the previous frame.
- Vector2f RequiredMovement
- Desired movement vector.
- Vector2f FrozenMovement
- Movement vector applied while the input is frozen.
- bool Frozen
- Whether the input is frozen.