public static void SetMenuState(string NextState) { MenuState.End(); MenuState = MenuStateList[NextState]; MenuState.Start(); }