| 968 | } |
| 969 | |
| 970 | void EditorMode::selectSquaredTiles(int tileX1, int tileY1, int tileX2, int tileY2) |
| 971 | { |
| 972 | // Loop over the tiles in the rectangular selection region and set their setSelected flag accordingly. |
| 973 | std::vector<Tile*> affectedTiles = mGameMap->rectangularRegion(tileX1, |
| 974 | tileY1, tileX2, tileY2); |
| 975 | |
| 976 | selectTiles(affectedTiles); |
| 977 | } |
| 978 | |
| 979 | void EditorMode::selectTiles(const std::vector<Tile*> tiles) |
| 980 | { |
nothing calls this directly
no test coverage detected