You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

33 lines
557 B

#ifndef SPELL_WARZ_SPELL_CPP
#define SPELL_WARZ_SPELL_CPP 1
#include <string>
#include "Element.hpp"
class Spell
{
protected:
std::string name;
Element *element;
int type;
int power;
int cost;
public:
static int TYPE_RESTORATION;
static int TYPE_DESTRUCTION;
Spell(std::string spellName,
Element *spellElement,
int spellType,
int spellPower,
int spellCost);
int getType();
int getPower();
int getCost();
Element *getElement();
std::string getName();
};
#endif