Changed how to implement the headers Region.h, RegionManager.h and Game.h by using pragma once

This commit is contained in:
Gustavo Henrique Santos Souza de Miranda 2024-09-27 23:01:57 -03:00
parent c5fdcbe373
commit bade63dbc3
3 changed files with 9 additions and 10 deletions

View File

@ -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

View File

@ -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

View File

@ -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