1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-26 22:57:00 +02:00
vcmi/hch/CAbilityHandler.h
Michał W. Urbańczyk 3474fdaf05 * save/load partially working
* Arena and Witch Hut support
* improved support for Resources
* minor fixes and changes
2009-01-10 22:08:18 +00:00

26 lines
412 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;
CDefHandler * abils32, * abils44, * abils82;
void loadAbilities();
};
#endif // __CABILITYHANDLER_H__