12 lines
232 B
C++
12 lines
232 B
C++
|
|
#include <XCEngine/Components/Component.h>
|
||
|
|
#include <XCEngine/Components/GameObject.h>
|
||
|
|
|
||
|
|
namespace XCEngine {
|
||
|
|
namespace Components {
|
||
|
|
|
||
|
|
TransformComponent& Component::transform() const {
|
||
|
|
return *m_gameObject->GetTransform();
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|