|
Crystal AI
1.0.0
|
An AiCollection is a container of all AI building blocks necessary for the construction of utility AI instances. More...
Classes | |
| class | BehaviourCollectionNullException |
Public Member Functions | |
| bool | Add (IUtilityAi ai) |
| Adds the specified AI. More... | |
| bool | Contains (string aiId) |
| Determines whether [contains] [the specified name identifier]. More... | |
| IUtilityAi | GetAi (string aiId) |
| Gets the AI. More... | |
| IUtilityAi | Create (string aiId) |
| Creates a new utility AI instance if the requested AI named aiId exists within the AiCollection, otherwise this returns null. More... | |
| void | Clear () |
| Removes all AIs in this collection. More... | |
| void | ClearAll () |
| Clears everything, i.e. all actions, considerations, options, behaviours and AIs. More... | |
| AiCollection (IBehaviourCollection behaviourCollection) | |
| Initializes a new instance of the AiCollection class. More... | |
Properties | |
| IBehaviourCollection | Behaviours [get] |
| All behaviours available to this AiCollection. More... | |
| IOptionCollection | Options [get] |
| All options available to this AiCollection. More... | |
| IConsiderationCollection | Considerations [get] |
| All considerations available to this AiCollection. More... | |
| IActionCollection | Actions [get] |
| All actions available to this AiCollection. More... | |
Properties inherited from Crystal.IAiCollection | |
| IBehaviourCollection | Behaviours [get] |
| All behaviours available to this AiCollection. More... | |
| IOptionCollection | Options [get] |
| All options available to this AiCollection. More... | |
| IConsiderationCollection | Considerations [get] |
| All considerations available to this AiCollection. More... | |
| IActionCollection | Actions [get] |
| All actions available to this AiCollection. More... | |
An AiCollection is a container of all AI building blocks necessary for the construction of utility AI instances.
|
inline |
Initializes a new instance of the AiCollection class.
| behaviourCollection | The behaviour collection. |
| Crystal.AiCollection.BehaviourCollectionNullException |
|
inline |
|
inline |
Removes all AIs in this collection.
Implements Crystal.IAiCollection.
|
inline |
Clears everything, i.e. all actions, considerations, options, behaviours and AIs.
Implements Crystal.IAiCollection.
|
inline |
Determines whether [contains] [the specified name identifier].
| aiId | The name identifier. |
true if [contains] [the specified name identifier]; otherwise, false. Implements Crystal.IAiCollection.
|
inline |
Creates a new utility AI instance if the requested AI named aiId exists within the AiCollection, otherwise this returns null.
| aiId |
Implements Crystal.IAiCollection.
|
inline |
|
get |
All actions available to this AiCollection.
|
get |
All behaviours available to this AiCollection.
|
get |
All considerations available to this AiCollection.
|
get |
All options available to this AiCollection.