public void damage(float amount) { print(amount); life -= amount; if (life < 0) { followPlayer.Die(); } else { followPlayer.Hit(); } }