| 39 | {} |
| 40 | |
| 41 | void AIInstance::Initialize(AIInfo *info) |
| 42 | { |
| 43 | this->api_version = info->GetAPIVersion(); |
| 44 | |
| 45 | /* Register the AIController (including the "import" command) */ |
| 46 | SQAIController_Register(*this->engine); |
| 47 | |
| 48 | ScriptInstance::Initialize(info->GetMainScript(), info->GetInstanceName(), _current_company); |
| 49 | } |
| 50 | |
| 51 | void AIInstance::RegisterAPI() |
| 52 | { |
nothing calls this directly
no test coverage detected