Correction
This commit is contained in:
parent
4405e87f7c
commit
88cb3e54a4
|
|
@ -126,9 +126,9 @@ public class JPanelChessBoard extends JPanel {
|
|||
}
|
||||
}
|
||||
|
||||
// overlay "Chessmate" sans effacer l'échiquier
|
||||
// overlay "Checkmate" sans effacer l'échiquier
|
||||
if (myGame != null && myGame.isGameOver()) {
|
||||
String text = "Chessmate";
|
||||
String text = "Checkmate";
|
||||
Font font = new Font("SansSerif", Font.BOLD, 48);
|
||||
g.setFont(font);
|
||||
FontMetrics fm = g.getFontMetrics(font);
|
||||
|
|
|
|||
Loading…
Reference in New Issue