PossibleSpellcast.h 538 B

123456789101112131415161718192021222324252627282930
  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 <vcmi/spells/Magic.h>
  12. #include "../../lib/battle/Destination.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. };