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
Quentin DRUAULT-AUBIN
lo23-project
Commits
acce769c
Commit
acce769c
authored
Dec 16, 2017
by
Quentin DRUAULT-AUBIN
Committed by
Paul Jeannot
Dec 17, 2017
Browse files
[Controller] Fix placemine
parent
2d81716a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Battleship/src/main/java/com/utclo23/ihmtable/controller/InGameGUIController.java
View file @
acce769c
...
...
@@ -656,9 +656,9 @@ public class InGameGUIController {
// Select the right grid which depends on the player (TODO spectateur?)
GridPane
grid
;
if
(
player
.
getLightPublicUser
().
getId
().
equals
(
facade
.
getFacadeData
().
getMyPublicUserProfile
().
getId
()))
{
grid
=
playerGrid
;
}
else
{
grid
=
opponentGrid
;
}
else
{
grid
=
playerGrid
;
}
// Select the node in the grid and disable it when we lanch the attack
...
...
Write
Preview
Supports
Markdown
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