using UnityEngine;

namespace pdinklag.CPW.Common
{
    /// <summary>
    /// A move executed while victim is leaning on something.
    /// </summary>
    [CreateAssetMenu(menuName = "Wrestle/Move/Leaning")]
    public class LeaningMove : PairMove
    {
        /// <summary>
        /// Enumeration of possible opponent leaning poses.
        /// </summary>
        public enum Pose
        {
            /// <summary>
            /// Leaning on the back (facing instigator).
            /// </summary>
            FacingInstigator,

            /// <summary>
            /// Leaning on the front (facing away from instigator).
            /// </summary>
            FacingAwayFromInstigator,
        }

        [Header("Leaning Move Settings")]
        [Tooltip("The opponent's leaning pose required to execute this move.")]
        public Pose OpponentPose;
    }
}
