summaryrefslogtreecommitdiffstats
path: root/core/src/ch
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-09-24 12:29:08 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-09-24 12:29:08 +0200
commitdfd8a575d0b7666944c90abffb763ac8c01777cb (patch)
tree434e58d2d674136d5a7a1b833162fda9a1c1b9e7 /core/src/ch
parentcd88c052884b80d0ee4d30e72befae8a23c046cf (diff)
downloadRustAndDust-dfd8a575d0b7666944c90abffb763ac8c01777cb.zip
RustAndDust-dfd8a575d0b7666944c90abffb763ac8c01777cb.tar.gz
Board: remove useless movePawnTo(Pawn pawn, Vector3 coords)
Diffstat (limited to 'core/src/ch')
-rw-r--r--core/src/ch/asynk/tankontank/engine/Board.java6
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);