summaryrefslogtreecommitdiff
path: root/src/SMAPI/Events/RenderingWorldEventArgs.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/Events/RenderingWorldEventArgs.cs')
-rw-r--r--src/SMAPI/Events/RenderingWorldEventArgs.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/SMAPI/Events/RenderingWorldEventArgs.cs b/src/SMAPI/Events/RenderingWorldEventArgs.cs
new file mode 100644
index 00000000..d0d44789
--- /dev/null
+++ b/src/SMAPI/Events/RenderingWorldEventArgs.cs
@@ -0,0 +1,16 @@
+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;
+ }
+}