WorldMapByTiled constructor
WorldMapByTiled(
- WorldMapReader<
TiledMap> reader, { - Vector2? forceTileSize,
- ValueChanged<
Object> ? onError, - double sizeToUpdate = 0,
- Map<
String, ObjectBuilder> ? objectsBuilder,
Implementation
WorldMapByTiled(
WorldMapReader<TiledMap> reader, {
Vector2? forceTileSize,
ValueChanged<Object>? onError,
double sizeToUpdate = 0,
Map<String, ObjectBuilder>? objectsBuilder,
}) : super(const []) {
this.sizeToUpdate = sizeToUpdate;
_builder = TiledWorldBuilder(
reader,
forceTileSize: forceTileSize,
onError: onError,
sizeToUpdate: sizeToUpdate,
objectsBuilder: objectsBuilder,
);
}