#pragma once #include "../manager/ComponentManager.h" #include "GameObject.h" namespace crepe { template T & GameObject::add_component(Args &&... args) { ComponentManager & mgr = this->component_manager; return mgr.add_component(this->id, std::forward(args)...); } } // namespace crepe