Exemplo n.º 1
0
 public Headquarter() : base()
 {
     this.Inventory.Storage  = BuildingInventory.GetDictionaryForAllRessources();
     this.Inventory.Incoming = BuildingInventory.GetListOfAllRessources();
     this.Inventory.Outgoing = BuildingInventory.GetListOfAllRessources();
     this.Inventory.UpdateRessourceLimits(new Dictionary <RessourceType, int> {
         { RessourceType.WOOD, 40 }, { RessourceType.STONE, 20 }, { RessourceType.IRON, 20 }, { RessourceType.COAL, 10 }
     });
 }
Exemplo n.º 2
0
 public Storage() : base()
 {
     this.Inventory.Storage  = BuildingInventory.GetDictionaryForAllRessources();
     this.Inventory.Incoming = BuildingInventory.GetListOfAllRessources();
     this.Inventory.Outgoing = BuildingInventory.GetListOfAllRessources();
 }