#if !SMAPI_3_0_STRICT using System; using Microsoft.Xna.Framework.Input; namespace StardewModdingAPI.Events { /// Event arguments for a event. public class EventArgsKeyPressed : EventArgs { /********* ** Accessors *********/ /// The keyboard button that was pressed. public Keys KeyPressed { get; } /********* ** Public methods *********/ /// Construct an instance. /// The keyboard button that was pressed. public EventArgsKeyPressed(Keys key) { this.KeyPressed = key; } } } #endif