mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2024-11-25 10:29:43 +01:00
added pictures and popups fixed
This commit is contained in:
parent
8df859bbef
commit
160873e2cc
@ -42,7 +42,7 @@ public class LoserPopUp extends SimpleDialog {
|
|||||||
inputContainer.addChild(new Label("Die nächste Runde wird besser!"));
|
inputContainer.addChild(new Label("Die nächste Runde wird besser!"));
|
||||||
|
|
||||||
Label imageLabel = new Label("");
|
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);
|
Texture texture = hallo.getAssetManager().loadTexture(key);
|
||||||
IconComponent icon = new IconComponent(texture.toString()); // Icon mit Textur erstellen
|
IconComponent icon = new IconComponent(texture.toString()); // Icon mit Textur erstellen
|
||||||
icon.setIconSize(new Vector2f(155f, 120f)); // Skalierung des Bildes
|
icon.setIconSize(new Vector2f(155f, 120f)); // Skalierung des Bildes
|
||||||
|
@ -36,7 +36,7 @@ public class WinnerPopUp extends SimpleDialog {
|
|||||||
inputContainer.addChild(new Label("Du,bist der Monopoly Champion!!!"));
|
inputContainer.addChild(new Label("Du,bist der Monopoly Champion!!!"));
|
||||||
|
|
||||||
Label imageLabel = new Label("");
|
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);
|
Texture texture = appp.getAssetManager().loadTexture(key);
|
||||||
IconComponent icon = new IconComponent(texture.toString()); // Icon mit Textur erstellen
|
IconComponent icon = new IconComponent(texture.toString()); // Icon mit Textur erstellen
|
||||||
icon.setIconSize(new Vector2f(150f, 100f)); // Skalierung des Bildes
|
icon.setIconSize(new Vector2f(150f, 100f)); // Skalierung des Bildes
|
||||||
|
Binary file not shown.
After Width: | Height: | Size: 260 KiB |
Binary file not shown.
After Width: | Height: | Size: 409 KiB |
Loading…
Reference in New Issue
Block a user