A throw-class that is given when the AI made a fatal error. More...
#include <ai_instance.hpp>
Public Member Functions | |
AI_FatalError (const char *msg) | |
Creates a "fatal error" exception. | |
const char * | GetErrorMessage () |
The error message associated with the fatal error. | |
Private Attributes | |
const char * | msg |
The error message. |
A throw-class that is given when the AI made a fatal error.
Definition at line 57 of file ai_instance.hpp.
AI_FatalError::AI_FatalError | ( | const char * | msg | ) | [inline] |
Creates a "fatal error" exception.
msg | The message describing the cause of the fatal error. |
Definition at line 63 of file ai_instance.hpp.
const char* AI_FatalError::GetErrorMessage | ( | ) | [inline] |
The error message associated with the fatal error.
Definition at line 71 of file ai_instance.hpp.
References msg.
Referenced by AIInstance::AIInstance(), AIInstance::GameLoop(), and AIInstance::Save().