Skip to content

Add ChildBuilder::spawn_batch #15869

@papow65

Description

@papow65

What problem does this solve or what need does it fill?

There lacks a handy and efficient way to spawn many similar entities when using ChildBuilder.

What solution would you like?

Commands::spawn_batch is a handy and efficient way to spawn multiple entities. A similar method should be provided on ChildBuilder.

When migrating to 0.15-dev, where TextSpans are separate entities, I've noticed I would use ChildBuilder::spawn_batch often if it existed.

What alternative(s) have you considered?

Waiting for bsn!, or using on i-cant-believe-its-not-bsn.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ECSEntities, components, systems, and eventsC-FeatureA new feature, making something new possibleD-StraightforwardSimple bug fixes and API improvements, docs, test and examplesS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions