diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2020-07-20 12:36:27 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2020-07-20 12:36:27 +0200 |
commit | c0924bec8e498187256d5dff0b3d0e8a6f40f36c (patch) | |
tree | b790029446758affa7486bf14b0cd3b3f5447cfa /Tile.gd | |
parent | 89723ca94bd21f1ae14592a682e9c0e5c5f04a74 (diff) | |
download | godot-hexgrid-c0924bec8e498187256d5dff0b3d0e8a6f40f36c.zip godot-hexgrid-c0924bec8e498187256d5dff0b3d0e8a6f40f36c.tar.gz |
Tile.on_board -> Tile.on_map
Diffstat (limited to 'Tile.gd')
-rw-r--r-- | Tile.gd | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,7 +5,7 @@ class_name Tile, "res://godot/Tile.png" var coords : Vector2 var blocked : bool -var on_board : bool = false +var on_map : bool = false var acc : int var f : float @@ -16,7 +16,7 @@ var search_count : int func configure(p : Vector2, c: Vector2, o :Array) -> void: position = p coords = c - on_board = true + on_map = true for t in o: var s :Sprite = Sprite.new() s.texture = load(t) |