src/ai/api/ai_tilelist.hpp
branchnoai
changeset 9600 59cc173953ae
parent 9596 8af5a1399842
child 9751 556f25efbc54
equal deleted inserted replaced
9599:949374e83b78 9600:59cc173953ae
    42 	 */
    42 	 */
    43 	void AddTile(TileIndex tile);
    43 	void AddTile(TileIndex tile);
    44 
    44 
    45 	/**
    45 	/**
    46 	 * Remove the tiles inside the rectangle between tile_from and tile_to form the list.
    46 	 * Remove the tiles inside the rectangle between tile_from and tile_to form the list.
    47 	 * @param tile_From one corner of the tiles to remove.
    47 	 * @param tile_from one corner of the tiles to remove.
    48 	 * @param tile_to the other corner of the files to remove.
    48 	 * @param tile_to the other corner of the files to remove.
    49 	 * @pre tile_from is below AIMap::GetMapSize().
    49 	 * @pre tile_from is below AIMap::GetMapSize().
    50 	 * @pre tile_to is below AIMap::GetMapSize().
    50 	 * @pre tile_to is below AIMap::GetMapSize().
    51 	 */
    51 	 */
    52 	void RemoveRectangle(TileIndex tile_from, TileIndex tile_to);
    52 	void RemoveRectangle(TileIndex tile_from, TileIndex tile_to);