diff options
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/TileOverlays.java | 6 | ||||
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/gfx/StackedImages.java (renamed from core/src/ch/asynk/tankontank/engine/gfx/StackedSpriteNode.java) | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/TileOverlays.java b/core/src/ch/asynk/tankontank/engine/TileOverlays.java index 8b2f750..48d755d 100644 --- a/core/src/ch/asynk/tankontank/engine/TileOverlays.java +++ b/core/src/ch/asynk/tankontank/engine/TileOverlays.java @@ -7,17 +7,17 @@ import com.badlogic.gdx.graphics.g2d.Batch; import com.badlogic.gdx.graphics.g2d.TextureAtlas; import com.badlogic.gdx.graphics.glutils.ShapeRenderer; -import ch.asynk.tankontank.engine.gfx.StackedSpriteNode; +import ch.asynk.tankontank.engine.gfx.StackedImages; public abstract class TileOverlays implements Tile { - private StackedSpriteNode overlays; + private StackedImages overlays; private ArrayDeque<Pawn> stack; public TileOverlays(TextureAtlas atlas) { this.stack = null; - this.overlays = new StackedSpriteNode(atlas); + this.overlays = new StackedImages(atlas); } @Override diff --git a/core/src/ch/asynk/tankontank/engine/gfx/StackedSpriteNode.java b/core/src/ch/asynk/tankontank/engine/gfx/StackedImages.java index 39baeca..8e450ad 100644 --- a/core/src/ch/asynk/tankontank/engine/gfx/StackedSpriteNode.java +++ b/core/src/ch/asynk/tankontank/engine/gfx/StackedImages.java @@ -6,12 +6,12 @@ import com.badlogic.gdx.graphics.g2d.TextureAtlas; import com.badlogic.gdx.graphics.glutils.ShapeRenderer; import com.badlogic.gdx.utils.Array; -public class StackedSpriteNode implements BasicDrawable +public class StackedImages implements BasicDrawable { private boolean enabled[]; private Array<Sprite> sprites; - public StackedSpriteNode(TextureAtlas atlas) + public StackedImages(TextureAtlas atlas) { this.sprites = atlas.createSprites(); this.enabled = new boolean[sprites.size]; |