summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-29 16:21:13 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-29 16:21:24 +0100
commit6bde22600fcb56e8e3284b686a6d90950413cced (patch)
tree724254fc4ce96c97098741a939f81cc2fa5a6034 /core
parent6741fbd51a2aafa0ba69e2ef877441b91c39969a (diff)
downloadRustAndDust-6bde22600fcb56e8e3284b686a6d90950413cced.zip
RustAndDust-6bde22600fcb56e8e3284b686a6d90950413cced.tar.gz
Map: dispose of SpriteAnimations and sounds
Diffstat (limited to 'core')
-rw-r--r--core/src/ch/asynk/tankontank/game/Map.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/ch/asynk/tankontank/game/Map.java b/core/src/ch/asynk/tankontank/game/Map.java
index 19d7c47..cf48870 100644
--- a/core/src/ch/asynk/tankontank/game/Map.java
+++ b/core/src/ch/asynk/tankontank/game/Map.java
@@ -67,6 +67,10 @@ public abstract class Map extends Board
{
super.dispose();
clearAll();
+ explosion.dispose();
+ explosions.dispose();
+ moveSound.dispose();
+ attackSound.dispose();
}
public void clearAll()