DarkflameServer/dGame/dComponents/Component.cpp
David Markowitz 716a5fcf37 Rename some variables in Component
And add more virtuals
2023-06-06 18:59:53 -07:00

40 lines
521 B
C++

#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() {
}