R-Type 0.1
Loading...
Searching...
No Matches
InputAction.hpp
1#pragma once
2
3#include <cstdint>
4
5namespace rtk {
14struct InputState {
15 uint32_t actionMask{0};
16 bool closeRequested = false;
17 bool debug = false;
18};
19
21} // namespace rtk
Player input sampled during the current frame.
Definition InputAction.hpp:14
uint32_t actionMask
Bit n is set while action n is active.
Definition InputAction.hpp:15
bool closeRequested
True when the window must close.
Definition InputAction.hpp:16
bool debug
True while the debug overlay is enabled.
Definition InputAction.hpp:17