Adding a way for entities to have relations would make the engine a lot more flexible, so here's my idea:
Each entity should have a Parent property and a Children property. Setting the parent of entity A to entity B will add entity A to B's list of children.
This is really simple and scalable, LINQ will also make working with this really pleasant! Provided entities in this engine will be lightweight, even entity "components" don't have to exist as you can just easily make them yourself with this system!
Adding a way for entities to have relations would make the engine a lot more flexible, so here's my idea:
Each entity should have a
Parent
property and aChildren
property. Setting the parent of entity A to entity B will add entity A to B's list of children.This is really simple and scalable, LINQ will also make working with this really pleasant! Provided entities in this engine will be lightweight, even entity "components" don't have to exist as you can just easily make them yourself with this system!