summaryrefslogtreecommitdiffstats
path: root/Tile.gd
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2020-07-11 00:08:17 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2020-07-11 00:08:17 +0200
commitd52b450b2dcfaa8bc1c78da328e568dcd5fc33a6 (patch)
tree548d95c837e7c48fa79a0980d933e9788f55159b /Tile.gd
parent7fca7e65985deb24d51041d30fb8ea6ed2bd8571 (diff)
downloadgodot-hexgrid-d52b450b2dcfaa8bc1c78da328e568dcd5fc33a6.zip
godot-hexgrid-d52b450b2dcfaa8bc1c78da328e568dcd5fc33a6.tar.gz
implement shortest path
Diffstat (limited to 'Tile.gd')
-rw-r--r--Tile.gd1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tile.gd b/Tile.gd
index 5127058..0aaa0de 100644
--- a/Tile.gd
+++ b/Tile.gd
@@ -8,6 +8,7 @@ var blocked : bool
var on_board : bool = false
var acc : int
+var f : float
var parent : Tile
var road_march : bool
var search_count : int