From b8edcfe686b058796d7e77e96784145efc7112a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 29 Oct 2015 17:39:31 +0100 Subject: Tile: constructor without params set empty stack --- core/src/ch/asynk/rustanddust/engine/Tile.java | 1 + 1 file changed, 1 insertion(+) 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 { this.col = col; this.row = row; + this.stack = new ArrayDeque(); } public Tile(float x, float y, int col, int row, TextureAtlas atlas) -- cgit v1.1-2-g2b99