createViewTileForFill (tile, pxCoords, viewArea, offset) {
    let viewTile = this.viewTileFactory.getViewTile(tile)
    // viewTile.tileSprite.width = this.tileWidth
    // viewTile.tileSprite.height = this.tileHeight
    this.addHighlights(viewTile)    
    this.addToTexture('ground', viewTile.tileSprite, pxCoords.x, pxCoords.y)
    if (this.showFertility) {
      this.addToTexture('visuals', viewTile.fertilitySprite, pxCoords.x, pxCoords.y)
    }
    if (this.showMoisture) {
      this.addToTexture('visuals', viewTile.moistureSprite, pxCoords.x, pxCoords.y)
    }
    if (viewTile.treeSprite) {
      this.addToTexture('visuals', viewTile.treeSprite, pxCoords.x, pxCoords.y)
    }
    if (this.showFlowers) {
      this.addToTexture('visuals', viewTile.flowerSprite, pxCoords.x, pxCoords.y)
    }
    if (viewTile.structureSprite) {
      this.addToTexture('structure', viewTile.structureSprite, pxCoords.x, pxCoords.y)
    }
  }
/**
   * Creates a ViewTile for a given tile on the map
   * Renders the ViewTile components to different RenderTextures
   * to allow for controlled layering of visual elements.
   * 
   * @param {ModelTile} tile
   * @param {{x: number, y: number}} pxCoords
   * @param { ??? } viewArea
   * @param { ??? } offset - not actually used
   */
Creates a ViewTile for a given tile on the map
Renders the ViewTile components to different RenderTextures
to allow for controlled layering of visual elements.


Creates a ViewTile for a given tile on the map Renders the ViewTile components to different RenderTextures to allow for controlled layering of visual elements .
createViewTileForFill (tile, pxCoords, viewArea, offset) {
    let viewTile = this.viewTileFactory.getViewTile(tile)
    this.addHighlights(viewTile)    
    this.addToTexture('ground', viewTile.tileSprite, pxCoords.x, pxCoords.y)
    if (this.showFertility) {
      this.addToTexture('visuals', viewTile.fertilitySprite, pxCoords.x, pxCoords.y)
    }
    if (this.showMoisture) {
      this.addToTexture('visuals', viewTile.moistureSprite, pxCoords.x, pxCoords.y)
    }
    if (viewTile.treeSprite) {
      this.addToTexture('visuals', viewTile.treeSprite, pxCoords.x, pxCoords.y)
    }
    if (this.showFlowers) {
      this.addToTexture('visuals', viewTile.flowerSprite, pxCoords.x, pxCoords.y)
    }
    if (viewTile.structureSprite) {
      this.addToTexture('structure', viewTile.structureSprite, pxCoords.x, pxCoords.y)
    }
  }
createViewTileForFill ( tile , pxCoords , viewArea , offset ) { let viewTile = this . viewTileFactory . getViewTile ( tile ) this . addHighlights ( viewTile ) this . addToTexture ( 'ground' , viewTile . tileSprite , pxCoords . x , pxCoords . y ) if ( this . showFertility ) { this . addToTexture ( 'visuals' , viewTile . fertilitySprite , pxCoords . x , pxCoords . y ) } if ( this . showMoisture ) { this . addToTexture ( 'visuals' , viewTile . moistureSprite , pxCoords . x , pxCoords . y ) } if ( viewTile . treeSprite ) { this . addToTexture ( 'visuals' , viewTile . treeSprite , pxCoords . x , pxCoords . y ) } if ( this . showFlowers ) { this . addToTexture ( 'visuals' , viewTile . flowerSprite , pxCoords . x , pxCoords . y ) } if ( viewTile . structureSprite ) { this . addToTexture ( 'structure' , viewTile . structureSprite , pxCoords . x , pxCoords . y ) } }
Creates a ViewTile for a given tile on the map
 Renders the ViewTile components to different RenderTextures
 to allow for controlled layering of visual elements.
Creates a ViewTile for a given tile on the map Renders the ViewTile components to different RenderTextures to allow for controlled layering of visual elements .
// viewTile.tileSprite.width = this.tileWidth // viewTile.tileSprite.height = this.tileHeight