From ea3d3d33042db994da60c8f51a7ddfdcc1b60671 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 9 Jun 2020 09:36:11 +0200 Subject: Tile : add roadMarch && hasRoad(Orientation orientation) --- core/src/ch/asynk/gdx/boardgame/Tile.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/src/ch/asynk/gdx/boardgame/Tile.java b/core/src/ch/asynk/gdx/boardgame/Tile.java index eb491a3..8429c92 100644 --- a/core/src/ch/asynk/gdx/boardgame/Tile.java +++ b/core/src/ch/asynk/gdx/boardgame/Tile.java @@ -22,6 +22,7 @@ public class Tile implements Drawable public Tile parent; public int acc; public int searchCount; + public boolean roadMarch; private Overlays overlays; @@ -48,6 +49,11 @@ public class Tile implements Drawable return onMap; } + public boolean hasRoad(Orientation orientation) + { + return false; + } + public boolean blockLos(final Tile from, final Tile to, float d, float dt) { return false; -- cgit v1.1-2-g2b99