public override void Die() { CharacterHurtBox.Disable(); CharacterHitBox.Disable(); CollisionShape2D.SetDeferred("disabled", true); AnimationPlayer.Play("Death"); }
public override void StartInvincibility() { CharacterHurtBox.Disable(); BlinkAnimationPlayer.Play("Blink"); AnimationPlayer.Play("Hit"); }
public void StartRoll() { AnimationPlayer.Play("Roll"); CharacterHurtBox.Disable(); }