CArtifactsOfHeroMain.h 639 B

123456789101112131415161718192021222324252627
  1. /*
  2. * CArtifactsOfHeroMain.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 "CArtifactsOfHeroBase.h"
  12. VCMI_LIB_NAMESPACE_BEGIN
  13. struct ArtifactLocation;
  14. VCMI_LIB_NAMESPACE_END
  15. class CArtifactsOfHeroMain : public CArtifactsOfHeroBase
  16. {
  17. public:
  18. CArtifactsOfHeroMain(const Point & position);
  19. ~CArtifactsOfHeroMain();
  20. void swapArtifacts(const ArtifactLocation & srcLoc, const ArtifactLocation & dstLoc);
  21. void pickUpArtifact(CHeroArtPlace & artPlace);
  22. };