public void Invoke() { IsOpen = true; _difficultyOption = 1; _animMenuBg.Begin(); _animMenuBg.SetMessage(_mainMenu.MessageRenderer, _mainMenu.GetMessage(0x432e)); _animMenuWindow.Begin(); _animMenuTitle.Begin(); _animMenuTitle.SetMessage(_mainMenu.MessageRenderer, _mainMenu.GetMessage(0x4330)); _animMenuOption1.Begin(); _animMenuOption1.SetMessage(_mainMenu.MessageRenderer, _mainMenu.GetMessage(DifficultyTitle[0])); _animMenuOption2.Begin(); _animMenuOption2.SetMessage(_mainMenu.MessageRenderer, _mainMenu.GetMessage(DifficultyTitle[1])); _animMenuOption3.Begin(); _animMenuOption3.SetMessage(_mainMenu.MessageRenderer, _mainMenu.GetMessage(DifficultyTitle[2])); _animMenuOption4.Begin(); _animMenuOption4.SetMessage(_mainMenu.MessageRenderer, _mainMenu.GetMessage(DifficultyTitle[3])); _animMenuOptionSelected.Begin(); }
private void DrawNewGameMenu() { const int OptionHDistance = 30; var subTitleBgY = _mainMenu.Kernel.IsFinalMix ? 180 : 188; var optionY = _mainMenu.Kernel.IsFinalMix ? 120 : 144; _animMenuBg.Draw(0, 0); _animMenuWindow.SetMessage(_mainMenu.MessageRenderer, _mainMenu.GetMessage(DifficultyDescription[_difficultyOption])); _animMenuWindow.Draw(0, 0); _animMenuTitle.Draw(256, subTitleBgY); _animMenuOption1.Draw(256, optionY + OptionHDistance * 0); _animMenuOption2.Draw(256, optionY + OptionHDistance * 1); _animMenuOption3.Draw(256, optionY + OptionHDistance * 2); if (_difficultyCount >= 4) { _animMenuOption4.Draw(256, optionY + OptionHDistance * 3); } _animMenuOptionSelected.SetMessage(_mainMenu.MessageRenderer, _mainMenu.GetMessage(DifficultyTitle[_difficultyOption])); _animMenuOptionSelected.Draw(256, optionY + OptionHDistance * _difficultyOption); }