TiledWorldBuilder constructor
TiledWorldBuilder(
- WorldMapReader<
TiledMap> reader, { - Vector2? forceTileSize,
- ValueChanged<
Object> ? onError, - double sizeToUpdate = 0,
- Map<
String, ObjectBuilder> ? objectsBuilder,
Implementation
TiledWorldBuilder(
this.reader, {
this.forceTileSize,
this.onError,
this.sizeToUpdate = 0,
Map<String, ObjectBuilder>? objectsBuilder,
}) {
_objectsBuilder = objectsBuilder ?? {};
_basePath = reader.basePath;
}