Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
actions.hpp File Reference

Named actions (move, fire...) bound to keys and gamepad buttons, so gameplay never reads raw input. More...

#include <aegis2d/core/config.hpp>
#include <aegis2d/platform/export.hpp>
#include <aegis2d/platform/gamepad.hpp>
#include <aegis2d/platform/keyboard.hpp>
#include <cstddef>
#include <initializer_list>
#include <optional>
#include <span>
#include <string>
#include <string_view>
#include <vector>

Go to the source code of this file.

Classes

class  aegis2d::platform::ActionMap
 Actions of the game and the keys and gamepad buttons that trigger them. More...
 

Namespaces

namespace  aegis2d
 Root namespace of the engine.
 
namespace  aegis2d::platform
 Window and input on top of SDL3, independent of the graphics API (client only).
 

Typedefs

using aegis2d::platform::ActionId = std::size_t
 Identifier of an action in its ActionMap, given by ActionMap::add().
 

Detailed Description

Named actions (move, fire...) bound to keys and gamepad buttons, so gameplay never reads raw input.