Walls And Holes  1
TileMapHelper Namespace Reference

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)
 

Function Documentation

◆ getAllOfTemplate()

QRegion TileMapHelper::getAllOfTemplate ( TileMap tileMap,
TileTemplate tileTemplate 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getAllOfTemplateAtTile()

QRegion TileMapHelper::getAllOfTemplateAtTile ( TileMap tileMap,
int  x,
int  y 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFillRegion()

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.

Parameters
tilemap
x
y
Returns
Here is the call graph for this function:
Here is the caller graph for this function: