/* * Pre-Condition: * Pawn at (x,y) can be promoted * Post-Condition: * Pawn is promoted to what user wants to */ private void promotePawnAt(int x, int y) { //Show the pawn promotion dialog uiManager.showPawnPromoDialog(x, y); }