Skip to content
This repository was archived by the owner on Nov 16, 2025. It is now read-only.

HierarchicalStateMachine State

ged edited this page Sep 9, 2024 · 2 revisions

Definition

Represents a state within the hierarchical state machine. Each state has a parent state and function pointer callbacks: enter, update, and exit.

template<class TContext>
struct HierarchicalStateMachine<TContext>::State : StateBase<TContext>

Type Parameters

  • TContext: The type of the context, which holds data or behavior relevant to the state machine.

Inheritance

Fields

  • HierarchicalStateMachine<TContext>::State* const parent
    • The parent state of this state. If it's nullptr, then it's considered a root state.

Constructors

Clone this wiki locally