Resolving the game state machine cyclic dependency

Technocoder on November 05, 2017

If you've been making (or trying to make) games for any amount of time, it's likely you've seen and used the state machine. Here's a minimal impl... [Read Full]
markdown guide
 

Great text. You probably forgot to add virtual to your State methods void onEnter() {} and onExit on that first C++ example, though. :)

 

Ahh, you're completely right. Thanks for the heads up!

 
 

I don't have any intentions to make my game open source at the moment

code of conduct - report abuse