summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-01-11 01:39:07 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-01-11 01:39:07 +0100
commit9dee8da669ff216c7a8137c1e382c6b330fe411d (patch)
treea4258a8604ea1e6874b2565a9d1f99f0989d5ada /core/src
parent398019b3f2756a67cebe3d8f8c880d797d9152cf (diff)
downloadRustAndDust-9dee8da669ff216c7a8137c1e382c6b330fe411d.zip
RustAndDust-9dee8da669ff216c7a8137c1e382c6b330fe411d.tar.gz
Board: tilesToDraw init capacity is 20
Diffstat (limited to 'core/src')
-rw-r--r--core/src/ch/asynk/rustanddust/engine/Board.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/engine/Board.java b/core/src/ch/asynk/rustanddust/engine/Board.java
index 740d71b..3bf909e 100644
--- a/core/src/ch/asynk/rustanddust/engine/Board.java
+++ b/core/src/ch/asynk/rustanddust/engine/Board.java
@@ -61,7 +61,7 @@ public abstract class Board implements Disposable, Animation
private int animationCount = 0;
private final ArrayListIt<Animation> animations = new ArrayListIt<Animation>(10);
private final ArrayListIt<Animation> nextAnimations = new ArrayListIt<Animation>(10);
- private final ArrayListIt<Tile> tilesToDraw = new ArrayListIt<Tile>();
+ private final ArrayListIt<Tile> tilesToDraw = new ArrayListIt<Tile>(20);
protected SelectedTile selectedTile;