diff options
author | ClxS <slxxls92@gmail.com> | 2016-03-06 23:28:32 +0000 |
---|---|---|
committer | ClxS <slxxls92@gmail.com> | 2016-03-06 23:28:32 +0000 |
commit | 49090c98fcdc11ca536de42875f50b763e83ce63 (patch) | |
tree | 184c24f76dc30e4e2ea6383b58b9e33cdd5db93d /StardewModdingAPI/Entities | |
parent | 8bf9e7409692a59c880158cf851f55da35f3022e (diff) | |
download | SMAPI-49090c98fcdc11ca536de42875f50b763e83ce63.tar.gz SMAPI-49090c98fcdc11ca536de42875f50b763e83ce63.tar.bz2 SMAPI-49090c98fcdc11ca536de42875f50b763e83ce63.zip |
Fixed mod content path not being set correctly. Fixed object draw code. Custom objects can now be placed and show up correctly.
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;
+ }
+ }
+ }
+}
|