summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs
diff options
context:
space:
mode:
authorGormogon <Gormogon@users.noreply.github.com>2016-05-29 18:23:01 -0400
committerGormogon <Gormogon@users.noreply.github.com>2016-05-29 18:23:01 -0400
commit27dece2cf445147c5e2848f9ec26f38a101f50fc (patch)
tree2579d0979dd9f295972e5ba2a81f4177589f7395 /src/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs
parent85142935b63324f7c6131a8855acea0a2d534879 (diff)
downloadSMAPI-27dece2cf445147c5e2848f9ec26f38a101f50fc.tar.gz
SMAPI-27dece2cf445147c5e2848f9ec26f38a101f50fc.tar.bz2
SMAPI-27dece2cf445147c5e2848f9ec26f38a101f50fc.zip
Attempt to migrate to new directory structure.
Diffstat (limited to 'src/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs')
-rw-r--r--src/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs b/src/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs
new file mode 100644
index 00000000..436b834d
--- /dev/null
+++ b/src/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs
@@ -0,0 +1,19 @@
+using StardewValley.Menus;
+
+namespace StardewModdingAPI.Inheritance.Menus
+{
+ public class SInventoryPage : InventoryPage
+ {
+ public SInventoryPage(int x, int y, int width, int height) : base(x, y, width, height)
+ {
+ }
+
+ public InventoryPage BaseInventoryPage { get; private set; }
+
+ public static SInventoryPage ConstructFromBaseClass(InventoryPage baseClass)
+ {
+ var s = new SInventoryPage(0, 0, 0, 0) {BaseInventoryPage = baseClass};
+ return s;
+ }
+ }
+} \ No newline at end of file