public Inventory(IGameSave gameSave) { this.gameSave = gameSave; this.itemInventory = null; this.decorationInventory = null; this.pokeblockCase = null; }
public DecorationPocket(DecorationInventory inventory, DecorationTypes pocketType, uint pocketSize, uint maxStackSize) { this.inventory = inventory; this.pocketType = pocketType; this.pocketSize = pocketSize; this.maxStackSize = maxStackSize; this.decorations = new List<Decoration>(); this.listViewItems = new ObservableCollection<ListViewItem>(); }
public void AddDecorationInventory() { if (decorationInventory != null) { throw new Exception("Cannot add Decoration Inventory to inventory, one already exists"); } else { decorationInventory = new DecorationInventory(this); } }