diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-10-29 17:39:31 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-10-29 17:39:31 +0100 |
commit | b8edcfe686b058796d7e77e96784145efc7112a4 (patch) | |
tree | edd1b8a00b8aa188e245453b34bc4a0c55291abb /core/src/ch/asynk/rustanddust | |
parent | a3ec9e5ff30ff657597b2c746733fc0ac97fc805 (diff) | |
download | RustAndDust-b8edcfe686b058796d7e77e96784145efc7112a4.zip RustAndDust-b8edcfe686b058796d7e77e96784145efc7112a4.tar.gz |
Tile: constructor without params set empty stack
Diffstat (limited to 'core/src/ch/asynk/rustanddust')
-rw-r--r-- | core/src/ch/asynk/rustanddust/engine/Tile.java | 1 |
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) |