Crystal AI
1.0.0
|
A collection of AI T:Crystal.IOptions. More...
Classes | |
class | ActionCollectionNullException |
class | ConsiderationCollectionNullException |
Public Member Functions | |
bool | Add (IOption option) |
Adds the specified option to this collection. More... | |
bool | Contains (string optionId) |
Determines whether this collection contains the option associated with the specified identifier. More... | |
void | Clear () |
Clears all T:Crystal.IOptions from this collection. More... | |
void | ClearAll () |
Clears all T:Crystal.IOptions from this collection. Additionally all considerations are cleared from P:Crystal.IOptionCollection.Considerations and all actions are cleared from P:Crystal.IOptionCollection.Actions. More... | |
IOption | Create (string optionId) |
Creates an instance of the option that is associated with the given identifier. If such an option does not exist null is returned.f More... | |
OptionCollection (IActionCollection actionCollection, IConsiderationCollection considerationCollection) | |
Initializes a new instance of the OptionCollection class. More... | |
Properties | |
IActionCollection | Actions [get] |
The T:Crystal.IActionCollection used to construct this T:Crystal.IOptionCollection.. More... | |
IConsiderationCollection | Considerations [get] |
The T:Crystal.IConsiderationCollection used to construct this T:Crystal.IOptionCollection.. More... | |
Properties inherited from Crystal.IOptionCollection | |
IActionCollection | Actions [get] |
The T:Crystal.IActionCollection used to construct this T:Crystal.IOptionCollection.. More... | |
IConsiderationCollection | Considerations [get] |
The T:Crystal.IConsiderationCollection used to construct this T:Crystal.IOptionCollection.. More... | |
A collection of AI T:Crystal.IOptions.
|
inline |
Initializes a new instance of the OptionCollection class.
actionCollection | The action collection. |
considerationCollection | The consideration collection. |
T:Crystal.OptionCollection.ActionCollectionNullException | |
T:Crystal.OptionCollection.ConsiderationCollectionNullException |
|
inline |
Adds the specified option to this collection.
option | The option. |
true
if the T:Crystal.IOption was successfully added to this collection; otherwise, false
. Implements Crystal.IOptionCollection.
|
inline |
Clears all T:Crystal.IOptions from this collection.
Implements Crystal.IOptionCollection.
|
inline |
Clears all T:Crystal.IOptions from this collection. Additionally all considerations are cleared from P:Crystal.IOptionCollection.Considerations and all actions are cleared from P:Crystal.IOptionCollection.Actions.
Implements Crystal.IOptionCollection.
|
inline |
Determines whether this collection contains the option associated with the specified identifier.
optionId | The option identifier. |
true
if this collection contains an option with the specified identifier; otherwise, false
. Implements Crystal.IOptionCollection.
|
inline |
Creates an instance of the option that is associated with the given identifier. If such an option does not exist null
is returned.f
optionId | The option identifier. |
Implements Crystal.IOptionCollection.
|
get |
The T:Crystal.IActionCollection used to construct this T:Crystal.IOptionCollection..
|
get |
The T:Crystal.IConsiderationCollection used to construct this T:Crystal.IOptionCollection..