factory property

PositionComponent Function(int amount) factory
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

PositionComponent Function(int amount) factory;