tileStack method

TileStack tileStack(
  1. int x,
  2. int y, {
  3. Set<String> named = const <String>{},
  4. Set<int> ids = const <int>{},
  5. bool all = false,
})

Select a group of tiles from the coordinates x and y.

If all is set to true, every renderable tile from the map is collected.

If the named or ids sets are not empty, any layer with matching name or id will have their renderable tiles collected. If the matching layer is a group layer, all layers in the group will have their tiles collected.

Implementation

TileStack tileStack(
  int x,
  int y, {
  Set<String> named = const <String>{},
  Set<int> ids = const <int>{},
  bool all = false,
}) {
  return TileStack(
    _tileStack(
      renderableLayers,
      x,
      y,
      named: named,
      ids: ids,
      all: all,
    ),
  );
}