Skip to main content

commands Folder

Files Index

filehelios/engine/state/commands/_module.ixx

Game state commands submodule. More...

fileDelayedStateCommand.ixx

Timer-deferred command for requesting state transitions. More...

fileStateCommand.ixx

Command for requesting state transitions. More...

Description

helios::engine::state::commands

Commands for requesting state transitions.

Components

ClassDescription
StateCommand<StateType>Encapsulates a transition request

Usage

 using namespace helios::engine::state::types;
 
 // Request a state transition
 updateContext.queueCommand<StateCommand<GameState>>(
  GameState::Running,
  GameStateTransitionId::Pause
  }
 );


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.