diff options
Diffstat (limited to 'core/src/ch/asynk/gdx/boardgame/Tile.java')
-rw-r--r-- | core/src/ch/asynk/gdx/boardgame/Tile.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/core/src/ch/asynk/gdx/boardgame/Tile.java b/core/src/ch/asynk/gdx/boardgame/Tile.java index 504a82d..36dcf32 100644 --- a/core/src/ch/asynk/gdx/boardgame/Tile.java +++ b/core/src/ch/asynk/gdx/boardgame/Tile.java @@ -14,6 +14,7 @@ public class Tile implements Drawable public int y; public float cx; public float cy; + public boolean blocked; private Overlays overlays; public Tile(int x, int y, float cx, float cy) @@ -22,11 +23,17 @@ public class Tile implements Drawable this.y = y; this.cx = cx; this.cy = cy; + this.blocked = false; if (defaultOverlay != null) { setOverlay(defaultOverlay); } } + public boolean blockLos(final Tile from, final Tile to) + { + return false; + } + public boolean overlaysEnabled() { if (overlays != null) { |