Skip to content

Allow quake class registration across files #89

@janhohenheim

Description

@janhohenheim

This is needed for ergonomic splitting of TB entities across files.

Option 1: The precedent here is to have an extension method on App. See bevy_enhanced_input for a recent example. This is very simple and guarantees that this happens before the config is written or the level is spawned. My vote goes here!

Option 2: Read quake classes automatically from the type registry. Sounds neat, as that reuses existing API, but also sounds annoying to set up.

Option 3: Allow changing the BTB config after the plugin is created. Imo even if we already had this, I would still prefer to have a way to do the registration directly on the App instead of having multiple setup systems on startup

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions