summaryrefslogtreecommitdiff
path: root/StardewModdingAPI/Inheritance/Menus/SInventoryPage.cs
blob: a51b2d7147203fe9794e2bb8dd57a703ef8db48d (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 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);
            s.BaseInventoryPage = baseClass;
            return s;
        }
    }
}