summaryrefslogtreecommitdiff
path: root/StardewModdingAPI/Events
diff options
context:
space:
mode:
authorZoryn <Zoryn4163@users.noreply.github.com>2016-03-27 19:22:38 -0400
committerZoryn <Zoryn4163@users.noreply.github.com>2016-03-27 19:22:38 -0400
commit5c158db4dec2a0bab680ac360f34e498f386ce9e (patch)
treee5e21a8333ff50889a005d1bfa0b61b9acd834d9 /StardewModdingAPI/Events
parentc8965e1591df37e152aacf77a1e18d1e1e61460a (diff)
parent106ccd0d8760350d10054aab1c35cc6e71ef322b (diff)
downloadSMAPI-5c158db4dec2a0bab680ac360f34e498f386ce9e.tar.gz
SMAPI-5c158db4dec2a0bab680ac360f34e498f386ce9e.tar.bz2
SMAPI-5c158db4dec2a0bab680ac360f34e498f386ce9e.zip
Merge pull request #70 from Zoryn4163/master
updates
Diffstat (limited to 'StardewModdingAPI/Events')
-rw-r--r--StardewModdingAPI/Events/Graphics.cs13
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