MCPcopy Create free account
hub / github.com/TombEngine/TombEngine / Draw

Method Draw

TombEngine/Game/Hud/PickupSummary.cpp:174–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 4

GetSettingsMethod · 0.80
IsOffscreenMethod · 0.80
DrawDisplayPickupMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected