Skip to content

Entity Queries #3

@doonv

Description

@doonv

Currently, you cannot access entities properties. In order to access entities properties we will need entity queries. Entity queries will be a built-in parser feature that will allow you to query the entities you choose and modify them.

Design

Todo list for the design of the entity queries.

  • Design the syntax.
    • Id queries
      • This should probably be just the entity id, very simple.
    • Single queries
      • Queries for a single entity and provides access to all of their components.
    • For-each queries
      • Queries for a group of entities based on their components and executes a command on each of them.
  • Figure out how to create dynamic reflection-based queries at runtime.

Implementation

After the design has been finished, we can start the implementation.

  • Parsing
    • Id Queries
    • Single queries
    • For-each queries
  • Execution
    • Id Queries
    • Single queries
    • For-each queries

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Builtin-ParserThis is related to the Built-in ParserC-EnhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions