2021-12-05 18:54:36 +01:00
|
|
|
#include "Component.h"
|
|
|
|
|
|
|
|
|
|
|
|
Component::Component(Entity* parent) {
|
|
|
|
m_Parent = parent;
|
|
|
|
}
|
|
|
|
|
|
|
|
Component::~Component() {
|
2022-07-28 08:39:57 -05:00
|
|
|
|
2021-12-05 18:54:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
Entity* Component::GetParent() const {
|
|
|
|
return m_Parent;
|
|
|
|
}
|
|
|
|
|
|
|
|
void Component::Update(float deltaTime) {
|
2022-07-28 08:39:57 -05:00
|
|
|
|
2021-12-05 18:54:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void Component::OnUse(Entity* originator) {
|
2022-07-28 08:39:57 -05:00
|
|
|
|
2021-12-05 18:54:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void Component::UpdateXml(tinyxml2::XMLDocument* doc) {
|
2022-07-28 08:39:57 -05:00
|
|
|
|
2021-12-05 18:54:36 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
void Component::LoadFromXml(tinyxml2::XMLDocument* doc) {
|
|
|
|
|
|
|
|
}
|