Closed ApostolosBouz closed 12 months ago
Thanks for the PR.
What's the benefit of moving things from the anonymous namespace into the class itself?
Thanks for the reply. I have some reasons in mind, based on Spartan's roadmap, and overall design clarity:
To sum up, and having mentioned that this is a "stepping stone" edit:
To elaborate further on "Better team collaboration by editing specialized Worlds instead of one big class." While trying out new types of systems, Entities or Components, several developers could work on separate Worlds. Some might need the ability to create a cube, a cube with Physics, or no cube at all. Others might work on purely rendering features. So I thought editing a single World file to have all those things available might not be the way to go, especially if we are aiming towards saving those worlds on a proper format to reopen later, though UI actions.
Closing - no actual meassurable value.
This is a stepping stone edit.
To my understanding, in order to develop features like stored and reusable Entities, Undo/Redo, and easier World editing from UI, we first need to make World class able to be inherited in a meaningful way.
If this PR passes, next step is to derive separate Worlds for Car, Cube, Forest, etc. from a single World class.