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; } /// The current menu. public IClickableMenu PriorMenu { get; } /********* ** Public methods *********/ /// Construct an instance. /// The previous menu. /// The current menu. public EventArgsClickableMenuChanged(IClickableMenu priorMenu, IClickableMenu newMenu) { this.NewMenu = newMenu; this.PriorMenu = priorMenu; } } }