Base class for actions DecisionFlex.cs can do. More...
Public Member Functions | |
void | Perform (IContext context) |
Base class for actions DecisionFlex.cs can do.
DecisionFlex.cs looks for this interface when enumerating possible actions. See structure for more on how to set this up.
If you are integrating DecisionFlex into existing code, you can use this to extend your current behaviours. If you are writing new code, you can derive from Action directly.
void TenPN.DecisionFlex.IAction.Perform | ( | IContext | context | ) |
Called once DecisionFlex has decided you can run.
[in] | context | the IContext in which DecisionFlex decided to run this action |
Implemented in TenPN.DecisionFlex.Demos.RandomModifyAttribute, TenPN.DecisionFlex.Demos.WeaponAction, TenPN.DecisionFlex.Demos.ModifyAttribute, TenPN.DecisionFlex.UnityEventAction, TenPN.DecisionFlex.ToggleScriptAction, TenPN.DecisionFlex.Action, and TenPN.DecisionFlex.IdleAction.