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

◆ createInitialState()

virtual std::unique_ptr< State > Flint::Application::createInitialState ( )
protectedpure virtual

Factory method that creates the game state pushed into the stack.

Called once in during run() before the main loop begins.

Returns
Owning pointer to the initial State.