| 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 | { |
no outgoing calls
no test coverage detected