public void Setup()
        {
            _playerWhoOwns = new Player {
                Token = PlayerTokens.Tokens.Dog
            };

            //stations
            _gameBoard.Locations[5].Purchased  = true;
            _gameBoard.Locations[5].Owner      = _playerWhoOwns;
            _gameBoard.Locations[15].Purchased = true;
            _gameBoard.Locations[15].Owner     = _playerWhoOwns;
            _gameBoard.Locations[25].Purchased = true;
            _gameBoard.Locations[25].Owner     = _playerWhoOwns;
            _gameBoard.Locations[35].Purchased = true;
            _gameBoard.Locations[35].Owner     = _playerWhoOwns;

            //utilities
            _gameBoard.Locations[12].Purchased = true;
            _gameBoard.Locations[12].Owner     = _playerWhoOwns;
            _gameBoard.Locations[28].Purchased = true;
            _gameBoard.Locations[28].Owner     = _playerWhoOwns;

            //Reds
            _gameBoard.Locations[16].Purchased = true;
            _gameBoard.Locations[16].Owner     = _playerWhoOwns;
            _gameBoard.Locations[18].Purchased = true;
            _gameBoard.Locations[18].Owner     = _playerWhoOwns;
            _gameBoard.Locations[19].Purchased = true;
            _gameBoard.Locations[19].Owner     = _playerWhoOwns;
        }
        public void Setup()
        {
            _playerWhoOwns = new Player { Token = PlayerTokens.Tokens.Dog };

            //stations
            _gameBoard.Locations[5].Purchased = true;
            _gameBoard.Locations[5].Owner = _playerWhoOwns;
            _gameBoard.Locations[15].Purchased = true;
            _gameBoard.Locations[15].Owner = _playerWhoOwns;
            _gameBoard.Locations[25].Purchased = true;
            _gameBoard.Locations[25].Owner = _playerWhoOwns;
            _gameBoard.Locations[35].Purchased = true;
            _gameBoard.Locations[35].Owner = _playerWhoOwns;

            //utilities
            _gameBoard.Locations[12].Purchased = true;
            _gameBoard.Locations[12].Owner = _playerWhoOwns;
            _gameBoard.Locations[28].Purchased = true;
            _gameBoard.Locations[28].Owner = _playerWhoOwns;

            //Reds
            _gameBoard.Locations[16].Purchased = true;
            _gameBoard.Locations[16].Owner = _playerWhoOwns;
            _gameBoard.Locations[18].Purchased = true;
            _gameBoard.Locations[18].Owner = _playerWhoOwns;
            _gameBoard.Locations[19].Purchased = true;
            _gameBoard.Locations[19].Owner = _playerWhoOwns;
        }
Ejemplo n.º 3
0
        public void Setup()
        {
            _player1 = new Player { Token = PlayerTokens.Tokens.Dog };
            _player2 = new Player { Token = PlayerTokens.Tokens.Hat };
            _gameBoard.Players = new List<Player> { _player1, _player2 };
            _gameBoard.Players[0].CurrentPosition = 35;
            _gameBoard.Players[1].CurrentPosition = 35;

            _preMoney1 = _gameBoard.Players[0].Money;
            _preMoney2 = _gameBoard.Players[1].Money;

            _gameBoard.Locations[37].Purchased = true;
            _gameBoard.Locations[37].Owner = _gameBoard.Players[0];
        }