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