Hi, ive got what is hopefully a quick question on constructors.
I understand what constructors are there for and why we need them, from looking at this:
GameEngine::GameEngine(HINSTANCE hInstance, LPTSTR szWindowClass,
LPTSTR szTitle, WORD wIcon, WORD wSmallIcon, int iWidth, int iHeight)
{
// Set the member variables for the game engine
m_pGameEngine = this;
m_hInstance = hInstance;
m_hWindow = NULL;
if (lstrlen(szWindowClass) > 0)
lstrcpy(m_szWindowClass, szWindowClass);
if (lstrlen(szTitle) > 0)
lstrcpy(m_szTitle, szTitle);
m_wIcon = wIcon;
m_wSmallIcon = wSmallIcon;
m_iWidth = iWidth;
m_iHeight = iHeight;
m_iFrameDelay = 40; // 25 FPS default
m_bSleep = TRUE;
}
Just so i can confirm something, can you tell me what exactly is supposed to go in a constructors parameters, and what exactly is supposed to go in a constructors body.
Thanks :)

