diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-31 19:53:23 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2016-03-31 19:53:23 +0200 |
commit | 0d0eef8091803608cf6f9d12d194d5b1c7de334f (patch) | |
tree | 784673e6ba6c9c85e2d3498b6f10cd42a8909843 /core/src/ch/asynk | |
parent | 9e05554fc2356e4e91874f75e9b7dc9603ab8d08 (diff) | |
download | RustAndDust-0d0eef8091803608cf6f9d12d194d5b1c7de334f.zip RustAndDust-0d0eef8091803608cf6f9d12d194d5b1c7de334f.tar.gz |
Board: animationsOver() -> animationsDone()
Diffstat (limited to 'core/src/ch/asynk')
-rw-r--r-- | core/src/ch/asynk/rustanddust/engine/Board.java | 4 | ||||
-rw-r--r-- | core/src/ch/asynk/rustanddust/game/map/Map3Animations.java | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/src/ch/asynk/rustanddust/engine/Board.java b/core/src/ch/asynk/rustanddust/engine/Board.java index 2da88be..5db34e3 100644 --- a/core/src/ch/asynk/rustanddust/engine/Board.java +++ b/core/src/ch/asynk/rustanddust/engine/Board.java @@ -221,7 +221,7 @@ public abstract class Board implements Disposable, Animation return t; } - protected abstract void animationsOver(); + protected abstract void animationsDone(); protected void addAnimation(Animation a) { @@ -263,7 +263,7 @@ public abstract class Board implements Disposable, Animation } } if (over && (animations.size() == 0)) - animationsOver(); + animationsDone(); for (Animation a : nextAnimations) animations.add(a); diff --git a/core/src/ch/asynk/rustanddust/game/map/Map3Animations.java b/core/src/ch/asynk/rustanddust/game/map/Map3Animations.java index 522e347..c97d332 100644 --- a/core/src/ch/asynk/rustanddust/game/map/Map3Animations.java +++ b/core/src/ch/asynk/rustanddust/game/map/Map3Animations.java @@ -135,7 +135,7 @@ public abstract class Map3Animations extends Map2Moves implements MoveToAnimatio } @Override - protected void animationsOver() + protected void animationsDone() { if (soundId >= 0) { addAnimation( SoundAnimation.get(SoundAnimation.Action.FADE_OUT, sound, soundId, game.config.fxVolume, 0.5f)); |