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