using System;
using StardewValley;
namespace StardewModdingAPI.Events
{
/// Event arguments for a event.
public class EventArgsPlayerWarped : EventArgs
{
/*********
** Accessors
*********/
/// The player's previous location.
public GameLocation PriorLocation { get; }
/// The player's current location.
public GameLocation NewLocation { get; }
/*********
** Public methods
*********/
/// Construct an instance.
/// The player's previous location.
/// The player's current location.
public EventArgsPlayerWarped(GameLocation priorLocation, GameLocation newLocation)
{
this.NewLocation = newLocation;
this.PriorLocation = priorLocation;
}
}
}