Skip to main content

components Folder

Files Index

filehelios/engine/state/components/_module.ixx

Sate components submodule. More...

fileStateComponent.ixx

Component storing current state for an entity. More...

Description

helios::engine::state::components

Components for storing state on entities.

Components

ClassDescription
StateComponent<StateType>Stores current state and last transition

Usage

Typically attached to the session entity:

 auto& stateComponent = session.getOrAdd<StateComponent<GameState>>();
 GameState current = stateComponent.state();


Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.