/// <summary>
    /// Called by the PetAnimationEventHandler when the FireBlowOut animation is
    /// complete
    /// </summary>
    public void DoneWithFireBlowAnimation()
    {
        fireScript.Stop();

        if (OnBreathEnded != null)
        {
            OnBreathEnded(this, EventArgs.Empty);
        }
    }
예제 #2
0
    /// <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);
        }
    }