Skip to content
Snippets Groups Projects
Commit a48eaaaa authored by Tran Peter's avatar Tran Peter
Browse files

add(ui): add all basic scenes from scribbles

parent 36e89218
No related branches found
No related tags found
4 merge requests!74V1,!73Initial commit,!71Merge DataBase into Development,!4Merge UI into Development
Showing with 260 additions and 0 deletions
package de.hdm_stuttgart.battlearena.Controller;
public class LocalCreateController {
}
package de.hdm_stuttgart.battlearena.Controller;
public class MultiplayerController {
}
package de.hdm_stuttgart.battlearena.Controller;
public class MultiplayerCreateController {
}
package de.hdm_stuttgart.battlearena.Controller;
public class MultiplayerJoinController {
}
package de.hdm_stuttgart.battlearena.Controller;
public class PlayController {
}
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.RadioButton?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.control.ToggleGroup?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Text?>
<BorderPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/21" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.hdm_stuttgart.battlearena.Controller.LocalCreateController">
<center>
<VBox alignment="TOP_CENTER" spacing="10.0" BorderPane.alignment="TOP_CENTER">
<children>
<Pane layoutX="10.0" layoutY="95.0" VBox.vgrow="ALWAYS" />
<HBox alignment="TOP_CENTER" spacing="20.0">
<children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Rounds:" />
<TextField />
</children>
<VBox.margin>
<Insets top="50.0" />
</VBox.margin>
</HBox>
<HBox alignment="TOP_CENTER" layoutX="10.0" layoutY="10.0" maxWidth="-Infinity" minWidth="-Infinity" prefHeight="25.0" prefWidth="213.0" spacing="20.0">
<children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Time:" />
<TextField />
</children>
</HBox>
<HBox alignment="TOP_CENTER" layoutX="10.0" layoutY="343.0" spacing="10.0">
<children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="PLayers:" />
<RadioButton mnemonicParsing="false" selected="true" text="2">
<toggleGroup>
<ToggleGroup fx:id="group31" />
</toggleGroup>
</RadioButton>
<RadioButton mnemonicParsing="false" text="3" toggleGroup="$group31" />
<RadioButton mnemonicParsing="false" text="4" />
</children>
</HBox>
<HBox alignment="TOP_CENTER" layoutX="10.0" layoutY="110.0" spacing="10.0">
<children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Text:" />
<RadioButton mnemonicParsing="false" text="Yes">
<toggleGroup>
<ToggleGroup fx:id="group1" />
</toggleGroup></RadioButton>
<RadioButton mnemonicParsing="false" selected="true" text="No" toggleGroup="$group1" />
</children>
</HBox>
<HBox alignment="TOP_CENTER" layoutX="10.0" layoutY="343.0" spacing="10.0">
<children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Text:" />
<RadioButton mnemonicParsing="false" text="Yes">
<toggleGroup>
<ToggleGroup fx:id="group2" />
</toggleGroup>
</RadioButton>
<RadioButton mnemonicParsing="false" selected="true" text="No" toggleGroup="$group2" />
</children>
</HBox>
<HBox alignment="TOP_CENTER" layoutX="10.0" layoutY="393.0" spacing="10.0">
<children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Text:" />
<RadioButton mnemonicParsing="false" text="Yes">
<toggleGroup>
<ToggleGroup fx:id="group3" />
</toggleGroup>
</RadioButton>
<RadioButton mnemonicParsing="false" selected="true" text="No" toggleGroup="$group3" />
</children>
</HBox>
<Button mnemonicParsing="false" text="Start" />
<Button mnemonicParsing="false" text="Back">
<VBox.margin>
<Insets bottom="50.0" />
</VBox.margin>
</Button>
<Pane layoutX="10.0" layoutY="10.0" VBox.vgrow="ALWAYS" />
<Pane layoutX="10.0" layoutY="389.0" VBox.vgrow="ALWAYS" />
</children>
</VBox>
</center>
</BorderPane>
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.VBox?>
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/21" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.hdm_stuttgart.battlearena.Controller.PlayController">
<center>
<VBox alignment="TOP_CENTER" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="200.0" prefWidth="100.0" spacing="50.0" BorderPane.alignment="CENTER">
<children>
<Pane maxHeight="1.7976931348623157E308" prefHeight="200.0" prefWidth="200.0" VBox.vgrow="ALWAYS" />
<Button mnemonicParsing="false" text="Create" VBox.vgrow="ALWAYS">
<VBox.margin>
<Insets top="20.0" />
</VBox.margin>
</Button>
<Button mnemonicParsing="false" text="Join" VBox.vgrow="ALWAYS">
<VBox.margin>
<Insets bottom="50.0" />
</VBox.margin></Button>
<Button alignment="CENTER" mnemonicParsing="false" text="Back">
<VBox.margin>
<Insets />
</VBox.margin></Button>
<Pane VBox.vgrow="ALWAYS" />
<Pane layoutX="10.0" layoutY="410.0" VBox.vgrow="ALWAYS" />
</children>
</VBox>
</center>
<bottom>
<VBox alignment="CENTER" maxHeight="1.7976931348623157E308" prefWidth="100.0" spacing="10.0" BorderPane.alignment="CENTER" />
</bottom>
</BorderPane>
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.RadioButton?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Text?>
<BorderPane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/21" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.hdm_stuttgart.battlearena.Controller.MultiplayerCreateController">
<center>
<VBox alignment="TOP_CENTER" prefHeight="200.0" prefWidth="100.0" BorderPane.alignment="CENTER">
<children>
<HBox alignment="TOP_CENTER" spacing="20.0">
<children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Text:" />
<TextField />
</children>
<VBox.margin>
<Insets top="50.0" />
</VBox.margin>
</HBox>
<Pane prefHeight="200.0" prefWidth="600.0" />
<HBox alignment="TOP_CENTER" layoutX="10.0" layoutY="10.0" maxWidth="-Infinity" minWidth="-Infinity" prefHeight="25.0" prefWidth="213.0" spacing="20.0">
<children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Text:" />
<TextField />
</children>
</HBox>
<Pane prefHeight="200.0" prefWidth="200.0" />
<HBox alignment="TOP_CENTER" layoutX="10.0" layoutY="110.0" spacing="10.0">
<children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Text:" />
<RadioButton mnemonicParsing="false" text="Yes" />
<RadioButton mnemonicParsing="false" text="No" />
</children>
</HBox>
<AnchorPane prefHeight="200.0" prefWidth="200.0">
<children>
<VBox alignment="TOP_CENTER" layoutX="250.0" prefHeight="200.0" prefWidth="100.0" AnchorPane.leftAnchor="250.0" AnchorPane.rightAnchor="250.0">
<children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Text" />
</children>
</VBox>
</children>
<VBox.margin>
<Insets top="20.0" />
</VBox.margin>
</AnchorPane>
<Button mnemonicParsing="false" text="Button" />
<Button mnemonicParsing="false" text="Button" />
</children>
</VBox>
</center>
</BorderPane>
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Text?>
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/21" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.hdm_stuttgart.battlearena.Controller.PlayController">
<center>
<VBox alignment="TOP_CENTER" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="200.0" prefWidth="100.0" spacing="50.0" BorderPane.alignment="CENTER">
<children>
<Pane maxHeight="1.7976931348623157E308" prefHeight="200.0" prefWidth="200.0" />
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="IP Adress:" />
<TextField maxWidth="-Infinity" />
<Button mnemonicParsing="false" text="Connect" VBox.vgrow="ALWAYS" />
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="[Error Message]" />
<Pane maxHeight="1.7976931348623157E308" prefHeight="200.0" prefWidth="200.0" VBox.vgrow="ALWAYS" />
<Button alignment="CENTER" mnemonicParsing="false" text="Back" />
<Pane maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="20.0" VBox.vgrow="ALWAYS" />
</children>
</VBox>
</center>
</BorderPane>
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.layout.BorderPane?>
<?import javafx.scene.layout.Pane?>
<?import javafx.scene.layout.VBox?>
<BorderPane maxHeight="-Infinity" maxWidth="-Infinity" minHeight="-Infinity" minWidth="-Infinity" prefHeight="400.0" prefWidth="600.0" xmlns="http://javafx.com/javafx/21" xmlns:fx="http://javafx.com/fxml/1" fx:controller="de.hdm_stuttgart.battlearena.Controller.PlayController">
<center>
<VBox alignment="TOP_CENTER" maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" prefHeight="200.0" prefWidth="100.0" spacing="50.0" BorderPane.alignment="CENTER">
<children>
<Pane VBox.vgrow="ALWAYS" />
<Button mnemonicParsing="false" text="Local" VBox.vgrow="ALWAYS">
<VBox.margin>
<Insets top="20.0" />
</VBox.margin>
</Button>
<Button mnemonicParsing="false" text="Multiplayer" VBox.vgrow="ALWAYS" />
<Button alignment="CENTER" mnemonicParsing="false" text="Back">
<VBox.margin>
<Insets top="50.0" />
</VBox.margin></Button>
<Pane VBox.vgrow="ALWAYS" />
<Pane layoutX="10.0" layoutY="358.0" VBox.vgrow="ALWAYS" />
</children>
</VBox>
</center>
<bottom>
<VBox alignment="CENTER" maxHeight="1.7976931348623157E308" prefWidth="100.0" spacing="10.0" BorderPane.alignment="CENTER" />
</bottom>
</BorderPane>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment