/// <summary> /// Called by the PetAnimationEventHandler when the FireBlowOut animation is /// complete /// </summary> public void DoneWithFireBlowAnimation() { fireScript.Stop(); if (OnBreathEnded != null) { OnBreathEnded(this, EventArgs.Empty); } }
/// <summary> /// Called by the PetAnimationEventHandler when the FireBlowOut animation is /// complete /// </summary> public void DoneWithFireBlowAnimation() { currentAnimationState = PetAnimStates.Idling; fireScript.Stop(); if (OnBreathEnded != null) { OnBreathEnded(this, EventArgs.Empty); } }