CEmptyAI.h 583 B

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