You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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!
The text was updated successfully, but these errors were encountered:
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!
The text was updated successfully, but these errors were encountered: