Crystal AI  1.0.0
Crystal.ActionCollection Class Reference

AI Actions collection. More...

Inheritance diagram for Crystal.ActionCollection:
Crystal.IActionCollection

Public Member Functions

bool Add (IAction action)
 Adds the specified action. More...
 
bool Contains (string actionId)
 Determines whether this collection contains an action with the specified identifier (actionId). More...
 
void Clear ()
 Removes all actions from this collection. More...
 
IAction Create (string actionId)
 Creates the specified action identifier. More...
 
 ActionCollection ()
 Initializes a new instance of the ActionCollection class. More...
 

Detailed Description

AI Actions collection.

See also
T:Crystal.IActionCollection

Constructor & Destructor Documentation

Crystal.ActionCollection.ActionCollection ( )
inline

Initializes a new instance of the ActionCollection class.

Member Function Documentation

bool Crystal.ActionCollection.Add ( IAction  action)
inline

Adds the specified action.

Parameters
actionThe action.
Returns
true if the action was successfully added to the collection, false otherwise.

Implements Crystal.IActionCollection.

void Crystal.ActionCollection.Clear ( )
inline

Removes all actions from this collection.

Implements Crystal.IActionCollection.

bool Crystal.ActionCollection.Contains ( string  actionId)
inline

Determines whether this collection contains an action with the specified identifier (actionId).

Parameters
actionIdThe action identifier.
Returns
true if an action with the specified identifier exists within the collection; otherwise, false.

Implements Crystal.IActionCollection.

IAction Crystal.ActionCollection.Create ( string  actionId)
inline

Creates the specified action identifier.

Parameters
actionIdThe action identifier.
Returns
T:Crystal.IAction if an action with the specified identifier exists, null otherwise.

Implements Crystal.IActionCollection.


The documentation for this class was generated from the following file: