update: rm -rf to restart from scratch
This commit is contained in:
parent
42e83d8e62
commit
5e999def3a
45 changed files with 813 additions and 366 deletions
|
|
@ -5,27 +5,30 @@
|
|||
/* +:+ +:+ +:+ */
|
||||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/01/28 17:44:48 by rparodi #+# #+# */
|
||||
/* Updated: 2025/02/10 12:20:07 by rparodi ### ########.fr */
|
||||
/* Created: 2025/02/18 16:21:49 by rparodi #+# #+# */
|
||||
/* Updated: 2025/02/18 20:11:50 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef CAT_HPP
|
||||
#define CAT_HPP
|
||||
|
||||
#include "Animal.hpp"
|
||||
#include "AAnimal.hpp"
|
||||
#include "Brain.hpp"
|
||||
#include <string>
|
||||
|
||||
class Cat : public Animal {
|
||||
class Cat : public AAnimal {
|
||||
public:
|
||||
Cat();
|
||||
~Cat();
|
||||
Cat(Cat const & copy);
|
||||
Cat & operator=(Cat const & assign);
|
||||
virtual void makeSound() const;
|
||||
virtual Cat* clone() const;
|
||||
std::string getIdea(int const index) const;
|
||||
void setIdea(int const index, std::string const idea) const;
|
||||
protected:
|
||||
|
||||
private:
|
||||
Brain *brain;
|
||||
std::string type;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue