Add alot of memory leak fixes

This commit is contained in:
Bram Verhulst
2024-04-23 11:17:17 +02:00
parent e75b80eea8
commit 1b90f222a4
27 changed files with 234 additions and 48 deletions

View File

@@ -0,0 +1,22 @@
#include "pch.h"
#include "GroundTileTypeManager.h"
#include "GridSystem/WorldTile.h"
GroundTileTypeManager* GroundTileTypeManager::m_pInstance = nullptr;
GroundTileTypeManager* GroundTileTypeManager::GetInstance() {
if (m_pInstance == nullptr) {
m_pInstance = new GroundTileTypeManager();
}
return m_pInstance;
}
void GroundTileTypeManager::DestroyInstance() {
}
// void GroundTileTypeManager::Initialize() {
// AIR = new GroundTileType("", GroundTileTypes::Air);
// }
GroundTileTypeManager::GroundTileTypeManager() {
}
GroundTileTypeManager::~GroundTileTypeManager() {
}