"Basic" entity component system. Almost.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
#include "Component.h"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
||||
REGISTER_COMPONENT("Transform", Transform);
|
||||
struct Transform : Component
|
||||
{
|
||||
float Position[3];
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user