diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-11 01:39:07 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-11 01:39:07 +0100 |
commit | 9dee8da669ff216c7a8137c1e382c6b330fe411d (patch) | |
tree | a4258a8604ea1e6874b2565a9d1f99f0989d5ada /core/src/ch | |
parent | 398019b3f2756a67cebe3d8f8c880d797d9152cf (diff) | |
download | RustAndDust-9dee8da669ff216c7a8137c1e382c6b330fe411d.zip RustAndDust-9dee8da669ff216c7a8137c1e382c6b330fe411d.tar.gz |
Board: tilesToDraw init capacity is 20
Diffstat (limited to 'core/src/ch')
-rw-r--r-- | core/src/ch/asynk/rustanddust/engine/Board.java | 2 |
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; |