diff --git a/src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/NightTrainChatGui.fxml b/src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/NightTrainChatGui.fxml
deleted file mode 100644
index c7cded6..0000000
--- a/src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/NightTrainChatGui.fxml
+++ /dev/null
@@ -1,67 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- * NOTE: This method is called on the JavaFX Application Thread. - *
- * - * @param primaryStage the primary stage for this application, onto which the application scene - * can be set. Applications may create other stages, if needed, but they will - * not be primary stages. - * @throws Exception if something goes wrong - */ - @Override - public void start(Stage primaryStage) throws Exception { - - } - - public static void main(String[] args){ - - } -} diff --git a/src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/chat/ChatController.java b/src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/chat/ChatController.java deleted file mode 100644 index 97fb8a1..0000000 --- a/src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/chat/ChatController.java +++ /dev/null @@ -1,7 +0,0 @@ -package ch.unibas.dmi.dbis.cs108.multiplayer.client.gui.chat; - -public class ChatController { - - public void setChatView(){}; - -} diff --git a/src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/chat/ChatMsg.java b/src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/chat/ChatMsg.java deleted file mode 100644 index 69954a1..0000000 --- a/src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/chat/ChatMsg.java +++ /dev/null @@ -1,7 +0,0 @@ -package ch.unibas.dmi.dbis.cs108.multiplayer.client.gui.chat; - -public interface ChatMsg { - - public String display(String msg); - -} diff --git a/src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/chat/ChatObserver.java b/src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/chat/ChatObserver.java deleted file mode 100644 index c89cde3..0000000 --- a/src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/chat/ChatObserver.java +++ /dev/null @@ -1,5 +0,0 @@ -package ch.unibas.dmi.dbis.cs108.multiplayer.client.gui.chat; - -public interface ChatObserver { - -} diff --git a/src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/chat/ChatTargetToggle.java b/src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/chat/ChatTargetToggle.java deleted file mode 100644 index d7606f8..0000000 --- a/src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/chat/ChatTargetToggle.java +++ /dev/null @@ -1,81 +0,0 @@ -package ch.unibas.dmi.dbis.cs108.multiplayer.client.gui.chat; - -import javafx.beans.property.BooleanProperty; -import javafx.beans.property.ObjectProperty; -import javafx.beans.property.Property; -import javafx.collections.ObservableMap; -import javafx.scene.Node; -import javafx.scene.control.Button; -import javafx.scene.control.RadioButton; -import javafx.scene.control.Toggle; -import javafx.scene.control.ToggleGroup; - -/** - * If this is toggled than the client chat is operating in whisper mode. - */ - -public abstract class ChatTargetToggle extends Node implements Toggle{ - - BooleanProperty isToggled; - ObjectProperty- * Note that JavaFX has all the bind calls implemented through weak listeners. This means the - * bound property can be garbage collected and stopped from being updated. - * - * @param observable The observable this {@code Property} should be bound to. - * @throws NullPointerException if {@code observable} is {@code null} - */ - @Override - public void bind(ObservableValue observable) { - - } - - /** - * Remove the unidirectional binding for this {@code Property}. - *
- * If the {@code Property} is not bound, calling this method has no effect. - * - * @see #bind(ObservableValue) - */ - @Override - public void unbind() { - - } - - /** - * Can be used to check, if a {@code Property} is bound. - * - * @return {@code true} if the {@code Property} is bound, {@code false} otherwise - * @see #bind(ObservableValue) - */ - @Override - public boolean isBound() { - return false; - } - - /** - * Create a bidirectional binding between this {@code Property} and another one. Bidirectional - * bindings exists independently of unidirectional bindings. So it is possible to add - * unidirectional binding to a property with bidirectional binding and vice-versa. However, this - * practice is discouraged. - *
- * It is possible to have multiple bidirectional bindings of one Property. - *
- * JavaFX bidirectional binding implementation use weak listeners. This means bidirectional - * binding does not prevent properties from being garbage collected. - * - * @param other the other {@code Property} - * @throws NullPointerException if {@code other} is {@code null} - * @throws IllegalArgumentException if {@code other} is {@code this} - */ - @Override - public void bindBidirectional(Property other) { - - } - - /** - * Remove a bidirectional binding between this {@code Property} and another one. - *
- * If no bidirectional binding between the properties exists, calling this method has no effect. - *
- * It is possible to unbind by a call on the second property. This code will work: - * - *
- * - * @param other the other {@code Property} - * @throws NullPointerException if {@code other} is {@code null} - * @throws IllegalArgumentException if {@code other} is {@code this} - */ - @Override - public void unbindBidirectional(Property other) { - - } - - /** - * Returns the {@code Object} that contains this property. If this property is not contained in an - * {@code Object}, {@code null} is returned. - * - * @return the containing {@code Object} or {@code null} - */ - @Override - public Object getBean() { - return null; - } - - /** - * Returns the name of this property. If the property does not have a name, this method returns an - * empty {@code String}. - * - * @return the name or an empty {@code String} - */ - @Override - public String getName() { - return null; - } - - /** - * Adds a {@link ChangeListener} which will be notified whenever the value of the {@code - * ObservableValue} changes. If the same listener is added more than once, then it will be - * notified more than once. That is, no check is made to ensure uniqueness. - *- * property1.bindBirectional(property2); - * property2.unbindBidirectional(property1); - *
- * Note that the same actual {@code ChangeListener} instance may be safely registered for - * different {@code ObservableValues}. - *
- * The {@code ObservableValue} stores a strong reference to the listener which will prevent the - * listener from being garbage collected and may result in a memory leak. It is recommended to - * either unregister a listener by calling {@link #removeListener(ChangeListener) removeListener} - * after use or to use an instance of {@link WeakChangeListener} avoid this situation. - * - * @param listener The listener to register - * @throws NullPointerException if the listener is null - * @see #removeListener(ChangeListener) - */ - @Override - public void addListener(ChangeListener listener) { - - } - - /** - * Removes the given listener from the list of listeners that are notified whenever the value of - * the {@code ObservableValue} changes. - *
- * If the given listener has not been previously registered (i.e. it was never added) then this - * method call is a no-op. If it had been previously added then it will be removed. If it had been - * added more than once, then only the first occurrence will be removed. - * - * @param listener The listener to remove - * @throws NullPointerException if the listener is null - * @see #addListener(ChangeListener) - */ - @Override - public void removeListener(ChangeListener listener) { - - } - - /** - * Returns the current value of this {@code ObservableValue} - * - * @return The current value - */ - @Override - public String getValue() { - return this.incomingChatMsg; - } - - /** - * Set the wrapped value. - * - * @param value The new value - */ - @Override - public void setValue(Object value) { - this.incomingChatMsg = (String) value; - } - - /** - * Adds an {@link InvalidationListener} which will be notified whenever the {@code Observable} - * becomes invalid. If the same listener is added more than once, then it will be notified more - * than once. That is, no check is made to ensure uniqueness. - *
- * Note that the same actual {@code InvalidationListener} instance may be safely registered for - * different {@code Observables}. - *
- * The {@code Observable} stores a strong reference to the listener which will prevent the - * listener from being garbage collected and may result in a memory leak. It is recommended to - * either unregister a listener by calling {@link #removeListener(InvalidationListener) - * removeListener} after use or to use an instance of {@link WeakInvalidationListener} avoid this - * situation. - * - * @param listener The listener to register - * @throws NullPointerException if the listener is null - * @see #removeListener(InvalidationListener) - */ - @Override - public void addListener(InvalidationListener listener) { - - } - - /** - * Removes the given listener from the list of listeners, that are notified whenever the value of - * the {@code Observable} becomes invalid. - *
- * If the given listener has not been previously registered (i.e. it was never added) then this
- * method call is a no-op. If it had been previously added then it will be removed. If it had been
- * added more than once, then only the first occurrence will be removed.
- *
- * @param listener The listener to remove
- * @throws NullPointerException if the listener is null
- * @see #addListener(InvalidationListener)
- */
- @Override
- public void removeListener(InvalidationListener listener) {
-
- }
-}
diff --git a/src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/chat/NodeWithChildren.java b/src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/chat/NodeWithChildren.java
deleted file mode 100644
index 709c193..0000000
--- a/src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/chat/NodeWithChildren.java
+++ /dev/null
@@ -1,17 +0,0 @@
-package ch.unibas.dmi.dbis.cs108.multiplayer.client.gui.chat;
-
-import javafx.scene.Node;
-
-/**
- * Any class that represents a JavaFX node and has children should implement this interface
- */
-public interface NodeWithChildren {
-
- void create();
-
- public default Node getChildren() {
- return null;
- }
-
- void createNodeHierarchy();
-}
diff --git a/src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/chat/OutChatObserver.java b/src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/chat/OutChatObserver.java
deleted file mode 100644
index aa93e98..0000000
--- a/src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/chat/OutChatObserver.java
+++ /dev/null
@@ -1,5 +0,0 @@
-package ch.unibas.dmi.dbis.cs108.multiplayer.client.gui.chat;
-
-public interface OutChatObserver {
-
-}
diff --git a/src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/chat/OutMsgTargetChooserNode.java b/src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/chat/OutMsgTargetChooserNode.java
deleted file mode 100644
index 0a54cbc..0000000
--- a/src/main/java/ch/unibas/dmi/dbis/cs108/multiplayer/client/gui/chat/OutMsgTargetChooserNode.java
+++ /dev/null
@@ -1,32 +0,0 @@
-package ch.unibas.dmi.dbis.cs108.multiplayer.client.gui.chat;
-
-import javafx.collections.ObservableList;
-import javafx.scene.Node;
-import javafx.scene.control.Toggle;
-import javafx.scene.control.ToggleGroup;
-import javafx.scene.layout.HBox;
-import javafx.scene.layout.Pane;
-
-public class OutMsgTargetChooserNode extends ToggleGroup implements NodeWithChildren {
-
- private Pane root;
- private ObservableList