DarkflameServer/dGame/dComponents/Component.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

31 lines
392 B
C++
Raw Permalink Normal View History

#include "Component.h"
Component::Component(Entity* parent) {
m_Parent = parent;
}
Component::~Component() {
2022-07-28 13:39:57 +00:00
}
Entity* Component::GetParent() const {
return m_Parent;
}
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) {
}