Thursday, February 11, 2010

Game state management

I've created a class to manage the current game state. It's a very simple but flexible way to manage the current state of the game. I can just derive classes from the GameState class for anything from the main menu to the game in progress, and easily switch between states.

Here is a link to the GameState class source:

No comments:

Post a Comment