2007-10-17 01:41:45 +03:00
|
|
|
#include "CEmptyAI.h"
|
2007-10-21 19:45:13 +03:00
|
|
|
#include <iostream>
|
2007-12-06 20:32:06 +02:00
|
|
|
void CEmptyAI::init(ICallback * CB)
|
2007-10-21 19:45:13 +03:00
|
|
|
{
|
|
|
|
cb = CB;
|
|
|
|
human=false;
|
2007-12-01 14:50:33 +02:00
|
|
|
playerID=cb->getMyColor();
|
|
|
|
serialID=cb->getMySerial();
|
2007-10-21 19:45:13 +03:00
|
|
|
std::cout << "EmptyAI initialized." << std::endl;
|
|
|
|
}
|
2007-10-17 01:41:45 +03:00
|
|
|
void CEmptyAI::yourTurn()
|
|
|
|
{
|
2008-07-27 20:07:37 +03:00
|
|
|
cb->endTurn();
|
2007-10-17 01:41:45 +03:00
|
|
|
}
|
2008-02-05 05:56:45 +02:00
|
|
|
void CEmptyAI::heroKilled(const CGHeroInstance *)
|
2007-10-17 01:41:45 +03:00
|
|
|
{
|
|
|
|
}
|
2008-02-05 05:56:45 +02:00
|
|
|
void CEmptyAI::heroCreated(const CGHeroInstance *)
|
2007-10-17 01:41:45 +03:00
|
|
|
{
|
|
|
|
}
|
|
|
|
void CEmptyAI::heroMoved(const HeroMoveDetails &)
|
|
|
|
{
|
|
|
|
}
|