addComponent(name, desc) {
            let id = ++this.newComponentIndex;
            this.components.set(id, new ComponentInfo(id, name, desc));
            return id;
        }
/**
         *
         * @param name the name of the component
         * @param desc a helpful debugging description
         */
@param name the name of the component
@param desc a helpful debugging description
@param name the name of the component @param desc a helpful debugging description
addComponent(name, desc) {
            let id = ++this.newComponentIndex;
            this.components.set(id, new ComponentInfo(id, name, desc));
            return id;
        }
addComponent ( name , desc ) { let id = ++ this . newComponentIndex ; this . components . set ( id , new ComponentInfo ( id , name , desc ) ) ; return id ; }
@param name the name of the component
 @param desc a helpful debugging description
@param name the name of the component @param desc a helpful debugging description