#if !SMAPI_3_0_STRICT
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; }
/// The current keyboard state.
public KeyboardState PriorState { get; }
/*********
** 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;
}
}
}
#endif