diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2020-07-11 00:08:17 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2020-07-11 00:08:17 +0200 |
commit | d52b450b2dcfaa8bc1c78da328e568dcd5fc33a6 (patch) | |
tree | 548d95c837e7c48fa79a0980d933e9788f55159b /Hex.gd | |
parent | 7fca7e65985deb24d51041d30fb8ea6ed2bd8571 (diff) | |
download | godot-hexgrid-d52b450b2dcfaa8bc1c78da328e568dcd5fc33a6.zip godot-hexgrid-d52b450b2dcfaa8bc1c78da328e568dcd5fc33a6.tar.gz |
implement shortest path
Diffstat (limited to 'Hex.gd')
-rw-r--r-- | Hex.gd | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -59,3 +59,7 @@ func show_los(b) -> void: func show_move(b) -> void: if 6 < get_child_count(): enable_overlay(6, b) + +func show_short(b) -> void: + if 7 < get_child_count(): + enable_overlay(7, b) |