multiFactory property
The function used to create new components to spawn.
amount is the amount of components that the SpawnComponent has spawned so far.
Implementation
List<PositionComponent> Function(int amount) multiFactory;
The function used to create new components to spawn.
amount is the amount of components that the SpawnComponent has spawned so far.
List<PositionComponent> Function(int amount) multiFactory;