Exemple #1
0
 bool checkTakeEnemy(PlayerPiece currentPiece, PlayerPiece enemy)
 {
     return(enemy != null && enemy.GetPlayerNumber() == getOpponent(currentPiece.GetPlayerNumber()));
 }