summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/rustanddust/game/map
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2016-03-31 20:07:59 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2016-03-31 20:07:59 +0200
commit6a9742d7c8b89c8eebb91cad62395db0fc1dc0b3 (patch)
tree7d054a91eb790cf088e9f424a9f31e6f50ee76c9 /core/src/ch/asynk/rustanddust/game/map
parent9973b36d07fc778dcd78eaa151c8383f14aef536 (diff)
downloadRustAndDust-6a9742d7c8b89c8eebb91cad62395db0fc1dc0b3.zip
RustAndDust-6a9742d7c8b89c8eebb91cad62395db0fc1dc0b3.tar.gz
Ctrl: postAnimationsDone() -> postEvent(EventType)
Diffstat (limited to 'core/src/ch/asynk/rustanddust/game/map')
-rw-r--r--core/src/ch/asynk/rustanddust/game/map/Map3Animations.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/src/ch/asynk/rustanddust/game/map/Map3Animations.java b/core/src/ch/asynk/rustanddust/game/map/Map3Animations.java
index d6614f1..eba741b 100644
--- a/core/src/ch/asynk/rustanddust/game/map/Map3Animations.java
+++ b/core/src/ch/asynk/rustanddust/game/map/Map3Animations.java
@@ -21,6 +21,7 @@ import ch.asynk.rustanddust.game.Hex;
import ch.asynk.rustanddust.game.Unit;
import ch.asynk.rustanddust.game.Army;
import ch.asynk.rustanddust.game.Player;
+import ch.asynk.rustanddust.game.Ctrl.EventType;
public abstract class Map3Animations extends Map2Moves implements MoveToAnimationCb
{
@@ -141,6 +142,6 @@ public abstract class Map3Animations extends Map2Moves implements MoveToAnimatio
addAnimation( SoundAnimation.get(SoundAnimation.Action.FADE_OUT, sound, soundId, game.config.fxVolume, 0.5f));
soundId = -1;
} else
- game.ctrl.postAnimationsDone();
+ game.ctrl.postEvent(EventType.ANIMATIONS_DONE);
}
}