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