Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Johan Gustav Thrane-Nielsen
inf101.v20.sem2.losning
Commits
70c6702b
Commit
70c6702b
authored
Apr 18, 2020
by
Anna Maria Eilertsen
Browse files
removed unnecessary code
parent
d3779a90
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/inf101/v20/sem2/mnkgames/GUI/MNKGameGUI.java
View file @
70c6702b
...
...
@@ -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
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment