jul1278 / SimpleComponents

component-based 2D game engine in SDL
0 stars 1 forks source link

EntityDefinition entity factory #75

Open jul1278 opened 8 years ago

jul1278 commented 8 years ago

Instead of having to individually add each component when building an entity, have some sort of 'Entity definition' where the user can just set it up once. Eg:

EntityDef->AddComponent()