From 4cda3ec5bfdeadb85a9484f265c3f5707eac4506 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 31 Oct 2016 19:28:59 -0400 Subject: remove undocumented and unused APIs --- src/StardewModdingAPI/Entities/SPlayer.cs | 33 ------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 src/StardewModdingAPI/Entities/SPlayer.cs (limited to 'src/StardewModdingAPI/Entities') diff --git a/src/StardewModdingAPI/Entities/SPlayer.cs b/src/StardewModdingAPI/Entities/SPlayer.cs deleted file mode 100644 index d464cded..00000000 --- a/src/StardewModdingAPI/Entities/SPlayer.cs +++ /dev/null @@ -1,33 +0,0 @@ -using System; -using System.Collections.Generic; -using StardewValley; - -namespace StardewModdingAPI.Entities -{ - /// - /// Static class for intergrating with the player - /// - public class SPlayer - { - /// - /// Calls 'getAllFarmers' in Game1 - /// - public static List AllFarmers => Game1.getAllFarmers(); - - /// - /// Do not use. - /// - [Obsolete("Use 'Player' instead.")] - public static Farmer CurrentFarmer => Game1.player; - - /// - /// Gets the current player from Game1 - /// - public static Farmer Player => Game1.player; - - /// - /// Gets the player's current location from Game1 - /// - public static GameLocation CurrentFarmerLocation => Player.currentLocation; - } -} \ No newline at end of file -- cgit