new NavMesh(tilemap)
Create a navigation mesh
Parameters:
| Name | Type | Description |
|---|---|---|
tilemap |
tilemap |
- Source:
Methods
-
findPath(start, finish) → {path}
-
Parameters:
Name Type Description startPhaser.Point finishPhaser.Point - Source:
Returns:
path
- Type
- path
-
findPath(start, finish) → {path}
-
Parameters:
Name Type Description startPhaser.Point finishPhaser.Point - Source:
Returns:
path
- Type
- path