WhirlpoolAction.h 670 B

1234567891011121314151617181920212223242526272829303132333435
  1. /*
  2. * WhirlpoolAction.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 "SpecialAction.h"
  12. #include "../../../../lib/mapObjects/MapObjects.h"
  13. #include "../../Goals/AdventureSpellCast.h"
  14. namespace NKAI
  15. {
  16. namespace AIPathfinding
  17. {
  18. class WhirlpoolAction : public SpecialAction
  19. {
  20. public:
  21. WhirlpoolAction()
  22. {
  23. }
  24. static std::shared_ptr<WhirlpoolAction> instance;
  25. void execute(AIGateway * ai, const CGHeroInstance * hero) const override;
  26. std::string toString() const override;
  27. };
  28. }
  29. }