Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement methods to list all components and all resources #3012

Commits on Oct 23, 2021

  1. impl<'c> IntoIterator for &'c Components

    This allows iteration over all `Component`s registered in a world by
    implementing `IntoIterator` for the `Components` type.
    sseemayer committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    8a354c0 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2021

  1. Rename Components to WorldData

    the Components struct was not just storing metadata on components, but
    also on resources. WorldData is a new umbrella term for components and
    resources.
    
    also rename the following:
    
    `ComponentId` -> `DataId`
    `ComponentInfo` -> `DataInfo`
    `ComponentDescriptor` -> `DataDescriptor`
    sseemayer committed Oct 24, 2021
    Configuration menu
    Copy the full SHA
    e48cd26 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6fbe43f View commit details
    Browse the repository at this point in the history
  3. Implement Components and Resources system parameters

    These can be used in systems to get an overview over all available
    Components and Resources.
    sseemayer committed Oct 24, 2021
    Configuration menu
    Copy the full SHA
    6a774cd View commit details
    Browse the repository at this point in the history
  4. fix lints

    sseemayer committed Oct 24, 2021
    Configuration menu
    Copy the full SHA
    d7185db View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2021

  1. Update crates/bevy_ecs/macros/src/lib.rs

    Co-authored-by: MinerSebas <[email protected]>
    sseemayer and MinerSebas authored Oct 26, 2021
    Configuration menu
    Copy the full SHA
    84054c8 View commit details
    Browse the repository at this point in the history