void Resources::operator+=(const Resources& rhs) { for (auto r : EnumRange<Resource>()) at(r) += rhs.at(r); }