Changed how to implement the headers Region.h, RegionManager.h and Game.h by using pragma once
This commit is contained in:
parent
c5fdcbe373
commit
bade63dbc3
+2
-3
@@ -1,9 +1,8 @@
|
||||
//
|
||||
// Created by gustavomiranda on 27/09/24.
|
||||
//
|
||||
#pragma ONCE
|
||||
|
||||
#ifndef DRUGWARS_GAME_H
|
||||
#define DRUGWARS_GAME_H
|
||||
|
||||
|
||||
#include "RegionManager.h"
|
||||
@@ -20,4 +19,4 @@ public:
|
||||
};
|
||||
|
||||
|
||||
#endif //DRUGWARS_GAME_H
|
||||
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
//
|
||||
// Created by gustavomiranda on 27/09/24.
|
||||
//
|
||||
#pragma ONCE
|
||||
|
||||
#ifndef DRUGWARS_REGION_H
|
||||
#define DRUGWARS_REGION_H
|
||||
|
||||
#include <map>
|
||||
#include "RegionManager.h"
|
||||
|
||||
#include "Bag.h"
|
||||
#include "RegionManager.h"
|
||||
|
||||
|
||||
class RegionManager;
|
||||
|
||||
@@ -24,4 +25,4 @@ public:
|
||||
RegionManager *getRegionManagerReference();
|
||||
};
|
||||
|
||||
#endif //DRUGWARS_REGION_H
|
||||
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
//
|
||||
// Created by gustavomiranda on 27/09/24.
|
||||
//
|
||||
#pragma ONCE
|
||||
|
||||
#ifndef DRUGWARS_REGIONMANAGER_H
|
||||
#define DRUGWARS_REGIONMANAGER_H
|
||||
#include "Region.h"
|
||||
|
||||
|
||||
@@ -31,4 +30,4 @@ public:
|
||||
|
||||
|
||||
|
||||
#endif //DRUGWARS_REGIONMANAGER_H
|
||||
|
||||
|
||||
Reference in New Issue
Block a user