summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-11-26 22:19:10 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-11-26 22:19:10 +0100
commitc5989f21d7aa7dee12fdedb359230523a16b227e (patch)
treeb1bad0f4f2b5c1534885bc20f1478689941a16f5 /core/src
parent4e6edb3c298e27a9aa24f793b1a2dc4e8146a161 (diff)
downloadRustAndDust-c5989f21d7aa7dee12fdedb359230523a16b227e.zip
RustAndDust-c5989f21d7aa7dee12fdedb359230523a16b227e.tar.gz
Hud: add boolean dialogOn()
Diffstat (limited to 'core/src')
-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)