using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Framework.StatSystem
{
    /// <summary>
    /// An object that modifiers a <see cref="ModifiableVariable"/> object
    /// and returns the result as a floating point value.
    /// </summary>
    public interface Modifierlike
    {
        /// <summary>
        /// Gets the strength of this modifier.
        /// </summary>
        /// <returns></returns>
        float GetStrength();

        /// <summary>
        /// Applies a modification to a variable.
        /// </summary>
        /// <param name="variable">The variable.</param>
        /// <returns></returns>
        float Apply(ModifiableVariable variable);
    }
}
