summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Events/ModInputEvents.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2018-10-05 21:59:57 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2018-10-05 21:59:57 -0400
commit63fb4dbe8ae4d611c4854f863b9b29265e02fdee (patch)
treeceebeaa5739b04112f6efdc8fceabd17f8b6797c /src/SMAPI/Framework/Events/ModInputEvents.cs
parent0530824cc2c573cae0a80f7def2b46bf8aeb9af9 (diff)
downloadSMAPI-63fb4dbe8ae4d611c4854f863b9b29265e02fdee.tar.gz
SMAPI-63fb4dbe8ae4d611c4854f863b9b29265e02fdee.tar.bz2
SMAPI-63fb4dbe8ae4d611c4854f863b9b29265e02fdee.zip
tweak new event naming convention (#310)
Diffstat (limited to 'src/SMAPI/Framework/Events/ModInputEvents.cs')
-rw-r--r--src/SMAPI/Framework/Events/ModInputEvents.cs24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/SMAPI/Framework/Events/ModInputEvents.cs b/src/SMAPI/Framework/Events/ModInputEvents.cs
index feca34f3..6a4298b4 100644
--- a/src/SMAPI/Framework/Events/ModInputEvents.cs
+++ b/src/SMAPI/Framework/Events/ModInputEvents.cs
@@ -10,31 +10,31 @@ namespace StardewModdingAPI.Framework.Events
** Accessors
*********/
/// <summary>Raised after the player presses a button on the keyboard, controller, or mouse.</summary>
- public event EventHandler<InputButtonPressedEventArgs> ButtonPressed
+ public event EventHandler<ButtonPressedEventArgs> ButtonPressed
{
- add => this.EventManager.Input_ButtonPressed.Add(value);
- remove => this.EventManager.Input_ButtonPressed.Remove(value);
+ add => this.EventManager.ButtonPressed.Add(value);
+ remove => this.EventManager.ButtonPressed.Remove(value);
}
/// <summary>Raised after the player releases a button on the keyboard, controller, or mouse.</summary>
- public event EventHandler<InputButtonReleasedEventArgs> ButtonReleased
+ public event EventHandler<ButtonReleasedEventArgs> ButtonReleased
{
- add => this.EventManager.Input_ButtonReleased.Add(value);
- remove => this.EventManager.Input_ButtonReleased.Remove(value);
+ add => this.EventManager.ButtonReleased.Add(value);
+ remove => this.EventManager.ButtonReleased.Remove(value);
}
/// <summary>Raised after the player moves the in-game cursor.</summary>
- public event EventHandler<InputCursorMovedEventArgs> CursorMoved
+ public event EventHandler<CursorMovedEventArgs> CursorMoved
{
- add => this.EventManager.Input_CursorMoved.Add(value);
- remove => this.EventManager.Input_CursorMoved.Remove(value);
+ add => this.EventManager.CursorMoved.Add(value);
+ remove => this.EventManager.CursorMoved.Remove(value);
}
/// <summary>Raised after the player scrolls the mouse wheel.</summary>
- public event EventHandler<InputMouseWheelScrolledEventArgs> MouseWheelScrolled
+ public event EventHandler<MouseWheelScrolledEventArgs> MouseWheelScrolled
{
- add => this.EventManager.Input_MouseWheelScrolled.Add(value);
- remove => this.EventManager.Input_MouseWheelScrolled.Remove(value);
+ add => this.EventManager.MouseWheelScrolled.Add(value);
+ remove => this.EventManager.MouseWheelScrolled.Remove(value);
}