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++
Raw Normal View History

#include "GeneralAI.h"
#include "../../CCallback.h"
using namespace geniusai::GeneralAI;
CGeneralAI::CGeneralAI()
: m_cb(NULL)
{
}
CGeneralAI::~CGeneralAI()
{
}
2011-05-03 06:14:18 +03:00
void CGeneralAI::init(CCallback *CB)
{
assert(CB != NULL);
m_cb = CB;
CB->waitTillRealize = true;
}