Skip to content

Time / Name components #20

Description

@delaneyj

It appears you are treating entity name and time as a special case. I've found having a global "singleton" entity with a TimeConponent advantageous as systems can conditional manipulate time given events. Same with the createEntity(name) is possibly better suited to a NameComponent{name:string}. It makes things like stats generation much easier if there is no special case and the system is generic as possible.

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions