2007-06-08 22:56:35 +03:00
|
|
|
#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;
|
2007-06-09 23:23:44 +03:00
|
|
|
bool isAllowed; //true if we can use this hero's ability (map information)
|
2007-06-08 22:56:35 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
class CAbilityHandler
|
|
|
|
{
|
|
|
|
public:
|
2007-07-16 17:42:44 +03:00
|
|
|
std::vector<CAbility *> abilities;
|
2007-06-08 22:56:35 +03:00
|
|
|
void loadAbilities();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif CABILITYHANDLER_H
|