ExplorationPoint.h 682 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * ExplorationPoint.h, 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. #pragma once
  11. #include "../Goals/CGoal.h"
  12. #include "../Pathfinding/AINodeStorage.h"
  13. namespace NKAI
  14. {
  15. namespace Goals
  16. {
  17. class DLL_EXPORT ExplorationPoint : public CGoal<ExplorationPoint>
  18. {
  19. public:
  20. ExplorationPoint(int3 tile, int tilesToReviel)
  21. : CGoal(Goals::EXPLORATION_POINT)
  22. {
  23. settile(tile);
  24. setvalue(tilesToReviel);
  25. }
  26. bool operator==(const ExplorationPoint & other) const override;
  27. std::string toString() const override;
  28. };
  29. }
  30. }