unlock diagonal movement

This commit is contained in:
Hanusiak Piotr 2022-02-16 14:28:35 +01:00
parent 3875d3b0f5
commit 3c54e38401

View File

@ -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;