using System; using StardewValley.Menus; namespace StardewModdingAPI.Events { /// Event arguments for a event. public class EventArgsClickableMenuChanged : EventArgs { /********* ** Accessors *********/ /// The previous menu. public IClickableMenu NewMenu { get; private set; } /// The current menu. public IClickableMenu PriorMenu { get; private set; } /********* ** Public methods *********/ /// Construct an instance. /// The previous menu. /// The current menu. public EventArgsClickableMenuChanged(IClickableMenu priorMenu, IClickableMenu newMenu) { this.NewMenu = newMenu; this.PriorMenu = priorMenu; } } }