stbcc_query_grid_node_connection function

  1. @Native<Int Function(Pointer<stbcc_grid>, Int, Int, Int, Int)>(ffi.Pointer<stbcc_grid>, ffi.Int, ffi.Int, ffi.Int, ffi.Int)>()
int stbcc_query_grid_node_connection(
  1. Pointer<stbcc_grid> g,
  2. int x1,
  3. int y1,
  4. int x2,
  5. int y2,
)

query if two grid squares are reachable from each other

Implementation

@ffi.Native<
  ffi.Int Function(ffi.Pointer<stbcc_grid>, ffi.Int, ffi.Int, ffi.Int, ffi.Int)
>()
external int stbcc_query_grid_node_connection(
  ffi.Pointer<stbcc_grid> g,
  int x1,
  int y1,
  int x2,
  int y2,
);