proper player movement on click
This commit is contained in:
parent
e557e8ea72
commit
3e81278e72
3 changed files with 25 additions and 12 deletions
|
@ -9,7 +9,7 @@ export class PathfindingManager {
|
|||
this.scene = scene;
|
||||
|
||||
this.easyStar = new EasyStar.js();
|
||||
this.easyStar.disableDiagonals();
|
||||
this.easyStar.enableDiagonals();
|
||||
|
||||
this.setGrid(collisionsGrid);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue