summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-02-19 22:26:18 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-02-19 22:26:18 +0100
commit9caf0a7440cab1a6f0b21ec1e224050d9b5502ba (patch)
tree6bf2e403648fb477653ec15ed3776e334a77ef56
parent2c8831a19f8035bd9f882f22938a96563eaf22ca (diff)
downloadRustAndDust-9caf0a7440cab1a6f0b21ec1e224050d9b5502ba.zip
RustAndDust-9caf0a7440cab1a6f0b21ec1e224050d9b5502ba.tar.gz
Tile: stack is protected
-rw-r--r--core/src/ch/asynk/tankontank/engine/Tile.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Tile.java b/core/src/ch/asynk/tankontank/engine/Tile.java
index e776473..5f10fb1 100644
--- a/core/src/ch/asynk/tankontank/engine/Tile.java
+++ b/core/src/ch/asynk/tankontank/engine/Tile.java
@@ -26,7 +26,7 @@ public abstract class Tile implements Drawable, Disposable, Iterable<Pawn>
protected float x;
protected float y;
private StackedImages overlays;
- private ArrayDeque<Pawn> stack;
+ protected ArrayDeque<Pawn> stack;
public abstract int defense();
public abstract int exitCost();