stbte_get_tile function

  1. @Native<Pointer<ma_int16> Function(Pointer<stbte_tilemap>, Int, Int)>(ffi.Pointer<stbte_tilemap>, ffi.Int, ffi.Int)>()
Pointer<ma_int16> stbte_get_tile(
  1. Pointer<stbte_tilemap> tm,
  2. int x,
  3. int y
)

get the dimensions of the level, since the user can change them

Implementation

@ffi.Native<
  ffi.Pointer<ffi.Short> Function(ffi.Pointer<stbte_tilemap>, ffi.Int, ffi.Int)
>()
external ffi.Pointer<ffi.Short> stbte_get_tile(
  ffi.Pointer<stbte_tilemap> tm,
  int x,
  int y,
);