#ifndef _UNIVERS_HPP_ #define _UNIVERS_HPP_ 1 #include #include class Organisme; class Univers { friend class Organisme; int _m, _n, _tour; int * _plateau; public: Univers(int, int); void ajoutOrganismes(std::vector); }; class Organisme { public: Organisme(void); }; class Animal: public Organisme { public: Animal(void); virtual bool carnivore(void) = 0; }; class Herbe: public Organisme { public: Herbe(void); }; class Sel: public Organisme { public: Sel(void); }; class Mouton: public Animal { public: Mouton(void); bool carnivore(void); }; class Loup: public Animal { public: Loup(void); bool carnivore(void); }; #endif