mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-28 08:48:48 +02:00
25 lines
472 B
C++
25 lines
472 B
C++
#ifndef CABILITYHANDLER_H
|
|
#define CABILITYHANDLER_H
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
class CAbility
|
|
{
|
|
public:
|
|
std::string name;
|
|
std::string basicText, basicText2;
|
|
std::string advText, advText2;
|
|
std::string expText, expText2;
|
|
int idNumber;
|
|
bool isAllowed; //true if we can use this hero's ability (map information)
|
|
};
|
|
|
|
class CAbilityHandler
|
|
{
|
|
public:
|
|
std::vector<CAbility *> abilities;
|
|
void loadAbilities();
|
|
};
|
|
|
|
#endif CABILITYHANDLER_H |