private void Stat_Menu_Settings() { switch (Stat_Curent) { case GameStat.MenuMain: Menu_Main.Reset(); break; } Stat_Curent = GameStat.MenuSettings; }
private void Stat_Menu_Main() { switch (Stat_Curent) { case GameStat.MenuSelect: Menu_Main = new MenuMain(this); Menu_Select = null; break; case GameStat.MenuSettings: Menu_Main.Reset(); break; case GameStat.Help: Menu_Main.Reset(); break; case GameStat.Win: Menu_Main = new MenuMain(this); Game_Play = null; break; case GameStat.Lose: Menu_Main = new MenuMain(this); Game_Play = null; break; case GameStat.Pause: Menu_Main = new MenuMain(this); if (Game_Play.Sound_Fan_Inst.State == SoundState.Playing) { Game_Play.Sound_Fan_Inst.Stop(); } Game_Play = null; break; case GameStat.Null: Menu_Main = new MenuMain(this); break; } Stat_Curent = GameStat.MenuMain; }