| 12345678910111213141516171819202122232425 |
- #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
|