resonance 1.0.1
Loading...
Searching...
No Matches
hudscore.h
Go to the documentation of this file.
1#pragma once
2
3class Player;
4
5namespace Rnd {
6class Mesh;
7class Text;
8} // namespace Rnd
9
21class HudScore {
22public:
36 HudScore(Player *pPlayer, int nIndex);
37
47 void Update(float flTime);
48
56
57private:
58 Rnd::Text *mText;
59
60public:
68
74 int mScore;
75};
int mScore
The score the text shows once Update() redraws.
Definition hudscore.h:74
Rnd::Mesh * mMesh
The readout's backing mesh.
Definition hudscore.h:55
void Update(float flTime)
Redraw the score once the change has settled.
HudScore(Player *pPlayer, int nIndex)
Resolve the readout's objects for one player.
float mChangeTime
When the pending change arrived.
Definition hudscore.h:67
One participant in a session, local or remote.
Definition player.h:39
Indexed triangle mesh with one material.
Definition mesh.h:46
Run of text drawn as a quad per glyph.
Definition text.h:57
The rendering engine.
Definition animhelper.h:3