![]() |
ImagoEngine
A C++ 2D game engine built on a sparse-set ECS, with scenes, scheduled systems, events, and action-based input
|
Defines InputState, the read-only view of every action that sytems query. More...
#include <cstdint>#include <vector>#include <unordered_map>#include <string>#include <glm/vec2.hpp>

Go to the source code of this file.
Classes | |
| class | Imago::Engine::InputState |
| What systems query for input (ctx.input->began("jump")). This is only for querying. The InputHandler writes it. More... | |
Typedefs | |
| using | Imago::Engine::ActionId = uint32_t |
| Id of a registered action, resolve a name once with action_id() and cache it for the fast path. | |
Variables | |
| constexpr ActionId | Imago::Engine::INVALID_ACTION = UINT32_MAX |
| The bits that should be returned by action_id() when a name is not registered. | |
Defines InputState, the read-only view of every action that sytems query.