CEmptyAI.h 555 B

123456789101112131415161718
  1. #include "../../AI_Base.h"
  2. class CEmptyAI : public CGlobalAI
  3. {
  4. ICallback * cb;
  5. public:
  6. void init(ICallback * CB);
  7. void yourTurn();
  8. void heroKilled(const CGHeroInstance *);
  9. void heroCreated(const CGHeroInstance *);
  10. void heroMoved(const HeroMoveDetails &);
  11. void heroPrimarySkillChanged(const CGHeroInstance * hero, int which, int val) {};
  12. void showSelDialog(std::string text, std::vector<CSelectableComponent*> & components, int askID){};
  13. void tileRevealed(int3 pos){};
  14. void tileHidden(int3 pos){};
  15. };
  16. #define NAME "EmptyAI 0.1"