Original Post
Ok I'm trying to write my own game engine because I'm tired of programming the same thing over and over again and I'm also tired of using just simple basecode because I find it gets ugly real fast when you want to add something to it. Anyway my question basically is which way should I go design wise? what I have now is one Engine Base class that is derived from a Window Class. Now this Engine class has all the sub-system objects declared in it like the input system, sound system, graphics system, etc... The problem with that is I'm worried I might run into trouble later on when I try to add more functionality to the engine. Now my other idea is having the subsystems as singleton classes instead of making them part of the Engine class directly and by singleton classes I could have access to them throught my engine from multiple other classes. ugh... Am I thinking too much? I know I should do this by trial and error but I've tried making an engine a while back and it ended up being more error than trial :p anyway let me know what you guys think.