06.08.2020

This commit is contained in:
blues 2020-08-06 14:32:19 +02:00
parent f82b847a7b
commit 01c2a7bfaa
5 changed files with 3 additions and 3 deletions

View File

@ -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"));

View File

@ -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()) {

View File

@ -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?>

View File

@ -11,7 +11,6 @@ import javafx.scene.control.ProgressBar;
public class StartScreenController implements Initializable { public class StartScreenController implements Initializable {
@FXML @FXML

View File

@ -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?>