diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2015-01-08 14:58:59 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2015-01-08 15:07:48 +0100 |
commit | 15a8de85f11d30573a26fe072e67aa8baa360ba9 (patch) | |
tree | d1f322aa923fd347721d6c2014619ec104551dc2 /core/src | |
parent | 71ef14d6864d756e1c74e61320f13b4e2f954651 (diff) | |
download | RustAndDust-15a8de85f11d30573a26fe072e67aa8baa360ba9.zip RustAndDust-15a8de85f11d30573a26fe072e67aa8baa360ba9.tar.gz |
SearchBoard: getNode is protected
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/ch/asynk/tankontank/engine/SearchBoard.java | 2 |
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)) |