mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-14 03:19:56 +00:00
Public release of the DLU server code!
Have fun!
This commit is contained in:
36
dGame/dComponents/Component.cpp
Normal file
36
dGame/dComponents/Component.cpp
Normal file
@@ -0,0 +1,36 @@
|
||||
#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) {
|
||||
|
||||
}
|
Reference in New Issue
Block a user