mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-23 22:17:31 +00:00
37 lines
419 B
C++
37 lines
419 B
C++
|
#include "Component.h"
|
||
|
|
||
|
|
||
|
Component::Component(Entity* parent)
|
||
|
{
|
||
|
m_Parent = parent;
|
||
|
}
|
||
|
|
||
|
Component::~Component()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
Entity* Component::GetParent() const
|
||
|
{
|
||
|
return m_Parent;
|
||
|
}
|
||
|
|
||
|
void Component::Update(float deltaTime)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
void Component::OnUse(Entity* originator)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
void Component::UpdateXml(tinyxml2::XMLDocument* doc)
|
||
|
{
|
||
|
|
||
|
}
|
||
|
|
||
|
void Component::LoadFromXml(tinyxml2::XMLDocument *doc) {
|
||
|
|
||
|
}
|