summaryrefslogtreecommitdiff
path: root/src/SMAPI/Events/EventArgsClickableMenuClosed.cs
blob: 77db69ea03b95e7966d585bc31708d81de33959a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#if !SMAPI_3_0_STRICT
using System;
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; }


        /*********
        ** Accessors
        *********/
        /// <summary>Construct an instance.</summary>
        /// <param name="priorMenu">The menu that was closed.</param>
        public EventArgsClickableMenuClosed(IClickableMenu priorMenu)
        {
            this.PriorMenu = priorMenu;
        }
    }
}
#endif