summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/gdx/boardgame/Piece.java
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/ch/asynk/gdx/boardgame/Piece.java')
-rw-r--r--core/src/ch/asynk/gdx/boardgame/Piece.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/Piece.java b/core/src/ch/asynk/gdx/boardgame/Piece.java
index 6b7f2b4..a2017b0 100644
--- a/core/src/ch/asynk/gdx/boardgame/Piece.java
+++ b/core/src/ch/asynk/gdx/boardgame/Piece.java
@@ -27,11 +27,6 @@ public class Piece extends Sprite implements Drawable, Positionable, Rotable, Sc
return getScaleX();
}
- @Override public void centerOn(float cx, float cy)
- {
- setPosition((cx - (getWidth() / 2f)), (cy - (getHeight() / 2f)));
- }
-
public void getPosOn(Tile tile, Orientation orientation, Vector3 v)
{
v.set((tile.x - (getWidth() / 2f)), (tile.y- (getHeight() / 2f)), orientation.r());