mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-23 14:07:20 +00:00
12 lines
259 B
C++
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");
|
||
|
}
|