| Package | Description |
|---|---|
| com.badlogic.gdx.scenes.scene2d | |
| com.badlogic.gdx.scenes.scene2d.ui |
| Modifier and Type | Method and Description |
|---|---|
Stage |
Event.getStage()
The stage for the actor the event was fired on.
|
Stage |
Actor.getStage()
Returns the stage that this actor is currently in, or null if not in a stage.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Event.setStage(Stage stage) |
| Modifier and Type | Method and Description |
|---|---|
Dialog |
Dialog.show(Stage stage)
Centers the dialog in the stage and calls
Dialog.show(Stage, Action) with a Actions.fadeIn(float, Interpolation)
action. |
Dialog |
Dialog.show(Stage stage,
Action action)
Packs the dialog (but doesn't set the position), adds it to the stage, sets it as the keyboard and scroll
focus, clears any actions on the dialog, and adds the specified action to it. |
Copyright © 2021. All rights reserved.