25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 

33 satır
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