Ejemplo n.º 1
0
 public Board Play(CoinSide coinSide, Board board)
 {
     if (_behaviour.CanApply(Name, board, coinSide))
     {
         return(_behaviour.Apply(Name, board, coinSide));
     }
     return(board);
 }
Ejemplo n.º 2
0
 public bool CanApply(string playerName, Board board, CoinSide coinSide)
 {
     return(blockOwnBehaviour.CanApply(playerName, board, coinSide) ||
            getNewCardBehaviour.CanApply(playerName, board, coinSide));
 }