astar pathfinding in fight screen