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.
 
 
 

29 rivejä
365 B

#include "Spell.hpp"
Spell::Spell(const char *n, int t, int a, int c)
{
this->name = n;
this->type = t;
this->amount = a;
this->cost = c;
}
int Spell::getType()
{
return this->type;
}
int Spell::getAmount()
{
return this->amount;
}
int Spell::getCost()
{
return this->cost;
}
const char *Spell::getName()
{
return this->name;
}