Newer
Older
<?xml version="1.0" encoding="UTF-8"?>
<?import javafx.geometry.Insets?>
<?import javafx.scene.chart.PieChart?>
<?import javafx.scene.control.Button?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.text.Text?>
<VBox fx:id="parent" alignment="CENTER" 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.StatisticsController">
<HBox alignment="CENTER" prefHeight="411.0" prefWidth="677.0" spacing="30.0" VBox.vgrow="ALWAYS">
<VBox alignment="CENTER_RIGHT" spacing="10.0" HBox.hgrow="ALWAYS">
<children>
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Kills:" />
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Deaths:" />
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Blocks Destroyed:" />
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Games won:" />
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Games lost:" />
<Text strokeType="OUTSIDE" strokeWidth="0.0" text="Ingame time:" />
</children>
</VBox>
<VBox alignment="CENTER_LEFT" spacing="10.0" HBox.hgrow="ALWAYS">
<children>
<Text fx:id="kills" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" />
<Text fx:id="deaths" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" />
<Text fx:id="blocks" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" />
<Text fx:id="gamesWon" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" />
<Text fx:id="gamesLost" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" />
<Text fx:id="gameTime" strokeType="OUTSIDE" strokeWidth="0.0" text="Text" />
</children>
<HBox.margin>
<Insets />
</HBox.margin>
</VBox>
<VBox prefHeight="200.0" prefWidth="100.0" HBox.hgrow="ALWAYS">
<PieChart fx:id="kd" minHeight="-Infinity" minWidth="-Infinity" VBox.vgrow="ALWAYS">
<VBox.margin>
<Insets bottom="-200.0" top="-250.0" />
</VBox.margin></PieChart>
<PieChart fx:id="wl" minHeight="-Infinity" minWidth="-Infinity" VBox.vgrow="ALWAYS">
<VBox.margin>
<Insets bottom="-250.0" top="-40.0" />
</children>
</VBox>
</children>
</HBox>
<Button mnemonicParsing="false" onAction="#mainMenuScene" text="Back" />
</children>
</VBox>