using System; namespace StardewModdingAPI.Events { /// Event arguments when the in-game cursor is moved. public class CursorMovedEventArgs : EventArgs { /********* ** Accessors *********/ /// The previous cursor position. public ICursorPosition OldPosition { get; } /// The current cursor position. public ICursorPosition NewPosition { get; } /********* ** Public methods *********/ /// Construct an instance. /// The previous cursor position. /// The new cursor position. internal CursorMovedEventArgs(ICursorPosition oldPosition, ICursorPosition newPosition) { this.OldPosition = oldPosition; this.NewPosition = newPosition; } } }