aboutsummaryrefslogtreecommitdiff
path: root/mwe/ecs-memory-efficient/inc/GameObjectMax.h
diff options
context:
space:
mode:
Diffstat (limited to 'mwe/ecs-memory-efficient/inc/GameObjectMax.h')
-rw-r--r--mwe/ecs-memory-efficient/inc/GameObjectMax.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/mwe/ecs-memory-efficient/inc/GameObjectMax.h b/mwe/ecs-memory-efficient/inc/GameObjectMax.h
index f0bcec9..62cd3e6 100644
--- a/mwe/ecs-memory-efficient/inc/GameObjectMax.h
+++ b/mwe/ecs-memory-efficient/inc/GameObjectMax.h
@@ -7,8 +7,12 @@ class GameObject {
public:
GameObject(std::uint32_t id, std::string name, std::string tag, int layer);
- template <typename T, typename... Args>
- void AddComponent(Args&&... args);
+ template<typename... Args>
+ void addSpriteComponent(Args&&... args);
+ template<typename... Args>
+ void addRigidbodyComponent(Args&&... args);
+ template<typename... Args>
+ void addColiderComponent(Args&&... args);
std::uint32_t mId;
std::string mName;