From 7ae5d3a7de9eada5f73104c32da7c2f67d8b8a27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 26 Nov 2014 16:41:24 +0100 Subject: add shot.mp3 and shots.png --- android/assets/data/shots.png | Bin 0 -> 77414 bytes android/assets/sounds/shot.mp3 | Bin 0 -> 68962 bytes core/src/ch/asynk/tankontank/TankOnTank.java | 4 ++++ 3 files changed, 4 insertions(+) create mode 100644 android/assets/data/shots.png create mode 100644 android/assets/sounds/shot.mp3 diff --git a/android/assets/data/shots.png b/android/assets/data/shots.png new file mode 100644 index 0000000..3d3c826 Binary files /dev/null and b/android/assets/data/shots.png differ diff --git a/android/assets/sounds/shot.mp3 b/android/assets/sounds/shot.mp3 new file mode 100644 index 0000000..ce3257f Binary files /dev/null and b/android/assets/sounds/shot.mp3 differ diff --git a/core/src/ch/asynk/tankontank/TankOnTank.java b/core/src/ch/asynk/tankontank/TankOnTank.java index a80325d..c2a5d38 100644 --- a/core/src/ch/asynk/tankontank/TankOnTank.java +++ b/core/src/ch/asynk/tankontank/TankOnTank.java @@ -55,9 +55,11 @@ public class TankOnTank extends Game manager.load("data/unit-overlays.atlas", TextureAtlas.class); manager.load("data/hex-overlays.atlas", TextureAtlas.class); manager.load("data/explosion.png", Texture.class); + manager.load("data/shots.png", Texture.class); manager.load("data/explosions.png", Texture.class); manager.load("sounds/move.mp3", Sound.class); manager.load("sounds/attack.mp3", Sound.class); + manager.load("sounds/shot.mp3", Sound.class); } public void unloadAssets() @@ -71,9 +73,11 @@ public class TankOnTank extends Game manager.unload("data/unit-overlays.atlas"); manager.unload("data/hex-overlays.atlas"); manager.unload("data/explosion.png"); + manager.unload("data/shots.png"); manager.unload("data/explosions.png"); manager.unload("sounds/move.mp3"); manager.unload("sounds/attack.mp3"); + manager.unload("sounds/shot.mp3"); debug("TankOnTank", "diagnostics:\n" + manager.getDiagnostics() ); } -- cgit v1.1-2-g2b99