ColAndRowToPx (col, row, startCol, startRow, offset) {
    return {
      x: (col - startCol) * this.tileWidth + offset.x,
      y: (row - startRow) * this.tileHeight + offset.y
    }
  }
/**
   * Converts MapGrid coordinates in viewArea into pixel coordinates on screen
   * 
   * @param {number} col
   * @param {number} row
   * @param {number} startCol
   * @param {number} startRow
   * @param {{x: number, y: number}} offset
   */
Converts MapGrid coordinates in viewArea into pixel coordinates on screen


Converts MapGrid coordinates in viewArea into pixel coordinates on screen
ColAndRowToPx (col, row, startCol, startRow, offset) {
    return {
      x: (col - startCol) * this.tileWidth + offset.x,
      y: (row - startRow) * this.tileHeight + offset.y
    }
  }
ColAndRowToPx ( col , row , startCol , startRow , offset ) { return { x : ( col - startCol ) * this . tileWidth + offset . x , y : ( row - startRow ) * this . tileHeight + offset . y } }
Converts MapGrid coordinates in viewArea into pixel coordinates on screen
Converts MapGrid coordinates in viewArea into pixel coordinates on screen