summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Events/EventArgsKeyboardStateChanged.cs
blob: 784cd197c35c7b8ba6d50fdd782ced2205fffff2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using System;
using Microsoft.Xna.Framework.Input;

namespace StardewModdingAPI.Events
{
    public class EventArgsKeyboardStateChanged : EventArgs
    {
        public EventArgsKeyboardStateChanged(KeyboardState priorState, KeyboardState newState)
        {
            NewState = newState;
            NewState = newState;
        }

        public KeyboardState NewState { get; private set; }
        public KeyboardState PriorState { get; private set; }
    }
}