diff options
Diffstat (limited to 'src/StardewModdingAPI/Events/EventArgsClickableMenuClosed.cs')
-rw-r--r-- | src/StardewModdingAPI/Events/EventArgsClickableMenuClosed.cs | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/src/StardewModdingAPI/Events/EventArgsClickableMenuClosed.cs b/src/StardewModdingAPI/Events/EventArgsClickableMenuClosed.cs index bdf44285..1a62432f 100644 --- a/src/StardewModdingAPI/Events/EventArgsClickableMenuClosed.cs +++ b/src/StardewModdingAPI/Events/EventArgsClickableMenuClosed.cs @@ -3,13 +3,24 @@ using StardewValley.Menus; namespace StardewModdingAPI.Events { + /// <summary>Event arguments for a <see cref="MenuEvents.MenuClosed"/> event.</summary> public class EventArgsClickableMenuClosed : EventArgs { + /********* + ** Accessors + *********/ + /// <summary>The menu that was closed.</summary> + public IClickableMenu PriorMenu { get; private set; } + + + /********* + ** Accessors + *********/ + /// <summary>Construct an instance.</summary> + /// <param name="priorMenu">The menu that was closed.</param> public EventArgsClickableMenuClosed(IClickableMenu priorMenu) { - PriorMenu = priorMenu; + this.PriorMenu = priorMenu; } - - public IClickableMenu PriorMenu { get; private set; } } -}
\ No newline at end of file +} |