Base class for considerations that evaluate a context value through an animation curve. More...
Protected Member Functions | |
override float | MakeConsideration (IContext context) |
abstract float | GetValue (IContext context) |
Properties | |
string | ContextName [get] |
Additional Inherited Members | |
Public Member Functions inherited from TenPN.DecisionFlex.Consideration | |
float | Consider (IContext context) |
Base class for considerations that evaluate a context value through an animation curve.
Good for normalising a value into a score in a data-driven way. The majority of your considerations will probaly be derived from this class.
|
inlineprotectedvirtual |
Score this IContext. Called once per IContext produced by the ContextFactory during a decision.
Implements TenPN.DecisionFlex.Consideration.