Radium-Engine icon indicating copy to clipboard operation
Radium-Engine copied to clipboard

SystemEntity and EntityManager

Open dlyr opened this issue 4 years ago • 1 comments

EntityManager create and manage the singleton SystemEntity. This seems to be a design flaw since EntityManager can now be deleted. As introduce in #763 , EntityManager dtor now deletes the SystemEntity, which seems odd for a singleton. I propose to discuss this point in Discussions if needed, then to fix this issue.

dlyr avatar May 23 '21 21:05 dlyr

EntityManager create and manage the singleton SystemEntity. This seems to be a design flaw since EntityManager can now be deleted.

I agree. I opened a discussion (#768) to discuss how to solve this design flaw.

MathiasPaulin avatar May 24 '21 06:05 MathiasPaulin