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

23 lines
412 B
C++
Raw Normal View History

#ifndef ECOSYSTEME_LOUP_HPP
#define ECOSYSTEME_LOUP_HPP 1
#include "animal.hpp"
class Loup: public Animal {
2022-04-04 00:10:51 +02:00
int generationVitesse(void) const noexcept;
public:
// ID de l'univers
2022-04-05 19:00:40 +02:00
Loup(const int);
// ID de l'univers, index dans l'univers
2022-04-05 19:00:40 +02:00
Loup(const int, const int);
~Loup(void);
2022-04-04 00:10:51 +02:00
// Renvoie vrai
bool carnivore(void) const noexcept;
};
#endif