|
|
|
|
@ -22,88 +22,93 @@
|
|
|
|
|
|
|
|
|
|
<AnchorPane fx:id="gameLobbyWrapper" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="600.0" prefWidth="780.0" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="visualiser.Controllers.InGameLobbyController">
|
|
|
|
|
<children>
|
|
|
|
|
<GridPane AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
|
|
|
<StackPane prefHeight="150.0" prefWidth="200.0" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
|
|
|
<children>
|
|
|
|
|
<Button fx:id="quitBtn" maxHeight="50.0" maxWidth="125.0" mnemonicParsing="false" onAction="#menuBtnPressed" GridPane.rowIndex="2">
|
|
|
|
|
<GridPane.margin>
|
|
|
|
|
<Insets left="20.0" />
|
|
|
|
|
</GridPane.margin>
|
|
|
|
|
</Button>
|
|
|
|
|
<GridPane fx:id="playerContainer" GridPane.columnSpan="3" GridPane.rowIndex="1">
|
|
|
|
|
<GridPane>
|
|
|
|
|
<children>
|
|
|
|
|
<Button fx:id="quitBtn" maxHeight="50.0" maxWidth="125.0" mnemonicParsing="false" onAction="#menuBtnPressed" GridPane.rowIndex="2">
|
|
|
|
|
<GridPane.margin>
|
|
|
|
|
<Insets left="20.0" />
|
|
|
|
|
</GridPane.margin>
|
|
|
|
|
</Button>
|
|
|
|
|
<GridPane fx:id="playerContainer" GridPane.columnSpan="3" GridPane.rowIndex="1">
|
|
|
|
|
<columnConstraints>
|
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
|
|
|
</columnConstraints>
|
|
|
|
|
<rowConstraints>
|
|
|
|
|
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
|
|
|
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
|
|
|
</rowConstraints>
|
|
|
|
|
<children>
|
|
|
|
|
<Label fx:id="playerLabel" text="No Player" GridPane.halignment="CENTER" GridPane.valignment="BOTTOM">
|
|
|
|
|
<GridPane.margin>
|
|
|
|
|
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
|
|
|
|
</GridPane.margin>
|
|
|
|
|
</Label>
|
|
|
|
|
<Label fx:id="playerLabel4" text="No Player" GridPane.halignment="CENTER" GridPane.rowIndex="1" GridPane.valignment="BOTTOM">
|
|
|
|
|
<GridPane.margin>
|
|
|
|
|
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
|
|
|
|
</GridPane.margin>
|
|
|
|
|
</Label>
|
|
|
|
|
<Label fx:id="playerLabel2" text="No Player" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.valignment="BOTTOM">
|
|
|
|
|
<GridPane.margin>
|
|
|
|
|
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
|
|
|
|
</GridPane.margin>
|
|
|
|
|
</Label>
|
|
|
|
|
<Label fx:id="playerLabel3" text="No Player" GridPane.columnIndex="2" GridPane.halignment="CENTER" GridPane.valignment="BOTTOM">
|
|
|
|
|
<GridPane.margin>
|
|
|
|
|
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
|
|
|
|
</GridPane.margin>
|
|
|
|
|
</Label>
|
|
|
|
|
<Label fx:id="playerLabel5" text="No Player" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.rowIndex="1" GridPane.valignment="BOTTOM">
|
|
|
|
|
<GridPane.margin>
|
|
|
|
|
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
|
|
|
|
</GridPane.margin>
|
|
|
|
|
</Label>
|
|
|
|
|
<Label fx:id="playerLabel6" text="No Player" GridPane.columnIndex="2" GridPane.halignment="CENTER" GridPane.rowIndex="1" GridPane.valignment="BOTTOM">
|
|
|
|
|
<GridPane.margin>
|
|
|
|
|
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
|
|
|
|
</GridPane.margin>
|
|
|
|
|
</Label>
|
|
|
|
|
</children>
|
|
|
|
|
</GridPane>
|
|
|
|
|
<Label text="Get Ready For The Next Race" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.valignment="CENTER">
|
|
|
|
|
<font>
|
|
|
|
|
<Font name="Cabin-Bold" size="17.0" />
|
|
|
|
|
</font>
|
|
|
|
|
</Label>
|
|
|
|
|
<Button fx:id="startButton" disable="true" maxHeight="50.0" maxWidth="125.0" mnemonicParsing="false" onAction="#startBtnPressed" visible="false" GridPane.columnIndex="2" GridPane.halignment="RIGHT" GridPane.rowIndex="2">
|
|
|
|
|
<GridPane.margin>
|
|
|
|
|
<Insets right="20.0" />
|
|
|
|
|
</GridPane.margin>
|
|
|
|
|
</Button>
|
|
|
|
|
</children>
|
|
|
|
|
<columnConstraints>
|
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
|
|
|
</columnConstraints>
|
|
|
|
|
<rowConstraints>
|
|
|
|
|
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
|
|
|
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
|
|
|
<RowConstraints maxHeight="80.0" minHeight="80.0" prefHeight="80.0" vgrow="SOMETIMES" />
|
|
|
|
|
<RowConstraints maxHeight="1.7976931348623157E308" minHeight="250.0" vgrow="SOMETIMES" />
|
|
|
|
|
<RowConstraints maxHeight="80.0" minHeight="80.0" prefHeight="80.0" vgrow="SOMETIMES" />
|
|
|
|
|
</rowConstraints>
|
|
|
|
|
</GridPane>
|
|
|
|
|
<AnchorPane mouseTransparent="true" opacity="0.3" prefHeight="200.0" prefWidth="200.0" style="-fx-background-color: rgba(0, 0, 0, 1);">
|
|
|
|
|
<children>
|
|
|
|
|
<Label fx:id="playerLabel" text="No Player" GridPane.halignment="CENTER" GridPane.valignment="BOTTOM">
|
|
|
|
|
<GridPane.margin>
|
|
|
|
|
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
|
|
|
|
</GridPane.margin>
|
|
|
|
|
</Label>
|
|
|
|
|
<Label fx:id="playerLabel4" text="No Player" GridPane.halignment="CENTER" GridPane.rowIndex="1" GridPane.valignment="BOTTOM">
|
|
|
|
|
<GridPane.margin>
|
|
|
|
|
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
|
|
|
|
</GridPane.margin>
|
|
|
|
|
</Label>
|
|
|
|
|
<Label fx:id="playerLabel2" text="No Player" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.valignment="BOTTOM">
|
|
|
|
|
<GridPane.margin>
|
|
|
|
|
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
|
|
|
|
</GridPane.margin>
|
|
|
|
|
</Label>
|
|
|
|
|
<Label fx:id="playerLabel3" text="No Player" GridPane.columnIndex="2" GridPane.halignment="CENTER" GridPane.valignment="BOTTOM">
|
|
|
|
|
<GridPane.margin>
|
|
|
|
|
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
|
|
|
|
</GridPane.margin>
|
|
|
|
|
</Label>
|
|
|
|
|
<Label fx:id="playerLabel5" text="No Player" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.rowIndex="1" GridPane.valignment="BOTTOM">
|
|
|
|
|
<GridPane.margin>
|
|
|
|
|
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
|
|
|
|
</GridPane.margin>
|
|
|
|
|
</Label>
|
|
|
|
|
<Label fx:id="playerLabel6" text="No Player" GridPane.columnIndex="2" GridPane.halignment="CENTER" GridPane.rowIndex="1" GridPane.valignment="BOTTOM">
|
|
|
|
|
<GridPane.margin>
|
|
|
|
|
<Insets bottom="15.0" left="15.0" right="15.0" top="15.0" />
|
|
|
|
|
</GridPane.margin>
|
|
|
|
|
</Label>
|
|
|
|
|
<GridPane fx:id="animatedPane" opacity="0.42" style="-fx-background-color: rgba(0, 0, 0, 0.5);" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
|
|
|
<columnConstraints>
|
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
|
|
|
</columnConstraints>
|
|
|
|
|
<rowConstraints>
|
|
|
|
|
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
|
|
|
</rowConstraints>
|
|
|
|
|
</GridPane>
|
|
|
|
|
</children>
|
|
|
|
|
</GridPane>
|
|
|
|
|
<Label text="Get Ready For The Next Race" GridPane.columnIndex="1" GridPane.halignment="CENTER" GridPane.valignment="CENTER">
|
|
|
|
|
<font>
|
|
|
|
|
<Font name="Cabin-Bold" size="17.0" />
|
|
|
|
|
</font>
|
|
|
|
|
</Label>
|
|
|
|
|
<Button fx:id="startButton" disable="true" maxHeight="50.0" maxWidth="125.0" mnemonicParsing="false" onAction="#startBtnPressed" visible="false" GridPane.columnIndex="2" GridPane.halignment="RIGHT" GridPane.rowIndex="2">
|
|
|
|
|
<GridPane.margin>
|
|
|
|
|
<Insets right="20.0" />
|
|
|
|
|
</GridPane.margin></Button>
|
|
|
|
|
</children>
|
|
|
|
|
<columnConstraints>
|
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
|
|
|
</columnConstraints>
|
|
|
|
|
<rowConstraints>
|
|
|
|
|
<RowConstraints maxHeight="80.0" minHeight="80.0" prefHeight="80.0" vgrow="SOMETIMES" />
|
|
|
|
|
<RowConstraints maxHeight="1.7976931348623157E308" minHeight="250.0" vgrow="SOMETIMES" />
|
|
|
|
|
<RowConstraints maxHeight="80.0" minHeight="80.0" prefHeight="80.0" vgrow="SOMETIMES" />
|
|
|
|
|
</rowConstraints>
|
|
|
|
|
</GridPane>
|
|
|
|
|
<AnchorPane mouseTransparent="true" opacity="0.3" prefHeight="200.0" prefWidth="200.0" style="-fx-background-color: rgba(0, 0, 0, 1);" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
|
|
|
<children>
|
|
|
|
|
<GridPane fx:id="animatedPane" opacity="0.42" style="-fx-background-color: rgba(0, 0, 0, 0.5);" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0">
|
|
|
|
|
<columnConstraints>
|
|
|
|
|
<ColumnConstraints hgrow="SOMETIMES" minWidth="10.0" prefWidth="100.0" />
|
|
|
|
|
</columnConstraints>
|
|
|
|
|
<rowConstraints>
|
|
|
|
|
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
|
|
|
|
|
</rowConstraints>
|
|
|
|
|
</GridPane>
|
|
|
|
|
</AnchorPane>
|
|
|
|
|
</children>
|
|
|
|
|
</AnchorPane>
|
|
|
|
|
</StackPane>
|
|
|
|
|
</children>
|
|
|
|
|
</AnchorPane>
|
|
|
|
|
|