So I've been having this uncertainty for a long time about my way of doing the rendering. So the game engine has objects and drawer classes, in order to render an object, the object needs to call engine's drawer class. My solution for this is every object needs to have a pointer to the engine. Is this a good solution? Is there any better? Thanks. Here is the code: