Original Post
Ok, so I''m debating a couple of techniques for organizing my engine. I''m going to use a quadtree to hold level and entity information, which will be loaded straight from a file.
Now, I obviously will split my engine into seperate classes: rendering, input and physics (sound will come last). Do I just pass my quadtree into the rendering and physics engine? If so, how do I tell my rendering engine that something moved on the physics side and update that? And if I get something from the input layer, how do I tell the rendering layer to move something around?