DarkflameServer/dGame/dComponents/Component.cpp

44 lines
604 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() {
}
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
}