2
0

BattleAction.h 526 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * BattleAction.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 "ISpecialAction.h"
  12. namespace AIPathfinding
  13. {
  14. class BattleAction : public ISpecialAction
  15. {
  16. private:
  17. const int3 targetTile;
  18. public:
  19. BattleAction(const int3 targetTile)
  20. :targetTile(targetTile)
  21. {
  22. }
  23. Goals::TSubgoal whatToDo(const HeroPtr & hero) const override;
  24. };
  25. }