-, areaSize(areaSize)
-, numres(numres)
-, total(size.x * size.y)
-, sec_begin(reinterpret_cast<Sector *>(new char[total * sizeof(Sector)]))
-, sec_end(sec_begin + total) {
- for (Sector *i = sec_begin; i < sec_end; ++i) {
- new (i) Sector(secSize, numres);
- }