#pragma once #include "GameObject.h" #include "ComponentManager.h" namespace crepe { template void GameObject::AddComponent(Args &&... args) { ComponentManager::get_instance().AddComponent( mId, std::forward(args)...); } } // namespace crepe