unlinkEntity(entity) {
        entity._sector.remove(entity);
        entity._sector = null;
        const aEntities = this._entities;
        const iEntity = aEntities.indexOf(entity);
        if (iEntity >= 0) {
            aEntities.splice(iEntity, 1);
        }
    }
/**
     * Remove an entity from the engine
     * only linked entities are thinked and rendered
     * @param entity {Entity}
     */
Remove an entity from the engine
only linked entities are thinked and rendered
@param entity {Entity}
Remove an entity from the engine only linked entities are thinked and rendered @param entity { Entity }
unlinkEntity(entity) {
        entity._sector.remove(entity);
        entity._sector = null;
        const aEntities = this._entities;
        const iEntity = aEntities.indexOf(entity);
        if (iEntity >= 0) {
            aEntities.splice(iEntity, 1);
        }
    }
unlinkEntity ( entity ) { entity . _sector . remove ( entity ) ; entity . _sector = null ; const aEntities = this . _entities ; const iEntity = aEntities . indexOf ( entity ) ; if ( iEntity >= 0 ) { aEntities . splice ( iEntity , 1 ) ; } }
Remove an entity from the engine
 only linked entities are thinked and rendered
 @param entity {Entity}
Remove an entity from the engine only linked entities are thinked and rendered @param entity { Entity }