pub fn entity_add(
        &mut self,
        dude: EntityId,
        owner: EntityId,
        idx: usize,
    ) -> Result<EntityId, FlowError> {
        let obj = self.entity_grow_devote(owner, idx)?;
        self.entity_duplicate(obj, dude);
        Ok(obj)
    }
/// final product function: entity_add, duplicates its dude
/// and devotes to its owner.
final product function: entity_add, duplicates its dude
and devotes to its owner.
final product function : entity_add duplicates its dude and devotes to its owner .
pub fn entity_add(
        &mut self,
        dude: EntityId,
        owner: EntityId,
        idx: usize,
    ) -> Result<EntityId, FlowError> {
        let obj = self.entity_grow_devote(owner, idx)?;
        self.entity_duplicate(obj, dude);
        Ok(obj)
    }
pub fn entity_add ( & mut self , dude : EntityId , owner : EntityId , idx : usize , ) -> Result < EntityId , FlowError > { let obj = self . entity_grow_devote ( owner , idx ) ? ; self . entity_duplicate ( obj , dude ) ; Ok ( obj ) }
final product function: entity_add, duplicates its dude
and devotes to its owner.
final product function : entity_add duplicates its dude and devotes to its owner .
&mut self
dude
EntityId
owner
EntityId
idx
usize
&mut self
dude
EntityId
owner
EntityId
idx
usize