CAbilityHandler.h 367 B

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