Air-Trap
1.0.0
A multiplayer R-Type clone game engine built with C++23 and ECS architecture
Loading...
Searching...
No Matches
KeyAction.hpp
Go to the documentation of this file.
1
8
#ifndef RTYPE_CLIENT_UTILS_KEYACTION_HPP_
9
#define RTYPE_CLIENT_UTILS_KEYACTION_HPP_
10
11
namespace
rtp::client
{
16
enum class
KeyAction
{
17
MoveUp
,
18
MoveDown
,
19
MoveLeft
,
20
MoveRight
,
21
Shoot
,
22
Reload
,
23
Pause
,
24
Menu
25
};
26
}
// namespace rtp::client
27
28
#endif
// RTYPE_CLIENT_UTILS_KEYACTION_HPP_
rtp::client
R-Type client namespace.
rtp::client::KeyAction
KeyAction
Actions that can be bound to keys.
Definition
KeyAction.hpp:16
rtp::client::KeyAction::Pause
@ Pause
Action for pausing the game.
rtp::client::KeyAction::Reload
@ Reload
Action for reloading.
rtp::client::KeyAction::MoveRight
@ MoveRight
Action for moving right.
rtp::client::KeyAction::MoveDown
@ MoveDown
Action for moving down.
rtp::client::KeyAction::MoveUp
@ MoveUp
Action for moving up.
rtp::client::KeyAction::Shoot
@ Shoot
Action for shooting.
rtp::client::KeyAction::MoveLeft
@ MoveLeft
Action for moving left.
rtp::client::GameState::Menu
@ Menu
Main menu state.
client
include
Utils
KeyAction.hpp
Generated by
1.9.8