diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/LoserPopUp.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/LoserPopUp.java index b7bd7da..6a73724 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/LoserPopUp.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/LoserPopUp.java @@ -42,7 +42,7 @@ public class LoserPopUp extends SimpleDialog { inputContainer.addChild(new Label("Die nächste Runde wird besser!")); Label imageLabel = new Label(""); - TextureKey key = new TextureKey("Textures//Users/taminom/Library/Mobile Documents/com~apple~CloudDocs/Dokumente/Programming/ProgProj/MonopolyLoser", true); + TextureKey key = new TextureKey("Pictures/MonopolyLoser.png", true); Texture texture = hallo.getAssetManager().loadTexture(key); IconComponent icon = new IconComponent(texture.toString()); // Icon mit Textur erstellen icon.setIconSize(new Vector2f(155f, 120f)); // Skalierung des Bildes diff --git a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/WinnerPopUp.java b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/WinnerPopUp.java index 6d69019..e177234 100644 --- a/Projekte/monopoly/client/src/main/java/pp/monopoly/client/WinnerPopUp.java +++ b/Projekte/monopoly/client/src/main/java/pp/monopoly/client/WinnerPopUp.java @@ -36,7 +36,7 @@ public class WinnerPopUp extends SimpleDialog { inputContainer.addChild(new Label("Du,bist der Monopoly Champion!!!")); Label imageLabel = new Label(""); - TextureKey key = new TextureKey("Textures/Users/taminom/Library/Mobile Documents/com~apple~CloudDocs/Dokumente/Programming/ProgProj/MonopolyWinner", true); + TextureKey key = new TextureKey("Pictures/MonopolyWinner.png", true); Texture texture = appp.getAssetManager().loadTexture(key); IconComponent icon = new IconComponent(texture.toString()); // Icon mit Textur erstellen icon.setIconSize(new Vector2f(150f, 100f)); // Skalierung des Bildes diff --git a/Projekte/monopoly/client/src/main/resources/Pictures/MonopolyLoser.png b/Projekte/monopoly/client/src/main/resources/Pictures/MonopolyLoser.png new file mode 100644 index 0000000..2de2fa1 Binary files /dev/null and b/Projekte/monopoly/client/src/main/resources/Pictures/MonopolyLoser.png differ diff --git a/Projekte/monopoly/client/src/main/resources/Pictures/MonopolyWinner.png b/Projekte/monopoly/client/src/main/resources/Pictures/MonopolyWinner.png new file mode 100644 index 0000000..1566809 Binary files /dev/null and b/Projekte/monopoly/client/src/main/resources/Pictures/MonopolyWinner.png differ