Module bones_framework::params

source ·
Expand description

Bones ECS system parameters.

Structs§

  • A helper system param that allows for iteration over data contained in the core game asset pack (the one in the assets/ directory) and the supplementary asset packs (the sub-directories of the packs/ directory).
  • A flattened iterator of items of type T from data within the core and supplementary asset packs. Items are first yielded from the core asset pack until exhausted, then items are yielded from the supplementary asset packs, one at a time, and in no particular order.
  • A helper system param for iterating over the root assets of the (non-core) asset packs, each casted to type T.
  • A typed iterator over asset pack roots.
  • Get the root asset of the core asset pack and cast it to type T.