摘要:
``` searchRoad(start_x,start_y,end_x,end_y){ var openList=[], //开启列表 closeList=[], //关闭列表 result=[], //结果数组 result_index; //结果数组在开启列表中的序号 openList.push({x:start_x,y:start_y,G:0});//把当前点加入到开启列表中,并且G是0 阅读全文
posted @ 2020-04-06 15:46
剑小破
阅读(963)
评论(0)
推荐(0)

浙公网安备 33010602011771号