pub fn add(&mut self, entity: Entity) {
        if !self.vec.contains(&entity) {
            self.vec.push(entity);
            self.bitset.add(entity.id());
        }
    }
/// Marks an entity to be removed at the end of the update.
/// This should be used over world.delete() because this will perform
/// cleanup in the physics / rendering system
Marks an entity to be removed at the end of the update.
This should be used over world.delete() because this will perform
cleanup in the physics / rendering system
Marks an entity to be removed at the end of the update . This should be used over world . delete () because this will perform cleanup in the physics / rendering system
pub fn add(&mut self, entity: Entity) {
        if !self.vec.contains(&entity) {
            self.vec.push(entity);
            self.bitset.add(entity.id());
        }
    }
pub fn add ( & mut self , entity : Entity ) { if ! self . vec . contains ( & entity ) { self . vec . push ( entity ) ; self . bitset . add ( entity . id ( ) ) ; } }
Marks an entity to be removed at the end of the update.
Marks an entity to be removed at the end of the update .
&mut self
entity
Entity
&mut self
entity
Entity