| 172 | } |
| 173 | |
| 174 | void PickupSummaryController::Draw() const |
| 175 | { |
| 176 | //DrawDebug(); |
| 177 | |
| 178 | if (!g_GameFlow->GetSettings()->Hud.PickupNotifier) |
| 179 | return; |
| 180 | |
| 181 | if (_displayPickups.empty()) |
| 182 | return; |
| 183 | |
| 184 | // Draw display pickups. |
| 185 | for (const auto& pickup : _displayPickups) |
| 186 | { |
| 187 | if (pickup.IsOffscreen()) |
| 188 | continue; |
| 189 | |
| 190 | g_Renderer.DrawDisplayPickup(pickup); |
| 191 | } |
| 192 | } |
| 193 | |
| 194 | void PickupSummaryController::Clear() |
| 195 | { |
nothing calls this directly
no test coverage detected