mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-26 03:52:01 +02:00
Really removed ability handler.
This commit is contained in:
parent
320e04a121
commit
d5da904c1f
@ -1,10 +0,0 @@
|
|||||||
#include "../stdafx.h"
|
|
||||||
#include "CAbilityHandler.h"
|
|
||||||
#include "../CGameInfo.h"
|
|
||||||
#include "CGeneralTextHandler.h"
|
|
||||||
#include "CLodHandler.h"
|
|
||||||
#include "CDefHandler.h"
|
|
||||||
|
|
||||||
void CAbilityHandler::loadAbilities()
|
|
||||||
{
|
|
||||||
}
|
|
@ -1,25 +0,0 @@
|
|||||||
#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__
|
|
Loading…
x
Reference in New Issue
Block a user