IsometricTileMapComponent constructor

IsometricTileMapComponent(
  1. SpriteSheet tileset,
  2. List<List<int>> matrix, {
  3. Vector2? destTileSize,
  4. double? tileHeight,
  5. Vector2? position,
  6. Vector2? size,
  7. Vector2? scale,
  8. double? angle,
  9. Anchor? anchor,
  10. Iterable<Component>? children,
  11. int? priority,
  12. ComponentKey? key,
})

Implementation

IsometricTileMapComponent(
  this.tileset,
  this.matrix, {
  this.destTileSize,
  this.tileHeight,
  super.position,
  super.size,
  super.scale,
  super.angle,
  super.anchor,
  super.children,
  super.priority,
  super.key,
}) : _renderSprite = Sprite(tileset.image) {
  _recomputeSizeAndOffset();
}