CPP04/ex00/inc/Animal.hpp
2025-04-07 17:47:36 +02:00

30 lines
1.2 KiB
C++

/* ************************************************************************** */
/* */
/* :::::::: */
/* Animal.hpp :+: :+: */
/* +:+ */
/* By: whaffman <whaffman@student.codam.nl> +#+ */
/* +#+ */
/* Created: 2025/04/05 16:53:44 by whaffman #+# #+# */
/* Updated: 2025/04/06 12:26:31 by whaffman ######## odam.nl */
/* */
/* ************************************************************************** */
#pragma once
#include <string>
class Animal
{
protected:
std::string type;
public:
Animal();
Animal(const Animal &animal);
virtual ~Animal();
Animal &operator=(const Animal &animal);
virtual void makeSound(void) const;
std::string getType(void) const;
};