PossibleSpellcast.h 542 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * PossibleSpellcast.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 "../../lib/battle/Destination.h"
  12. #include "../../lib/spells/Magic.h"
  13. class CSpell;
  14. class PossibleSpellcast
  15. {
  16. public:
  17. using ValueMap = std::map<uint32_t, int64_t>;
  18. const CSpell * spell;
  19. spells::Target dest;
  20. int64_t value;
  21. PossibleSpellcast();
  22. virtual ~PossibleSpellcast();
  23. };