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

◆ peekBelow()

State * Flint::StateManager::peekBelow ( const State * top) const

Return the state directly below top on the stack.

Parameters
topThe reference state (must be in the stack).
Returns
Pointer to the state below top, or nullptr if none exists.