amethyst / amethyst/legion

Add/remove multiple components/tags at once

Abierto
#36 0 comentarios 3 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Rust
Estrellas
1.7k
Forks
140
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.