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.
 
 
 
 

28 rivejä
495 B

#ifndef SPELL_WARZ_SPELL_CPP
#define SPELL_WARZ_SPELL_CPP 1
class Spell
{
protected:
char name[64];
int type;
int power;
int cost;
public:
static const int NAME_LENGTH = 15;
static const int TYPE_RESTORATION = 1;
static const int TYPE_DESTRUCTION = 2;
Spell(const char *spellName,
const int spellType,
int spellPower,
int spellCost);
const char *getName();
int getType();
int getPower();
int getCost();
};
#endif