storeMapItems method

void storeMapItems(
  1. Tile tile,
  2. List<RenderInfo<Shape>> renderInfos
)

Stores a list of MapElements against a tile.

@param tile tile on which the mapItems reside. @param mapItems the map elements.

Implementation

void storeMapItems(Tile tile, List<RenderInfo<Shape>> renderInfos) {
  _cache.set(tile, renderInfos);
  ++this.version;
}