game: Moved board to have more room for message
This commit is contained in:
parent
d2c8ba86c0
commit
0a4f729108
@ -336,8 +336,9 @@ public class Game extends Application {
|
|||||||
playerStateText.setY(100);
|
playerStateText.setY(100);
|
||||||
playerStateText.setFill(Color.BLACK);
|
playerStateText.setFill(Color.BLACK);
|
||||||
root.getChildren().add(playerStateText);
|
root.getChildren().add(playerStateText);
|
||||||
|
|
||||||
// Relocate the grid to be more center
|
// Relocate the grid to be more center
|
||||||
viewerGrid.relocate((WINDOW_WIDTH/2-viewerGrid.getPrefWidth()/2), ((WINDOW_HEIGHT+100)/2-viewerGrid.getPrefHeight()/2));
|
viewerGrid.relocate((WINDOW_WIDTH/2-viewerGrid.getPrefWidth()/2) + (WINDOW_WIDTH/10), ((WINDOW_HEIGHT+100)/2-viewerGrid.getPrefHeight()/2));
|
||||||
root.getChildren().add(viewerGrid);
|
root.getChildren().add(viewerGrid);
|
||||||
|
|
||||||
// Add selected tile
|
// Add selected tile
|
||||||
|
Loading…
Reference in New Issue
Block a user