summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/SGame.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-07-15 20:59:31 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-07-15 20:59:31 -0400
commit5050bd75e7b86749d994ae268cdc3dabb7f7fcf8 (patch)
treee5044f4d8271e8dad66565e54fb3b00638f6944b /src/SMAPI/Framework/SGame.cs
parent76f12a9aa9ba504d62c4511d67b756dff40b0efd (diff)
downloadSMAPI-5050bd75e7b86749d994ae268cdc3dabb7f7fcf8.tar.gz
SMAPI-5050bd75e7b86749d994ae268cdc3dabb7f7fcf8.tar.bz2
SMAPI-5050bd75e7b86749d994ae268cdc3dabb7f7fcf8.zip
fix misnamed types
Diffstat (limited to 'src/SMAPI/Framework/SGame.cs')
-rw-r--r--src/SMAPI/Framework/SGame.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SMAPI/Framework/SGame.cs b/src/SMAPI/Framework/SGame.cs
index a685dfce..961fae08 100644
--- a/src/SMAPI/Framework/SGame.cs
+++ b/src/SMAPI/Framework/SGame.cs
@@ -430,7 +430,7 @@ namespace StardewModdingAPI.Framework
ICursorPosition now = this.Watchers.CursorWatcher.CurrentValue;
this.Watchers.CursorWatcher.Reset();
- this.Events.Input_CursorMoved.Raise(new InputCursorMovedArgsInput(was, now));
+ this.Events.Input_CursorMoved.Raise(new InputCursorMovedEventArgs(was, now));
}
// raise mouse wheel scrolled
@@ -456,7 +456,7 @@ namespace StardewModdingAPI.Framework
if (this.VerboseLogging)
this.Monitor.Log($"Events: button {button} pressed.", LogLevel.Trace);
- this.Events.Input_ButtonPressed.Raise(new InputButtonPressedArgsInput(button, cursor, inputState));
+ this.Events.Input_ButtonPressed.Raise(new InputButtonPressedEventArgs(button, cursor, inputState));
this.Events.Legacy_Input_ButtonPressed.Raise(new EventArgsInput(button, cursor, inputState.SuppressButtons));
// legacy events
@@ -478,7 +478,7 @@ namespace StardewModdingAPI.Framework
if (this.VerboseLogging)
this.Monitor.Log($"Events: button {button} released.", LogLevel.Trace);
- this.Events.Input_ButtonReleased.Raise(new InputButtonReleasedArgsInput(button, cursor, inputState));
+ this.Events.Input_ButtonReleased.Raise(new InputButtonReleasedEventArgs(button, cursor, inputState));
this.Events.Legacy_Input_ButtonReleased.Raise(new EventArgsInput(button, cursor, inputState.SuppressButtons));
// legacy events