Пример #1
0
 public bool Move(int Destination, int secondPosition, IBoard board, IReferee referee, Phase currPhase)
 {
     if (referee.CanMove(Color, Destination, secondPosition, currPhase))
     {
         board.Move(Destination, secondPosition);
         return(true);
     }
     else
     {
         return(false);
     }
 }