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/herbe.hpp

21 lines
400 B
C++
Raw Normal View History

#ifndef ECOSYSTEME_HERBE_HPP
#define ECOSYSTEME_HERBE_HPP 1
#include "organisme.hpp"
class Herbe: public Organisme {
2022-04-06 00:53:48 +02:00
const char _m_lettre = ' '; // caractère représentant l'herbe
public:
// ID de l'univers, index dans l'univers
Herbe(int, int);
// ID de l'univers
Herbe(int);
2022-04-04 00:09:28 +02:00
// Renvoie faux
bool animal(void) const noexcept;
};
#endif