diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-02-19 22:21:53 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-02-19 22:21:53 +0100 |
commit | d065bc534df0b906478110f10448cfcc1dbf28df (patch) | |
tree | 9c7d5622dd4646cd7f3c27c47336c34c7b7f1fef /core/src/ch/asynk/tankontank/game | |
parent | cbe4077b975abbceb508c41b33523e1aafac8594 (diff) | |
download | RustAndDust-d065bc534df0b906478110f10448cfcc1dbf28df.zip RustAndDust-d065bc534df0b906478110f10448cfcc1dbf28df.tar.gz |
PromoteAnimation: is now a bouncing sin
Diffstat (limited to 'core/src/ch/asynk/tankontank/game')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Map.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java index 7d22dd8..b1213f6 100644 --- a/core/src/ch/asynk/tankontank/game/Map.java +++ b/core/src/ch/asynk/tankontank/game/Map.java @@ -311,12 +311,11 @@ public abstract class Map extends Board implements MoveToAnimationCb, ObjectiveS private int promoteUnit(final Unit unit, final Player player) { - // FIXME promoteUnit : ctrl.mapTouch. is not network safe activatedUnits.add(unit); Hex hex = unit.getHex(); AnimationSequence seq = AnimationSequence.get(2); - seq.addAnimation(PromoteAnimation.get((unit.getArmy() == Army.US), ctrl.mapTouch.x, ctrl.mapTouch.y, hex.getX(), hex.getY(), ctrl.cfg.fxVolume)); + seq.addAnimation(PromoteAnimation.get((unit.getArmy() == Army.US), hex.getX(), hex.getY(), ctrl.cfg.fxVolume)); seq.addAnimation ( RunnableAnimation.get(unit, new Runnable() { @Override public void run() { |