addTileWithPixelCoordinates (px, py, tileType, moisture, fertility) {
    var gx = this.pixelsToGridX(px)
    var gy = this.pixelsToGridY(py)
    return this.addTileWithGridCoordinates(
      gx, gy, tileType, moisture, fertility
    )
  }
/**
   * Convenience function to store a tile with pixel coordinates
   * 
   * @param {Number} px
   * @param {Number} py
   * @param {TileType} tileType
   */
Convenience function to store a tile with pixel coordinates


Convenience function to store a tile with pixel coordinates
addTileWithPixelCoordinates (px, py, tileType, moisture, fertility) {
    var gx = this.pixelsToGridX(px)
    var gy = this.pixelsToGridY(py)
    return this.addTileWithGridCoordinates(
      gx, gy, tileType, moisture, fertility
    )
  }
addTileWithPixelCoordinates ( px , py , tileType , moisture , fertility ) { var gx = this . pixelsToGridX ( px ) var gy = this . pixelsToGridY ( py ) return this . addTileWithGridCoordinates ( gx , gy , tileType , moisture , fertility ) }
Convenience function to store a tile with pixel coordinates
Convenience function to store a tile with pixel coordinates