diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-02-11 12:11:45 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-02-11 12:11:45 -0500 |
commit | 1f332c5f4d522908ee89e07ea081359b17ad324c (patch) | |
tree | 8d82d68f07a74ffa54de12d6da093e368bb6203c /src/StardewModdingAPI/Events | |
parent | 693f16f99ec3492e3bfcd0071af1d9d5e519dcfa (diff) | |
download | SMAPI-1f332c5f4d522908ee89e07ea081359b17ad324c.tar.gz SMAPI-1f332c5f4d522908ee89e07ea081359b17ad324c.tar.bz2 SMAPI-1f332c5f4d522908ee89e07ea081359b17ad324c.zip |
remove esoteric & undocumented debug message queue & DrawDebug event
Diffstat (limited to 'src/StardewModdingAPI/Events')
-rw-r--r-- | src/StardewModdingAPI/Events/GraphicsEvents.cs | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/StardewModdingAPI/Events/GraphicsEvents.cs b/src/StardewModdingAPI/Events/GraphicsEvents.cs index 03dabb85..d9d57a8d 100644 --- a/src/StardewModdingAPI/Events/GraphicsEvents.cs +++ b/src/StardewModdingAPI/Events/GraphicsEvents.cs @@ -15,9 +15,6 @@ namespace StardewModdingAPI.Events /// <summary>Raised after the game window is resized.</summary> public static event EventHandler Resize; - /// <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; - /**** ** Main render events ****/ @@ -61,13 +58,6 @@ namespace StardewModdingAPI.Events monitor.SafelyRaisePlainEvent($"{nameof(GraphicsEvents)}.{nameof(GraphicsEvents.Resize)}", GraphicsEvents.Resize?.GetInvocationList(), sender, e); } - /// <summary>Raise a <see cref="DrawDebug"/> event.</summary> - /// <param name="monitor">Encapsulates monitoring and logging.</param> - internal static void InvokeDrawDebug(IMonitor monitor) - { - monitor.SafelyRaisePlainEvent($"{nameof(GraphicsEvents)}.{nameof(GraphicsEvents.DrawDebug)}", GraphicsEvents.DrawDebug?.GetInvocationList()); - } - /**** ** Main render events ****/ |