using System;
using Microsoft.Xna.Framework.Input;
namespace StardewModdingAPI.Events
{
/// Event arguments for a event.
public class EventArgsKeyboardStateChanged : EventArgs
{
/*********
** Accessors
*********/
/// The previous keyboard state.
public KeyboardState NewState { get; private set; }
/// The current keyboard state.
public KeyboardState PriorState { get; private set; }
/*********
** Public methods
*********/
/// Construct an instance.
/// The previous keyboard state.
/// The current keyboard state.
public EventArgsKeyboardStateChanged(KeyboardState priorState, KeyboardState newState)
{
this.PriorState = priorState;
this.NewState = newState;
}
}
}