diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2016-10-31 19:28:59 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2016-10-31 19:28:59 -0400 |
commit | 4cda3ec5bfdeadb85a9484f265c3f5707eac4506 (patch) | |
tree | d8464ca3055963c7342b714798b0b586a231901f /src/StardewModdingAPI/Entities | |
parent | b6568f8d9dffca29b088b3840366ede623c142b4 (diff) | |
download | SMAPI-4cda3ec5bfdeadb85a9484f265c3f5707eac4506.tar.gz SMAPI-4cda3ec5bfdeadb85a9484f265c3f5707eac4506.tar.bz2 SMAPI-4cda3ec5bfdeadb85a9484f265c3f5707eac4506.zip |
remove undocumented and unused APIs
Diffstat (limited to 'src/StardewModdingAPI/Entities')
-rw-r--r-- | src/StardewModdingAPI/Entities/SPlayer.cs | 33 |
1 files changed, 0 insertions, 33 deletions
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
-{
- /// <summary>
- /// Static class for intergrating with the player
- /// </summary>
- public class SPlayer
- {
- /// <summary>
- /// Calls 'getAllFarmers' in Game1
- /// </summary>
- public static List<Farmer> AllFarmers => Game1.getAllFarmers();
-
- /// <summary>
- /// Do not use.
- /// </summary>
- [Obsolete("Use 'Player' instead.")]
- public static Farmer CurrentFarmer => Game1.player;
-
- /// <summary>
- /// Gets the current player from Game1
- /// </summary>
- public static Farmer Player => Game1.player;
-
- /// <summary>
- /// Gets the player's current location from Game1
- /// </summary>
- public static GameLocation CurrentFarmerLocation => Player.currentLocation;
- }
-}
\ No newline at end of file |