Beispiel #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;
 }
Beispiel #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;
 }
Beispiel #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;
 }
Beispiel #4
0
 public ChanceFactory(IBanker banker, IJailRoster jailRoster, 
     GameBoard board, IDice dice)
 {
     this.banker = banker;
     this.jailRoster = jailRoster;
     this.board = board;
     this.dice = dice;
 }
Beispiel #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;
 }
Beispiel #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);
 }
Beispiel #8
0
 public CommunityChestFactory(IBanker banker, IJailRoster jailRoster, GameBoard board)
 {
     this.banker     = banker;
     this.jailRoster = jailRoster;
     this.board      = board;
 }
Beispiel #9
0
 public GoDirectlyToJailCommand(IJailRoster jailRoster, IBoard board)
 {
     this.jailRoster = jailRoster;
     this.board      = board;
 }
Beispiel #10
0
 public NormalTurn(Int32 playerId, IDice dice, IJailRoster jailRoster, GameBoard board)
     : base(playerId, dice, jailRoster, board)
 {
 }
 public GetOutOfJailFreeCommand(IJailRoster jailRoster)
 {
     this.jailRoster = jailRoster;
 }
Beispiel #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;
 }
Beispiel #14
0
 public NormalTurn(Int32 playerId, IDice dice, IJailRoster jailRoster, GameBoard board)
     : base(playerId, dice, jailRoster, board)
 {
 }
Beispiel #15
0
 public CommunityChestFactory(IBanker banker, IJailRoster jailRoster, GameBoard board)
 {
     this.banker = banker;
     this.jailRoster = jailRoster;
     this.board = board;
 }