added function "die" to HealthEntity. die() is called when health is set to 0 and can/should be used to trigger the correct death animation.