summaryrefslogtreecommitdiffstats
path: root/test/src/ch/asynk/gdx/boardgame
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2020-01-23 17:48:41 +0100
committerJérémy Zurcher <jeremy@asynk.ch>2020-01-23 17:48:41 +0100
commit992f2e48cc75a30c1bbfb614e44390ce041f895a (patch)
tree7b28d9f39b4cb79fe164dc3169309ed9276061fe /test/src/ch/asynk/gdx/boardgame
parent0e50159336f836c631cdd32debb468ed336c4c3a (diff)
downloadgdx-boardgame-992f2e48cc75a30c1bbfb614e44390ce041f895a.zip
gdx-boardgame-992f2e48cc75a30c1bbfb614e44390ce041f895a.tar.gz
assets : add dot.png for adjacents test
Diffstat (limited to 'test/src/ch/asynk/gdx/boardgame')
-rw-r--r--test/src/ch/asynk/gdx/boardgame/test/BoardScreen.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/src/ch/asynk/gdx/boardgame/test/BoardScreen.java b/test/src/ch/asynk/gdx/boardgame/test/BoardScreen.java
index 46b9d82..086133d 100644
--- a/test/src/ch/asynk/gdx/boardgame/test/BoardScreen.java
+++ b/test/src/ch/asynk/gdx/boardgame/test/BoardScreen.java
@@ -90,13 +90,13 @@ public class BoardScreen extends AbstractScreen
{
for (Tile tile : board.getAdjacents()) {
if (tile != null)
- tile.enableOverlay(2, false);
+ tile.enableOverlay(12, false);
}
board.buildAdjacents((int)v.x, (int)v.y, this::getTile);
for (Tile tile : board.getAdjacents()) {
if (tile != null) {
tilesToDraw.add(tile);
- tile.enableOverlay(2, true);
+ tile.enableOverlay(12, true);
}
}
for (Tile tile : tilesToDraw) {