Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

AIException Class Reference

#include <AIBase.h>

Inheritance diagram for AIException:

AIPremise List of all members.

Public Member Functions

 AIException (std::vector< int > params_=std::vector< int >(), AIWrapper *n_=0, float badgoodscalevalue_=0.0f, int stateIDduringexception_=-1)
AIExceptionoperator= (int param_)
AIExceptionoperator+= (int param_)
virtual ~AIException ()
 empty destructor


Public Attributes

AIWrappern
 the target of the exception

float badgoodscalevalue
 ranking of the exception for the target on a bad/good axis

int stateIDduringexception
 stateID of target when exception occurs


Detailed Description

AIException adds vars to AIPremise that facilitate AIKB operations and is the class thrown during gameplay to indicate events and/or properties have changed.


Member Function Documentation

AIException& AIException::operator+= int  param_  )  [inline]
 

adds a parameter

See also:
operator=()

Reimplemented from AIPremise.

AIException& AIException::operator= int  param_  )  [inline]
 

NOTE: this operator does NOT reset vars unique to an AIException, it merely calls the operator of its super and returns *this

Reimplemented from AIPremise.


The documentation for this class was generated from the following file:
Generated on Sun Apr 11 05:05:56 2004 for FSM_API by doxygen 1.3.6