Search Results for

    Show / Hide Table of Contents

    Class SpellElementConsideration

    Considers the effectiveness of the attack and receiver's element.

    Inheritance
    Object
    Consideration
    SpellElementConsideration
    Implements
    IDataBind<RuntimeSpellAttackData>
    Inherited Members
    Consideration.Description
    Consideration.ResponseCurve
    Consideration.GetSimulatedScore(Single)
    Namespace: TinnyStudios.AIUtility.Impl.Examples.TurnBasedSpell
    Assembly: UtilityAIFramework.dll
    Syntax
    public class SpellElementConsideration : Consideration, IDataBind<RuntimeSpellAttackData>

    Methods

    Bind(RuntimeSpellAttackData)

    Bind/Inject the Action's Spell Attack Data to this consideration as an action spell data can change at runtime.

    Declaration
    public void Bind(RuntimeSpellAttackData runtimeSpellData)
    Parameters
    Type Name Description
    RuntimeSpellAttackData runtimeSpellData

    GetScore(Agent, IUtilityAction)

    Declaration
    public override float GetScore(Agent agent, IUtilityAction action)
    Parameters
    Type Name Description
    Agent agent
    IUtilityAction action
    Returns
    Type Description
    Single
    Overrides
    Consideration.GetScore(Agent, IUtilityAction)

    Implements

    IDataBind<T>
    In This Article
    Back to top Generated by DocFX