mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-20 20:23:03 +02:00
b4144dc616
Fixed #252.
20 lines
287 B
C++
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;
|
|
} |