Hey clone,
I have a few questions about the capabilities of your code.
In my game, when a player (there are multiple players) gets close to an enemy, the enemy will basically start chasing the player. When the enemy is dead it will respawn somewhere and wait untill a player enters its range again, etc. This needs a very dynamic pathfinding algorithm without a maximum amount of entities and an easy way to change the "from" and "to" position. Does your code offer these capabilities?