stbcc_query_grid_open function

  1. @Native<Int Function(Pointer<stbcc_grid>, Int, Int)>(ffi.Pointer<stbcc_grid>, ffi.Int, ffi.Int)>()
int stbcc_query_grid_open(
  1. Pointer<stbcc_grid> g,
  2. int x,
  3. int y
)

query the grid data structure for whether a given square is open or not

Implementation

@ffi.Native<ffi.Int Function(ffi.Pointer<stbcc_grid>, ffi.Int, ffi.Int)>()
external int stbcc_query_grid_open(ffi.Pointer<stbcc_grid> g, int x, int y);