Open 3D Engine LmbrCentral Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
LmbrCentral::SimpleStateComponent Class Reference

#include <SimpleStateComponent.h>

Inherits AZ::Component, and SimpleStateComponentRequestBus::Handler.

Public Member Functions

 AZ_COMPONENT (SimpleStateComponent, "{242D4707-BC72-4245-AC96-BCEE38BBC1B7}")
 
void Init () override
 
void Activate () override
 
void Deactivate () override
 
void SetState (const char *stateName) override
 
void SetStateByIndex (AZ::u32 stateIndex) override
 
void SetToNextState () override
 
void SetToPreviousState () override
 
void SetToFirstState () override
 
void SetToLastState () override
 
AZ::u32 GetNumStates () override
 
const char * GetCurrentState () override
 

Detailed Description

SimpleStateComponent

SimpleState provides a simple state machine.

Each state is represented by a name and zero or more entities to activate when entered and deactivate when the state is left.


The documentation for this class was generated from the following file: