summaryrefslogtreecommitdiffstats
path: root/Tile.gd
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2020-07-11 00:07:56 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2020-07-11 00:07:56 +0200
commit7fca7e65985deb24d51041d30fb8ea6ed2bd8571 (patch)
tree1c0b918d97b9122a9e1b091654bc5b441609e7c0 /Tile.gd
parent35b1995824bbc3e35ed2488e4034cc6b47c2bc76 (diff)
downloadgodot-hexgrid-7fca7e65985deb24d51041d30fb8ea6ed2bd8571.zip
godot-hexgrid-7fca7e65985deb24d51041d30fb8ea6ed2bd8571.tar.gz
properly implement road march
Diffstat (limited to 'Tile.gd')
-rw-r--r--Tile.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tile.gd b/Tile.gd
index 03f10be..5127058 100644
--- a/Tile.gd
+++ b/Tile.gd
@@ -24,7 +24,7 @@ func configure(p : Vector2, c: Vector2, o :Array) -> void:
visible = false
func has_road(a) -> bool:
- # FIXME
+ print("Tile#has_road() must be overriden in a subclass")
return false
func block_los(from : Tile, to : Tile, d : float, dt : float) -> bool: