Ajout des classes composant l'Univers

This commit is contained in:
Mylloon 2022-03-31 16:09:34 +02:00
parent 3f5a6e9996
commit e406d25eaa
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -2,10 +2,44 @@
#define _UNIVERS_HPP_ 1
class Univers {
friend class Organisme;
int _m, _n, _tour;
int * _plateau;
public:
Univers(int, int);
};
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