diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-31 14:44:33 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-31 14:44:33 +0200 |
commit | 38410ab3a01253e53637b345adec0559c331c6e7 (patch) | |
tree | 71984cff99ab3e1087751b60cf88cae337b168ee /core/src/ch/asynk/rustanddust/game | |
parent | 83496d75dd423e60919808ea4bc26ee8c1fd0337 (diff) | |
download | RustAndDust-38410ab3a01253e53637b345adec0559c331c6e7.zip RustAndDust-38410ab3a01253e53637b345adec0559c331c6e7.tar.gz |
Map4Orders: add bounce animation on SET and ENTER orders
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game')
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/map/Map4Orders.java | 2 |
1 files changed, 2 insertions, 0 deletions
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)); |