aboutsummaryrefslogtreecommitdiff
path: root/mwe/ecs-homemade/src/ComponentManager.cpp
diff options
context:
space:
mode:
authorMax-001 <80035972+Max-001@users.noreply.github.com>2024-10-02 16:29:17 +0200
committerMax-001 <80035972+Max-001@users.noreply.github.com>2024-10-02 16:29:17 +0200
commitb242f28862ac8e9c1137c3f8e3640011a1ddddfa (patch)
treea419d8aa36a6675f791f7958d04e5cf3ab312229 /mwe/ecs-homemade/src/ComponentManager.cpp
parent3e99a6fe36e63a1e14ba62f2a6e5a3827484e4e6 (diff)
DeleteComponents<> method created
Diffstat (limited to 'mwe/ecs-homemade/src/ComponentManager.cpp')
-rw-r--r--mwe/ecs-homemade/src/ComponentManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mwe/ecs-homemade/src/ComponentManager.cpp b/mwe/ecs-homemade/src/ComponentManager.cpp
index cca84bc..def50be 100644
--- a/mwe/ecs-homemade/src/ComponentManager.cpp
+++ b/mwe/ecs-homemade/src/ComponentManager.cpp
@@ -13,5 +13,5 @@ void ComponentManager::DeleteAllComponentsOfId(std::uint32_t id) {
}
void ComponentManager::DeleteAllComponents() {
- mComponents.clear();
+ mComponents.clear(); //Clear the whole unordered_map<>
}