Fix Entity functions sofar

This commit is contained in:
maple
2025-11-10 21:16:06 +00:00
parent 650925b4e1
commit af7adaa6f2
2 changed files with 9 additions and 6 deletions

View File

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