Struct tinyecs::EntityManager
[−]
[src]
pub struct EntityManager<'a> { // some fields omitted }
part of the world, manipulating entities
pub struct EntityManager<'a> { // some fields omitted }
part of the world, manipulating entities
impl<'a> EntityManager<'a>
fn create_entity_with_id(&mut self, id: i32) -> &mut Entity
fn create_entity(&mut self) -> &mut Entity
fn try_get_entity(&mut self, id: i32) -> Option<&mut Entity>
fn get_entities_by_ids(&mut self, ids: &HashSet<i32>) -> Vec<&'a mut Entity>