Add basic controller Support

Fix more memory leaks (seeing a trend here)
This commit is contained in:
Bram Verhulst
2024-04-24 21:38:14 +02:00
parent 1b90f222a4
commit f5d352239c
14 changed files with 2267 additions and 166 deletions

View File

@@ -1,6 +1,8 @@
#pragma once
#include <map>
#include "GridSystem/WorldTile.h"
class GroundTileType;
@@ -10,6 +12,23 @@ public:
static GroundTileTypeManager* GetInstance();
static void DestroyInstance();
GroundTileType* AIR;
GroundTileType* DIRT;
GroundTileType* STONE;
GroundTileType* LAVA;
GroundTileType* IRON;
GroundTileType* BRONZE;
GroundTileType* GOLD;
GroundTileType* HARD_LEFT;
GroundTileType* HARD_RIGHT;
GroundTileType* HARD_MIDDLE;
GroundTileType* GRASS;
//
// static GroundTileType* AIR{ nullptr };
//