Added barebones ECS prototype
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#include "../Common.h"
|
||||
|
||||
struct ComponentInfo
|
||||
{
|
||||
struct Meta_t
|
||||
{
|
||||
std::string Annotation;
|
||||
int Allocation = 0;
|
||||
};
|
||||
|
||||
std::string Name;
|
||||
std::unordered_map<std::string, std::string> FieldTypes;
|
||||
std::unordered_map<std::string, unsigned int> FieldOffsets;
|
||||
Meta_t Meta;
|
||||
};
|
||||
Reference in New Issue
Block a user