diff options
Diffstat (limited to 'src/StardewModdingAPI/Events/EventArgsKeyPressed.cs')
-rw-r--r-- | src/StardewModdingAPI/Events/EventArgsKeyPressed.cs | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/StardewModdingAPI/Events/EventArgsKeyPressed.cs b/src/StardewModdingAPI/Events/EventArgsKeyPressed.cs deleted file mode 100644 index d9d81e10..00000000 --- a/src/StardewModdingAPI/Events/EventArgsKeyPressed.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using Microsoft.Xna.Framework.Input; - -namespace StardewModdingAPI.Events -{ - /// <summary>Event arguments for a <see cref="ControlEvents.KeyboardChanged"/> event.</summary> - public class EventArgsKeyPressed : EventArgs - { - /********* - ** Accessors - *********/ - /// <summary>The keyboard button that was pressed.</summary> - public Keys KeyPressed { get; } - - - /********* - ** Public methods - *********/ - /// <summary>Construct an instance.</summary> - /// <param name="key">The keyboard button that was pressed.</param> - public EventArgsKeyPressed(Keys key) - { - this.KeyPressed = key; - } - } -} |