First compileable version of Client

This commit is contained in:
Johannes Schmelz
2024-11-13 12:42:37 +00:00
parent 2cc1a338ec
commit 7ee2273761
12 changed files with 270 additions and 43 deletions

View File

@@ -111,7 +111,7 @@ public class DialogManager {
*
* @param dialog the dialog to open
*/
void open(Dialog dialog) {
public void open(Dialog dialog) {
dialogStack.push(dialog);
dialog.update();
app.getGuiNode().attachChild(dialog);
@@ -133,7 +133,7 @@ public class DialogManager {
* @param dialog the dialog to close
* @throws IllegalArgumentException if the specified dialog is not the top dialog
*/
void close(Dialog dialog) {
public void close(Dialog dialog) {
if (!isTop(dialog))
throw new IllegalArgumentException(dialog + " is not the top dialog");
dialogStack.pop();