WorldMapBySpritefusion constructor
WorldMapBySpritefusion(
- WorldMapReader<
SpritefusionMap> reader, { - ValueChanged<
Object> ? onError, - double sizeToUpdate = 0,
- Map<
String, SpritefusionObjectBuilder> ? objectsBuilder,
Implementation
WorldMapBySpritefusion(
WorldMapReader<SpritefusionMap> reader, {
ValueChanged<Object>? onError,
double sizeToUpdate = 0,
Map<String, SpritefusionObjectBuilder>? objectsBuilder,
}) : super(const []) {
this.sizeToUpdate = sizeToUpdate;
_builder = SpritefusionWorldBuilder(
reader,
onError: onError,
sizeToUpdate: sizeToUpdate,
objectsBuilder: objectsBuilder,
);
}