2021-12-05 17:54:36 +00:00
|
|
|
#include "Component.h"
|
|
|
|
|
|
|
|
|
2022-07-28 13:39:57 +00:00
|
|
|
Component::Component(Entity* parent) {
|
|
|
|
m_Parent = parent;
|
2021-12-05 17:54:36 +00:00
|
|
|
}
|
|
|
|
|
2022-07-28 13:39:57 +00:00
|
|
|
Component::~Component() {
|
|
|
|
|
2021-12-05 17:54:36 +00:00
|
|
|
}
|
|
|
|
|
2022-07-28 13:39:57 +00:00
|
|
|
Entity* Component::GetParent() const {
|
|
|
|
return m_Parent;
|
2021-12-05 17:54:36 +00:00
|
|
|
}
|
|
|
|
|
2022-07-28 13:39:57 +00:00
|
|
|
void Component::Update(float deltaTime) {
|
|
|
|
|
2021-12-05 17:54:36 +00:00
|
|
|
}
|
|
|
|
|
2022-07-28 13:39:57 +00:00
|
|
|
void Component::OnUse(Entity* originator) {
|
|
|
|
|
2021-12-05 17:54:36 +00:00
|
|
|
}
|
|
|
|
|
2024-04-08 20:13:49 +00:00
|
|
|
void Component::UpdateXml(tinyxml2::XMLDocument& doc) {
|
2022-07-28 13:39:57 +00:00
|
|
|
|
2021-12-05 17:54:36 +00:00
|
|
|
}
|
|
|
|
|
2024-04-08 20:13:49 +00:00
|
|
|
void Component::LoadFromXml(const tinyxml2::XMLDocument& doc) {
|
2021-12-05 17:54:36 +00:00
|
|
|
|
|
|
|
}
|
2023-08-10 21:33:15 +00:00
|
|
|
|
2024-02-27 07:25:44 +00:00
|
|
|
void Component::Serialize(RakNet::BitStream& outBitStream, bool isConstruction) {
|
2023-08-10 21:33:15 +00:00
|
|
|
|
|
|
|
}
|