mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2025-07-31 06:37:39 +02:00
java doc
This commit is contained in:
@@ -192,6 +192,11 @@ public class DialogManager {
|
||||
dialogStack.peek().escape();
|
||||
}
|
||||
|
||||
/**
|
||||
* Updates all dialogs in the dialog stack.
|
||||
*
|
||||
* @param delta the time since the last update
|
||||
*/
|
||||
public void update(float delta) {
|
||||
for (Dialog dialog : dialogStack)
|
||||
dialog.update(delta);
|
||||
|
@@ -1,5 +1,10 @@
|
||||
package pp.dialog;
|
||||
|
||||
/** An interface for tagging Dialogs as PopUps for handling in the DialogManager */
|
||||
public interface PopupDialog {
|
||||
|
||||
/**
|
||||
* Shows the popup.
|
||||
*/
|
||||
void show();
|
||||
}
|
||||
|
Reference in New Issue
Block a user