diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/Layer.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Layer.java b/core/src/ch/asynk/tankontank/engine/Layer.java index 203c469..d65f630 100644 --- a/core/src/ch/asynk/tankontank/engine/Layer.java +++ b/core/src/ch/asynk/tankontank/engine/Layer.java @@ -67,9 +67,7 @@ public class Layer public void act(float delta) { - Iterator<Animation> iter; - - iter = animations.iterator(); + Iterator<Animation> iter = animations.iterator(); while (iter.hasNext()) { Animation a = iter.next(); Node n = a.getNode(); |