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.
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.