From 9ea06ab37a515cd413974077a6c7c3c71590edb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 18 Oct 2018 11:05:42 +0200 Subject: =?UTF-8?q?AnimationsScre=20:=20use=20MoveAnimation.onTileChange(?= =?UTF-8?q?=E2=80=A6)=20callback?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/src/ch/asynk/gdx/boardgame/test/AnimationsScreen.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/ch/asynk/gdx/boardgame/test/AnimationsScreen.java b/test/src/ch/asynk/gdx/boardgame/test/AnimationsScreen.java index 9c701e3..a675a82 100644 --- a/test/src/ch/asynk/gdx/boardgame/test/AnimationsScreen.java +++ b/test/src/ch/asynk/gdx/boardgame/test/AnimationsScreen.java @@ -47,7 +47,7 @@ public class AnimationsScreen extends AbstractScreen animations = AnimationSequence.obtain(10); animations.add(BounceAnimation.obtain(panzer, 2f, 3f, -1)); animations.add(DelayAnimation.obtain(panzer, 1f)); - animations.add(MoveAnimation.obtain(panzer, buildPath(), 2f)); + animations.add(MoveAnimation.obtain(panzer, buildPath(), 2f, (p,path) -> System.err.println(String.format("%s -> %s", path.from(), path.to())))); animations.add(DelayAnimation.obtain(panzer, 1f)); } -- cgit v1.1-2-g2b99