DDraceNetwork Documentation
Loading...
Searching...
No Matches
freezebars.h
Go to the documentation of this file.
1#ifndef GAME_CLIENT_COMPONENTS_FREEZEBARS_H
2#define GAME_CLIENT_COMPONENTS_FREEZEBARS_H
4
5class CFreezeBars : public CComponent
6{
7 void RenderFreezeBar(const int ClientId);
8 void RenderFreezeBarPos(float x, const float y, const float Width, const float Height, float Progress, float Alpha = 1.0f);
9 bool IsPlayerInfoAvailable(int ClientId) const;
10
11public:
12 int Sizeof() const override { return sizeof(*this); }
13 void OnRender() override;
14};
15
16#endif
Definition component.h:165
Definition freezebars.h:6
void OnRender() override
Definition freezebars.cpp:197
void RenderFreezeBar(const int ClientId)
Definition freezebars.cpp:5
bool IsPlayerInfoAvailable(int ClientId) const
Definition freezebars.cpp:190
void RenderFreezeBarPos(float x, const float y, const float Width, const float Height, float Progress, float Alpha=1.0f)
Definition freezebars.cpp:39
int Sizeof() const override
Definition freezebars.h:12
Definition vmath.h:15