summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/tankontank/game/Hud.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Hud.java b/core/src/ch/asynk/tankontank/game/Hud.java
index a12fd14..9e680cb 100644
--- a/core/src/ch/asynk/tankontank/game/Hud.java
+++ b/core/src/ch/asynk/tankontank/game/Hud.java
@@ -219,6 +219,11 @@ public class Hud implements Disposable
dialogAction = DialogAction.NONE;
}
+ public boolean dialogOn()
+ {
+ return (dialogAction != DialogAction.NONE);
+ }
+
private void setDialogAction(DialogAction action)
{
if (dialogAction != DialogAction.NONE)