dist/server-module/lance-gg.js
/**
     * World object iterator.
     * Invoke callback(objId, obj) for each object
     *
     * @param {function} callback function receives id and object. If callback returns false, the iteration will cease
     */
World object iterator.
Invoke callback(objId, obj) for each object

@param {function} callback function receives id and object. If callback returns false, the iteration will cease
World object iterator . Invoke callback ( objId obj ) for each object @param { function } callback function receives id and object . If callback returns false the iteration will cease
forEachObject(callback) {
        for (let id of Object.keys(this.objects)) {
            let returnValue = callback(id, this.objects[id]);  
            if (returnValue === false) break;
        }
    }
forEachObject ( callback ) { for ( let id of Object . keys ( this . objects ) ) { let returnValue = callback ( id , this . objects [ id ] ) ; if ( returnValue === false ) break ; } }
World object iterator.
World object iterator .
// TODO: the key should be Number(id)