The current StateManager works but is less than ideal. The SetActiveState function is currently recursive but really could just be a do-while. In addition the state's should be created with std::make_shared instead of new.
Also now that the distinction between Game and Intro is gone these states should be merged. What should be done with the editor?
The current StateManager works but is less than ideal. The SetActiveState function is currently recursive but really could just be a do-while. In addition the state's should be created with std::make_shared instead of new.
Also now that the distinction between Game and Intro is gone these states should be merged. What should be done with the editor?