33 lines
1.2 KiB
C++
33 lines
1.2 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* :::::::: */
|
|
/* Cat.hpp :+: :+: */
|
|
/* +:+ */
|
|
/* By: whaffman <whaffman@student.codam.nl> +#+ */
|
|
/* +#+ */
|
|
/* Created: 2025/04/05 17:02:57 by whaffman #+# #+# */
|
|
/* Updated: 2025/04/14 14:52:49 by whaffman ######## odam.nl */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#pragma once
|
|
|
|
#include "Animal.hpp"
|
|
#include "Brain.hpp"
|
|
#include <string>
|
|
|
|
class Cat : public Animal
|
|
{
|
|
private:
|
|
Brain *brain;
|
|
|
|
public:
|
|
Cat();
|
|
Cat(const Cat &other);
|
|
~Cat() override;
|
|
Cat &operator=(const Cat &other);
|
|
|
|
void makeSound(void) const override;
|
|
Brain &getBrain();
|
|
};
|