queryNearby(vector) {
            let key = this.key(vector);
            let list = [];
            for(let i = -OVERLAP; i <= OVERLAP; i++) {
                for(let j = -OVERLAP; j <= OVERLAP; j++) {
                    let newKey = IntPair.keyString(key.x + i, key.y + j);
                    this.queryCollect(newKey, list);
                }
            }
            return list;
        }
/**
         * Gets the list of objects at the key associated with the vector and
         * its 8 immediately surrounding keys.
         * 
         * @param {Vector} vector The vector to query.
         * @returns {Array<GameObject>} A list of objects.
         */
Gets the list of objects at the key associated with the vector and
its 8 immediately surrounding keys.

@param {Vector} vector The vector to query.
@returns {Array} A list of objects.
Gets the list of objects at the key associated with the vector and its 8 immediately surrounding keys . @param { Vector } vector The vector to query . @returns { Array } A list of objects .
queryNearby(vector) {
            let key = this.key(vector);
            let list = [];
            for(let i = -OVERLAP; i <= OVERLAP; i++) {
                for(let j = -OVERLAP; j <= OVERLAP; j++) {
                    let newKey = IntPair.keyString(key.x + i, key.y + j);
                    this.queryCollect(newKey, list);
                }
            }
            return list;
        }
queryNearby ( vector ) { let key = this . key ( vector ) ; let list = [ ] ; for ( let i = - OVERLAP ; i <= OVERLAP ; i ++ ) { for ( let j = - OVERLAP ; j <= OVERLAP ; j ++ ) { let newKey = IntPair . keyString ( key . x + i , key . y + j ) ; this . queryCollect ( newKey , list ) ; } } return list ; }
Gets the list of objects at the key associated with the vector and
 its 8 immediately surrounding keys.
Gets the list of objects at the key associated with the vector and its 8 immediately surrounding keys .