Skip to content

Commit 828b275

Browse files
author
Tomáš Marek
committed
Initial commit
0 parents  commit 828b275

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+1390
-0
lines changed

.idea/.gitignore

+3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/compiler.xml

+23
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/description.html

+2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/encodings.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/libraries/lib.xml

+12
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/uiDesigner.xml

+125
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

geoquiz2.iml

+84
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<module type="JAVA_MODULE" version="4">
3+
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_11" inherit-compiler-output="true">
4+
<exclude-output />
5+
<content url="file://$MODULE_DIR$">
6+
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
7+
</content>
8+
<orderEntry type="jdk" jdkName="liberica-11" jdkType="JavaSDK" />
9+
<orderEntry type="sourceFolder" forTests="false" />
10+
<orderEntry type="library" exported="" name="lib" level="project" />
11+
<orderEntry type="module-library" exported="">
12+
<library>
13+
<CLASSES>
14+
<root url="jar://$USER_HOME$/Downloads/javafx-sdk-17.0.2/lib/javafx-swt.jar!/" />
15+
</CLASSES>
16+
<JAVADOC />
17+
<SOURCES />
18+
</library>
19+
</orderEntry>
20+
<orderEntry type="module-library" exported="">
21+
<library>
22+
<CLASSES>
23+
<root url="jar://$USER_HOME$/Downloads/javafx-sdk-17.0.2/lib/javafx.base.jar!/" />
24+
</CLASSES>
25+
<JAVADOC />
26+
<SOURCES />
27+
</library>
28+
</orderEntry>
29+
<orderEntry type="module-library" exported="">
30+
<library>
31+
<CLASSES>
32+
<root url="jar://$USER_HOME$/Downloads/javafx-sdk-17.0.2/lib/javafx.controls.jar!/" />
33+
</CLASSES>
34+
<JAVADOC />
35+
<SOURCES />
36+
</library>
37+
</orderEntry>
38+
<orderEntry type="module-library" exported="">
39+
<library>
40+
<CLASSES>
41+
<root url="jar://$USER_HOME$/Downloads/javafx-sdk-17.0.2/lib/javafx.fxml.jar!/" />
42+
</CLASSES>
43+
<JAVADOC />
44+
<SOURCES />
45+
</library>
46+
</orderEntry>
47+
<orderEntry type="module-library" exported="">
48+
<library>
49+
<CLASSES>
50+
<root url="jar://$USER_HOME$/Downloads/javafx-sdk-17.0.2/lib/javafx.graphics.jar!/" />
51+
</CLASSES>
52+
<JAVADOC />
53+
<SOURCES />
54+
</library>
55+
</orderEntry>
56+
<orderEntry type="module-library" exported="">
57+
<library>
58+
<CLASSES>
59+
<root url="jar://$USER_HOME$/Downloads/javafx-sdk-17.0.2/lib/javafx.media.jar!/" />
60+
</CLASSES>
61+
<JAVADOC />
62+
<SOURCES />
63+
</library>
64+
</orderEntry>
65+
<orderEntry type="module-library" exported="">
66+
<library>
67+
<CLASSES>
68+
<root url="jar://$USER_HOME$/Downloads/javafx-sdk-17.0.2/lib/javafx.swing.jar!/" />
69+
</CLASSES>
70+
<JAVADOC />
71+
<SOURCES />
72+
</library>
73+
</orderEntry>
74+
<orderEntry type="module-library" exported="">
75+
<library>
76+
<CLASSES>
77+
<root url="jar://$USER_HOME$/Downloads/javafx-sdk-17.0.2/lib/javafx.web.jar!/" />
78+
</CLASSES>
79+
<JAVADOC />
80+
<SOURCES />
81+
</library>
82+
</orderEntry>
83+
</component>
84+
</module>
713 Bytes
Binary file not shown.
1.84 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<?import javafx.scene.control.Button?>
4+
<?import javafx.scene.control.TableColumn?>
5+
<?import javafx.scene.control.TableView?>
6+
<?import javafx.scene.layout.Pane?>
7+
<?import javafx.scene.text.Font?>
8+
<?import javafx.scene.text.Text?>
9+
10+
<Pane fx:id="gamemode" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1">
11+
<children>
12+
<Text layoutX="92.0" layoutY="82.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Konec hry" textAlignment="CENTER" wrappingWidth="415.830078125">
13+
<font>
14+
<Font size="37.0" />
15+
</font>
16+
</Text>
17+
<TableView fx:id="finallTable" layoutX="200.0" layoutY="130.0" prefHeight="200.0" prefWidth="200.0">
18+
<columns>
19+
<TableColumn fx:id="name" prefWidth="133.0" text="Jméno" />
20+
<TableColumn fx:id="points" prefWidth="66.0" text="Body" />
21+
</columns>
22+
</TableView>
23+
<Button layoutX="490.0" layoutY="340.0" mnemonicParsing="false" onAction="#goHome" prefHeight="30.0" prefWidth="72.0" text="Home" />
24+
</children>
25+
</Pane>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<?import javafx.scene.control.Button?>
4+
<?import javafx.scene.layout.Pane?>
5+
<?import javafx.scene.text.Font?>
6+
<?import javafx.scene.text.Text?>
7+
8+
<Pane fx:id="gamemode" fx:controller="app.controllers.GameModeController" maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1">
9+
<children>
10+
<Text layoutX="92.0" layoutY="82.0" strokeType="OUTSIDE" strokeWidth="0.0" text="Prosím zvolte herní mod" textAlignment="CENTER" wrappingWidth="415.830078125">
11+
<font>
12+
<Font size="37.0" />
13+
</font>
14+
</Text>
15+
<Button fx:id="singleplayer" layoutX="65.0" layoutY="175.0" mnemonicParsing="false" onAction="#runSingleplayer" prefHeight="81.0" prefWidth="145.0" text="Singleplayer" />
16+
<Button fx:id="multiplayer" layoutX="366.0" layoutY="176.0" mnemonicParsing="false" onAction="#runMultiplayer" prefHeight="81.0" prefWidth="145.0" text="Multiplayer" />
17+
</children>
18+
</Pane>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
3+
<?import com.dlsc.gmapsfx.GoogleMapView?>
4+
5+
<?import javafx.geometry.Insets?>
6+
<?import javafx.scene.control.Button?>
7+
<?import javafx.scene.control.Label?>
8+
<?import javafx.scene.control.ProgressBar?>
9+
<?import javafx.scene.layout.AnchorPane?>
10+
<?import javafx.scene.layout.ColumnConstraints?>
11+
<?import javafx.scene.layout.GridPane?>
12+
<?import javafx.scene.layout.RowConstraints?>
13+
14+
<AnchorPane id="AnchorPane" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/19" xmlns:fx="http://javafx.com/fxml/1" fx:controller="app.controllers.GameController">
15+
<children>
16+
<Label fx:id="label" layoutX="126" layoutY="120" minHeight="16" minWidth="69" />
17+
<GoogleMapView fx:id="googleMapView" layoutX="14.0" layoutY="21.0" prefHeight="371.0" prefWidth="324.0" />
18+
<GridPane layoutX="364.0" layoutY="168.0" prefHeight="95.0" prefWidth="185.0">
19+
<columnConstraints>
20+
<ColumnConstraints hgrow="SOMETIMES" maxWidth="86.0" minWidth="10.0" prefWidth="67.0" />
21+
<ColumnConstraints hgrow="SOMETIMES" maxWidth="113.0" minWidth="10.0" prefWidth="113.0" />
22+
</columnConstraints>
23+
<rowConstraints>
24+
<RowConstraints minHeight="10.0" prefHeight="30.0" vgrow="SOMETIMES" />
25+
<RowConstraints maxHeight="48.0" minHeight="10.0" prefHeight="33.0" vgrow="SOMETIMES" />
26+
<RowConstraints maxHeight="48.0" minHeight="10.0" prefHeight="33.0" vgrow="SOMETIMES" />
27+
</rowConstraints>
28+
<children>
29+
<Label alignment="CENTER_RIGHT" contentDisplay="RIGHT" text="Latitude:" GridPane.halignment="RIGHT" />
30+
<Label alignment="CENTER_RIGHT" contentDisplay="RIGHT" text="Longitude:" GridPane.halignment="RIGHT" GridPane.rowIndex="1" />
31+
<Label fx:id="latitudeLabel" alignment="CENTER_RIGHT" contentDisplay="LEFT" text="" GridPane.columnIndex="1">
32+
<GridPane.margin>
33+
<Insets left="5.0" />
34+
</GridPane.margin>
35+
</Label>
36+
<Label fx:id="longitudeLabel" alignment="CENTER_RIGHT" contentDisplay="LEFT" text="" GridPane.columnIndex="1" GridPane.rowIndex="1">
37+
<GridPane.margin>
38+
<Insets left="5.0" />
39+
</GridPane.margin>
40+
</Label>
41+
<Label alignment="CENTER_RIGHT" contentDisplay="RIGHT" text=" Playername:" GridPane.rowIndex="2" />
42+
<Label fx:id="playernameLabel" GridPane.columnIndex="1" GridPane.rowIndex="2" />
43+
</children>
44+
</GridPane>
45+
<Label fx:id="questionText" layoutX="393.0" layoutY="28.0" prefHeight="101.0" prefWidth="161.0" />
46+
<Button fx:id="submit" layoutX="504.0" layoutY="348.0" mnemonicParsing="false" onAction="#confirmSelect" text="Potvrdit" />
47+
<ProgressBar fx:id="progress" layoutX="364.0" layoutY="353.0" prefHeight="17.0" prefWidth="130.0" progress="0.0" />
48+
</children>
49+
</AnchorPane>

0 commit comments

Comments
 (0)