diff options
-rw-r--r-- | android/assets/data/shots.png | bin | 0 -> 77414 bytes | |||
-rw-r--r-- | android/assets/sounds/shot.mp3 | bin | 0 -> 68962 bytes | |||
-rw-r--r-- | core/src/ch/asynk/tankontank/TankOnTank.java | 4 |
3 files changed, 4 insertions, 0 deletions
diff --git a/android/assets/data/shots.png b/android/assets/data/shots.png Binary files differnew file mode 100644 index 0000000..3d3c826 --- /dev/null +++ b/android/assets/data/shots.png diff --git a/android/assets/sounds/shot.mp3 b/android/assets/sounds/shot.mp3 Binary files differnew file mode 100644 index 0000000..ce3257f --- /dev/null +++ b/android/assets/sounds/shot.mp3 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() ); } |