Interface implemented by each full-screen mode (Lobby, Game).
Definition IScreen.hpp:12
virtual SDL_AppResult iterate()=0
Update the screen state and render the next frame.
virtual SDL_AppResult event(SDL_Event *event)=0
Handle an incoming SDL event.
virtual void quit()=0
Perform any necessary cleanup before the screen is destroyed.
virtual void shutdownAfterRenderer()
Perform cleanup that must happen after the App-owned renderer shuts down.
Definition IScreen.hpp:29
virtual ~IScreen()=default