petites transformations sur les makefiles
This commit is contained in:
24
d04/ex03/headers/AMateria.hpp
Normal file
24
d04/ex03/headers/AMateria.hpp
Normal file
@@ -0,0 +1,24 @@
|
||||
#ifndef AMATERIA_HPP
|
||||
# define AMATERIA_HPP
|
||||
|
||||
# include <iostream>
|
||||
|
||||
#include "ICharacter.hpp"
|
||||
|
||||
class AMateria {
|
||||
|
||||
public:
|
||||
AMateria(std::string const & type);
|
||||
virtual ~AMateria();
|
||||
|
||||
std::string const & getType() const; //Returns the materia type
|
||||
|
||||
virtual AMateria* clone() const = 0;
|
||||
virtual void use(ICharacter& target);
|
||||
|
||||
protected:
|
||||
std::string _type;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user