summaryrefslogtreecommitdiff
path: root/src/SMAPI/Events/RenderingHudEventArgs.cs
blob: 87269b9072b1b7791e748978e9379276e3c0be08 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#nullable disable

using System;
using Microsoft.Xna.Framework.Graphics;
using StardewValley;

namespace StardewModdingAPI.Events
{
    /// <summary>Event arguments for an <see cref="IDisplayEvents.RenderingHud"/> event.</summary>
    public class RenderingHudEventArgs : EventArgs
    {
        /*********
        ** Accessors
        *********/
        /// <summary>The sprite batch being drawn. Add anything you want to appear on-screen to this sprite batch.</summary>
        public SpriteBatch SpriteBatch => Game1.spriteBatch;
    }
}