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; } } }