summaryrefslogtreecommitdiffstats
path: root/core/src
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2015-01-08 14:58:19 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2015-01-08 15:07:40 +0100
commit71ef14d6864d756e1c74e61320f13b4e2f954651 (patch)
tree656814fcef3fee9295d3dcfb30ebe07347737a9a /core/src
parent5f01696620bb8a4448799856d4a9290bec77b3f6 (diff)
downloadRustAndDust-71ef14d6864d756e1c74e61320f13b4e2f954651.zip
RustAndDust-71ef14d6864d756e1c74e61320f13b4e2f954651.tar.gz
Board: getTileOffset() is protected
Diffstat (limited to 'core/src')
-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 865adf8..3b34110 100644
--- a/core/src/ch/asynk/tankontank/engine/Board.java
+++ b/core/src/ch/asynk/tankontank/engine/Board.java
@@ -160,7 +160,7 @@ public abstract class Board implements Disposable, Animation
return sides[i];
}
- public int getTileOffset(int col, int row)
+ protected int getTileOffset(int col, int row)
{
col = (col + 1 - ((row + 1) / 2));
row = (row + 1);