summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Entities/SPlayer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/StardewModdingAPI/Entities/SPlayer.cs')
-rw-r--r--src/StardewModdingAPI/Entities/SPlayer.cs33
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