DelayedStateCommand.ixx File
Timer-deferred command for requesting state transitions. More...
Included Headers
#include <cassert>
#include <memory>
#include <helios.engine.state.types>
#include <helios.engine.state.Bindings>
#include <helios.engine.mechanics.timing.types.GameTimerId>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | state |
|
Generic, template-based state management system. More... | |
| namespace | commands |
|
State transition commands. More... | |
Classes Index
| class | DelayedStateCommand<StateType> |
|
Command that pairs a state transition request with a timer. More... | |
Description
Timer-deferred command for requesting state transitions.
File Listing
The file content with the documentation metadata removed is:
18using namespace helios::engine::state::types;
19using namespace helios::engine::mechanics::timing::types;
22export namespace helios::engine::state::commands {
43 class DelayedStateCommand {
48 StateTransitionRequest<StateType> transitionRequest_;
53 GameTimerId timerId_;
63 explicit DelayedStateCommand(StateTransitionRequest<StateType> transitionRequest, GameTimerId timerId)
64 : transitionRequest_(transitionRequest), timerId_(timerId) {}
73 [[nodiscard]] types::StateTransitionRequest<StateType> transitionRequest() const noexcept {
82 [[nodiscard]] GameTimerId gameTimerId() const noexcept {
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.