diff options
-rw-r--r-- | assets/data/hex-overlays.atlas | 7 | ||||
-rw-r--r-- | assets/data/hex-overlays.png | bin | 140573 -> 140994 bytes | |||
-rw-r--r-- | assets/hex-overlays/dot.png | bin | 0 -> 1004 bytes | |||
-rw-r--r-- | test/src/ch/asynk/gdx/boardgame/test/BoardScreen.java | 4 |
4 files changed, 9 insertions, 2 deletions
diff --git a/assets/data/hex-overlays.atlas b/assets/data/hex-overlays.atlas index 6d130d7..c0bed02 100644 --- a/assets/data/hex-overlays.atlas +++ b/assets/data/hex-overlays.atlas @@ -88,3 +88,10 @@ repeat: none orig: 190, 16 offset: 0, 0 index: -1 +dot + rotate: false + xy: 882, 366 + size: 24, 24 + orig: 24, 24 + offset: 0, 0 + index: -1 diff --git a/assets/data/hex-overlays.png b/assets/data/hex-overlays.png Binary files differindex b5abdc9..aff14c3 100644 --- a/assets/data/hex-overlays.png +++ b/assets/data/hex-overlays.png diff --git a/assets/hex-overlays/dot.png b/assets/hex-overlays/dot.png Binary files differnew file mode 100644 index 0000000..e6093bd --- /dev/null +++ b/assets/hex-overlays/dot.png 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) { |