Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 

33 rader
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