ThreatMap.h 629 B

12345678910111213141516171819202122232425
  1. /*
  2. * ThreatMap.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. /*
  11. #pragma once
  12. #include "common.h"
  13. #include "CCallback.h"
  14. /*
  15. class ThreatMap
  16. {
  17. public:
  18. std::array<std::vector<BattleAttackInfo>, GameConstants::BFIELD_SIZE> threatMap; // [hexNr] -> enemies able to strike
  19. const CStack *endangered;
  20. std::array<int, GameConstants::BFIELD_SIZE> sufferedDamage;
  21. ThreatMap(const CStack *Endangered);
  22. };*/ // These lines may be usefull but they are't used in the code.