|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
2 | 2 |
|
3 | 3 | <?import javafx.scene.control.Button?>
|
| 4 | +<?import javafx.scene.control.ChoiceBox?> |
4 | 5 | <?import javafx.scene.control.Label?>
|
5 | 6 | <?import javafx.scene.control.ListView?>
|
| 7 | +<?import javafx.scene.control.TextArea?> |
6 | 8 | <?import javafx.scene.layout.AnchorPane?>
|
7 | 9 |
|
8 | 10 | <AnchorPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="720.0" prefWidth="1280.0" xmlns="http://javafx.com/javafx/8.0.171" xmlns:fx="http://javafx.com/fxml/1" fx:controller="core.GameController">
|
|
11 | 13 | <children>
|
12 | 14 | <Label fx:id="p1NameLabel" layoutX="126.0" layoutY="14.0" />
|
13 | 15 | <Label fx:id="p1StrategyLabel" layoutX="126.0" layoutY="36.0" />
|
14 |
| - <Label fx:id="p1HandCountLabel" layoutX="126.0" layoutY="71.0" /> |
15 |
| - <Button fx:id="drawButton" layoutX="1216.0" layoutY="9.0" mnemonicParsing="false" text="Draw" /> |
16 |
| - <Button layoutX="1216.0" layoutY="38.0" mnemonicParsing="false" text="Hint" /> |
17 |
| - <Button fx:id="finishButton" layoutX="1209.0" layoutY="66.0" mnemonicParsing="false" text="Finish" /> |
| 16 | + <Label fx:id="p1HandCountLabel" layoutX="260.0" layoutY="15.0" /> |
| 17 | + <Button fx:id="drawButton" layoutX="1159.0" layoutY="9.0" mnemonicParsing="false" text="Draw" /> |
| 18 | + <Button fx:id="finishButton" layoutX="1212.0" layoutY="9.0" mnemonicParsing="false" text="Finish" /> |
| 19 | + <Button fx:id="nextAIMoveButton" layoutX="1167.0" layoutY="38.0" mnemonicParsing="false" text="Play Next AI" /> |
18 | 20 | <ListView fx:id="p1HandListView" layoutX="289.0" orientation="HORIZONTAL" prefHeight="100.0" prefWidth="864.0" />
|
| 21 | + <Label layoutX="14.0" layoutY="55.0" text="Current Player" /> |
| 22 | + <Label fx:id="currentPlayerLabel" layoutX="14.0" layoutY="75.0" /> |
| 23 | + <Label fx:id="timerTextLabel" layoutX="1184.0" layoutY="71.0" text="Timer:" visible="false" /> |
| 24 | + <Label fx:id="timerLabel" layoutX="1235.0" layoutY="71.0" prefHeight="14.0" prefWidth="20.0" /> |
| 25 | + <ChoiceBox fx:id="stockChoiceBox" layoutX="15.0" layoutY="2.0" prefHeight="24.0" prefWidth="76.0" /> |
| 26 | + <Button fx:id="rigDrawButton" layoutX="14.0" layoutY="29.0" mnemonicParsing="false" text="Rig Draw" /> |
19 | 27 | </children>
|
20 | 28 | </AnchorPane>
|
21 | 29 | <AnchorPane layoutY="100.0" prefHeight="520.0" prefWidth="126.0">
|
22 | 30 | <children>
|
23 |
| - <Label fx:id="p2NameLabel" layoutX="52.0" layoutY="486.0" rotate="270.0" /> |
24 |
| - <Label fx:id="p2StrategyLabel" layoutX="74.0" layoutY="486.0" rotate="270.0" /> |
25 |
| - <Label fx:id="p2HandCountLabel" layoutX="14.0" layoutY="486.0" /> |
| 31 | + <Label fx:id="p2NameLabel" layoutX="6.0" layoutY="400.0" /> |
| 32 | + <Label fx:id="p2StrategyLabel" layoutX="6.0" layoutY="422.0" /> |
| 33 | + <Label fx:id="p2HandCountLabel" layoutX="96.0" layoutY="400.0" /> |
26 | 34 | <ListView fx:id="p2HandListView" prefHeight="393.0" prefWidth="126.0" />
|
27 | 35 | </children>
|
28 | 36 | </AnchorPane>
|
29 | 37 | <AnchorPane prefHeight="100.0" prefWidth="1280.0">
|
30 | 38 | <children>
|
31 | 39 | <Label fx:id="p3NameLabel" layoutX="126.0" layoutY="50.0" />
|
32 | 40 | <Label fx:id="p3StrategyLabel" layoutX="126.0" layoutY="72.0" />
|
33 |
| - <Label fx:id="p3HandCountLabel" layoutX="126.0" layoutY="14.0" /> |
| 41 | + <Label fx:id="p3HandCountLabel" layoutX="250.0" layoutY="75.0" /> |
34 | 42 | <ListView fx:id="p3HandListView" layoutX="276.0" orientation="HORIZONTAL" prefHeight="100.0" prefWidth="878.0" />
|
35 | 43 | </children>
|
36 | 44 | </AnchorPane>
|
37 | 45 | <AnchorPane layoutX="1154.0" layoutY="100.0" prefHeight="520.0" prefWidth="126.0">
|
38 | 46 | <children>
|
39 |
| - <Label fx:id="p4NameLabel" layoutX="24.0" layoutY="23.0" rotate="90.0" /> |
40 |
| - <Label fx:id="p4StrategyLabel" layoutX="2.0" layoutY="27.0" rotate="90.0" /> |
41 |
| - <Label fx:id="p4HandCountLabel" layoutX="73.0" layoutY="106.0" /> |
| 47 | + <Label fx:id="p4NameLabel" layoutX="4.0" layoutY="84.0" /> |
| 48 | + <Label fx:id="p4StrategyLabel" layoutX="4.0" layoutY="106.0" /> |
| 49 | + <Label fx:id="p4HandCountLabel" layoutX="96.0" layoutY="106.0" /> |
42 | 50 | <ListView fx:id="p4HandListView" layoutY="127.0" prefHeight="393.0" prefWidth="126.0" />
|
43 | 51 | </children>
|
44 | 52 | </AnchorPane>
|
45 |
| - <ListView fx:id="tableListView" layoutX="126.0" layoutY="100.0" prefHeight="520.0" prefWidth="1028.0" /> |
| 53 | + <ListView fx:id="tableListView" layoutX="126.0" layoutY="100.0" prefHeight="520.0" prefWidth="580.0" /> |
| 54 | + <TextArea fx:id="outputArea" editable="false" layoutX="706.0" layoutY="100.0" prefHeight="520.0" prefWidth="448.0" /> |
46 | 55 | </children>
|
47 | 56 | </AnchorPane>
|
0 commit comments