Beispiel #1
0
 public void Initialize()
 {
     _market = new Market();
     _office = new Office();
     _buildings = new BuildingBase<TraderParameters>[] { _office };
     _market.SellGood(Goods.Corn, _buildings);
 }
 public void Initialize()
 {
     _market = new Market();
     _largetMarket = new LargeMarket();
     _buildings = new BuildingBase<TraderParameters>[] { _largetMarket };
 }
        private void Init()
        {
            Market = new Market();
            AvailablePlantations = new List<Plantation>();

            Warehouse = new Warehouse(10, 11, 11, 9, 9);
            Doubloons = 86;
            Vp = Constants.VpByPlayers[PlayersCount];

            var quarry = MainFactory.GenerateQuarries(8);
            Quarries = new Queue<Quarry>(quarry);

            var plantations = GetPlantations();
            Plantations = new Queue<Plantation>(plantations);

            Ships = MainFactory.GenerateShips(Constants.ShipsByPlayers[PlayersCount]);

            Colonists.ReceiveColonist(Constants.ColonistsByPlayers[PlayersCount]);

            RoleCards = MainFactory.GenerateRoleCards(Constants.RolesByPlayers[PlayersCount]);

            Colonists.Move(AvailableColonists, PlayersCount);

            Buildings = MainFactory.GenerateBuildings(PlayersCount);
        }