Skip to content
Snippets Groups Projects
Commit 4dcc0399 authored by David Reiser's avatar David Reiser
Browse files

GameUI fix

parent a8e3f8ec
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@
"name": "Launch GameUI",
"request": "launch",
"mainClass": "GameUI",
"vmArgs": "--module-path /home/derrentner/.javalib/javafx-sdk-23.0.1/lib --add-modules javafx.controls,javafx.fxml"
"vmArgs": "--module-path c:/Users/david/Desktop/swt2/javafx-sdk-23.0.1/lib --add-modules javafx.controls,javafx.fxml"
}
]
}
\ No newline at end of file
......@@ -153,7 +153,7 @@ public class GameUI extends Application{
switch (board.turnEnd()) {
case 0:
updatePlayerTurn(currentPlayer);
updatePlayerTurn(board.getCurrentPlayer());
break;
case 1:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment