mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-18 17:40:48 +02:00
30 lines
542 B
C
30 lines
542 B
C
|
/*
|
||
|
* PossibleSpellcast.h, part of VCMI engine
|
||
|
*
|
||
|
* Authors: listed in file AUTHORS in main folder
|
||
|
*
|
||
|
* License: GNU General Public License v2.0 or later
|
||
|
* Full text of license available in license.txt file, in main folder
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "../../lib/battle/Destination.h"
|
||
|
#include "../../lib/spells/Magic.h"
|
||
|
|
||
|
class CSpell;
|
||
|
|
||
|
class PossibleSpellcast
|
||
|
{
|
||
|
public:
|
||
|
using ValueMap = std::map<uint32_t, int64_t>;
|
||
|
|
||
|
const CSpell * spell;
|
||
|
spells::Target dest;
|
||
|
int64_t value;
|
||
|
|
||
|
PossibleSpellcast();
|
||
|
virtual ~PossibleSpellcast();
|
||
|
};
|