1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00
vcmi/AI/GeniusAI/GeneralAI.cpp
Michał W. Urbańczyk b4144dc616 Callback jugglery, part 1.
Fixed #252.
2011-05-03 03:14:18 +00:00

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(CCallback *CB)
{
assert(CB != NULL);
m_cb = CB;
CB->waitTillRealize = true;
}