| 1630 | } |
| 1631 | |
| 1632 | void GameMode::selectSquaredTiles(int tileX1, int tileY1, int tileX2, int tileY2) |
| 1633 | { |
| 1634 | // Loop over the tiles in the rectangular selection region and set their setSelected flag accordingly. |
| 1635 | std::vector<Tile*> affectedTiles = mGameMap->rectangularRegion(tileX1, |
| 1636 | tileY1, tileX2, tileY2); |
| 1637 | |
| 1638 | selectTiles(affectedTiles); |
| 1639 | } |
| 1640 | |
| 1641 | void GameMode::selectTiles(const std::vector<Tile*> tiles) |
| 1642 | { |
no test coverage detected