GameStateInputResponseSystem Class
Responds to gamepad input and issues game state commands. More...
Declaration
Base class
| class | System |
|
Abstract base class for game systems. More... | |
Public Member Functions Index
| void | update (helios::engine::runtime::world::UpdateContext &updateContext) noexcept override |
|
Processes input and submits state transition commands. More... | |
Description
Responds to gamepad input and issues game state commands.
Listens for the Start button and triggers appropriate state transitions based on the current game state (e.g., Title -> Running, Running -> Paused).
Definition at line 33 of file GameStateInputResponseSystem.ixx.
Public Member Functions
update()
| inline noexcept virtual |
Processes input and submits state transition commands.
- Parameters
-
updateContext The current update context.
Definition at line 44 of file GameStateInputResponseSystem.ixx.
References helios::engine::mechanics::gamestate::types::Running, helios::input::types::Start, helios::engine::mechanics::gamestate::types::StartRequested, helios::engine::mechanics::gamestate::types::Title and helios::engine::mechanics::gamestate::types::TogglePause.
The documentation for this class was generated from the following file:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.