Implemented most movement. TODO: Pillbug ability. And find and fix bugs witht he movement. TODO: Deselect when not movable

This commit is contained in:
Sch1nken 2024-03-14 21:17:16 +01:00
parent 11f8a71f52
commit 76e4d6be34
33 changed files with 184 additions and 61 deletions

View file

@ -25,7 +25,6 @@ func simulate_move_recursive(start: Vector4i, max_num: int, exclude: Array[Vecto
if same_neighbours.size() > 0:
visited.append(neighbour)
print("yay?")
possible.append_array(simulate_move_recursive(neighbour, max_num - 1, exclude, map, visited))
return possible