explode () {
    const cellPoints = []
    for (let y = 1, h = this.matrix.length - 1; y < h; y++) {
      for (let x = 1, b = this.matrix[y].length - 1; x < b; x++) {
        cellPoints.push(new Point2D(x, y))
      }
    }
    return cellPoints.map(point => this.getSector(point))
  }
/**
   * create and returns all the sectors in the universe
   * @returns an array containing all the 3x3 matrix of the grid
   */
create and returns all the sectors in the universe
@returns an array containing all the 3x3 matrix of the grid
create and returns all the sectors in the universe @returns an array containing all the 3x3 matrix of the grid
explode () {
    const cellPoints = []
    for (let y = 1, h = this.matrix.length - 1; y < h; y++) {
      for (let x = 1, b = this.matrix[y].length - 1; x < b; x++) {
        cellPoints.push(new Point2D(x, y))
      }
    }
    return cellPoints.map(point => this.getSector(point))
  }
explode ( ) { const cellPoints = [ ] for ( let y = 1 , h = this . matrix . length - 1 ; y < h ; y ++ ) { for ( let x = 1 , b = this . matrix [ y ] . length - 1 ; x < b ; x ++ ) { cellPoints . push ( new Point2D ( x , y ) ) } } return cellPoints . map ( point => this . getSector ( point ) ) }
create and returns all the sectors in the universe
 @returns an array containing all the 3x3 matrix of the grid
create and returns all the sectors in the universe @returns an array containing all the 3x3 matrix of the grid