VisitObj.h 575 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * VisitObj.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 "CGoal.h"
  12. struct HeroPtr;
  13. class VCAI;
  14. class FuzzyHelper;
  15. namespace Goals
  16. {
  17. class DLL_EXPORT VisitObj : public CGoal<VisitObj> //this goal was previously known as GetObj
  18. {
  19. public:
  20. VisitObj() = delete; // empty constructor not allowed
  21. VisitObj(int Objid);
  22. virtual bool operator==(const VisitObj & other) const override;
  23. };
  24. }