using System;
namespace StardewModdingAPI.Events
{
/// Event arguments for an integer field that changed value.
public class EventArgsIntChanged : EventArgs
{
/*********
** Accessors
*********/
/// The previous value.
public int PriorInt { get; }
/// The current value.
public int NewInt { get; }
/*********
** Public methods
*********/
/// Construct an instance.
/// The previous value.
/// The current value.
public EventArgsIntChanged(int priorInt, int newInt)
{
this.PriorInt = priorInt;
this.NewInt = newInt;
}
}
}