Exemple #1
0
 public Turn(Int32 playerId, IDice dice, IJailRoster jailRoster, IBoard board)
 {
     this.playerId = playerId;
     this.dice = dice;
     this.jailRoster = jailRoster;
     this.board = board;
     this.locations = board.Locations;
 }
Exemple #2
0
 public GoToJail(Int32 index, String name, Int32 jailIndex, IBanker banker,
                 IJailRoster jailRoster, IBoard board)
     : base(index, name)
 {
     this.jailIndex = jailIndex;
     this.jailRoster = jailRoster;
     this.board = board;
 }
Exemple #3
0
 public Turn(Int32 playerId, IDice dice, IJailRoster jailRoster, IBoard board)
 {
     this.playerId   = playerId;
     this.dice       = dice;
     this.jailRoster = jailRoster;
     this.board      = board;
     this.locations  = board.Locations;
 }
Exemple #4
0
 public ChanceFactory(IBanker banker, IJailRoster jailRoster, 
     GameBoard board, IDice dice)
 {
     this.banker = banker;
     this.jailRoster = jailRoster;
     this.board = board;
     this.dice = dice;
 }
Exemple #5
0
 public GoToJail(Int32 index, String name, Int32 jailIndex, IBanker banker,
                 IJailRoster jailRoster, IBoard board)
     : base(index, name)
 {
     this.jailIndex  = jailIndex;
     this.jailRoster = jailRoster;
     this.board      = board;
 }
Exemple #6
0
 public TraditionalCardDeckFactory(IBanker banker, IJailRoster jailRoster,
                                   GameBoard board, IDice dice)
 {
     this.communityChestFactory = new CommunityChestFactory(banker, jailRoster, board);
     this.chanceFactory         = new ChanceFactory(banker, jailRoster, board, dice);
 }
 public TraditionalCardDeckFactory(IBanker banker, IJailRoster jailRoster,
     GameBoard board, IDice dice)
 {
     this.communityChestFactory = new CommunityChestFactory(banker, jailRoster, board);
     this.chanceFactory = new ChanceFactory(banker, jailRoster, board, dice);
 }
Exemple #8
0
 public CommunityChestFactory(IBanker banker, IJailRoster jailRoster, GameBoard board)
 {
     this.banker     = banker;
     this.jailRoster = jailRoster;
     this.board      = board;
 }
Exemple #9
0
 public GoDirectlyToJailCommand(IJailRoster jailRoster, IBoard board)
 {
     this.jailRoster = jailRoster;
     this.board      = board;
 }
Exemple #10
0
 public NormalTurn(Int32 playerId, IDice dice, IJailRoster jailRoster, GameBoard board)
     : base(playerId, dice, jailRoster, board)
 {
 }
 public GetOutOfJailFreeCommand(IJailRoster jailRoster)
 {
     this.jailRoster = jailRoster;
 }
Exemple #12
0
 public InmateTurn(Int32 playerId, IDice dice, IJailRoster jailRoster, IBoard board)
     : base(playerId, dice, jailRoster, board)
 {
 }
 public GoDirectlyToJailCommand(IJailRoster jailRoster, IBoard board)
 {
     this.jailRoster = jailRoster;
     this.board = board;
 }
Exemple #14
0
 public NormalTurn(Int32 playerId, IDice dice, IJailRoster jailRoster, GameBoard board)
     : base(playerId, dice, jailRoster, board)
 {
 }
 public CommunityChestFactory(IBanker banker, IJailRoster jailRoster, GameBoard board)
 {
     this.banker = banker;
     this.jailRoster = jailRoster;
     this.board = board;
 }