DarkflameServer/dGame/dComponents/CollectibleComponent.cpp
2023-06-10 04:46:48 -07:00

12 lines
259 B
C++

#include "CollectibleComponent.h"
#include "Entity.h"
CollectibleComponent::CollectibleComponent(Entity* parent) : Component(parent) {
}
void CollectibleComponent::Startup() {
m_CollectibleId = GetParentEntity()->GetVarAs<int32_t>(u"collectible_id");
}