petites transformations sur les makefiles
This commit is contained in:
14
d04/ex03/srcs/AMateria.cpp
Normal file
14
d04/ex03/srcs/AMateria.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user