예제 #1
0
 public Inventory(int bagSize, int quickbarSize, int bankSize, int money, int bankedMoney)
 {
     Bag = new Bag(40);
     Quickbar = new Quickbar(quickbarSize);
     Bank = new Item[bankSize];
     Money = money;
     BankedMoney = bankedMoney;
 }
예제 #2
0
        public Quickbar Quickbar; // Just one quickbar

        #endregion Fields

        #region Constructors

        public Inventory()
        {
            Bag = new Bag(40);
            Quickbar = new Quickbar(10);
            Bank = new Item[80];
            Money = 99999;
            BankedMoney = 12345;
        }