stbte_get_properties function

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

returns an array of shorts that is 'map_layers' in length. each short is either one of the tile_id values from define_tile, or STBTE_EMPTY.

Implementation

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