DirectX Lab

Complete the following steps:

Convert the game shell to a game object. Your winMain should look roughly like the following:

int winMain()
{ CGame DDgame(); // constructor creates window & registers CGame::winProc as the callback

   DDgame.play(); // starts the game

}