Exemplo n.º 1
0
 /// <summary>
 /// Updates the turnKingMoving variable that is incremented
 /// when some player just moves a king.
 /// </summary>
 private void RefreshDrawCounters(AbstractPlayer absPlayer)
 {
     if (absPlayer.UsedKingPiece() && !absPlayer.GetIsCapturing())
     {
         turnsKingMoving += 1;
     }
     else
     {
         turnsKingMoving = 0;
     }
 }