From 944153dd21a33f16dd7f34b4a33e01cfd24f4abb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 27 Nov 2014 00:01:20 +0100 Subject: ShotAnimation: reuse shortShot sound for hit --- core/src/ch/asynk/tankontank/engine/gfx/animations/ShotAnimation.java | 1 + 1 file changed, 1 insertion(+) 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) { -- cgit v1.1-2-g2b99