I'm working with a 3d graphics engine that is(like many graphics engines) more than just graphics. It incorporates windows creation, system events (keypresses and all that), and even had some physics involved.
The question i have is how far away should i keep this grpahics engine from the rest of the game. Should i wrap it all up in a class to keep a layer between it and the rest of the program? Or should i simply not worry and make direct calls to the api throughout the basic program.
Under mr. mike's game model i would use it as another module and shove into the BaseGame class. But this project is to small to use such a complex/abstract layering system(plus time constraints)
The answer is probibly fairly obvious i just refuse to accept it. Any advice would be greatly apprecitated.
The question i have is how far away should i keep this grpahics engine from the rest of the game. Should i wrap it all up in a class to keep a layer between it and the rest of the program? Or should i simply not worry and make direct calls to the api throughout the basic program.
Under mr. mike's game model i would use it as another module and shove into the BaseGame class. But this project is to small to use such a complex/abstract layering system(plus time constraints)
The answer is probibly fairly obvious i just refuse to accept it. Any advice would be greatly apprecitated.
.Code
push you ; haha!
push you ; haha!