0 Members and 1 Guest are viewing this topic.
Don't create them dynamically, there's no need to.
for(int i=0;i<5;++i) for(int j=0;j<5;++j) mRooms.push_back(new Room(10,10,10*i,10*j));