allow objects to switchGameState