summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/tankontank/engine
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2014-10-13 14:02:19 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2014-10-13 14:02:19 +0200
commit62398d2e2009cc3a959422417096137811316e73 (patch)
tree1c5380ebe4f67bc19c94c52da57348ea760b504d /core/src/ch/asynk/tankontank/engine
parent57b6bf6b52e96e40b55f7f5dd25b3ffe2a2aad18 (diff)
downloadRustAndDust-62398d2e2009cc3a959422417096137811316e73.zip
RustAndDust-62398d2e2009cc3a959422417096137811316e73.tar.gz
Board: int removePawnFrom(Pawn, GridPoint2) is now public
Diffstat (limited to 'core/src/ch/asynk/tankontank/engine')
-rw-r--r--core/src/ch/asynk/tankontank/engine/Board.java2
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);