15 lines
250 B
C++
15 lines
250 B
C++
#include "AMateria.hpp"
|
|
|
|
AMateria::AMateria(std::string const & type) {
|
|
_type = type;
|
|
}
|
|
|
|
std::string const & AMateria::getType() const {
|
|
return _type;
|
|
}
|
|
|
|
virtual AMateria * AMateria::clone() const {
|
|
AMateria clone = new AMateria;
|
|
return clone;
|
|
}
|