diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-09 12:05:59 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-01-09 12:05:59 +0100 |
commit | ce0ff796ce1436d41127e170d42558ca1108d8cb (patch) | |
tree | aecbb627b9fb5be5495efcf6c098813e3e68cb55 /core/src | |
parent | 4fe5a7761389729888da1a01c94894e026f24751 (diff) | |
download | RustAndDust-ce0ff796ce1436d41127e170d42558ca1108d8cb.zip RustAndDust-ce0ff796ce1436d41127e170d42558ca1108d8cb.tar.gz |
Board: set initial size of animations to 10
Diffstat (limited to 'core/src')
-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 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>(); |