summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-12-20 01:00:09 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-12-20 01:00:09 +0100
commite5ecee141a00ce6fac02b134634d821a4daf44e3 (patch)
tree763f0944cefd9515e37cd23a7c44ba5e0a145ce2
parentbfdcabc73be8b8d4df7207d3ea030091e693a886 (diff)
downloadRustAndDust-e5ecee141a00ce6fac02b134634d821a4daf44e3.zip
RustAndDust-e5ecee141a00ce6fac02b134634d821a4daf44e3.tar.gz
Hud: use ArrayDeque instead of Stack
-rw-r--r--core/src/ch/asynk/rustanddust/game/Hud.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/Hud.java b/core/src/ch/asynk/rustanddust/game/Hud.java
index 1e869f4..f93e5d6 100644
--- a/core/src/ch/asynk/rustanddust/game/Hud.java
+++ b/core/src/ch/asynk/rustanddust/game/Hud.java
@@ -1,6 +1,6 @@
package ch.asynk.rustanddust.game;
-import java.util.Stack;
+import java.util.ArrayDeque;
import com.badlogic.gdx.Gdx;
@@ -44,7 +44,7 @@ public class Hud implements Disposable, Animation
private StatisticsPanel stats;
private EngagementPanel engagement;
private OkCancel okCancel;
- private Stack<Widget> dialogs = new Stack<Widget>();
+ private ArrayDeque<Widget> dialogs = new ArrayDeque<Widget>();
public enum OkCancelAction
{