2021-12-05 17:54:36 +00:00
|
|
|
#include "Component.h"
|
2023-06-07 01:59:53 +00:00
|
|
|
#include "DluAssert.h"
|
2021-12-05 17:54:36 +00:00
|
|
|
|
2023-06-07 01:59:53 +00:00
|
|
|
Component::Component(Entity* owningEntity) {
|
|
|
|
DluAssert(owningEntity != nullptr);
|
|
|
|
m_OwningEntity = owningEntity;
|
2021-12-05 17:54:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
Component::~Component() {
|
2022-07-28 13:39:57 +00:00
|
|
|
|
2021-12-05 17:54:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void Component::Update(float deltaTime) {
|
2022-07-28 13:39:57 +00:00
|
|
|
|
2021-12-05 17:54:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void Component::OnUse(Entity* originator) {
|
2022-07-28 13:39:57 +00:00
|
|
|
|
2021-12-05 17:54:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void Component::UpdateXml(tinyxml2::XMLDocument* doc) {
|
2022-07-28 13:39:57 +00:00
|
|
|
|
2021-12-05 17:54:36 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void Component::LoadFromXml(tinyxml2::XMLDocument* doc) {
|
|
|
|
|
|
|
|
}
|
2023-06-07 01:59:53 +00:00
|
|
|
|
|
|
|
void Component::Startup() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void Component::LoadConfigData() {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
void Component::LoadTemplateData() {
|
|
|
|
|
|
|
|
}
|