From bbf07e337b91d7f5492959573380ba57605c13af Mon Sep 17 00:00:00 2001 From: fdai7736 Date: Wed, 7 Feb 2024 16:11:08 +0100 Subject: [PATCH] refactoring: change cardDeck to HBox --- .../onses/controllers/CardDeckController.java | 17 ----------------- .../de/hsfulda/onses/views/cardDeck.fxml | 13 ------------- .../de/hsfulda/onses/views/player.fxml | 4 ++-- 3 files changed, 2 insertions(+), 32 deletions(-) delete mode 100644 src/main/java/de/hsfulda/onses/controllers/CardDeckController.java delete mode 100644 src/main/resources/de/hsfulda/onses/views/cardDeck.fxml diff --git a/src/main/java/de/hsfulda/onses/controllers/CardDeckController.java b/src/main/java/de/hsfulda/onses/controllers/CardDeckController.java deleted file mode 100644 index 254d317..0000000 --- a/src/main/java/de/hsfulda/onses/controllers/CardDeckController.java +++ /dev/null @@ -1,17 +0,0 @@ -package de.hsfulda.onses.controllers; - -import de.hsfulda.onses.Main; -import javafx.fxml.FXMLLoader; -import javafx.scene.Parent; - -import java.io.IOException; -import java.util.Objects; - -public class CardDeckController implements Controller { - @Override - public Parent render() throws IOException { - final Parent parent = FXMLLoader.load(Objects.requireNonNull(Main.class.getResource("views/cardDeck.fxml"))); - - return parent; - } -} diff --git a/src/main/resources/de/hsfulda/onses/views/cardDeck.fxml b/src/main/resources/de/hsfulda/onses/views/cardDeck.fxml deleted file mode 100644 index fd33361..0000000 --- a/src/main/resources/de/hsfulda/onses/views/cardDeck.fxml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - diff --git a/src/main/resources/de/hsfulda/onses/views/player.fxml b/src/main/resources/de/hsfulda/onses/views/player.fxml index 17924e1..7819a52 100644 --- a/src/main/resources/de/hsfulda/onses/views/player.fxml +++ b/src/main/resources/de/hsfulda/onses/views/player.fxml @@ -2,7 +2,7 @@ - + @@ -12,6 +12,6 @@ - +