public Inventory(IGameSave gameSave) { this.gameSave = gameSave; this.itemInventory = null; this.decorationInventory = null; this.pokeblockCase = null; }
public void AddPokeblockCase(uint caseSize) { if (pokeblockCase != null) { throw new Exception("Cannot add Pokeblock Case to inventory, one already exists"); } else { pokeblockCase = new PokeblockCase(this, caseSize); } }
public Pokeblock(PokeblockCase pokeblockCase, PokeblockColors color, byte spicy, byte dry, byte sweet, byte bitter, byte sour, byte feel, byte unknown) { this.pokeblockCase = pokeblockCase; this.color = color; this.spicy = spicy; this.dry = dry; this.sweet = sweet; this.bitter = bitter; this.sour = sour; this.feel = feel; this.unknown = unknown; }