PotentialTargets.h 605 B

123456789101112131415161718192021222324
  1. /*
  2. * PotentialTargets.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 "AttackPossibility.h"
  12. class PotentialTargets
  13. {
  14. public:
  15. std::vector<AttackPossibility> possibleAttacks;
  16. std::vector<const battle::Unit *> unreachableEnemies;
  17. PotentialTargets(){};
  18. PotentialTargets(const battle::Unit * attacker, const HypotheticBattle & state);
  19. const AttackPossibility & bestAction() const;
  20. int64_t bestActionValue() const;
  21. };