1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-28 23:06:24 +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;
}