|
group2 0.1.0
CSE 125 Group 2
|
Floating damage number spawned at a world-space hit position. More...
#include <HudTypes.hpp>
Public Attributes | |
| float | worldX = 0.f |
| float | worldY = 0.f |
| float | worldZ = 0.f |
| World-space hit position. | |
| int | damage = 0 |
| Damage dealt. | |
| bool | headshot = false |
| bool | shielded = false |
| True if target had armor when hit. | |
Floating damage number spawned at a world-space hit position.
Projected to screen space each frame by the damage number widget.
| int HudDamageNumber::damage = 0 |
Damage dealt.
| bool HudDamageNumber::headshot = false |
| bool HudDamageNumber::shielded = false |
True if target had armor when hit.
| float HudDamageNumber::worldX = 0.f |
| float HudDamageNumber::worldY = 0.f |
| float HudDamageNumber::worldZ = 0.f |
World-space hit position.