Skip to content

Entity relations #38

Description

@lannior

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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions