From 38410ab3a01253e53637b345adec0559c331c6e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 31 Mar 2016 14:44:33 +0200 Subject: Map4Orders: add bounce animation on SET and ENTER orders --- core/src/ch/asynk/rustanddust/game/map/Map4Orders.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java b/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java index b3e8a3d..b0d0b17 100644 --- a/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java +++ b/core/src/ch/asynk/rustanddust/game/map/Map4Orders.java @@ -224,11 +224,13 @@ public abstract class Map4Orders extends Map3Animations setPawnOnto(unit, move); game.ctrl.battle.getPlayer().unitEntry(unit); claim(unit, move.to); + addBounceAnimation(unit, 0.3f); break; case ENTER: enterPawn(unit, move); game.ctrl.battle.getPlayer().unitEntry(unit); claim(unit, move.to); + addBounceAnimation(unit, 0.3f); break; default: RustAndDust.error(String.format("Unhandled Move Type %s", move.type)); -- cgit v1.1-2-g2b99