diff options
Diffstat (limited to 'core/src/ch/asynk/tankontank/engine/gfx')
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/gfx/BasicDrawable.java | 2 | ||||
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/gfx/StackedImages.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/gfx/BasicDrawable.java b/core/src/ch/asynk/tankontank/engine/gfx/BasicDrawable.java index 776ac22..2e9b3a4 100644 --- a/core/src/ch/asynk/tankontank/engine/gfx/BasicDrawable.java +++ b/core/src/ch/asynk/tankontank/engine/gfx/BasicDrawable.java @@ -9,7 +9,7 @@ public interface BasicDrawable public void setPosition(float x, float y, float r); - public void draw(Batch batch, float parentAlpha); + public void draw(Batch batch); public void drawDebug(ShapeRenderer debugShapes); } diff --git a/core/src/ch/asynk/tankontank/engine/gfx/StackedImages.java b/core/src/ch/asynk/tankontank/engine/gfx/StackedImages.java index dc4e517..528786e 100644 --- a/core/src/ch/asynk/tankontank/engine/gfx/StackedImages.java +++ b/core/src/ch/asynk/tankontank/engine/gfx/StackedImages.java @@ -53,11 +53,11 @@ public class StackedImages implements BasicDrawable } @Override - public void draw(Batch batch, float parentAlpha) + public void draw(Batch batch) { for (int i = 0; i < sprites.size; i++) { if (enabled[i]) - sprites.get(i).draw(batch, parentAlpha); + sprites.get(i).draw(batch); } } |