addTileWithGridCoordinates (gx, gy, tileType, moisture, fertility) {
    var tile = new ModelTile({
      x: gx,
      y: gy,
      type: tileType,
      structure: null,
      moisture: moisture,
      fertility: fertility
    })
    this.grid[gy * this.gridSizeX + gx] = tile
    return tile
  }
/**
   * Store a tile in the map in the index formed from grid coordinates
   * 
   * @param {Number} gx
   * @param {Number} gy
   * @param {TileType} tileType
   */
Store a tile in the map in the index formed from grid coordinates


Store a tile in the map in the index formed from grid coordinates
addTileWithGridCoordinates (gx, gy, tileType, moisture, fertility) {
    var tile = new ModelTile({
      x: gx,
      y: gy,
      type: tileType,
      structure: null,
      moisture: moisture,
      fertility: fertility
    })
    this.grid[gy * this.gridSizeX + gx] = tile
    return tile
  }
addTileWithGridCoordinates ( gx , gy , tileType , moisture , fertility ) { var tile = new ModelTile ( { x : gx , y : gy , type : tileType , structure : null , moisture : moisture , fertility : fertility } ) this . grid [ gy * this . gridSizeX + gx ] = tile return tile }
Store a tile in the map in the index formed from grid coordinates
Store a tile in the map in the index formed from grid coordinates