30 lines
1.2 KiB
C++
30 lines
1.2 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* :::::::: */
|
|
/* AAnimal.hpp :+: :+: */
|
|
/* +:+ */
|
|
/* By: whaffman <whaffman@student.codam.nl> +#+ */
|
|
/* +#+ */
|
|
/* Created: 2025/04/05 16:53:44 by whaffman #+# #+# */
|
|
/* Updated: 2025/04/14 21:27:26 by whaffman ######## odam.nl */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
class AAnimal
|
|
{
|
|
protected:
|
|
std::string type;
|
|
|
|
public:
|
|
AAnimal();
|
|
AAnimal(const AAnimal &other);
|
|
virtual ~AAnimal();
|
|
AAnimal &operator=(const AAnimal &other);
|
|
|
|
virtual void makeSound(void) const = 0;
|
|
std::string getType(void) const;
|
|
}; |