|
uint32_t | pos (int x, int y) |
| Returns the tile id at specific coordinates. More...
|
|
void | set_tile (uint32_t tile) |
| Sets the tile selection to a single tile. More...
|
|
void | clear () |
| Clears the selection. More...
|
|
bool | empty () const |
| Returns true when has no tiles or is full of zeros.
|
|
|
std::vector< uint32_t > | m_tiles |
|
int | m_width |
|
int | m_height |
|
◆ clear()
void TileSelection::clear |
( |
| ) |
|
◆ pos()
uint32_t TileSelection::pos |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
Returns the tile id at specific coordinates.
The coordinates might be bigger than the selection size or negative.
◆ set_tile()
void TileSelection::set_tile |
( |
uint32_t |
tile | ) |
|
Sets the tile selection to a single tile.
The documentation for this class was generated from the following files: