public class Dialog
extends java.lang.Object
Constructor and Description |
---|
Dialog() |
Modifier and Type | Method and Description |
---|---|
static void |
showDefaultDialog(com.badlogic.gdx.scenes.scene2d.Stage stage,
java.lang.String title,
java.lang.String text)
Shows the default OK dialog
|
static void |
showErrorDialog(com.badlogic.gdx.scenes.scene2d.Stage stage,
java.lang.String title,
java.lang.Exception e)
Shows the error dialog
|
public static void showDefaultDialog(com.badlogic.gdx.scenes.scene2d.Stage stage, java.lang.String title, java.lang.String text)
stage
- stage to showtitle
- the titletext
- the textpublic static void showErrorDialog(com.badlogic.gdx.scenes.scene2d.Stage stage, java.lang.String title, java.lang.Exception e)
stage
- stage to showtitle
- the titlee
- the exception that was thrown