If attributes are going to be used for editors and scripting, shouldn't their factory function be somewhere more accessible?
For example, I'm playing with making a gui element that edits and creates other elements, it is added through a gui element factory, but it needs access to create some blank attributes for serializing. at the moment I have to #include CAttributes explicitly, which kinda defeats the point of having an external factory
Here's the question... where is the best place to create them (from an OOP point of view)?
the device is too far out of reach, adding to both the scene and gui managers seems redundant, they use the video driver but this seems like the wrong place to keep them.
I'm leaning towards everywhere that there's a manager that needs them, but it feels bad.. Any ideas?