checkTilesInformation (x, y, tileType, structureType, modelCoords) {
    var tile
    if (modelCoords) {
      tile = this.gameAdvancer.getTile(x, y)
    } else {
      tile = this.getTilePixel(x, y)
    }

    assert.equal(tileType, tile.tileType.name)
    if (structureType != null) {
      assert.equal(structureType, tile.structure.structureType.name)
    } else {
      assert(tile.structure == null)
    }
    if (tileType.name === 'grass') {
      assert.equal(tile.moisture, 55)
      assert.equal(tile.fertility, 66)
    }
  }
/**
   * Checks if the tile in screen coordinates has wanted tileType and structureType
   * 
   * @param {number} x 
   * @param {number} y 
   * @param {TileType} tileType 
   * @param {string} structureType 
   */
Checks if the tile in screen coordinates has wanted tileType and structureType


Checks if the tile in screen coordinates has wanted tileType and structureType
checkTilesInformation (x, y, tileType, structureType, modelCoords) {
    var tile
    if (modelCoords) {
      tile = this.gameAdvancer.getTile(x, y)
    } else {
      tile = this.getTilePixel(x, y)
    }
    assert.equal(tileType, tile.tileType.name)
    if (structureType != null) {
      assert.equal(structureType, tile.structure.structureType.name)
    } else {
      assert(tile.structure == null)
    }
    if (tileType.name === 'grass') {
      assert.equal(tile.moisture, 55)
      assert.equal(tile.fertility, 66)
    }
  }
checkTilesInformation ( x , y , tileType , structureType , modelCoords ) { var tile if ( modelCoords ) { tile = this . gameAdvancer . getTile ( x , y ) } else { tile = this . getTilePixel ( x , y ) } assert . equal ( tileType , tile . tileType . name ) if ( structureType != null ) { assert . equal ( structureType , tile . structure . structureType . name ) } else { assert ( tile . structure == null ) } if ( tileType . name === 'grass' ) { assert . equal ( tile . moisture , 55 ) assert . equal ( tile . fertility , 66 ) } }
Checks if the tile in screen coordinates has wanted tileType and structureType
Checks if the tile in screen coordinates has wanted tileType and structureType