added javadoc

This commit is contained in:
Yvonne Schmidt 2024-12-09 22:38:02 +01:00
parent 8de7499c21
commit 98f453d7f8

View File

@ -136,6 +136,11 @@ 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) { private void setupSpacer(Container container) {
Container spacer = container.addChild(new Container()); Container spacer = container.addChild(new Container());
spacer.setPreferredSize(new Vector3f(20, 10, 0)); spacer.setPreferredSize(new Vector3f(20, 10, 0));