Cogs.Core
PropertiesComponent.cpp
1#include "PropertiesComponent.h"
2
3#include "Types.h"
4
5using namespace Cogs::Reflection;
6
7void Cogs::Core::PropertiesComponent::registerType()
8{
9 TypeDatabase::createType<PropertyStore>();
10
11 Field fields[] = {
12 { "properties", &PropertiesComponent::properties },
13 };
14
15 TypeDatabase::createType<PropertiesComponent>().setBase<Component>().setFields(fields);
16}
Field definition describing a single data member of a data structure.
Definition: Field.h:68
Contains reflection support.
Definition: Component.h:11