i have a design question about how we implement our classes.
Do we use interfaces ?
I dont use them so much in game programming but for the low level stuff it could be useful.
i did use them in c++ for the opengl/Directx Renderer classes. So that you have one IRenderer class which contains all funtions you need and the specific low level stuff is created in the opengl/Directx Renderer classes.
Now you can choose between to renderes at runtime and dont have to rewrite your code because you want to use directx ...
but i am new to c# so ...
hmm do we have to create a factory class/function to create new instaces of the interfeced classes ?