implemented Astar player click movement