|
R-Type
Distributed multiplayer game engine in C++
|
#include <cstdint>#include "Events/IEvent.hpp"

Go to the source code of this file.
Classes | |
| class | InputEvent |
| Event representing a player input action. More... | |
Enumerations | |
| enum class | InputAction { MOVE_UP , MOVE_DOWN , MOVE_LEFT , MOVE_RIGHT , SHOOT , PAUSE , QUIT } |
| Available player input actions. More... | |
| enum class | InputState { PRESSED , RELEASED , HELD } |
| State of an input action. More... | |
|
strong |
Available player input actions.
Defines all possible actions a player can perform in R-Type.
Definition at line 20 of file InputEvent.hpp.
|
strong |
State of an input action.
Represents the current state of a button or key.
| Enumerator | |
|---|---|
| PRESSED | Input just pressed this frame. |
| RELEASED | Input just released this frame. |
| HELD | Input held down (continuous) |
Definition at line 36 of file InputEvent.hpp.