summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-01-09 12:05:59 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2016-01-09 12:05:59 +0100
commitce0ff796ce1436d41127e170d42558ca1108d8cb (patch)
treeaecbb627b9fb5be5495efcf6c098813e3e68cb55 /core/src/ch/asynk
parent4fe5a7761389729888da1a01c94894e026f24751 (diff)
downloadRustAndDust-ce0ff796ce1436d41127e170d42558ca1108d8cb.zip
RustAndDust-ce0ff796ce1436d41127e170d42558ca1108d8cb.tar.gz
Board: set initial size of animations to 10
Diffstat (limited to 'core/src/ch/asynk')
-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 792dad0..98d0149 100644
--- a/core/src/ch/asynk/rustanddust/engine/Board.java
+++ b/core/src/ch/asynk/rustanddust/engine/Board.java
@@ -60,7 +60,7 @@ public abstract class Board implements Disposable, Animation
private int tileCount = 0;
private int pawnCount = 0;
private int animationCount = 0;
- private final ArrayListIt<Animation> animations = new ArrayListIt<Animation>(2);
+ private final ArrayListIt<Animation> animations = new ArrayListIt<Animation>(10);
private final ArrayListIt<Animation> nextAnimations = new ArrayListIt<Animation>(10);
private final LinkedHashSet<Tile> tilesToDraw = new LinkedHashSet<Tile>();