1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-02-11 13:15:38 +02:00
vcmi/hch/CAbilityHandler.h

26 lines
412 B
C
Raw Normal View History

2008-12-26 01:46:53 +00:00
#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;
CDefHandler * abils32, * abils44, * abils82;
void loadAbilities();
};
#endif // __CABILITYHANDLER_H__