summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Events/EventArgsCurrentLocationChanged.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/StardewModdingAPI/Events/EventArgsCurrentLocationChanged.cs')
-rw-r--r--src/StardewModdingAPI/Events/EventArgsCurrentLocationChanged.cs31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/StardewModdingAPI/Events/EventArgsCurrentLocationChanged.cs b/src/StardewModdingAPI/Events/EventArgsCurrentLocationChanged.cs
deleted file mode 100644
index 25d3ebf3..00000000
--- a/src/StardewModdingAPI/Events/EventArgsCurrentLocationChanged.cs
+++ /dev/null
@@ -1,31 +0,0 @@
-using System;
-using StardewValley;
-
-namespace StardewModdingAPI.Events
-{
- /// <summary>Event arguments for a <see cref="LocationEvents.CurrentLocationChanged"/> event.</summary>
- public class EventArgsCurrentLocationChanged : EventArgs
- {
- /*********
- ** Accessors
- *********/
- /// <summary>The player's current location.</summary>
- public GameLocation NewLocation { get; }
-
- /// <summary>The player's previous location.</summary>
- public GameLocation PriorLocation { get; }
-
-
- /*********
- ** Public methods
- *********/
- /// <summary>Construct an instance.</summary>
- /// <param name="priorLocation">The player's previous location.</param>
- /// <param name="newLocation">The player's current location.</param>
- public EventArgsCurrentLocationChanged(GameLocation priorLocation, GameLocation newLocation)
- {
- this.NewLocation = newLocation;
- this.PriorLocation = priorLocation;
- }
- }
-}