-/*
- * Spell.h
- *
- * Created on: Aug 10, 2012
- * Author: holy
- */
-
#ifndef COMMON_SPELL_H_
#define COMMON_SPELL_H_
-#include "HeroGroup.h"
#include "TargetingMode.h"
namespace common {
TargetingMode &GetTargetingMode() { return targetingMode; }
const TargetingMode &GetTargetingMode() const { return targetingMode; }
- HeroGroup &UsableBy() { return usableBy; }
- const HeroGroup &UsableBy() const { return usableBy; }
+ int HeroMask() const { return heroMask; }
static bool Less(const Spell *, const Spell *);
int cost;
TargetingMode targetingMode;
- HeroGroup usableBy;
+ int heroMask;
bool status;
bool battle;
}
-#endif /* COMMON_SPELL_H_ */
+#endif