summaryrefslogtreecommitdiff
path: root/src/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs
blob: 436b834d7d4035de6580eac57bf64778bde2cf9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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;
        }
    }
}