Hi all!
I've had a look at the
Basic Game Engine at the wiki.
What is the recommended way to switch between states?
I'd guess one state accesses the app's state manager and set's the next state (or drops himself), but where to put that call? I'd assume IState::Draw() as it's the only method called once per tick. But it feels wrong to put game logic there...
Thanks a lot for your advice,
Hauke