| 2138 | |
| 2139 | |
| 2140 | int Map::getNumObjects() const |
| 2141 | { |
| 2142 | int num_objects = 0; |
| 2143 | for (const MapPart* part : parts) |
| 2144 | num_objects += part->getNumObjects(); |
| 2145 | return num_objects; |
| 2146 | } |
| 2147 | |
| 2148 | int Map::addObject(Object* object, int part_index) |
| 2149 | { |
no outgoing calls
no test coverage detected