DarkflameServer/dGame/dComponents/Component.cpp

40 lines
521 B
C++
Raw Normal View History

#include "Component.h"
#include "DluAssert.h"
Component::Component(Entity* owningEntity) {
DluAssert(owningEntity != nullptr);
m_OwningEntity = owningEntity;
}
2022-07-28 13:39:57 +00:00
Component::~Component() {
}
2022-07-28 13:39:57 +00:00
void Component::Update(float deltaTime) {
}
2022-07-28 13:39:57 +00:00
void Component::OnUse(Entity* originator) {
}
2022-07-28 13:39:57 +00:00
void Component::UpdateXml(tinyxml2::XMLDocument* doc) {
}
2022-07-28 13:39:57 +00:00
void Component::LoadFromXml(tinyxml2::XMLDocument* doc) {
}
void Component::Startup() {
}
void Component::LoadConfigData() {
}
void Component::LoadTemplateData() {
}