Ejemplo n.º 1
0
 public Inventory(IGameSave gameSave)
 {
     this.gameSave            = gameSave;
     this.itemInventory       = null;
     this.decorationInventory = null;
     this.pokeblockCase       = null;
 }
Ejemplo n.º 2
0
 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);
     }
 }
Ejemplo n.º 3
0
 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;
 }