public PlayerStatus(int id, string name) { Id = id; Name = name; Vp = 0; Doubloons = 0; Board = new PlayerBoard(); Warehouse = new Warehouse(); }
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); }