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