public void Invoke() { IsOpen = true; _difficultyOption = 1; _animMenuBg.Begin(); _animMenuBg.TextAnchor = TextAnchor.Center; _animMenuBg.SetMessage(0x432e); _animMenuWindow.Begin(); _animMenuTitle.Begin(); _animMenuTitle.TextAnchor = TextAnchor.BottomCenter; _animMenuTitle.SetMessage(0x4330); _animMenuOption1.Begin(); _animMenuOption1.TextAnchor = TextAnchor.BottomCenter; _animMenuOption1.SetMessage(DifficultyTitle[0]); _animMenuOption2.Begin(); _animMenuOption2.TextAnchor = TextAnchor.BottomCenter; _animMenuOption2.SetMessage(DifficultyTitle[1]); _animMenuOption3.Begin(); _animMenuOption3.TextAnchor = TextAnchor.BottomCenter; _animMenuOption3.SetMessage(DifficultyTitle[2]); _animMenuOption4.Begin(); _animMenuOption4.TextAnchor = TextAnchor.BottomCenter; _animMenuOption4.SetMessage(DifficultyTitle[3]); _animMenuOptionSelected.Begin(); }
public void OpenMenu() { _layoutRenderer.FrameIndex = 0; _layoutRenderer.SelectedSequenceGroupIndex = 0; _backgroundSeq.Begin(); _subMenu = new MainMenu(this); _subMenu.Open(); _subMenuDescriptionInfo.Clear(); _subMenuDescriptionSeq = SequenceFactory.Create(new List <AnimatedSequenceDesc>()); _subMenuDescriptionSeq.Begin(); IsMenuOpen = true; }