Astar shortest path, collant modified to support the new game architecture