diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-24 12:29:08 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-09-24 12:29:08 +0200 |
commit | dfd8a575d0b7666944c90abffb763ac8c01777cb (patch) | |
tree | 434e58d2d674136d5a7a1b833162fda9a1c1b9e7 /core | |
parent | cd88c052884b80d0ee4d30e72befae8a23c046cf (diff) | |
download | RustAndDust-dfd8a575d0b7666944c90abffb763ac8c01777cb.zip RustAndDust-dfd8a575d0b7666944c90abffb763ac8c01777cb.tar.gz |
Board: remove useless movePawnTo(Pawn pawn, Vector3 coords)
Diffstat (limited to 'core')
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/Board.java | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Board.java b/core/src/ch/asynk/tankontank/engine/Board.java index 482b9ad..84ee49c 100644 --- a/core/src/ch/asynk/tankontank/engine/Board.java +++ b/core/src/ch/asynk/tankontank/engine/Board.java @@ -294,12 +294,6 @@ public abstract class Board extends Image implements Disposable pushPawnAt(pawn, col, row); } - public void movePawnTo(Pawn pawn, Vector3 coords) - { - GridPoint2 hex = getHexAt(null, coords.x, coords.y); - movePawnTo(pawn, hex.x, hex.y, Orientation.KEEP); - } - public void movePawnTo(Pawn pawn, GridPoint2 hex) { movePawnTo(pawn, hex.x, hex.y, Orientation.KEEP); |