diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-29 16:21:13 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-29 16:21:24 +0100 |
commit | 6bde22600fcb56e8e3284b686a6d90950413cced (patch) | |
tree | 724254fc4ce96c97098741a939f81cc2fa5a6034 /core/src/ch | |
parent | 6741fbd51a2aafa0ba69e2ef877441b91c39969a (diff) | |
download | RustAndDust-6bde22600fcb56e8e3284b686a6d90950413cced.zip RustAndDust-6bde22600fcb56e8e3284b686a6d90950413cced.tar.gz |
Map: dispose of SpriteAnimations and sounds
Diffstat (limited to 'core/src/ch')
-rw-r--r-- | core/src/ch/asynk/tankontank/game/Map.java | 4 |
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() |