From dfd8a575d0b7666944c90abffb763ac8c01777cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Wed, 24 Sep 2014 12:29:08 +0200 Subject: Board: remove useless movePawnTo(Pawn pawn, Vector3 coords) --- core/src/ch/asynk/tankontank/engine/Board.java | 6 ------ 1 file changed, 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); -- cgit v1.1-2-g2b99