summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-01-08 14:58:59 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-01-08 15:07:48 +0100
commit15a8de85f11d30573a26fe072e67aa8baa360ba9 (patch)
treed1f322aa923fd347721d6c2014619ec104551dc2
parent71ef14d6864d756e1c74e61320f13b4e2f954651 (diff)
downloadRustAndDust-15a8de85f11d30573a26fe072e67aa8baa360ba9.zip
RustAndDust-15a8de85f11d30573a26fe072e67aa8baa360ba9.tar.gz
SearchBoard: getNode is protected
-rw-r--r--core/src/ch/asynk/tankontank/engine/SearchBoard.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/ch/asynk/tankontank/engine/SearchBoard.java b/core/src/ch/asynk/tankontank/engine/SearchBoard.java
index 99b662e..370fc89 100644
--- a/core/src/ch/asynk/tankontank/engine/SearchBoard.java
+++ b/core/src/ch/asynk/tankontank/engine/SearchBoard.java
@@ -86,7 +86,7 @@ public class SearchBoard
return getNode(tile.col, tile.row);
}
- private Node getNode(int col, int row)
+ protected Node getNode(int col, int row)
{
int colOffset = ((row + 1) / 2);
if ((col < colOffset) || (row < 0) || (row >= rows) || ((col - colOffset) >= cols))