summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Events/EventArgsClickableMenuClosed.cs
blob: 1a62432f9242f199af84bbdbcd92d0bad21f27d6 (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; private set; }


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