factory property
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;
The function used to create new components to spawn.
amount is the amount of components that the SpawnComponent has spawned so far.
PositionComponent Function(int amount) factory;