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
11namespace 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_
R-Type client namespace.
KeyAction
Actions that can be bound to keys.
Definition KeyAction.hpp:16
@ Pause
Action for pausing the game.
@ Reload
Action for reloading.
@ MoveRight
Action for moving right.
@ MoveDown
Action for moving down.
@ MoveUp
Action for moving up.
@ Shoot
Action for shooting.
@ MoveLeft
Action for moving left.
@ Menu
Main menu state.