diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-13 14:02:19 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2014-10-13 14:02:19 +0200 |
commit | 62398d2e2009cc3a959422417096137811316e73 (patch) | |
tree | 1c5380ebe4f67bc19c94c52da57348ea760b504d | |
parent | 57b6bf6b52e96e40b55f7f5dd25b3ffe2a2aad18 (diff) | |
download | RustAndDust-62398d2e2009cc3a959422417096137811316e73.zip RustAndDust-62398d2e2009cc3a959422417096137811316e73.tar.gz |
Board: int removePawnFrom(Pawn, GridPoint2) is now public
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/Board.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/Board.java b/core/src/ch/asynk/tankontank/engine/Board.java index a3f449f..dcb628a 100644 --- a/core/src/ch/asynk/tankontank/engine/Board.java +++ b/core/src/ch/asynk/tankontank/engine/Board.java @@ -511,7 +511,7 @@ public abstract class Board implements Disposable return tile.push(pawn); } - private int removePawnFrom(Pawn pawn, GridPoint2 coords) + public int removePawnFrom(Pawn pawn, GridPoint2 coords) { Tile tile = getTile(coords); int n = tile.remove(pawn); |