Cogs.Core
Extensions
Physics
Source
GhostComponent.cpp
1
#include "GhostComponent.h"
2
3
#include "Foundation/Reflection/TypeDatabase.h"
4
5
using namespace
Cogs::Reflection
;
6
7
void
Cogs::Core::GhostComponent::registerType
()
8
{
9
TypeDatabase::createType<GhostComponent>().setBase<Component>();
10
}
Cogs::Core::GhostComponent::registerType
static void registerType()
Register the type in the type system.
Definition:
GhostComponent.cpp:7
Cogs::Reflection
Contains reflection support.
Definition:
Component.h:11
Generated by
1.9.6