sector(x, y) {
        if (y === undefined) {
            throw new Error('x and y are mandatory to access a smasher sector');
        } else {
            return this._grid.cell(x, y);
        }
    }
/**
     * Return the sector corresponding to the given coordinates
     * if the parameters are number, the real sector indices are used (0, 1, 2...)
     * if the parameter is a Vector, its components are int-divided by cell size before application
     * @param x {number} position x
     * @param y {number|undefined} position y
     * @return {*}
     */
Return the sector corresponding to the given coordinates
if the parameters are number, the real sector indices are used (0, 1, 2...)
if the parameter is a Vector, its components are int-divided by cell size before application
@param x {number} position x
@param y {number|undefined} position y
@return {*}
Return the sector corresponding to the given coordinates if the parameters are number the real sector indices are used ( 0 1 2 ... ) if the parameter is a Vector its components are int - divided by cell size before application @param x { number } position x @param y { number|undefined } position y @return { * }
sector(x, y) {
        if (y === undefined) {
            throw new Error('x and y are mandatory to access a smasher sector');
        } else {
            return this._grid.cell(x, y);
        }
    }
sector ( x , y ) { if ( y === undefined ) { throw new Error ( 'x and y are mandatory to access a smasher sector' ) ; } else { return this . _grid . cell ( x , y ) ; } }
Return the sector corresponding to the given coordinates
 if the parameters are number, the real sector indices are used (0, 1, 2...)
 if the parameter is a Vector, its components are int-divided by cell size before application
 @param x {number} position x
 @param y {number|undefined} position y
 @return {*}
Return the sector corresponding to the given coordinates if the parameters are number the real sector indices are used ( 0 1 2 ... ) if the parameter is a Vector its components are int - divided by cell size before application @param x { number } position x @param y { number|undefined } position y @return { * }