public override void UpdateActor() { base.UpdateActor(); if (!mIdleAnimation.Running) { if (mAttacking && !mAttackAnimation.Running) { mIdleAnimation.StartAnimation(); base.DealDamage(Player.Instance, mAttackDirection); Player.Instance.InteractionBlocked = false; mAttacking = false; } if (Dead && !mDieAnimation.Running) { base.Die(); } } }
public override void AttackVisualistion() { mIdleAnimation.StopAnimation(); mAttackAnimation.StartAnimation(); }
public override void Die() { mIdleAnimation.StopAnimation(); mDieAnimation.StartAnimation(); Dead = true; }