diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-24 23:55:28 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-24 23:55:28 +0200 |
commit | b918156a9760a440b7eb2721a2ec43e854edce51 (patch) | |
tree | 4b2a4f85a28a634aae44311a52316391800acb8d /core/src/ch/asynk/tankontank/engine/gfx | |
parent | e8a50d3fda9132df94b988494d0153ba5f17a9b1 (diff) | |
download | RustAndDust-b918156a9760a440b7eb2721a2ec43e854edce51.zip RustAndDust-b918156a9760a440b7eb2721a2ec43e854edce51.tar.gz |
draw(Batch batch, float parentAlpha) -> draw(batch)
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); } } |