I\'m writing a game engine in C++ for the first time and I need a state manager / machine. I want it to have ownership of all states.
When I started digging into how