Include univers.hpp dans le .hpp de la classe Organisme
This commit is contained in:
parent
22c10e6cbb
commit
189290dcfd
2 changed files with 2 additions and 1 deletions
|
@ -3,6 +3,8 @@
|
||||||
|
|
||||||
#include <map>
|
#include <map>
|
||||||
|
|
||||||
|
#include "../includes/univers.hpp"
|
||||||
|
|
||||||
class Organisme {
|
class Organisme {
|
||||||
inline static int __totalID; // permet d'incrémenter de 1 l'ID de chaque organisme
|
inline static int __totalID; // permet d'incrémenter de 1 l'ID de chaque organisme
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
#include "../includes/univers.hpp"
|
|
||||||
#include "../includes/organisme.hpp"
|
#include "../includes/organisme.hpp"
|
||||||
|
|
||||||
Organisme::Organisme(int universID, int index): _universID(universID), _index(index), ID(__totalID + 1) {
|
Organisme::Organisme(int universID, int index): _universID(universID), _index(index), ID(__totalID + 1) {
|
||||||
|
|
Reference in a new issue