resonance 1.0.1
Loading...
Searching...
No Matches
hudscorepulse.h
Go to the documentation of this file.
1#pragma once
2
3#include "rnd/mesh.h"
4
5class HudBadge;
6
15public:
23
36 void MoveTo(HudBadge *pBadge);
37
44 void Hide() {
45 mMesh->SetShowing(0);
46 }
47
48private:
49 Rnd::Mesh *mMesh; // `<layout> score pulse.mesh`
50};
One player's badge on the head-up display, a score readout over a FreQ icon.
Definition hudbadge.h:21
void MoveTo(HudBadge *pBadge)
Show the pulse over one badge's score, in its player's colour.
HudScorePulse()
Resolve <layout> score pulse.mesh and hide it.
void Hide()
Hide the pulse.
Definition hudscorepulse.h:44
Indexed triangle mesh with one material.
Definition mesh.h:46