component.h (255B)
1 #pragma once 2 3 #include "components/_include.h" 4 5 typedef enum ComponentType { 6 #include "components/_types.inc" 7 } ComponentType; 8 9 typedef struct Component { 10 ComponentType type; 11 union { 12 #include "components/_registry.inc" 13 }; 14 } Component;