Class: NavMesh

ai/NavMesh~ NavMesh


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

Class: NavMesh

ai/NavMesh~ NavMesh


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