CEmptyAI.cpp 425 B

12345678910111213141516171819202122
  1. #include "CEmptyAI.h"
  2. #include <iostream>
  3. void CEmptyAI::init(ICallback * CB)
  4. {
  5. cb = CB;
  6. human=false;
  7. playerID=cb->getMyColor();
  8. serialID=cb->getMySerial();
  9. std::cout << "EmptyAI initialized." << std::endl;
  10. }
  11. void CEmptyAI::yourTurn()
  12. {
  13. }
  14. void CEmptyAI::heroKilled(const CHeroInstance *)
  15. {
  16. }
  17. void CEmptyAI::heroCreated(const CHeroInstance *)
  18. {
  19. }
  20. void CEmptyAI::heroMoved(const HeroMoveDetails &)
  21. {
  22. }