class
#include <Jazz2/UI/HUD.h>
HUD Player HUD.
Base classes
- class Canvas
- Canvas.
Constructors, destructors, conversion operators
- HUD(LevelHandler* levelHandler)
- ~HUD()
Public functions
- void OnUpdate(float timeMult) override
- Called once every frame to update the node.
- auto OnDraw(RenderQueue& renderQueue) -> bool override
- Renders the node.
- void OnTouchEvent(const TouchEvent& event, uint32_t& overrideActions)
- void ShowLevelText(StringView text)
- Shows a text notification.
-
void ShowCoins(std::
int32_t count) - Shows a notification about coins.
-
void ShowGems(std::
uint8_t gemType, std:: int32_t count) - Shows a notification about gems.
- void BeginFadeIn()
- Begins a fullscreen fade-in transition.
- void BeginFadeOut(float delay = 0.0f)
- Begins a fullscreen face-out transition.
-
auto IsWeaponWheelVisible(std::
int32_t playerIndex) const -> bool - Returns
true
if weapon wheel is visible.