summaryrefslogtreecommitdiff
path: root/src/SMAPI/Events/RenderingWorldEventArgs.cs
blob: 2fc9964fb7b2181f77893a2d1e3507ecd3d7eeb8 (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.RenderingWorld"/> event.</summary>
    public class RenderingWorldEventArgs : 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;
    }
}