ExplorationPoint.cpp 667 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * HeroExchange.cpp, part of VCMI engine
  3. *
  4. * Authors: listed in file AUTHORS in main folder
  5. *
  6. * License: GNU General Public License v2.0 or later
  7. * Full text of license available in license.txt file, in main folder
  8. *
  9. */
  10. #include "StdInc.h"
  11. #include "ExplorationPoint.h"
  12. #include "../AIGateway.h"
  13. #include "../Engine/Nullkiller.h"
  14. #include "../AIUtility.h"
  15. #include "../Analyzers/ArmyManager.h"
  16. namespace NKAI
  17. {
  18. using namespace Goals;
  19. bool ExplorationPoint::operator==(const ExplorationPoint & other) const
  20. {
  21. return false;
  22. }
  23. std::string ExplorationPoint::toString() const
  24. {
  25. return "Explore " +tile.toString() + " for " + std::to_string(value) + " tiles";
  26. }
  27. }