summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-29 16:16:35 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-29 16:16:35 +0100
commit0dcfb59d471d7c1ef5767c546983fe68b963ee62 (patch)
tree32c2599d6c3282786c34bf0b40ec1cc98cb66e0b /core/src/ch
parent3b884ce29f926039463bb7194fa3c8193ca881bb (diff)
downloadRustAndDust-0dcfb59d471d7c1ef5767c546983fe68b963ee62.zip
RustAndDust-0dcfb59d471d7c1ef5767c546983fe68b963ee62.tar.gz
add sounds attack.mp3 and move.mp3
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/tankontank/TankOnTank.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/TankOnTank.java b/core/src/ch/asynk/tankontank/TankOnTank.java
index e9ec02b..904a139 100644
--- a/core/src/ch/asynk/tankontank/TankOnTank.java
+++ b/core/src/ch/asynk/tankontank/TankOnTank.java
@@ -3,6 +3,7 @@ package ch.asynk.tankontank;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Game;
import com.badlogic.gdx.assets.AssetManager;
+import com.badlogic.gdx.audio.Sound;
import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.graphics.g2d.TextureAtlas;
import com.badlogic.gdx.scenes.scene2d.ui.Skin;
@@ -45,6 +46,8 @@ public class TankOnTank extends Game
manager.load("data/tile-overlays.atlas", TextureAtlas.class);
manager.load("data/explosion.png", Texture.class);
manager.load("data/explosions.png", Texture.class);
+ manager.load("sounds/move.mp3", Sound.class);
+ manager.load("sounds/attack.mp3", Sound.class);
}
public void unloadAssets()
@@ -59,6 +62,8 @@ public class TankOnTank extends Game
manager.unload("data/tile-overlays.atlas");
manager.unload("data/explosion.png");
manager.unload("data/explosions.png");
+ manager.unload("sounds/move.mp3");
+ manager.unload("sounds/attack.mp3");
Gdx.app.debug("TankOnTank", "diagnostics:\n" + manager.getDiagnostics() );
}