Make the game object pointer a static member of the state class, revision 2

I hope it won't take 6 months this time. :ok_hand: