-
Notifications
You must be signed in to change notification settings - Fork 0
/
match3.fxml
107 lines (105 loc) · 6.39 KB
/
match3.fxml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.shape.*?>
<?import javafx.scene.effect.*?>
<?import javafx.geometry.*?>
<?import javafx.scene.image.*?>
<?import javafx.scene.text.*?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.scene.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<AnchorPane id="AnchorPane" fx:id="mainPane" prefHeight="500.0" prefWidth="650.0" style="-fx-background-color: white;" xmlns="http://javafx.com/javafx/8" xmlns:fx="http://javafx.com/fxml/1" fx:controller="eraofbinary.match3Controller">
<children>
<ProgressIndicator fx:id="progressIndicator" layoutX="91.0" layoutY="102.0" prefHeight="234.0" prefWidth="471.0" progress="0.0" visible="false" />
<Label fx:id="winningPointLabel" alignment="CENTER" disable="true" layoutX="231.0" layoutY="58.0" prefHeight="44.0" prefWidth="192.0" text="winning point" visible="false">
<font>
<Font name="System Bold" size="20.0" />
</font>
</Label>
<Label fx:id="player1PointLabel" alignment="CENTER" layoutX="134.0" layoutY="167.0" prefHeight="44.0" prefWidth="42.0" text="0" textFill="#3e3eda">
<font>
<Font name="System Bold" size="27.0" />
</font>
</Label>
<Label fx:id="player1ReceivedLabel" alignment="CENTER" layoutX="44.0" layoutY="122.0" prefHeight="30.0" prefWidth="222.0" text="received key" textFill="#059700">
<font>
<Font name="System Bold" size="15.0" />
</font>
</Label>
<Label fx:id="player1KeyLabel" alignment="CENTER" layoutX="69.0" layoutY="137.0" prefHeight="30.0" prefWidth="172.0" text="1st Player's key">
<font>
<Font name="System Bold" size="15.0" />
</font>
</Label>
<Label fx:id="player1NameLabel" alignment="CENTER_RIGHT" layoutX="24.0" layoutY="176.0" prefHeight="25.0" prefWidth="90.0" text="1st Player's name" />
<Label fx:id="player2PointLabel" alignment="CENTER" layoutX="478.0" layoutY="167.0" prefHeight="44.0" prefWidth="42.0" text="0" textFill="#e1e10b">
<font>
<Font name="System Bold" size="27.0" />
</font>
</Label>
<Label fx:id="player2ReceivedLabel" alignment="CENTER" layoutX="388.0" layoutY="122.0" prefHeight="30.0" prefWidth="222.0" text="received key" textFill="#059700">
<font>
<Font name="System Bold" size="15.0" />
</font>
</Label>
<Label fx:id="player2KeyLabel" alignment="CENTER" layoutX="413.0" layoutY="137.0" prefHeight="30.0" prefWidth="172.0" text="2nd Player's key">
<font>
<Font name="System Bold" size="15.0" />
</font>
</Label>
<Label fx:id="player2NameLabel" layoutX="540.0" layoutY="176.0" prefHeight="25.0" prefWidth="90.0" text="2nd Player's name" />
<Label fx:id="player3PointLabel" alignment="CENTER" layoutX="307.0" layoutY="378.0" prefHeight="44.0" prefWidth="42.0" text="0" textFill="#ff0c0c">
<font>
<Font name="System Bold" size="27.0" />
</font>
</Label>
<Label fx:id="player3ReceivedLabel" alignment="CENTER" layoutX="216.0" layoutY="333.0" prefHeight="30.0" prefWidth="222.0" text="received key" textFill="#059700">
<font>
<Font name="System Bold" size="15.0" />
</font>
</Label>
<Label fx:id="player3KeyLabel" alignment="CENTER" layoutX="241.0" layoutY="348.0" prefHeight="30.0" prefWidth="172.0" text="3rd Player's key">
<font>
<Font name="System Bold" size="15.0" />
</font>
</Label>
<Label fx:id="player3NameLabel" alignment="CENTER" layoutX="282.0" layoutY="422.0" prefHeight="25.0" prefWidth="90.0" text="3rd Player's name" />
<AnchorPane fx:id="instructionPane" layoutX="64.0" layoutY="61.0" prefHeight="423.0" prefWidth="526.0" style="-fx-background-color: white;">
<children>
<Button fx:id="startButton" layoutX="196.0" layoutY="94.0" onAction="#onStartButton" prefHeight="110.0" prefWidth="134.0" style="-fx-background-radius: 50, 50, 50, 50;" text="Start">
<font>
<Font name="System Bold" size="36.0" />
</font>
</Button>
<TextField fx:id="winningPointField" alignment="CENTER" layoutX="187.0" layoutY="7.0" prefHeight="44.0" prefWidth="156.0" promptText="Winning point">
<font>
<Font name="System Bold" size="20.0" />
</font>
</TextField>
<TextField fx:id="player1NameField" alignment="CENTER" layoutY="149.0" prefHeight="25.0" prefWidth="172.0" promptText="Player's name" />
<TextField fx:id="player2NameField" alignment="CENTER" layoutX="354.0" layoutY="149.0" prefHeight="25.0" prefWidth="172.0" promptText="Player's name" />
<Button layoutY="182.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="75.0" text="Z" />
<Button layoutX="97.0" layoutY="182.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="75.0" text="X" />
<Button layoutX="354.0" layoutY="182.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="75.0" text="N" />
<Button layoutX="451.0" layoutY="182.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="75.0" text="M" />
<TextField fx:id="player3NameField" alignment="CENTER" layoutX="177.0" layoutY="363.0" prefHeight="25.0" prefWidth="172.0" promptText="Player's name" />
<Button layoutX="274.0" layoutY="396.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="75.0" text="NUM 2" />
<Button layoutX="177.0" layoutY="396.0" mnemonicParsing="false" prefHeight="25.0" prefWidth="75.0" text="NUM 1" />
<Button alignment="CENTER" layoutX="196.0" layoutY="204.0" onAction="#backToMainMenu" prefHeight="44.0" prefWidth="134.0" style="-fx-background-radius: 50, 50, 50, 50; -fx-background-color: white;" text="Cancel" textFill="#e10e0e">
<font>
<Font name="System Bold" size="21.0" />
</font>
<opaqueInsets>
<Insets />
</opaqueInsets>
</Button>
</children>
</AnchorPane>
<Label fx:id="winningPointLabel1" alignment="CENTER" layoutX="217.0" layoutY="14.0" prefHeight="44.0" prefWidth="220.0" text="Era of Binary">
<font>
<Font name="System Bold" size="29.0" />
</font>
</Label>
</children>
</AnchorPane>