Creates an empty list, in which you can add tiles.
More...
Detailed Description
Creates an empty list, in which you can add tiles.
Member Function Documentation
Adds the rectangle between tile_from and tile_to to the to-be-evaluated tiles.
- Parameters:
-
| tile_from | One corner of the tiles to add. |
| tile_to | The other corner of the tiles to add. |
- Precondition:
- AIMap::IsValidTile(tile_from).
-
AIMap::IsValidTile(tile_to).
Add a tile to the to-be-evaluated tiles.
- Parameters:
-
- Precondition:
- AIMap::IsValidTile(tile).
Remove the tiles inside the rectangle between tile_from and tile_to form the list.
- Parameters:
-
| tile_from | One corner of the tiles to remove. |
| tile_to | The other corner of the files to remove. |
- Precondition:
- AIMap::IsValidTile(tile_from).
-
AIMap::IsValidTile(tile_to).
void AITileList::RemoveTile |
( |
TileIndex |
tile |
) |
|
Remove a tile from the list.
- Parameters:
-
- Precondition:
- AIMap::IsValidTile(tile).