amethyst / amethyst/legion

Add/remove multiple components/tags at once

Aberta
#36 0 comentários 3 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Rust
Estrelas
1.7k
Forks
140
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Currently, `World` provides `add_tag()` and `add_component()` which add tags and components to an entity. However, these functions are somewhat expensive due to the moving of entities between archetypes, and calling them once for each component which should be added is undesirable.

Functions `add_tags()` and `add_components()`, or similar, should be added to allow for optimizing the creation of multiple components or tags.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.