mirror of
https://github.com/Ladebeze66/cpp-partie-1.git
synced 2025-12-16 05:58:04 +01:00
45 lines
1.4 KiB
C++
45 lines
1.4 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* WrongAnimal.hpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: fgras-ca <fgras-ca@student.42.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2023/12/31 12:19:34 by fgras-ca #+# #+# */
|
|
/* Updated: 2023/12/31 12:55:37 by fgras-ca ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#ifndef WRONGANIMAL_HPP
|
|
#define WRONGANIMAL_HPP
|
|
|
|
#include <iostream>
|
|
#include <string>
|
|
|
|
#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 WrongAnimal
|
|
{
|
|
protected:
|
|
std::string type;
|
|
|
|
public:
|
|
WrongAnimal();
|
|
WrongAnimal(const WrongAnimal ©);
|
|
WrongAnimal& operator=(const WrongAnimal &operator_aff);
|
|
~WrongAnimal();
|
|
|
|
std::string getType() const;
|
|
void makeSound() const;
|
|
};
|
|
|
|
#endif
|