DarkflameServer/dGame/dComponents/Component.cpp

35 lines
478 B
C++
Raw Normal View History

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