void Update() { if (playerHealth.getHealthPoints() == 100f) { HealingEffect(); } if (playerHealth.getBleedingEffect() && playerHealth.getHealthPoints() > 0f) { BleedingEffect(); } }
void Update() { if (playerHealth.getHealthPoints() == 100f) { HealingEffect(); } if (playerHealth.getBleedingEffect() && playerHealth.getHealthPoints() > 0f) { BleedingEffect(); } }