public void Setup()
 {
     _communityChest = new CommunityChest();
     _player         = new TestPlayer(0);
     _boardCursor    = new BoardCursor(
         new Board(),
         new PlayerCursor(
             new List <Player>
     {
         _player
     },
             new Dice()));
 }
Exemple #2
0
 public void Setup()
 {
     _dice          = new Dice();
     _theft         = new Theft();
     _player        = new TestPlayer(StartMoney);
     _squareActions = new BoardCursor(
         new Board(),
         new PlayerCursor(
             new List <Player>
     {
         _player,
     },
             _dice));
 }
Exemple #3
0
 public void Setup()
 {
     _dice          = new Dice();
     _freezeEntry   = new FreezeEntry();
     _player        = new TestPlayer(0);
     _squareActions = new BoardCursor(
         new Board(),
         new PlayerCursor(
             new List <Player>
     {
         _player,
     },
             _dice));
 }
Exemple #4
0
 public void Setup()
 {
     _dice          = new Dice();
     _startLand     = new StartLand();
     _player        = new TestPlayer(0m);
     _squareActions = new BoardCursor(
         new Board(),
         new PlayerCursor(
             new List <Player>
     {
         _player,
     },
             _dice));
 }
Exemple #5
0
        public void Setup()
        {
            _company       = new Company("", Price, Multiplier);
            _visitorPlayer = new TestPlayer(StartMoney);
            _ownerPlayer   = new TestPlayer(StartMoney);
            _ownerPlayer.Patrimony.Credit(_company);
            _dice          = new Mock <IDice>(MockBehavior.Strict);
            _squareActions = new BoardCursor(
                new Board(),
                new PlayerCursor(
                    new List <Player>
            {
                _visitorPlayer,
                _ownerPlayer,
            },
                    _dice.Object));

            _diceTree = new[] { 1, 2 };
        }
 public void Setup()
 {
     _land = new Land("", Price, Color.Aqua)
     {
         RentPrice = new RentPrice(Rent, Rent, Rent, Rent, Rent, Rent)
     };
     _visitorPlayer = new TestPlayer(StartMoney);
     _ownerPlayer   = new TestPlayer(StartMoney);
     _ownerPlayer.Patrimony.Credit(_land);
     _squareActions = new BoardCursor(
         new Board(),
         new PlayerCursor(
             new List <Player>
     {
         _visitorPlayer,
         _ownerPlayer,
     },
             new Dice()));
 }