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

46 lines
585 B
C++
Raw Normal View History

#ifndef _UNIVERS_HPP_
#define _UNIVERS_HPP_ 1
class Univers {
2022-03-31 16:09:34 +02:00
friend class Organisme;
int _m, _n, _tour;
2022-03-31 16:09:34 +02:00
int * _plateau;
public:
Univers(int, int);
};
2022-03-31 16:09:34 +02:00
class Organisme {
public:
Organisme(void);
};
class Animal: public Organisme {
public:
Animal(void);
};
class Herbe: public Organisme {
public:
Herbe(void);
};
class Sel: public Organisme {
public:
Sel(void);
};
class Mouton: public Animal {
public:
Mouton(void);
};
class Loups: public Animal {
public:
Loups(void);
};
#endif