diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-04 15:44:21 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-04 15:44:21 +0200 |
commit | 8ab894a14f55131c86767b66505eebb40cc936c7 (patch) | |
tree | 12861e5de0994ee97db898cd7cd1adf1a01a3dff /core | |
parent | 5d194a6751b56e40df0b9ef3f9c24e12fbda2920 (diff) | |
download | RustAndDust-8ab894a14f55131c86767b66505eebb40cc936c7.zip RustAndDust-8ab894a14f55131c86767b66505eebb40cc936c7.tar.gz |
StackedImages: implements Disposable
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/gfx/StackedImages.java | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/gfx/StackedImages.java b/core/src/ch/asynk/tankontank/engine/gfx/StackedImages.java index 70d91a9..1397c9d 100644 --- a/core/src/ch/asynk/tankontank/engine/gfx/StackedImages.java +++ b/core/src/ch/asynk/tankontank/engine/gfx/StackedImages.java @@ -1,12 +1,14 @@ package ch.asynk.tankontank.engine.gfx; +import com.badlogic.gdx.utils.Disposable; + import com.badlogic.gdx.graphics.g2d.Sprite; import com.badlogic.gdx.graphics.g2d.Batch; import com.badlogic.gdx.graphics.g2d.TextureAtlas; import com.badlogic.gdx.graphics.glutils.ShapeRenderer; import com.badlogic.gdx.utils.Array; -public class StackedImages implements Drawable +public class StackedImages implements Drawable, Disposable { private boolean enabled[]; private Array<Sprite> sprites; @@ -17,6 +19,11 @@ public class StackedImages implements Drawable this.enabled = new boolean[sprites.size]; } + @Override + public void dispose() + { + } + public void disableAll() { for (int i = 0; i < sprites.size; i++) |