﻿using System.Collections.Generic;

namespace pdinklag.CPW.Common
{
    /// <summary>
    /// Animation script delegate.
    /// </summary>
    /// <param name="anim">the affected animation playback</param>
    public delegate void AnimScriptDelegate(IAnimPlayback anim);

    /// <summary>
    /// Move script delegate.
    /// <param name="move">the executed move</param>
    public delegate IEnumerator<YieldInstructionCode> MoveScriptDelegate(IMoveInstance move);
    
    /// <summary>
    /// Entrance script delegate.
    /// <param name="entrance">the played entrance</param>
    public delegate IEnumerator<YieldInstructionCode> EntranceScriptDelegate(IEntrance entrance);

    /// <summary>
    /// Strike reaction script delegate.
    /// <param name="reaction">the played strikereaction</param>
    public delegate IEnumerator<YieldInstructionCode> StrikeReactionScriptDelegate(IStrikeReaction reaction);
}
