#include "AIThermal.hxx"
#include "AICarrier.hxx"
#include "AIStatic.hxx"
+#include "AIMultiplayer.hxx"
SG_USING_STD(list);
return ai_plane;
}
+void*
+FGAIManager::createMultiplayer( FGAIModelEntity *entity ) {
+
+ FGAIMultiplayer* ai_plane = new FGAIMultiplayer(this);
+ ai_list.push_back(ai_plane);
+ ++numObjects[0];
+ ++numObjects[FGAIBase::otMultiplayer];
+ ai_plane->setAcType(entity->acType);
+ ai_plane->setCompany(entity->company);
+ ai_plane->setPath(entity->path.c_str());
+
+ ai_plane->init();
+ ai_plane->bind();
+ return ai_plane;
+}
+
+
void*
FGAIManager::createShip( FGAIModelEntity *entity ) {