A simple yet versatile HealthComponent implementation that uses SendMessage to send its heal & damage events
More...
A simple yet versatile HealthComponent implementation that uses SendMessage to send its heal & damage events
◆ Damage() [1/2]
Damage the component using a damage event
◆ Damage() [2/2]
int JUtils.HealthComponent.Damage |
( |
int |
amount | ) |
|
|
inline |
◆ Heal() [1/2]
int JUtils.HealthComponent.Heal |
( |
IHealEvent @ |
event | ) |
|
|
inline |
Heal the component using a heal event
◆ Heal() [2/2]
int JUtils.HealthComponent.Heal |
( |
int |
amount | ) |
|
|
inline |
◆ Kill()
void JUtils.HealthComponent.Kill |
( |
| ) |
|
|
inline |
◆ KillDelayed()
void JUtils.HealthComponent.KillDelayed |
( |
float |
delay | ) |
|
|
inline |
◆ Revive()
void JUtils.HealthComponent.Revive |
( |
| ) |
|
|
inline |
◆ health
int JUtils.HealthComponent.health |
|
get |
◆ isDead
bool JUtils.HealthComponent.isDead |
|
getset |
◆ maxHealth
int JUtils.HealthComponent.maxHealth |
|
get |
The documentation for this class was generated from the following file: