diff options
Diffstat (limited to 'StardewModdingAPI/Events/Graphics.cs')
-rw-r--r-- | StardewModdingAPI/Events/Graphics.cs | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/StardewModdingAPI/Events/Graphics.cs b/StardewModdingAPI/Events/Graphics.cs index 79c5b4aa..4e533f92 100644 --- a/StardewModdingAPI/Events/Graphics.cs +++ b/StardewModdingAPI/Events/Graphics.cs @@ -12,8 +12,6 @@ namespace StardewModdingAPI.Events /// </summary>
public static event EventHandler Resize = delegate { };
-
-
/// <summary>
/// Occurs before anything is drawn.
/// </summary>
@@ -87,7 +85,10 @@ namespace StardewModdingAPI.Events OnPostRenderEvent.Invoke(sender, e);
}
-
+ internal static void InvokeResize(object sender, EventArgs e)
+ {
+ Resize.Invoke(sender, e);
+ }
#region To Remove
@@ -116,12 +117,6 @@ namespace StardewModdingAPI.Events DrawInRenderTargetTick.Invoke(null, EventArgs.Empty);
}
- [Obsolete("Should not be used.")]
- public static void InvokeResize(object sender, EventArgs e)
- {
- Resize.Invoke(sender, e);
- }
-
#endregion
}
}
\ No newline at end of file |