Crystal AI  1.0.0
Crystal.IDecisionMaker Interface Reference

Interface for the decision maker. The only responsibility of the decision maker is to manage its associated AI. More...

Inheritance diagram for Crystal.IDecisionMaker:
Crystal.DecisionMakerBase Crystal.DecisionMaker

Public Member Functions

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 ()
 Thinks about what to do next. This is the decision making cycle of the AI. More...
 
void Update ()
 Updates the action selected by Think() - that is if it needs updating, otherwise this will simply return. More...
 

Properties

DecisionMakerState State [get]
 The state of the decision maker. More...
 

Detailed Description

Interface for the decision maker. The only responsibility of the decision maker is to manage its associated AI.

Member Function Documentation

void Crystal.IDecisionMaker.Pause ( )

Pauses the associated AI and the decision maker state to F:Crystal.DecisionMakerState.Paused.

Implemented in Crystal.DecisionMakerBase.

void Crystal.IDecisionMaker.Resume ( )

Resumes execution of the associated AI and sets the decision maker state to F:Crystal.DecisionMakerState.Running.

Implemented in Crystal.DecisionMakerBase.

void Crystal.IDecisionMaker.Start ( )

Starts the associated AI and sets the decision maker state to F:Crystal.DecisionMakerState.Running.

Implemented in Crystal.DecisionMakerBase.

void Crystal.IDecisionMaker.Stop ( )

Stops the associated AI and sets the decision maker state to F:Crystal.DecisionMakerState.Stopped.

Implemented in Crystal.DecisionMakerBase.

void Crystal.IDecisionMaker.Think ( )

Thinks about what to do next. This is the decision making cycle of the AI.

Implemented in Crystal.DecisionMakerBase.

void Crystal.IDecisionMaker.Update ( )

Updates the action selected by Think() - that is if it needs updating, otherwise this will simply return.

Implemented in Crystal.DecisionMakerBase.

Property Documentation

DecisionMakerState Crystal.IDecisionMaker.State
get

The state of the decision maker.


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