Closed russella26 closed 2 years ago
Using either euclidean distance or BFS (whichever you deem more efficient) create a function for enemies to find and navigate to the nearest player
methods in Tile like isVisible, getAdjacent, and hasPlayer methods in Enemy like findClosestPlayer
Using either euclidean distance or BFS (whichever you deem more efficient) create a function for enemies to find and navigate to the nearest player