diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2020-06-09 09:36:11 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2020-06-09 09:36:11 +0200 |
commit | ea3d3d33042db994da60c8f51a7ddfdcc1b60671 (patch) | |
tree | 78bfe5c25a3fa920f9d4cf3b0385b8b910f73c69 | |
parent | 8d854c03f09c21895692d77d6900e062cee487f1 (diff) | |
download | gdx-boardgame-ea3d3d33042db994da60c8f51a7ddfdcc1b60671.zip gdx-boardgame-ea3d3d33042db994da60c8f51a7ddfdcc1b60671.tar.gz |
Tile : add roadMarch && hasRoad(Orientation orientation)
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/Tile.java | 6 |
1 files changed, 6 insertions, 0 deletions
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; |