diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2018-10-16 15:04:56 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2018-10-16 15:04:56 +0200 |
commit | d016f323cffabba1046dc76e55c22c8c2adbc9c2 (patch) | |
tree | b73f1255aebb12db55cfad9dcab7a85119beee1c /test/src | |
parent | 92c090f18da3ab23ce5b3356764fcb64f1b8a3ca (diff) | |
download | gdx-boardgame-d016f323cffabba1046dc76e55c22c8c2adbc9c2.zip gdx-boardgame-d016f323cffabba1046dc76e55c22c8c2adbc9c2.tar.gz |
AnimationsScreen : follow the white rabbit
Diffstat (limited to 'test/src')
-rw-r--r-- | test/src/ch/asynk/gdx/boardgame/test/AnimationsScreen.java | 6 |
1 files 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() |