mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-27 07:57:21 +00:00
6f057204be
- Add order for loading Components - Enforce all components have Entity* in the first argument
44 lines
604 B
C++
44 lines
604 B
C++
#include "Component.h"
|
|
#include "DluAssert.h"
|
|
|
|
Component::Component(Entity* owningEntity) {
|
|
DluAssert(owningEntity != nullptr);
|
|
m_ParentEntity = owningEntity;
|
|
}
|
|
|
|
Component::~Component() {
|
|
|
|
}
|
|
|
|
void Component::Update(float deltaTime) {
|
|
|
|
}
|
|
|
|
void Component::OnUse(Entity* originator) {
|
|
|
|
}
|
|
|
|
void Component::UpdateXml(tinyxml2::XMLDocument* doc) {
|
|
|
|
}
|
|
|
|
void Component::LoadFromXml(tinyxml2::XMLDocument* doc) {
|
|
|
|
}
|
|
|
|
void Component::Startup() {
|
|
|
|
}
|
|
|
|
void Component::LoadConfigData() {
|
|
|
|
}
|
|
|
|
void Component::LoadTemplateData() {
|
|
|
|
}
|
|
|
|
void Component::Serialize(RakNet::BitStream* bitStream, bool isConstruction) {
|
|
|
|
}
|