summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/tankontank')
-rw-r--r--core/src/ch/asynk/tankontank/engine/gfx/StackedImages.java9
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++)