跳到主要内容

find_path

寻路

声明

array find_path(int startx, int starty, int endx, int endy, map extra_walls)

参数

参数名描述
startx起始坐标x
starty起始坐标y
endx终点x
endy终点y
extra_walls额外障碍点

返回值

路径点

使用方式

返回文档