06.08.2020
This commit is contained in:
parent
f82b847a7b
commit
01c2a7bfaa
|
@ -14,6 +14,7 @@ public class HangmanPreload extends Preloader {
|
||||||
private Stage preloaderStage;
|
private Stage preloaderStage;
|
||||||
private Scene scene;
|
private Scene scene;
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void init() throws Exception {
|
public void init() throws Exception {
|
||||||
Parent root1 = FXMLLoader.load(getClass().getResource("Preloader.fxml"));
|
Parent root1 = FXMLLoader.load(getClass().getResource("Preloader.fxml"));
|
||||||
|
|
|
@ -101,7 +101,7 @@ public class Main extends Application {
|
||||||
info.setText("");
|
info.setText("");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check the letter from Textfield
|
// Check the letter from Textfields
|
||||||
public boolean arrayMatch(char[] wortToArr, char[] displayWord) {
|
public boolean arrayMatch(char[] wortToArr, char[] displayWord) {
|
||||||
boolean result = false;
|
boolean result = false;
|
||||||
if(!letter.getText().isEmpty()) {
|
if(!letter.getText().isEmpty()) {
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
<?import javafx.scene.control.ProgressBar?>
|
<?import javafx.scene.control.ProgressBar?>
|
||||||
<?import javafx.scene.effect.Light.Distant?>
|
<?import javafx.scene.effect.Light.Distant?>
|
||||||
<?import javafx.scene.effect.Lighting?>
|
<?import javafx.scene.effect.Lighting?>
|
||||||
|
|
|
@ -11,7 +11,6 @@ import javafx.scene.control.ProgressBar;
|
||||||
|
|
||||||
public class StartScreenController implements Initializable {
|
public class StartScreenController implements Initializable {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@FXML
|
@FXML
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
|
||||||
|
|
||||||
<?import javafx.geometry.Insets?>
|
<?import javafx.geometry.Insets?>
|
||||||
<?import javafx.scene.control.Button?>
|
<?import javafx.scene.control.Button?>
|
||||||
<?import javafx.scene.control.Label?>
|
<?import javafx.scene.control.Label?>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user