1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-20 20:23:03 +02:00
vcmi/AI/GeniusAI/GeneralAI.cpp

20 lines
287 B
C++

#include "GeneralAI.h"
#include "../../CCallback.h"
using namespace geniusai::GeneralAI;
CGeneralAI::CGeneralAI()
: m_cb(NULL)
{
}
CGeneralAI::~CGeneralAI()
{
}
void CGeneralAI::init(ICallback *CB)
{
assert(CB != NULL);
m_cb = CB;
CB->waitTillRealize = true;
}