mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-01-19 00:06:16 +01:00
Merge branch 'gui' of https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02 into gui
This commit is contained in:
commit
b4c664927b
@ -99,6 +99,7 @@ public class Toolbar extends Dialog implements GameEventListener {
|
|||||||
container.setBackground(background);
|
container.setBackground(background);
|
||||||
|
|
||||||
setupBorders(container);
|
setupBorders(container);
|
||||||
|
setupSpacer(container);
|
||||||
setupPlayerInfoSection(container);
|
setupPlayerInfoSection(container);
|
||||||
setupDiceSection(container);
|
setupDiceSection(container);
|
||||||
setupActionMenu(container);
|
setupActionMenu(container);
|
||||||
@ -135,6 +136,17 @@ public class Toolbar extends Dialog implements GameEventListener {
|
|||||||
app.getGuiNode().attachChild(border);
|
app.getGuiNode().attachChild(border);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Adds a spacer to the specified container.
|
||||||
|
*
|
||||||
|
* @param container the container to which the spacer is added
|
||||||
|
*/
|
||||||
|
private void setupSpacer(Container container) {
|
||||||
|
Container spacer = container.addChild(new Container());
|
||||||
|
spacer.setPreferredSize(new Vector3f(20, 10, 0));
|
||||||
|
spacer.setBackground(null);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up the player information section of the toolbar interface.
|
* Sets up the player information section of the toolbar interface.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user