private void OnUndoClicked() { BadgeEraser.UndoUnconfirmedBadges(); AudioController.Source.PlayOneShot(AudioController.AudioSettings.UndoBadgesClip); MenuManager.CloseMenu(Menus.ConfirmStepWindow); _isOpen = false; }
public ConfirmStepWindowPresenter(MenuManager menuManager, GameInfo info, BadgeEraser badgeEraser, GameEvents gameEvents, BadgeModel.Registry badgeRegistry, AudioController audioController) : base(audioController) { MenuManager = menuManager; Info = info; BadgeEraser = badgeEraser; GameEvents = gameEvents; BadgeRegistry = badgeRegistry; AudioController = audioController; menuManager.SetMenu(this); }