I''m making a 2D game, focusing on the engine right now. I have separate classes (& files) for debugging, the display, the renderer, settings, and the console. I seem to have worked out a debugging solution for now, but I was wondering if anyone has experienced any problems with their graphics systems needing debugging support but their debugging systems needing graphics support (like a console). If so, how are you handling it? I am using one instance of most of my classes. Would it be better to use static member variables, something like this?
Instead of:
CDisplay Display;
CRenderer Renderer;
Display.Set()
Renderer.Draw()
Do this:
CDisplay::Set()
CRenderer::Draw()
[
JESUS SAVES]