mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-08-01 06:54:11 +02:00
Compare commits
3 Commits
demo
...
249110f83c
Author | SHA1 | Date | |
---|---|---|---|
|
249110f83c | ||
|
a686671c15 | ||
|
e102d22f14 |
@@ -325,6 +325,7 @@ public class LobbyMenu extends Dialog {
|
||||
figure = selector.getSelectedItem();
|
||||
break;
|
||||
}
|
||||
System.out.println("FIGUR:::::"+figure);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -83,14 +83,14 @@ public class EventCardPopup extends Dialog {
|
||||
eventCardContainer.setLocalTranslation(
|
||||
(app.getCamera().getWidth() - eventCardContainer.getPreferredSize().x) / 2,
|
||||
(app.getCamera().getHeight() + eventCardContainer.getPreferredSize().y) / 2,
|
||||
8
|
||||
10
|
||||
);
|
||||
|
||||
// Zentriere das Popup
|
||||
backgroundContainer.setLocalTranslation(
|
||||
(app.getCamera().getWidth() - eventCardContainer.getPreferredSize().x - padding) / 2,
|
||||
(app.getCamera().getHeight() + eventCardContainer.getPreferredSize().y+ padding) / 2,
|
||||
7
|
||||
9
|
||||
);
|
||||
|
||||
app.getGuiNode().attachChild(eventCardContainer);
|
||||
|
Binary file not shown.
Before Width: | Height: | Size: 132 KiB After Width: | Height: | Size: 105 KiB |
Reference in New Issue
Block a user