ThreatMap.h 664 B

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