diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-21 03:56:11 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-21 03:56:11 +0200 |
commit | bcdc8a5f3d3da465a8c555ee0bc2f606e0bb8502 (patch) | |
tree | a800626a9d96a20d867681b8a4d06ff5b7bae1b7 /core/src | |
parent | 701875199e11bb1e429ee9127eaf907ba5edcd8f (diff) | |
download | RustAndDust-bcdc8a5f3d3da465a8c555ee0bc2f606e0bb8502.zip RustAndDust-bcdc8a5f3d3da465a8c555ee0bc2f606e0bb8502.tar.gz |
rename StackedSpriteNode -> StackedImages
Diffstat (limited to 'core/src')
-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]; |