using System; namespace StardewModdingAPI.Events { /// Event arguments when the in-game cursor is moved. public class InputCursorMovedEventArgs : 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. public InputCursorMovedEventArgs(ICursorPosition oldPosition, ICursorPosition newPosition) { this.OldPosition = oldPosition; this.NewPosition = newPosition; } } }