summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-10-29 17:39:31 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-10-29 17:39:31 +0100
commitb8edcfe686b058796d7e77e96784145efc7112a4 (patch)
treeedd1b8a00b8aa188e245453b34bc4a0c55291abb /core/src/ch
parenta3ec9e5ff30ff657597b2c746733fc0ac97fc805 (diff)
downloadRustAndDust-b8edcfe686b058796d7e77e96784145efc7112a4.zip
RustAndDust-b8edcfe686b058796d7e77e96784145efc7112a4.tar.gz
Tile: constructor without params set empty stack
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/rustanddust/engine/Tile.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/rustanddust/engine/Tile.java b/core/src/ch/asynk/rustanddust/engine/Tile.java
index f44e763..ae6e3b8 100644
--- a/core/src/ch/asynk/rustanddust/engine/Tile.java
+++ b/core/src/ch/asynk/rustanddust/engine/Tile.java
@@ -42,6 +42,7 @@ public abstract class Tile implements Drawable, Disposable, Iterable<Pawn>
{
this.col = col;
this.row = row;
+ this.stack = new ArrayDeque<Pawn>();
}
public Tile(float x, float y, int col, int row, TextureAtlas atlas)