PathFinder:calculate
table PathFinder:calculate(from, to)
Returns a table (Vector) that contains a list of tiles to move to in order. If result is null then no path was found
Parameters
| Type | Name | Description | Optional |
|---|---|---|---|
| Vector | from | No description | |
| Vector | to | No description |
Returns
| Type | Description |
|---|---|
| table | No description |