using UnityEngine;

namespace MaskShop
{
    /// <summary>
    /// Base class for all mask parameters using polymorphism
    /// </summary>
    public abstract class MaskParameter : ScriptableObject
    {
        [SerializeField] private string parameterName;
        [SerializeField, TextArea] private string description;

        public string ParameterName => parameterName;
        public string Description => description;

        /// <summary>
        /// Returns the display name for this parameter in requests
        /// </summary>
        public virtual string GetDisplayName()
        {
            return parameterName;
        }
    }
}