Obviously I understand how to set the default for the columns, but not the rows. Apparently, just using:
void Map::ResizeMap(int _rowAmount, int _columnAmount)
{
rowAmount = _rowAmount;
columnAmount = _columnAmount;
tileMap.resize(columnAmount);
for (int i = 0; i < columnAmount; i++)
{
tileMap[i].resize(rowAmount, Vector2i(-1, -1));
}
std::cout << tileMap.size() << "," << tileMap[0].size();
}
... was enough to make it set the default for all unspecified tiles to "Vector2i(-1, -1)", but I don't understand how.
(And of course I have checked around for what std::vector does; the reason I'm here is because I don't understand what it means.
English is not my first language, and I have only taken a VERY basic class in C++ for my eleventh year of school.)