summaryrefslogtreecommitdiff
path: root/src/SMAPI/Events/RenderingEventArgs.cs
blob: 8f6b355701f96b3ae11f949ac487a2c4954e44d1 (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.Rendering"/> event.</summary>
    public class RenderingEventArgs : 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;
    }
}