mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-08-03 16:07:08 +02:00
automaticyally set player name as 'Spieler'+ id+1
This commit is contained in:
@@ -39,7 +39,7 @@ public class LobbyMenu extends Dialog {
|
||||
private Container lowerLeftMenu;
|
||||
private Container lowerRightMenu;
|
||||
|
||||
private TextField playerInputField = new TextField("Spieler 1");
|
||||
private TextField playerInputField;
|
||||
private TextField startingCapital = new TextField("15000");
|
||||
private String figure;
|
||||
|
||||
@@ -47,6 +47,7 @@ public class LobbyMenu extends Dialog {
|
||||
super(app.getDialogManager());
|
||||
this.app = app;
|
||||
|
||||
playerInputField = new TextField("Spieler "+app.getId()+1);
|
||||
// Hintergrundbild laden und hinzufügen
|
||||
addBackgroundImage();
|
||||
|
||||
|
Reference in New Issue
Block a user