fix result display
parent
b6a74b957e
commit
bc909c3ba5
|
|
@ -41,19 +41,19 @@ public class ButtonMovePieceListener implements ActionListener {
|
|||
this.sf.showResult("Spieler " + game.getActivePlayer() + " hat gewonnen!");
|
||||
} else {
|
||||
this.sf.setBoardMode(BoardMode.normal);
|
||||
if (game.getLastMove() != null) {
|
||||
sf.aktualisiereAusgabe();
|
||||
}
|
||||
}
|
||||
|
||||
this.sf.setCursor(null);
|
||||
|
||||
// hier rotieren markieren
|
||||
|
||||
if(game.isRotieren())sf.setWechsel(!sf.isWechsel());
|
||||
if (game.isRotieren())
|
||||
sf.setWechsel(!sf.isWechsel());
|
||||
|
||||
this.sf.erstelleBrett();
|
||||
|
||||
if (game.getLastMove() != null) {
|
||||
|
||||
sf.aktualisiereAusgabe();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue