![]() |
Walls And Holes
1
|
Functions | |
QRegion | getFillRegion (TileMap *tileMap, int x, int y) |
getFillRegion More... | |
QRegion | getAllOfTemplate (TileMap *tileMap, TileTemplate *tileTemplate) |
QRegion | getAllOfTemplateAtTile (TileMap *tileMap, int x, int y) |
QRegion TileMapHelper::getAllOfTemplate | ( | TileMap * | tileMap, |
TileTemplate * | tileTemplate | ||
) |
QRegion TileMapHelper::getAllOfTemplateAtTile | ( | TileMap * | tileMap, |
int | x, | ||
int | y | ||
) |
QRegion TileMapHelper::getFillRegion | ( | TileMap * | tileMap, |
int | x, | ||
int | y | ||
) |
getFillRegion
The region of tiles that are of the same tiletemplate of the tile at x y and touch this region, or another tile in this region.
The output is what one would expect from a fill tool.
tilemap | |
x | |
y |