A simple class used to handle enemies in Feel's Barbarian demo scene
More...
|
virtual void | TakeDamage (int damage) |
| Applies damage to this character, if not in cooldown More...
|
|
A simple class used to handle enemies in Feel's Barbarian demo scene
◆ TakeDamage()
virtual void MoreMountains.Feel.BarbarianEnemy.TakeDamage |
( |
int |
damage | ) |
|
|
virtual |
Applies damage to this character, if not in cooldown
- Parameters
-
◆ _lastDamageTakenAt
float MoreMountains.Feel.BarbarianEnemy._lastDamageTakenAt = -10f |
|
protected |
◆ DamageCooldown
float MoreMountains.Feel.BarbarianEnemy.DamageCooldown = 1f |
a cooldown, in seconds, during which the character can't be damaged
◆ DamageFeedback
MMFeedbacks MoreMountains.Feel.BarbarianEnemy.DamageFeedback |
a feedback to play when getting damage
The documentation for this class was generated from the following file: