#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;
|
|
}
|