multiFactory property

List<PositionComponent> Function(int amount) multiFactory
getter/setter pair

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;