mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
ae279c79c5
* taking some txt files from lods * some minor changes
25 lines
440 B
C++
25 lines
440 B
C++
#ifndef CABILITYHANDLER_H
|
|
#define CABILITYHANDLER_H
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
class CAbility
|
|
{
|
|
public:
|
|
std::string name;
|
|
std::string basicText;
|
|
std::string advText;
|
|
std::string expText;
|
|
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 |