public class WarningMessage
extends java.lang.Object
Constructor and Description |
---|
WarningMessage() |
Modifier and Type | Method and Description |
---|---|
void |
create(com.badlogic.gdx.scenes.scene2d.Stage stage) |
static void |
fireWarningWindow(java.lang.String title,
java.lang.String body)
Makes the WarningWindow visible to the user
It adds the actors to the end of actors (so it is on top of everything).
|
static void |
killWarningWindow()
Removes the WarningWindow by removing its actors from the stage.
|
public void create(com.badlogic.gdx.scenes.scene2d.Stage stage)
public static void fireWarningWindow(java.lang.String title, java.lang.String body)
title
- - The title for your window e.g. WARNINGbody
- - The body for your window e.g. You dont have enough gold for this.public static void killWarningWindow()