summaryrefslogtreecommitdiff
path: root/src/SMAPI/Events/EventArgsClickableMenuClosed.cs
blob: 65751da742ec220c3c5480b74772ffcc4a57727b (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
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;
        }
    }
}