mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-28 08:48:48 +02:00
fe5bcc19cf
* redone randomization (mam nadziemę, że będzie toto działać) * no more cheating pathfinder * minor improvements * version changed to 0.52
18 lines
555 B
C++
18 lines
555 B
C++
#include "../../AI_Base.h"
|
|
|
|
class CEmptyAI : public CGlobalAI
|
|
{
|
|
ICallback * cb;
|
|
public:
|
|
void init(ICallback * CB);
|
|
void yourTurn();
|
|
void heroKilled(const CGHeroInstance *);
|
|
void heroCreated(const CGHeroInstance *);
|
|
void heroMoved(const HeroMoveDetails &);
|
|
void heroPrimarySkillChanged(const CGHeroInstance * hero, int which, int val) {};
|
|
void showSelDialog(std::string text, std::vector<CSelectableComponent*> & components, int askID){};
|
|
void tileRevealed(int3 pos){};
|
|
void tileHidden(int3 pos){};
|
|
};
|
|
|
|
#define NAME "EmptyAI 0.1" |