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

◆ currentState()

State * Flint::StateManager::currentState ( ) const
nodiscard

Get currently active (top) state.

Returns
Pointer to the top State, or nullptr if the stack is empty.