diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2018-10-09 11:44:52 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2018-10-09 11:44:52 +0200 |
commit | 5b4d135eed6ebe8a32c283677592eed6bb851e38 (patch) | |
tree | 71e364ba6b2a433a9a59c666e5453bf8dab6a213 /core/src/ch/asynk/gdx/boardgame/Positionable.java | |
parent | 87fb95a82dadd13ad30ac01a49c850c7ab80da85 (diff) | |
download | gdx-boardgame-5b4d135eed6ebe8a32c283677592eed6bb851e38.zip gdx-boardgame-5b4d135eed6ebe8a32c283677592eed6bb851e38.tar.gz |
clean up basic interfaces
Diffstat (limited to 'core/src/ch/asynk/gdx/boardgame/Positionable.java')
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/Positionable.java | 4 |
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); } |