跳到主要内容

iterate_diff_xy_until_true

遍历不在目标位置内的所有坐标直到坐标满足条件

声明

bool iterate_diff_xy_until_true(Location other, function func)

参数

参数名描述
other目标位置
func条件函数

返回值

true - 找到满足条件的坐标返回true, false - 没有找到满足条件的坐标返回false

使用方式

返回文档