summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/engine/gfx
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-09-24 23:51:14 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-09-24 23:51:14 +0200
commite8a50d3fda9132df94b988494d0153ba5f17a9b1 (patch)
tree7f798219ccb08b991595fedd41b5b432056b5e83 /core/src/ch/asynk/tankontank/engine/gfx
parent86e4d41860b7aaeb37244fb09ccf07a2c2832627 (diff)
downloadRustAndDust-e8a50d3fda9132df94b988494d0153ba5f17a9b1.zip
RustAndDust-e8a50d3fda9132df94b988494d0153ba5f17a9b1.tar.gz
translate params are dx, dy
Diffstat (limited to 'core/src/ch/asynk/tankontank/engine/gfx')
-rw-r--r--core/src/ch/asynk/tankontank/engine/gfx/StackedImages.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/gfx/StackedImages.java b/core/src/ch/asynk/tankontank/engine/gfx/StackedImages.java
index 70d30b8..dc4e517 100644
--- a/core/src/ch/asynk/tankontank/engine/gfx/StackedImages.java
+++ b/core/src/ch/asynk/tankontank/engine/gfx/StackedImages.java
@@ -36,10 +36,10 @@ public class StackedImages implements BasicDrawable
}
@Override
- public void translate(float x, float y)
+ public void translate(float dx, float dy)
{
for (int i = 0; i < sprites.size; i++) {
- sprites.get(i).translate(x, y);
+ sprites.get(i).translate(dx, dy);
}
}