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;
}
}