forked from Tingsters/PokeTime
-
Notifications
You must be signed in to change notification settings - Fork 1
/
PokemonProject.fxml
85 lines (83 loc) · 3.43 KB
/
PokemonProject.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
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.String?>
<?import javafx.collections.FXCollections?>
<?import javafx.scene.control.Label?>
<?import javafx.scene.control.ListView?>
<?import javafx.scene.control.TextField?>
<?import javafx.scene.image.Image?>
<?import javafx.scene.image.ImageView?>
<?import javafx.scene.layout.AnchorPane?>
<?import javafx.scene.layout.HBox?>
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.shape.Ellipse?>
<?import javafx.scene.text.Font?>
<AnchorPane prefHeight="480.0" prefWidth="800.0" stylesheets="@src/main/resources/BattleScene.css"
xmlns="http://javafx.com/javafx/8.0.111" xmlns:fx="http://javafx.com/fxml/1"
fx:controller="org.devoxx4kids.poketime.BattleSceneController">
<ImageView fitHeight="480.0" fitWidth="800.0" pickOnBounds="true" preserveRatio="true">
<Image url="@src/main/resources/images/battle_background.png"/>
</ImageView>
<ImageView fitHeight="150.0" fitWidth="200.0" layoutX="8.0" layoutY="330.0" pickOnBounds="true"
preserveRatio="true">
<Image url="@src/main/resources/images/rattfratz-back.png"/>
</ImageView>
<ListView layoutX="25.0" layoutY="178.0" prefHeight="162.0" prefWidth="307.0">
<items>
<FXCollections fx:factory="observableArrayList">
<String fx:value="Tackle"/>
<String fx:value="Night Slash"/>
<String fx:value="Earthquake"/>
<String fx:value="Run"/>
</FXCollections>
</items>
</ListView>
<HBox alignment="CENTER" layoutX="46.0" layoutY="49.0" spacing="20.0">
<Label text="HP" textFill="#004ce4">
<font>
<Font size="39.0"/>
</font>
</Label>
<TextField editable="false" prefHeight="69.0" prefWidth="81.0" text="35">
<font>
<Font size="32.0"/>
</font>
</TextField>
</HBox>
<HBox alignment="CENTER" layoutX="600.0" layoutY="49.0" spacing="20.0">
<children>
<Label text="HP" textFill="#cd2828">
<font>
<Font size="39.0"/>
</font>
</Label>
<TextField editable="false" prefHeight="69.0" prefWidth="81.0" text="35">
<font>
<Font size="32.0"/>
</font>
</TextField>
</children>
</HBox>
<VBox alignment="CENTER" layoutX="513.0" layoutY="203.0">
<children>
<StackPane>
<children>
<Ellipse fill="#76c975" radiusX="88.0" radiusY="39.0" stroke="BLACK" strokeType="INSIDE"
StackPane.alignment="BOTTOM_CENTER"/>
<ImageView fx:id="pokemonPicture" fitHeight="150.0" fitWidth="211.0" pickOnBounds="true"
preserveRatio="true">
<image>
<Image url="@src/main/resources/images/rattfratz-front.png"/>
</image>
</ImageView>
</children>
</StackPane>
<Label fx:id="pokemonName" alignment="CENTER" contentDisplay="CENTER" prefHeight="59.0"
prefWidth="216.0" text="Ratata">
<font>
<Font size="41.0"/>
</font>
</Label>
</children>
</VBox>
</AnchorPane>