Pass the game object as a parameter of a GameState