#include "WorldMap.h" using namespace std; WorldMap::WorldMap(int width, int height) { this->width = width; this->height = height; vctMap = new vector*>(width); for (int x=0; x* newVector = new vector(height); for (int y=0; ysetElement(x, y, TERRAIN_OCEAN); else m->setElement(x, y, TERRAIN_GRASS); } } m->setElement(5, 5, TERRAIN_ROCK); return m; }