summaryrefslogtreecommitdiffstats
path: root/core/src/ch/asynk/gdx/boardgame/Tile.java
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2020-06-09 09:36:11 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2020-06-09 09:36:11 +0200
commitea3d3d33042db994da60c8f51a7ddfdcc1b60671 (patch)
tree78bfe5c25a3fa920f9d4cf3b0385b8b910f73c69 /core/src/ch/asynk/gdx/boardgame/Tile.java
parent8d854c03f09c21895692d77d6900e062cee487f1 (diff)
downloadgdx-boardgame-ea3d3d33042db994da60c8f51a7ddfdcc1b60671.zip
gdx-boardgame-ea3d3d33042db994da60c8f51a7ddfdcc1b60671.tar.gz
Tile : add roadMarch && hasRoad(Orientation orientation)
Diffstat (limited to 'core/src/ch/asynk/gdx/boardgame/Tile.java')
-rw-r--r--core/src/ch/asynk/gdx/boardgame/Tile.java6
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;