Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches

◆ queueTransition()

void Flint::StateManager::queueTransition ( TransitionType type,
std::unique_ptr< State > newState )

Enqueue a state transition to be applied on the next applyTransitions() call.

Parameters
typeThe transition kind (PUSH, POP, or REPLACE).
newStateThe state to push or replace with (ignored for POP).