summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/gdx/boardgame/Positionable.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/gdx/boardgame/Positionable.java')
-rw-r--r--core/src/ch/asynk/gdx/boardgame/Positionable.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/Positionable.java b/core/src/ch/asynk/gdx/boardgame/Positionable.java
index d16f5ce..30128ac 100644
--- a/core/src/ch/asynk/gdx/boardgame/Positionable.java
+++ b/core/src/ch/asynk/gdx/boardgame/Positionable.java
@@ -6,5 +6,7 @@ public interface Positionable
public float getY();
public float getWidth();
public float getHeight();
- public void setPosition(float x, float y, float w, float h);
+ public void centerOn(float cx, float cy);
+ public void translate(float dx, float dy);
+ public void setPosition(float x, float y);
}