diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-26 22:19:10 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-26 22:19:10 +0100 |
commit | c5989f21d7aa7dee12fdedb359230523a16b227e (patch) | |
tree | b1bad0f4f2b5c1534885bc20f1478689941a16f5 /core | |
parent | 4e6edb3c298e27a9aa24f793b1a2dc4e8146a161 (diff) | |
download | RustAndDust-c5989f21d7aa7dee12fdedb359230523a16b227e.zip RustAndDust-c5989f21d7aa7dee12fdedb359230523a16b227e.tar.gz |
Hud: add boolean dialogOn()
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Hud.java | 5 |
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) |