mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-08-04 14:19:15 +02:00
First compileable version of Client
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user