/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* Animal.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: fgras-ca +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/12/30 19:09:56 by fgras-ca #+# #+# */ /* Updated: 2023/12/31 16:31:25 by fgras-ca ### ########.fr */ /* */ /* ************************************************************************** */ #ifndef ANIMAL_HPP #define ANIMAL_HPP #include #include #define RESET "\033[0m" #define BLACK "\033[30m" #define RED "\033[31m" #define GREEN "\033[32m" #define YELLOW "\033[33m" #define BLUE "\033[34m" #define MAGENTA "\033[35m" #define CYAN "\033[36m" #define WHITE "\033[37m" class Animal { protected: std::string type; public: Animal(); Animal(const Animal ©); virtual Animal& operator=(const Animal &operator_aff); virtual ~Animal(); std::string getType() const; virtual void makeSound() const; }; #endif