diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-27 00:01:20 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-11-27 00:01:20 +0100 |
commit | 944153dd21a33f16dd7f34b4a33e01cfd24f4abb (patch) | |
tree | be2d459344e096805f5467bb7b110a71d857188d /core/src/ch | |
parent | 7db960a86c1c1d9ead95188ba86b467bfd56eee4 (diff) | |
download | RustAndDust-944153dd21a33f16dd7f34b4a33e01cfd24f4abb.zip RustAndDust-944153dd21a33f16dd7f34b4a33e01cfd24f4abb.tar.gz |
ShotAnimation: reuse shortShot sound for hit
Diffstat (limited to 'core/src/ch')
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/gfx/animations/ShotAnimation.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/gfx/animations/ShotAnimation.java b/core/src/ch/asynk/tankontank/engine/gfx/animations/ShotAnimation.java index 9879ed9..002ec76 100644 --- a/core/src/ch/asynk/tankontank/engine/gfx/animations/ShotAnimation.java +++ b/core/src/ch/asynk/tankontank/engine/gfx/animations/ShotAnimation.java @@ -214,6 +214,7 @@ public class ShotAnimation implements Disposable, Animation, Pool.Poolable if (!hit) { hit = true; // TODO hit sound + shortShot.play(volume); } if (elapsed < end_time) { |