Exemplo n.º 1
0
 public Referee(IBoard board, ICowBox box)
 {
     Board = board;
     Box   = box;
 }
Exemplo n.º 2
0
 public Player(Color color, ICowBox box)
 {
     Color = color;
     Box   = box;
 }
Exemplo n.º 3
0
 public bool cowsInBox(ICowBox cowBox, IPlayer player)
 {
     //throw new NotImplementedException();
     return(cowBox.getcowsInBox(player.symbol) > 0);
 }
Exemplo n.º 4
0
 public void setCowBox(ICowBox box)
 {
     this.cowBox = box;
 }
Exemplo n.º 5
0
 public LegalMoves(IBoard board, ICowBox cowBox)
 {
     this.board  = board;
     this.cowBox = cowBox;
 }