示例#1
0
 public Inventory(IGameSave gameSave)
 {
     this.gameSave            = gameSave;
     this.itemInventory       = null;
     this.decorationInventory = null;
     this.pokeblockCase       = null;
 }
示例#2
0
		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 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>();
 }
示例#4
0
 public void AddDecorationInventory()
 {
     if (decorationInventory != null)
     {
         throw new Exception("Cannot add Decoration Inventory to inventory, one already exists");
     }
     else
     {
         decorationInventory = new DecorationInventory(this);
     }
 }