destroy () {
    let array = [
      this.tileSprite, this.structureSprite, this.flowerSprite,
      this.fertilitySprite, this.moistureSprite, this.treeSprite
    ]
    for (var i = 0; i < array.length; i++) {
      let sprite = array[i]
      if (sprite != null) sprite.destroy()
    }
    // console.log("i lived for " + this.lived + " frames")
  }
/**
   * Called when this ViewTile goes off-screen or otherwise needs a total overhaul
   * 
   * @memberof ViewTile
   */
Called when this ViewTile goes off-screen or otherwise needs a total overhaul


Called when this ViewTile goes off - screen or otherwise needs a total overhaul
destroy () {
    let array = [
      this.tileSprite, this.structureSprite, this.flowerSprite,
      this.fertilitySprite, this.moistureSprite, this.treeSprite
    ]
    for (var i = 0; i < array.length; i++) {
      let sprite = array[i]
      if (sprite != null) sprite.destroy()
    }
  }
destroy ( ) { let array = [ this . tileSprite , this . structureSprite , this . flowerSprite , this . fertilitySprite , this . moistureSprite , this . treeSprite ] for ( var i = 0 ; i < array . length ; i ++ ) { let sprite = array [ i ] if ( sprite != null ) sprite . destroy ( ) } }
Called when this ViewTile goes off-screen or otherwise needs a total overhaul
Called when this ViewTile goes off - screen or otherwise needs a total overhaul
// console.log("i lived for " + this.lived + " frames")