CAbilityHandler.h 440 B

12345678910111213141516171819202122232425
  1. #ifndef CABILITYHANDLER_H
  2. #define CABILITYHANDLER_H
  3. #include <string>
  4. #include <vector>
  5. class CAbility
  6. {
  7. public:
  8. std::string name;
  9. std::string basicText;
  10. std::string advText;
  11. std::string expText;
  12. int idNumber;
  13. bool isAllowed; //true if we can use this hero's ability (map information)
  14. };
  15. class CAbilityHandler
  16. {
  17. public:
  18. std::vector<CAbility *> abilities;
  19. void loadAbilities();
  20. };
  21. #endif CABILITYHANDLER_H