Réorganisation

This commit is contained in:
Mylloon 2022-04-02 01:42:51 +02:00
parent 189c38088d
commit bea2de5118
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -43,12 +43,21 @@ bool Univers::enVie(void) const noexcept {
return _nbAnimaux > 0;
}
// -------- Organisme --------
Organisme::Organisme(void) {
}
// -------- Animal --------
Animal::Animal(void): Organisme() {
}
// -------- Herbe --------
Herbe::Herbe(void): Organisme() {
@ -59,6 +68,7 @@ int Herbe::id(void) const noexcept {
return 0;
}
// -------- Sel --------
Sel::Sel(void): Organisme() {
@ -69,12 +79,6 @@ int Sel::id(void) const noexcept {
return -1;
}
// -------- Animal --------
Animal::Animal(void): Organisme() {
}
// -------- Mouton --------
@ -90,6 +94,7 @@ int Mouton::id(void) const noexcept {
return 1;
}
// -------- Loup --------
Loup::Loup(void): Animal() {