Added AStar pathfinding and scheduler to move hero after clicking.