#include "Component.h" #include "DluAssert.h" Component::Component(Entity* owningEntity) { DluAssert(owningEntity != nullptr); m_OwningEntity = owningEntity; } Component::~Component() { } void Component::Update(float deltaTime) { } void Component::OnUse(Entity* originator) { } void Component::UpdateXml(tinyxml2::XMLDocument* doc) { } void Component::LoadFromXml(tinyxml2::XMLDocument* doc) { } void Component::Startup() { } void Component::LoadConfigData() { } void Component::LoadTemplateData() { }