Fix Entity::GetComponent()

This commit is contained in:
Maple Redleaf
2025-11-10 12:16:34 -06:00
parent 4afd985a50
commit 1166bc8911
2 changed files with 4 additions and 5 deletions

View File

@@ -8,7 +8,7 @@ class Entity {
public:
template <typename CompT, typename... Args>
Component *AddComponent(Args &&...args);
template <typename CompT> Component *GetComponent();
template <typename CompT> CompT *GetComponent();
void Update();