aboutsummaryrefslogtreecommitdiff
path: root/mwe/ecs-homemade/inc/GameObjectMax.hpp
blob: e1a49be76797c5c2737b13f96745ba3bb66c6730 (plain)
1
2
3
4
5
6
#include "ComponentManager.h"

template <typename T>
void GameObject::AddComponent(T* component) {
	ComponentManager::GetInstance().AddComponent(component, mId);
}