dist/server-module/lance-gg.js
/**
     * Remove an object from the game world
     * @private
     * @param {number} id id of the object to remove
     */
Remove an object from the game world
@private
@param {number} id id of the object to remove
Remove an object from the game world @private @param { number } id id of the object to remove
removeObject(id) {
        const groupsDeleted = [];
        this.groups.forEach((group) => {
            const isDeleted = this.removeObjectOfGroup(group.groupName, id);
            if (isDeleted) groupsDeleted.push(group.groupName);
        });
        delete this.objects[id];
        return groupsDeleted
    }
removeObject ( id ) { const groupsDeleted = [ ] ; this . groups . forEach ( ( group ) => { const isDeleted = this . removeObjectOfGroup ( group . groupName , id ) ; if ( isDeleted ) groupsDeleted . push ( group . groupName ) ; } ) ; delete this . objects [ id ] ; return groupsDeleted }
Remove an object from the game world
 @private
 @param {number} id id of the object to remove
Remove an object from the game world @private @param { number } id id of the object to remove