Commit 70c6702b authored by Anna Maria Eilertsen's avatar Anna Maria Eilertsen
Browse files

removed unnecessary code

parent d3779a90
......@@ -79,7 +79,6 @@ s * Initializes a JFrame in which we place the game
* Should be called after a click to update the UI to reflect the current game state
*/
public void endOfTurn() {
updateBoard();
updateMessage();
MNKGameGUI.super.updateUI();
if(!game.hasPossibleMoves()) {
......@@ -87,10 +86,6 @@ s * Initializes a JFrame in which we place the game
}
}
private void updateBoard() {
board.updateToGame();
}
/**
* Helper method to control the status message
*/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment