mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
25 lines
470 B
C++
25 lines
470 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 |