diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-02-07 21:54:29 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-02-07 21:54:29 -0500 |
commit | 98cf6a2766b1571089fede5be5f13cfb57cea34f (patch) | |
tree | a7f1d392c1a7215297f59b037abdf9392f003c12 /src/StardewModdingAPI/Events | |
parent | 8efa5f32c1721a1ee60f3783022453c1dfb69d91 (diff) | |
download | SMAPI-98cf6a2766b1571089fede5be5f13cfb57cea34f.tar.gz SMAPI-98cf6a2766b1571089fede5be5f13cfb57cea34f.tar.bz2 SMAPI-98cf6a2766b1571089fede5be5f13cfb57cea34f.zip |
update SGame.Draw with base code (#231)
Diffstat (limited to 'src/StardewModdingAPI/Events')
-rw-r--r-- | src/StardewModdingAPI/Events/GraphicsEvents.cs | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/src/StardewModdingAPI/Events/GraphicsEvents.cs b/src/StardewModdingAPI/Events/GraphicsEvents.cs index c3236c0a..fc25d2b8 100644 --- a/src/StardewModdingAPI/Events/GraphicsEvents.cs +++ b/src/StardewModdingAPI/Events/GraphicsEvents.cs @@ -18,14 +18,6 @@ namespace StardewModdingAPI.Events /// <summary>Raised when drawing debug information to the screen (when <see cref="SGame.Debug"/> is true). This is called after the sprite batch is begun. If you just want to add debug info, use <see cref="SGame.DebugMessageQueue" /> in your update loop.</summary> public static event EventHandler DrawDebug; - /// <summary>Obsolete.</summary> - [Obsolete("Use the other Pre/Post render events instead.")] - public static event EventHandler DrawTick; - - /// <summary>Obsolete.</summary> - [Obsolete("Use the other Pre/Post render events instead. All of them will automatically be drawn into the render target if needed.")] - public static event EventHandler DrawInRenderTargetTick; - /**** ** Main render events ****/ @@ -88,22 +80,6 @@ namespace StardewModdingAPI.Events monitor.SafelyRaisePlainEvent($"{nameof(GraphicsEvents)}.{nameof(GraphicsEvents.DrawDebug)}", GraphicsEvents.DrawDebug?.GetInvocationList()); } - /// <summary>Raise a <see cref="DrawTick"/> event.</summary> - /// <param name="monitor">Encapsulates logging and monitoring.</param> - [Obsolete("Should not be used.")] - public static void InvokeDrawTick(IMonitor monitor) - { - monitor.SafelyRaisePlainEvent($"{nameof(GraphicsEvents)}.{nameof(GraphicsEvents.DrawTick)}", GraphicsEvents.DrawTick?.GetInvocationList()); - } - - /// <summary>Raise a <see cref="DrawInRenderTargetTick"/> event.</summary> - /// <param name="monitor">Encapsulates monitoring and logging.</param> - [Obsolete("Should not be used.")] - public static void InvokeDrawInRenderTargetTick(IMonitor monitor) - { - monitor.SafelyRaisePlainEvent($"{nameof(GraphicsEvents)}.{nameof(GraphicsEvents.DrawInRenderTargetTick)}", GraphicsEvents.DrawInRenderTargetTick?.GetInvocationList()); - } - /**** ** Main render events ****/ |