unlock diagonal movement
This commit is contained in:
parent
3875d3b0f5
commit
3c54e38401
@ -17,7 +17,7 @@ export class PathfindingManager {
|
|||||||
this.scene = scene;
|
this.scene = scene;
|
||||||
|
|
||||||
this.easyStar = new EasyStar.js();
|
this.easyStar = new EasyStar.js();
|
||||||
// this.easyStar.enableDiagonals();
|
this.easyStar.enableDiagonals();
|
||||||
|
|
||||||
this.grid = collisionsGrid;
|
this.grid = collisionsGrid;
|
||||||
this.tileDimensions = tileDimensions;
|
this.tileDimensions = tileDimensions;
|
||||||
|
Loading…
Reference in New Issue
Block a user