3#ifndef GAME_CLIENT_COMPONENTS_DAMAGEIND_H
4#define GAME_CLIENT_COMPONENTS_DAMAGEIND_H
32 virtual int Sizeof()
const override {
return sizeof(*this); }
35 virtual void OnReset()
override;
37 virtual void OnInit()
override;
Definition: component.h:20
Definition: damageind.h:10
virtual int Sizeof() const override
Definition: damageind.h:32
virtual void OnRender() override
Definition: damageind.cpp:32
int m_NumItems
Definition: damageind.h:26
virtual void OnInit() override
Definition: damageind.cpp:81
@ MAX_ITEMS
Definition: damageind.h:22
int m_DmgIndQuadContainerIndex
Definition: damageind.h:28
virtual void OnReset() override
Definition: damageind.cpp:94
CDamageInd()
Definition: damageind.cpp:13
void Create(vec2 Pos, vec2 Dir, float Alpha)
Definition: damageind.cpp:18
CItem m_aItems[MAX_ITEMS]
Definition: damageind.h:25
Definition: damageind.h:12
vec2 m_Pos
Definition: damageind.h:13
float m_StartAngle
Definition: damageind.h:16
float m_RemainingLife
Definition: damageind.h:15
vec2 m_Dir
Definition: damageind.h:14
ColorRGBA m_Color
Definition: damageind.h:17