|
Crystal AI
1.0.0
|
The decision maker, every agent will have one or more of these to execute different AIs. More...
Classes | |
| class | SchedulerNullException |
Public Member Functions | |
| DecisionMaker (IUtilityAi uai, IContextProvider contextProvider, IScheduler aiScheduler) | |
| Initializes a new instance of the DecisionMaker class. More... | |
Public Member Functions inherited from Crystal.DecisionMakerBase | |
| void | Start () |
| Starts the associated AI and sets the decision maker state to F:Crystal.DecisionMakerState.Running. More... | |
| void | Stop () |
| Stops the associated AI and sets the decision maker state to F:Crystal.DecisionMakerState.Stopped. More... | |
| void | Pause () |
| Pauses the associated AI and the decision maker state to F:Crystal.DecisionMakerState.Paused. More... | |
| void | Resume () |
| Resumes execution of the associated AI and sets the decision maker state to F:Crystal.DecisionMakerState.Running. More... | |
| void | Think () |
| Makes a decision on what should be the next action to be executed. More... | |
| void | Update () |
| Updates the action selected by Think() - that is if it needs updating, otherwise this will simply return. More... | |
Protected Member Functions | |
| override void | OnStart () |
| Called after M:Crystal.DecisionMakerBase.Start. More... | |
| override void | OnStop () |
| Called after M:Crystal.DecisionMakerBase.Stop. More... | |
| override void | OnPause () |
| Called after M:Crystal.DecisionMakerBase.Pause. More... | |
| override void | OnResume () |
| Called after M:Crystal.DecisionMakerBase.Resume. More... | |
Protected Member Functions inherited from Crystal.DecisionMakerBase | |
| DecisionMakerBase (IUtilityAi ai, IContextProvider contextProvider) | |
| Initializes a new instance of the DecisionMakerBase class. More... | |
Properties | |
| float | InitThinkDelayMin [get, set] |
| The minimum initial think delay in seconds. More... | |
| float | InitThinkDelayMax [get, set] |
| Gets or sets the initialize think delay maximum. More... | |
| float | ThinkDelayMin [get, set] |
| Gets or sets the think delay minimum. More... | |
| float | ThinkDelayMax [get, set] |
| Gets or sets the think delay maximum. More... | |
| float | InitUpdateDelayMin [get, set] |
| Gets or sets the initialize update delay minimum. More... | |
| float | InitUpdateDelayMax [get, set] |
| Gets or sets the initialize update delay maximum. More... | |
| float | UpdateDelayMin [get, set] |
| Gets or sets the update delay minimum. More... | |
| float | UpdateDelayMax [get, set] |
| Gets or sets the update delay maximum. More... | |
Properties inherited from Crystal.DecisionMakerBase | |
| DecisionMakerState | State [get, protected set] |
| The state of the decision maker. More... | |
Properties inherited from Crystal.IDecisionMaker | |
| DecisionMakerState | State [get] |
| The state of the decision maker. More... | |
The decision maker, every agent will have one or more of these to execute different AIs.
|
inline |
Initializes a new instance of the DecisionMaker class.
| uai | The uai. |
| contextProvider | The context provider. |
| aiScheduler | The ai scheduler. |
| Crystal.DecisionMaker.SchedulerNullException |
|
inlineprotectedvirtual |
Called after M:Crystal.DecisionMakerBase.Pause.
Implements Crystal.DecisionMakerBase.
|
inlineprotectedvirtual |
Called after M:Crystal.DecisionMakerBase.Resume.
Implements Crystal.DecisionMakerBase.
|
inlineprotectedvirtual |
Called after M:Crystal.DecisionMakerBase.Start.
Implements Crystal.DecisionMakerBase.
|
inlineprotectedvirtual |
Called after M:Crystal.DecisionMakerBase.Stop.
Implements Crystal.DecisionMakerBase.
|
getset |
Gets or sets the initialize think delay maximum.
The initialize think delay maximum.
|
getset |
The minimum initial think delay in seconds.
|
getset |
Gets or sets the initialize update delay maximum.
The initialize update delay maximum.
|
getset |
Gets or sets the initialize update delay minimum.
The initialize update delay minimum.
|
getset |
Gets or sets the think delay maximum.
The think delay maximum.
|
getset |
Gets or sets the think delay minimum.
The think delay minimum.
|
getset |
Gets or sets the update delay maximum.
The update delay maximum.
|
getset |
Gets or sets the update delay minimum.
The update delay minimum.