From d9adaf73869ce768686301ef30687a5fc18048a0 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 31 Oct 2016 12:05:02 -0400 Subject: split combined class files per .NET conventions --- src/StardewModdingAPI/Events/Location.cs | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 src/StardewModdingAPI/Events/Location.cs (limited to 'src/StardewModdingAPI/Events/Location.cs') diff --git a/src/StardewModdingAPI/Events/Location.cs b/src/StardewModdingAPI/Events/Location.cs deleted file mode 100644 index f951ab95..00000000 --- a/src/StardewModdingAPI/Events/Location.cs +++ /dev/null @@ -1,30 +0,0 @@ -using System; -using System.Collections.Generic; -using Microsoft.Xna.Framework; -using StardewValley; -using Object = StardewValley.Object; - -namespace StardewModdingAPI.Events -{ - public static class LocationEvents - { - public static event EventHandler LocationsChanged = delegate { }; - public static event EventHandler LocationObjectsChanged = delegate { }; - public static event EventHandler CurrentLocationChanged = delegate { }; - - internal static void InvokeLocationsChanged(List newLocations) - { - LocationsChanged.Invoke(null, new EventArgsGameLocationsChanged(newLocations)); - } - - internal static void InvokeCurrentLocationChanged(GameLocation priorLocation, GameLocation newLocation) - { - CurrentLocationChanged.Invoke(null, new EventArgsCurrentLocationChanged(priorLocation, newLocation)); - } - - internal static void InvokeOnNewLocationObject(SerializableDictionary newObjects) - { - LocationObjectsChanged.Invoke(null, new EventArgsLocationObjectsChanged(newObjects)); - } - } -} \ No newline at end of file -- cgit