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);
|
2023-06-09 09:46:01 +00:00
|
|
|
m_ParentEntity = 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() {
|
|
|
|
|
|
|
|
}
|
2023-06-07 03:48:30 +00:00
|
|
|
|
2023-06-07 07:23:50 +00:00
|
|
|
void Component::Serialize(RakNet::BitStream* bitStream, bool isConstruction) {
|
2023-06-07 03:48:30 +00:00
|
|
|
|
|
|
|
}
|