diff options
author | ClxS <slxxls92@gmail.com> | 2016-03-12 22:36:30 +0000 |
---|---|---|
committer | ClxS <slxxls92@gmail.com> | 2016-03-12 22:36:30 +0000 |
commit | 78609647e9e5ed6310942eaf104f495353e328e3 (patch) | |
tree | 278bf90be1aff05e623c17e3cebc37709b20d898 /StardewModdingAPI/Entities | |
parent | bc84a66a6fd2dd3b334eaf8405ef8b4fc6b4acc0 (diff) | |
parent | d367b0a7bceeac210ee7336477f98559b6122d13 (diff) | |
download | SMAPI-78609647e9e5ed6310942eaf104f495353e328e3.tar.gz SMAPI-78609647e9e5ed6310942eaf104f495353e328e3.tar.bz2 SMAPI-78609647e9e5ed6310942eaf104f495353e328e3.zip |
Updated release branch to 0.37.3
Diffstat (limited to 'StardewModdingAPI/Entities')
-rw-r--r-- | StardewModdingAPI/Entities/SCharacter.cs | 12 | ||||
-rw-r--r-- | StardewModdingAPI/Entities/SFarm.cs | 12 | ||||
-rw-r--r-- | StardewModdingAPI/Entities/SFarmAnimal.cs | 12 | ||||
-rw-r--r-- | StardewModdingAPI/Entities/SNpc.cs | 12 | ||||
-rw-r--r-- | StardewModdingAPI/Entities/SPlayer.cs | 37 |
5 files changed, 85 insertions, 0 deletions
diff --git a/StardewModdingAPI/Entities/SCharacter.cs b/StardewModdingAPI/Entities/SCharacter.cs new file mode 100644 index 00000000..740a6d7f --- /dev/null +++ b/StardewModdingAPI/Entities/SCharacter.cs @@ -0,0 +1,12 @@ +using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace StardewModdingAPI.Entities
+{
+ class SCharacter
+ {
+ }
+}
diff --git a/StardewModdingAPI/Entities/SFarm.cs b/StardewModdingAPI/Entities/SFarm.cs new file mode 100644 index 00000000..5d1647a8 --- /dev/null +++ b/StardewModdingAPI/Entities/SFarm.cs @@ -0,0 +1,12 @@ +using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace StardewModdingAPI.Entities
+{
+ class SFarm
+ {
+ }
+}
diff --git a/StardewModdingAPI/Entities/SFarmAnimal.cs b/StardewModdingAPI/Entities/SFarmAnimal.cs new file mode 100644 index 00000000..0f768f6a --- /dev/null +++ b/StardewModdingAPI/Entities/SFarmAnimal.cs @@ -0,0 +1,12 @@ +using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace StardewModdingAPI.Entities
+{
+ class SFarmAnimal
+ {
+ }
+}
diff --git a/StardewModdingAPI/Entities/SNpc.cs b/StardewModdingAPI/Entities/SNpc.cs new file mode 100644 index 00000000..02242d20 --- /dev/null +++ b/StardewModdingAPI/Entities/SNpc.cs @@ -0,0 +1,12 @@ +using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace StardewModdingAPI.Entities
+{
+ class SNpc
+ {
+ }
+}
diff --git a/StardewModdingAPI/Entities/SPlayer.cs b/StardewModdingAPI/Entities/SPlayer.cs new file mode 100644 index 00000000..ae4e9472 --- /dev/null +++ b/StardewModdingAPI/Entities/SPlayer.cs @@ -0,0 +1,37 @@ +using StardewModdingAPI.Inheritance;
+using StardewValley;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace StardewModdingAPI.Entities
+{
+ public static class SPlayer
+ {
+ public static List<Farmer> AllFarmers
+ {
+ get
+ {
+ return SGame.getAllFarmers();
+ }
+ }
+
+ public static Farmer CurrentFarmer
+ {
+ get
+ {
+ return SGame.player;
+ }
+ }
+
+ public static GameLocation CurrentFarmerLocation
+ {
+ get
+ {
+ return SGame.player.currentLocation;
+ }
+ }
+ }
+}
|