DarkflameServer/dGame/dComponents/PropertyComponent.cpp
2021-12-05 18:54:36 +01:00

12 lines
321 B
C++

#include "PropertyComponent.h"
#include "GameMessages.h"
#include "dZoneManager.h"
PropertyComponent::PropertyComponent(Entity* parent) : Component(parent) {
m_PropertyName = parent->GetVar<std::string>(u"propertyName");
m_PropertyState = new PropertyState();
}
PropertyComponent::~PropertyComponent() = default;