From d016f323cffabba1046dc76e55c22c8c2adbc9c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 16 Oct 2018 15:04:56 +0200 Subject: AnimationsScreen : follow the white rabbit --- test/src/ch/asynk/gdx/boardgame/test/AnimationsScreen.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/src/ch/asynk/gdx/boardgame/test/AnimationsScreen.java b/test/src/ch/asynk/gdx/boardgame/test/AnimationsScreen.java index fc8f0c1..cb26b5d 100644 --- a/test/src/ch/asynk/gdx/boardgame/test/AnimationsScreen.java +++ b/test/src/ch/asynk/gdx/boardgame/test/AnimationsScreen.java @@ -41,9 +41,9 @@ public class AnimationsScreen extends AbstractScreen cam.zoom(-0.3f); cam.centerOnWorld(); - animations = AnimationSequence.get(10); - animations.add(BounceAnimation.get(panzer, 2f, 3f, -1)); - animations.add(DelayAnimation.get(panzer, 1f)); + animations = AnimationSequence.obtain(10); + animations.add(BounceAnimation.obtain(panzer, 2f, 3f, -1)); + animations.add(DelayAnimation.obtain(panzer, 1f)); } @Override public void dispose() -- cgit v1.1-2-g2b99