blob: 1607c0c41010477cee926174d438528ee5543b81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
template<typename... Args>
void ComponentManager::addSpriteComponent(Args&&... args) {
mSpriteContainer.pushBack(std::forward<Args>(args)...);
}
template<typename... Args>
void ComponentManager::addRigidbodyComponent(Args&&... args) {
mRigidbodyContainer.pushBack(std::forward<Args>(args)...);
}
template<typename... Args>
void ComponentManager::addColiderComponent(Args&&... args){
mColiderContainer.pushBack(std::forward<Args>(args)...);
}
|