This repository has been archived on 2022-05-02. You can view files and clone it, but cannot push or open issues or pull requests.
Ecosysteme/includes/loup.hpp

22 lines
394 B
C++

#ifndef ECOSYSTEME_LOUP_HPP
#define ECOSYSTEME_LOUP_HPP 1
#include "animal.hpp"
class Loup: public Animal {
int generationVitesse(void) const noexcept;
public:
// ID de l'univers
Loup(int);
// ID de l'univers, index dans l'univers
Loup(int, int);
~Loup(void);
// Renvoie vrai
bool carnivore(void) const noexcept;
};
#endif