VisitObj.h 592 B

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