1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-26 08:41:13 +02:00
vcmi/hch/CAbilityHandler.h
Michał W. Urbańczyk b89c951d09 * version set to 0.62
* almost redone treasure chest
* working gaining levels for heroes (including dialog with skill selection)
* corrected another typo i cr_shots
2008-08-13 00:44:31 +00:00

28 lines
542 B
C++

#ifndef CABILITYHANDLER_H
#define CABILITYHANDLER_H
#include <string>
#include <vector>
class CDefHandler;
class CAbility
{
public:
std::string name;
std::vector <std::string> infoTexts; //0 - basic; 2 - advanced
int idNumber;
bool isAllowed; //true if we can use this hero's ability (map information)
};
class CAbilityHandler
{
public:
std::vector<CAbility *> abilities;
CDefHandler * abils32, * abils44, * abils82;
std::vector<std::string> levels;
void loadAbilities();
};
#endif //CABILITYHANDLER_H