Original Post
I am developing an engine. For this, I try to design something really nice. So even for the main class(window, input, renderer,...) I am looking for something generic.
Normally I use to design a main class like this
quote:but I''ve seen that sometimes, developpers use a keyboard class and a mouse class. Howether I do not understand the reason of these classes and more, I do not see how to use them effectively. Do you have an answer. Thanks a lot. Arno.
class CMainApplication { private: CRenderer* m_pRender; ... public: CMainApplication(); ~CMainApplication void CheckEvent(.......); };