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

Method Update

TombEngine/Game/Hud/Hud.cpp:22–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20 }
21
22 void HudController::Update(const ItemInfo& playerItem)
23 {
24 // Delay pickup summary update until HUD is available again to avoid
25 // lack of consequential indication, e.g. after flyby triggered by a pickup.
26 if (CanDrawHud())
27 PickupSummary.Update();
28
29 InteractionHighlighter.Update();
30 TargetHighlighter.Update(playerItem);
31 Speedometer.Update();
32 StatusBars.Update(playerItem);
33 }
34
35 void HudController::Draw2D(const ItemInfo& playerItem) const
36 {

Callers 6

UseItemMethod · 0.45
GamePhaseFunction · 0.45
FreezePhaseFunction · 0.45
GameMainFunction · 0.45
DoGameLoopFunction · 0.45
UpdateLaraFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected