summaryrefslogtreecommitdiff
path: root/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs
blob: d798fc959f84b1dce06f0c8fc03c402b89fe4c23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using StardewValley.Menus;

namespace StardewModdingAPI.Inheritance.Menus
{
    public class SInventoryPage : InventoryPage
    {
        public InventoryPage BaseInventoryPage { get; private set; }

        public static SInventoryPage ConstructFromBaseClass(InventoryPage baseClass)
        {
            SInventoryPage s = new SInventoryPage(0,0,0,0);
            s.BaseInventoryPage = baseClass;
            return s;
        }

        public SInventoryPage(int x, int y, int width, int height) : base(x, y, width, height)
        {
        }
    }
}