mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-19 19:10:20 +02:00
26 lines
367 B
C++
26 lines
367 B
C++
#ifndef __CABILITYHANDLER_H__
|
|
#define __CABILITYHANDLER_H__
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
class CDefHandler;
|
|
|
|
class CAbility
|
|
{
|
|
public:
|
|
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__
|