The snapshot of scoring all the considerations associated with a single action object.
More...
|
| ActionSelection (float score, GameObject actionObject, IList< IAction > actions, IContext context) |
|
bool | IsBetterThan (float otherScore) |
|
override string | ToString () |
|
The snapshot of scoring all the considerations associated with a single action object.
A list of these, one per action object, is passed to the ActionSelector for this decision. The winning selection is returned from DecisionFlex.PerformAction and also via the TenPN.DecisionFlex.DecisionFlex OnNewAction "DecisionFlex.OnNewAction" callback.
IList<IAction> TenPN.DecisionFlex.ActionSelection.Actions |
since one action object can contain multiple actions, here they all are
IContext TenPN.DecisionFlex.ActionSelection.Context |
the context used by the considerations to come to this score
float TenPN.DecisionFlex.ActionSelection.Score |
the normalized score of the action object. not less than 0, normally less than 1
The documentation for this struct was generated from the following file: